@draftbit/core 46.8.1-1b6459.2 → 46.8.1-61264d.2

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 (60) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +5 -23
  2. package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -23
  3. package/lib/commonjs/components/Checkbox/context.js +1 -1
  4. package/lib/commonjs/components/CircleImage.js +1 -15
  5. package/lib/commonjs/components/CircularProgress.js +8 -26
  6. package/lib/commonjs/components/Container.js +4 -15
  7. package/lib/commonjs/components/DeprecatedButton.js +3 -20
  8. package/lib/commonjs/components/DeprecatedCardWrapper.js +1 -15
  9. package/lib/commonjs/components/Divider.js +1 -14
  10. package/lib/commonjs/components/Elevation.js +2 -14
  11. package/lib/commonjs/components/FAB.js +4 -18
  12. package/lib/commonjs/components/Picker/PickerComponent.android.js +20 -3
  13. package/lib/commonjs/components/Portal/PortalHost.js +15 -44
  14. package/lib/commonjs/components/Portal/PortalManager.js +8 -34
  15. package/lib/commonjs/components/ProgressBar.js +7 -37
  16. package/lib/commonjs/components/RadioButton/RadioButton.js +2 -13
  17. package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +2 -15
  18. package/lib/commonjs/components/Table/Table.js +65 -0
  19. package/lib/commonjs/components/Table/TableCell.js +48 -0
  20. package/lib/commonjs/components/Table/TableCommon.js +25 -0
  21. package/lib/commonjs/components/Table/TableRow.js +63 -0
  22. package/lib/commonjs/components/Table/index.js +27 -0
  23. package/lib/commonjs/index.js +19 -0
  24. package/lib/commonjs/mappings/Table.js +143 -0
  25. package/lib/module/components/Table/Table.js +57 -0
  26. package/lib/module/components/Table/TableCell.js +40 -0
  27. package/lib/module/components/Table/TableCommon.js +19 -0
  28. package/lib/module/components/Table/TableRow.js +55 -0
  29. package/lib/module/components/Table/index.js +3 -0
  30. package/lib/module/index.js +1 -0
  31. package/lib/module/mappings/Table.js +136 -0
  32. package/lib/typescript/src/components/Table/Table.d.ts +15 -0
  33. package/lib/typescript/src/components/Table/Table.d.ts.map +1 -0
  34. package/lib/typescript/src/components/Table/TableCell.d.ts +11 -0
  35. package/lib/typescript/src/components/Table/TableCell.d.ts.map +1 -0
  36. package/lib/typescript/src/components/Table/TableCommon.d.ts +14 -0
  37. package/lib/typescript/src/components/Table/TableCommon.d.ts.map +1 -0
  38. package/lib/typescript/src/components/Table/TableRow.d.ts +11 -0
  39. package/lib/typescript/src/components/Table/TableRow.d.ts.map +1 -0
  40. package/lib/typescript/src/components/Table/index.d.ts +4 -0
  41. package/lib/typescript/src/components/Table/index.d.ts.map +1 -0
  42. package/lib/typescript/src/index.d.ts +1 -0
  43. package/lib/typescript/src/index.d.ts.map +1 -1
  44. package/lib/typescript/src/mappings/Table.d.ts +314 -0
  45. package/lib/typescript/src/mappings/Table.d.ts.map +1 -0
  46. package/package.json +3 -3
  47. package/src/components/Table/Table.js +46 -0
  48. package/src/components/Table/Table.tsx +83 -0
  49. package/src/components/Table/TableCell.js +30 -0
  50. package/src/components/Table/TableCell.tsx +57 -0
  51. package/src/components/Table/TableCommon.js +10 -0
  52. package/src/components/Table/TableCommon.ts +32 -0
  53. package/src/components/Table/TableRow.js +45 -0
  54. package/src/components/Table/TableRow.tsx +77 -0
  55. package/src/components/Table/index.js +3 -0
  56. package/src/components/Table/index.tsx +3 -0
  57. package/src/index.js +1 -0
  58. package/src/index.tsx +2 -0
  59. package/src/mappings/Table.js +137 -0
  60. package/src/mappings/Table.ts +161 -0
@@ -0,0 +1,40 @@
1
+ import React from "react";
2
+ import { View, StyleSheet } from "react-native";
3
+ import { generateBorderStyles } from "./TableCommon";
4
+ const TableCell = _ref => {
5
+ let {
6
+ borderWidth,
7
+ borderColor,
8
+ borderStyle,
9
+ drawTopBorder = false,
10
+ drawBottomBorder = false,
11
+ drawStartBorder = false,
12
+ drawEndBorder = true,
13
+ verticalPadding,
14
+ horizontalPadding,
15
+ children,
16
+ style
17
+ } = _ref;
18
+ const borderViewStyle = generateBorderStyles({
19
+ borderColor,
20
+ borderWidth,
21
+ borderStyle,
22
+ drawTopBorder,
23
+ drawBottomBorder,
24
+ drawStartBorder,
25
+ drawEndBorder
26
+ });
27
+ return /*#__PURE__*/React.createElement(View, {
28
+ style: [styles.cellContainer, borderViewStyle, {
29
+ paddingVertical: verticalPadding,
30
+ paddingHorizontal: horizontalPadding
31
+ }, style]
32
+ }, children);
33
+ };
34
+ const styles = StyleSheet.create({
35
+ cellContainer: {
36
+ flex: 1,
37
+ flexDirection: "row"
38
+ }
39
+ });
40
+ export default TableCell;
@@ -0,0 +1,19 @@
1
+ export function generateBorderStyles(_ref) {
2
+ let {
3
+ borderColor,
4
+ borderWidth,
5
+ borderStyle,
6
+ drawTopBorder,
7
+ drawBottomBorder,
8
+ drawStartBorder,
9
+ drawEndBorder
10
+ } = _ref;
11
+ return {
12
+ borderColor,
13
+ borderStyle,
14
+ borderTopWidth: drawTopBorder ? borderWidth : 0,
15
+ borderBottomWidth: drawBottomBorder ? borderWidth : 0,
16
+ borderStartWidth: drawStartBorder ? borderWidth : 0,
17
+ borderEndWidth: drawEndBorder ? borderWidth : 0
18
+ };
19
+ }
@@ -0,0 +1,55 @@
1
+ import React from "react";
2
+ import { View, StyleSheet } from "react-native";
3
+ import { generateBorderStyles } from "./TableCommon";
4
+ import TableCell from "./TableCell";
5
+ const TableRow = _ref => {
6
+ let {
7
+ borderWidth,
8
+ borderColor,
9
+ borderStyle,
10
+ drawTopBorder = false,
11
+ drawBottomBorder = true,
12
+ drawStartBorder = true,
13
+ drawEndBorder = false,
14
+ cellVerticalPadding,
15
+ callHorizontalPadding,
16
+ children,
17
+ style
18
+ } = _ref;
19
+ //Populate each TableCell props with default values provided here
20
+ const populatedTableCells = React.useMemo(() => React.Children.map(children, child => {
21
+ if ( /*#__PURE__*/React.isValidElement(child) && child.type === TableCell) {
22
+ const oldProps = {
23
+ ...child.props
24
+ };
25
+ const newProps = {
26
+ verticalPadding: oldProps.verticalPadding || cellVerticalPadding,
27
+ horizontalPadding: oldProps.horizontalPadding || callHorizontalPadding,
28
+ borderWidth: oldProps.borderWidth || borderWidth,
29
+ borderColor: oldProps.borderColor || borderColor,
30
+ borderStyle: oldProps.borderStyle || borderStyle
31
+ };
32
+ return /*#__PURE__*/React.cloneElement(child, newProps);
33
+ }
34
+ return child;
35
+ }), [children, borderColor, borderWidth, borderStyle, cellVerticalPadding, callHorizontalPadding]);
36
+ const borderViewStyle = generateBorderStyles({
37
+ borderColor,
38
+ borderWidth,
39
+ borderStyle,
40
+ drawTopBorder,
41
+ drawBottomBorder,
42
+ drawStartBorder,
43
+ drawEndBorder
44
+ });
45
+ return /*#__PURE__*/React.createElement(View, {
46
+ style: [borderViewStyle, style, styles.cellsContainer]
47
+ }, populatedTableCells);
48
+ };
49
+ const styles = StyleSheet.create({
50
+ cellsContainer: {
51
+ flex: 1,
52
+ flexDirection: "row"
53
+ }
54
+ });
55
+ export default TableRow;
@@ -0,0 +1,3 @@
1
+ export { default as Table } from "./Table";
2
+ export { default as TableRow } from "./TableRow";
3
+ export { default as TableCell } from "./TableCell";
@@ -32,6 +32,7 @@ export { Swiper, SwiperItem } from "./components/Swiper";
32
32
  export { Center, Circle, Square, Row, Stack, Spacer } from "./components/Layout";
33
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup } from "./components/RadioButton/index";
34
34
  export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
35
+ export { Table, TableRow, TableCell } from "./components/Table";
35
36
 
36
37
  /* Deprecated: Fix or Delete! */
37
38
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
@@ -0,0 +1,136 @@
1
+ import { COMPONENT_TYPES, StylesPanelSections, createColorProp, createStaticBoolProp, createStaticNumberProp, BLOCK_STYLES_SECTIONS, CONTAINER_COMPONENT_STYLES_SECTIONS, createTextEnumProp } from "@draftbit/types";
2
+ const SHARED_SEED_DATA_PROPS = {
3
+ borderWidth: createStaticNumberProp({
4
+ label: "Border Width",
5
+ description: "Specifies the width of the border. Passed down to child Table(Row/Cell) components unless overridden",
6
+ required: false,
7
+ defaultValue: null
8
+ }),
9
+ borderColor: createColorProp({
10
+ label: "Border Color",
11
+ description: "Specifies the color of the border. Passed down to child Table(Row/Cell) components unless overridden",
12
+ defaultValue: null
13
+ }),
14
+ borderStyle: createTextEnumProp({
15
+ label: "Border Style",
16
+ description: "Specifies the style of the border. Passed down to child Table(Row/Cell) components unless overridden",
17
+ options: ["solid", "dotted", "dashed"],
18
+ defaultValue: null
19
+ }),
20
+ drawTopBorder: createStaticBoolProp({
21
+ label: "Draw Top Border",
22
+ description: "Whether to draw the top border at this layer of the Table tree or not",
23
+ defaultValue: false
24
+ }),
25
+ drawBottomBorder: createStaticBoolProp({
26
+ label: "Draw Bottom Border",
27
+ description: "Whether to draw the bottom border at this layer of the Table tree or not",
28
+ defaultValue: false
29
+ }),
30
+ drawStartBorder: createStaticBoolProp({
31
+ label: "Draw Start Border",
32
+ description: "Whether to draw the start border at this layer of the Table tree or not",
33
+ defaultValue: false
34
+ }),
35
+ drawEndBorder: createStaticBoolProp({
36
+ label: "Draw End Border",
37
+ description: "Whether to draw the end border at this layer of the Table tree or not",
38
+ defaultValue: false
39
+ })
40
+ };
41
+ export const SEED_DATA = [{
42
+ name: "Table",
43
+ tag: "Table",
44
+ description: "Top level table container",
45
+ category: COMPONENT_TYPES.table,
46
+ stylesPanelSections: BLOCK_STYLES_SECTIONS,
47
+ props: {
48
+ ...SHARED_SEED_DATA_PROPS,
49
+ borderWidth: {
50
+ ...SHARED_SEED_DATA_PROPS.borderWidth,
51
+ defaultValue: 1
52
+ },
53
+ borderColor: {
54
+ ...SHARED_SEED_DATA_PROPS.borderColor,
55
+ defaultValue: "divider"
56
+ },
57
+ borderStyle: {
58
+ ...SHARED_SEED_DATA_PROPS.borderStyle,
59
+ defaultValue: "solid"
60
+ },
61
+ drawTopBorder: {
62
+ ...SHARED_SEED_DATA_PROPS.drawTopBorder,
63
+ defaultValue: true
64
+ },
65
+ cellVerticalPadding: createStaticNumberProp({
66
+ label: "Cell Vertical Padding",
67
+ description: "Specifies the vertical padding of the cell. Passed down to child Table Row components unless overridden",
68
+ required: false,
69
+ defaultValue: 10
70
+ }),
71
+ callHorizontalPadding: createStaticNumberProp({
72
+ label: "Cell Horizontal Padding",
73
+ description: "Specifies the horizontal padding of the cell. Passed down to child Table Row components unless overridden",
74
+ required: false,
75
+ defaultValue: 10
76
+ })
77
+ }
78
+ }, {
79
+ name: "Table Row",
80
+ tag: "TableRow",
81
+ description: "Table Row container",
82
+ category: COMPONENT_TYPES.table,
83
+ stylesPanelSections: [StylesPanelSections.Background],
84
+ props: {
85
+ ...SHARED_SEED_DATA_PROPS,
86
+ drawStartBorder: {
87
+ ...SHARED_SEED_DATA_PROPS.drawStartBorder,
88
+ defaultValue: true
89
+ },
90
+ drawBottomBorder: {
91
+ ...SHARED_SEED_DATA_PROPS.drawBottomBorder,
92
+ defaultValue: true
93
+ },
94
+ cellVerticalPadding: createStaticNumberProp({
95
+ label: "Cell Vertical Padding",
96
+ description: "Specifies the vertical padding of the cell. Passed down to child Table Cell components unless overridden",
97
+ required: false,
98
+ defaultValue: null
99
+ }),
100
+ callHorizontalPadding: createStaticNumberProp({
101
+ label: "Cell Horizontal Padding",
102
+ description: "Specifies the horizontal padding of the cell. Passed down to child Table Cell components unless overridden",
103
+ required: false,
104
+ defaultValue: null
105
+ })
106
+ }
107
+ }, {
108
+ name: "Table Cell",
109
+ tag: "TableCell",
110
+ description: "Table Cell container",
111
+ category: COMPONENT_TYPES.table,
112
+ stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS.filter(item => item !== StylesPanelSections.Borders),
113
+ layout: {
114
+ flex: 1,
115
+ flexDirection: "row"
116
+ },
117
+ props: {
118
+ ...SHARED_SEED_DATA_PROPS,
119
+ drawEndBorder: {
120
+ ...SHARED_SEED_DATA_PROPS.drawEndBorder,
121
+ defaultValue: true
122
+ },
123
+ verticalPadding: createStaticNumberProp({
124
+ label: "Vertical Padding",
125
+ description: "Specifies the vertical padding of the cell",
126
+ required: false,
127
+ defaultValue: null
128
+ }),
129
+ horizontalPadding: createStaticNumberProp({
130
+ label: "Horizontal Padding",
131
+ description: "Specifies the horizontal padding of the cell",
132
+ required: false,
133
+ defaultValue: null
134
+ })
135
+ }
136
+ }];
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ import { Theme } from "../../styles/DefaultTheme";
4
+ import { TableBorderProps } from "./TableCommon";
5
+ export interface TableProps extends TableBorderProps {
6
+ cellVerticalPadding?: number;
7
+ callHorizontalPadding?: number;
8
+ style?: StyleProp<ViewStyle>;
9
+ theme: Theme;
10
+ }
11
+ declare const _default: React.ComponentType<import("@draftbit/react-theme-provider").$Without<React.PropsWithChildren<TableProps>, "theme"> & {
12
+ theme?: import("@draftbit/react-theme-provider").$DeepPartial<any> | undefined;
13
+ }> & import("@draftbit/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<React.PropsWithChildren<TableProps>> & React.FC<React.PropsWithChildren<TableProps>>, {}>;
14
+ export default _default;
15
+ //# sourceMappingURL=Table.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AACtE,OAAO,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAElD,OAAO,EAAwB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGvE,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAClD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC;CACd;;;;AAsED,wBAAgC"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ import { TableBorderProps } from "./TableCommon";
4
+ export interface TableCellProps extends TableBorderProps {
5
+ verticalPadding?: number;
6
+ horizontalPadding?: number;
7
+ style?: StyleProp<ViewStyle>;
8
+ }
9
+ declare const TableCell: React.FC<React.PropsWithChildren<TableCellProps>>;
10
+ export default TableCell;
11
+ //# sourceMappingURL=TableCell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AACtE,OAAO,EAAwB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,MAAM,WAAW,cAAe,SAAQ,gBAAgB;IACtD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAqChE,CAAC;AASF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ViewStyle } from "react-native";
2
+ declare type BorderStyle = "solid" | "dotted" | "dashed";
3
+ export interface TableBorderProps {
4
+ borderWidth?: number;
5
+ borderColor?: string;
6
+ borderStyle?: BorderStyle;
7
+ drawTopBorder?: boolean;
8
+ drawBottomBorder?: boolean;
9
+ drawStartBorder?: boolean;
10
+ drawEndBorder?: boolean;
11
+ }
12
+ export declare function generateBorderStyles({ borderColor, borderWidth, borderStyle, drawTopBorder, drawBottomBorder, drawStartBorder, drawEndBorder, }: TableBorderProps): ViewStyle;
13
+ export {};
14
+ //# sourceMappingURL=TableCommon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableCommon.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableCommon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,aAAK,WAAW,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,wBAAgB,oBAAoB,CAAC,EACnC,WAAW,EACX,WAAW,EACX,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,GACd,EAAE,gBAAgB,GAAG,SAAS,CAS9B"}
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ import { TableBorderProps } from "./TableCommon";
4
+ export interface TableRowProps extends TableBorderProps {
5
+ cellVerticalPadding?: number;
6
+ callHorizontalPadding?: number;
7
+ style?: StyleProp<ViewStyle>;
8
+ }
9
+ declare const TableRow: React.FC<React.PropsWithChildren<TableRowProps>>;
10
+ export default TableRow;
11
+ //# sourceMappingURL=TableRow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableRow.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/TableRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,SAAS,EAAE,SAAS,EAAc,MAAM,cAAc,CAAC;AACtE,OAAO,EAAwB,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGvE,MAAM,WAAW,aAAc,SAAQ,gBAAgB;IACrD,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAwD9D,CAAC;AASF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default as Table } from "./Table";
2
+ export { default as TableRow } from "./TableRow";
3
+ export { default as TableCell } from "./TableCell";
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -32,6 +32,7 @@ export { Swiper, SwiperItem } from "./components/Swiper";
32
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
33
33
  export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
34
34
  export { DeckSwiper, DeckSwiperCard } from "./components/DeckSwiper";
35
+ export { Table, TableRow, TableCell } from "./components/Table";
35
36
  export { default as DatePicker } from "./components/DatePicker/DatePicker";
36
37
  export { default as Picker } from "./components/Picker/Picker";
37
38
  export { default as ProgressBar } from "./components/ProgressBar";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/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