oiu-core 0.1.8 → 0.1.10

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.
@@ -0,0 +1,17 @@
1
+ import { ComponentType } from 'react';
2
+ import { Breakpoint } from '../_types';
3
+ type ColSpanType = number | string;
4
+ export type ColProps = Partial<Record<Breakpoint, ColSpanType>> & {
5
+ span?: ColSpanType;
6
+ };
7
+ /**
8
+ * Column component to be used in the Grid layout
9
+ * @param props
10
+ * @returns
11
+ */
12
+ export declare function Col<TProps extends ColProps = ColProps>(props: TProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare namespace Col {
14
+ var component: ComponentType<ColProps>;
15
+ }
16
+ export {};
17
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Col/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAIvC,KAAK,WAAW,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnC,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC,GAAG;IAC9D,IAAI,CAAC,EAAE,WAAW,CAAC;CACtB,CAAA;AACD;;;;GAIG;AACH,wBAAgB,GAAG,CAAC,MAAM,SAAS,QAAQ,GAAG,QAAQ,EAAE,KAAK,EAAE,MAAM,2CAKpE;yBALe,GAAG"}
@@ -1,4 +1,5 @@
1
1
  import { PropsWithChildren } from 'react';
2
+ import { MessageFormatElement } from 'react-intl';
2
3
  import { Dfn, GL, LangInfo } from '../../language';
3
4
  export type LangText = Record<string, {
4
5
  loading: {
@@ -15,12 +16,13 @@ export type LangProviderProps = PropsWithChildren<{
15
16
  langFiles: Record<string, Dfn<{
16
17
  default: GL;
17
18
  }>>;
19
+ transform?: (records: Record<string, string> | Record<string, MessageFormatElement[]>) => Record<string, string> | Record<string, MessageFormatElement[]>;
18
20
  }>;
19
21
  /** Provide internationalization
20
22
  * @param param0 component arguments
21
23
  * @returns
22
24
  */
23
- export declare function LangProvider({ children, className, lang, langFiles, defaultTexts }: LangProviderProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function LangProvider({ children, className, lang, langFiles, defaultTexts, transform, }: LangProviderProps): import("react/jsx-runtime").JSX.Element;
24
26
  /**
25
27
  * Hook to get the current language information
26
28
  * @returns {LangInfo} The current language information
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/LangProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AAK9D,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAe,MAAM,gBAAgB,CAAC;AAyBhE,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,CAAC;AACrF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;CACnD,CAAC,CAAC;AACH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,YAAuB,EAAE,EAAE,iBAAiB,2CAoDhH;AAED;;;GAGG;AAEH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/LangProvider/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAsB,MAAM,OAAO,CAAC;AAG9D,OAAO,EAAgB,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAEhE,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,QAAQ,EAAe,MAAM,gBAAgB,CAAC;AAyBhE,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,OAAO,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,CAAC,CAAC;AACrF,MAAM,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;IAC9C,qEAAqE;IACrE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;IAChD,SAAS,CAAC,EAAE,CACR,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,KACvE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,CAAC,CAAC;CACxE,CAAC,CAAC;AACH;;;GAGG;AACH,wBAAgB,YAAY,CAAC,EACzB,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,SAAS,EACT,YAAuB,EACvB,SAAS,GACZ,EAAE,iBAAiB,2CAyDnB;AAED;;;GAGG;AAEH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
@@ -0,0 +1,18 @@
1
+ import { ComponentType, ReactNode } from 'react';
2
+ export type PaginationProps = {
3
+ current: number;
4
+ total: number;
5
+ pageSize: number;
6
+ onChange?: (page: number, pageSize: number) => void;
7
+ showTotal?: (total: number, range: [number, number]) => ReactNode;
8
+ };
9
+ /**
10
+ * Pagination component to be used in the Grid layout
11
+ * @param props
12
+ * @returns
13
+ */
14
+ export declare function Pagination<TProps extends PaginationProps = PaginationProps>({ ...props }: TProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare namespace Pagination {
16
+ var component: ComponentType<PaginationProps>;
17
+ }
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Pagination/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,eAAe,GAAG;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,SAAS,CAAC;CACrE,CAAC;AACF;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,MAAM,2CAKhG;yBALe,UAAU"}
@@ -0,0 +1,15 @@
1
+ import { ComponentType } from 'react';
2
+ import { Gutter } from '../_types';
3
+ export type RowProps = {
4
+ gutter?: Gutter | [Gutter, Gutter];
5
+ };
6
+ /**
7
+ * Row component to be used in the Grid layout
8
+ * @param props
9
+ * @returns
10
+ */
11
+ export declare function Row<TProps extends RowProps = RowProps>(props: TProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare namespace Row {
13
+ var component: ComponentType<RowProps>;
14
+ }
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/Row/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAInC,MAAM,MAAM,QAAQ,GAAG;IACnB,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AACF;;;;GAIG;AACH,wBAAgB,GAAG,CAAC,MAAM,SAAS,QAAQ,GAAG,QAAQ,EAAE,KAAK,EAAE,MAAM,2CAKpE;yBALe,GAAG"}
@@ -0,0 +1,34 @@
1
+ import { ReactNode } from 'react';
2
+ import { RowProps } from '../Row';
3
+ import { PaginationProps } from '../Pagination';
4
+ import { IPaging, ISearch, ISearchModel } from '../../utils/_types';
5
+ export type SearchWithCardProps<T extends object, S extends ISearch<F>, F = unknown, TPaginationProps extends PaginationProps = PaginationProps> = {
6
+ /** Search parameters. This contains the filter, the order, and the paging information */
7
+ search: S;
8
+ /** Data source containing the list of items to display in the table along with the total count */
9
+ dataSource?: ISearchModel<T>;
10
+ /**
11
+ * Triggered when the page or page size changes. It receives the new page number and page size as parameters.
12
+ * @param page
13
+ * @param pageSize
14
+ * @returns
15
+ */
16
+ onPageChange: (page: number, pageSize: number) => void;
17
+ /**
18
+ * Function to render each item in the list. It receives the item and its index as parameters and should return a React node to be rendered.
19
+ * This allows for custom rendering of each item in the list, such as displaying the item's properties in a card format or any other desired layout.
20
+ * @param item The item to be rendered
21
+ * @param index The index of the item in the list
22
+ * @returns A React node representing the rendered item
23
+ */
24
+ renderItem: (item: T, index: number) => ReactNode;
25
+ filter?: React.ComponentType;
26
+ /** Static pagination properties used to modify the default pagination behavior */
27
+ paginationProps?: TPaginationProps;
28
+ rowGutter?: RowProps['gutter'];
29
+ };
30
+ export declare function SearchWithCard<T extends object, S extends ISearch<F>, F = unknown, TPaginationProps extends PaginationProps = PaginationProps>({ dataSource, search, renderItem, onPageChange, filter, paginationProps, rowGutter, }: SearchWithCardProps<T, S, F, TPaginationProps>): import("react/jsx-runtime").JSX.Element;
31
+ export declare namespace SearchWithCard {
32
+ var defaultPaging: IPaging;
33
+ }
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/SearchWithCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAwB,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAO,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAc,eAAe,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIpE,MAAM,MAAM,mBAAmB,CAC3B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,EACpB,CAAC,GAAG,OAAO,EACX,gBAAgB,SAAS,eAAe,GAAG,eAAe,IAC1D;IACA,yFAAyF;IACzF,MAAM,EAAE,CAAC,CAAC;IACV,kGAAkG;IAClG,UAAU,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC7B;;;;;OAKG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACvD;;;;;;OAMG;IACH,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAClD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7B,kFAAkF;IAClF,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,SAAS,CAAC,EAAE,QAAQ,CAAC,QAAQ,CAAC,CAAC;CAClC,CAAC;AAEF,wBAAgB,cAAc,CAC1B,CAAC,SAAS,MAAM,EAChB,CAAC,SAAS,OAAO,CAAC,CAAC,CAAC,EACpB,CAAC,GAAG,OAAO,EACX,gBAAgB,SAAS,eAAe,GAAG,eAAe,EAC5D,EACE,UAAU,EACV,MAAM,EACN,UAAU,EACV,YAAY,EACZ,MAAM,EACN,eAAe,EACf,SAAoB,GACvB,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,gBAAgB,CAAC,2CAmDhD;yBAhEe,cAAc"}
@@ -0,0 +1,4 @@
1
+ export declare const responsiveArray: readonly ["xxxl", "xxl", "xl", "lg", "md", "sm", "xs"];
2
+ export type Breakpoint = (typeof responsiveArray)[number];
3
+ export type Gutter = number | string | undefined | Partial<Record<Breakpoint, number>>;
4
+ //# sourceMappingURL=_types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../lib/components/_types.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,CAAC,MAAM,eAAe,EAAE,SAAS,CAAC,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;AAC7F,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC,CAAC"}
@@ -1,8 +1,17 @@
1
+ export { Row } from './Row';
2
+ export { Col } from './Col';
3
+ export { Pagination } from './Pagination';
4
+ export { SearchWithCard } from './SearchWithCard';
1
5
  export { Wait } from './Wait';
2
6
  export { LangProvider, useLanguage } from './LangProvider';
3
7
  export { ConfigLoader } from './ConfigLoader';
4
8
  export { ErrorCode } from './ErrorCode';
5
9
  export { FormErrorSummary } from './FormErrorSummary';
10
+ export type { responsiveArray, Breakpoint, Gutter } from './_types';
11
+ export type { ColProps } from './Col';
12
+ export type { RowProps } from './Row';
13
+ export type { PaginationProps } from './Pagination';
14
+ export type { SearchWithCardProps } from './SearchWithCard';
6
15
  export type { WaitProps, SpinProps } from './Wait';
7
16
  export type { LangProviderProps } from './LangProvider';
8
17
  export type { ConfigLoaderProps } from './ConfigLoader';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/components/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEpE,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,YAAY,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtC,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACnD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { A as Re, P as f, a as $, d as Ue } from "./main-BFclgmpf.js";
1
+ import { A as Re, P as f, a as $, d as Ue } from "./main-D7RTHIMC.js";
2
2
  class j extends Error {
3
3
  }
4
4
  j.prototype.name = "InvalidTokenError";
package/dist/init.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ComponentType } from 'react';
1
+ import { ComponentType, ReactNode } from 'react';
2
2
  import { DevToolsEnhancerOptions, Slice } from '@reduxjs/toolkit';
3
3
  import { SetupOptions } from './utils';
4
4
  import { LangInfo } from './language';
@@ -9,7 +9,14 @@ export type RTKSetup = {
9
9
  modules?: Array<Record<string, unknown>>;
10
10
  };
11
11
  export type RTKDevSetup = SetupOptions<DevToolsEnhancerOptions>;
12
- export type InitOIUOptions<Token, TSpinProps, TSkeletonProps> = {
12
+ export type PaginationProps = {
13
+ total: number;
14
+ pageSize: number;
15
+ current: number;
16
+ onChange?: (page: number, pageSize: number) => void;
17
+ showTotal?: (total: number, range: [number, number]) => ReactNode;
18
+ };
19
+ export type InitOIUOptions<Token, TSpinProps, TSkeletonProps, TColProps = {}, TRowProps = {}, TPaginationProps extends PaginationProps = PaginationProps> = {
13
20
  /** Translation configuration */
14
21
  translation: {
15
22
  /** Default language information, this will be used if the browser language is set to an unknown language */
@@ -28,6 +35,15 @@ export type InitOIUOptions<Token, TSpinProps, TSkeletonProps> = {
28
35
  /** Default extra properties set to the skeleton component, this will ignored if there is skeleton extra props passed */
29
36
  skeletonProps?: TSkeletonProps;
30
37
  };
38
+ /** Custom component to wrap the app, this is useful if you want to wrap the app with a provider or something like that */
39
+ components: {
40
+ /** Column component to be used in the app, this will be used in the Grid component */
41
+ col?: ComponentType<TColProps>;
42
+ /** Row component to be used in the app, this will be used in the Grid component */
43
+ row?: ComponentType<TRowProps>;
44
+ /** Pagination component to be used in the app */
45
+ pagination?: ComponentType<TPaginationProps>;
46
+ };
31
47
  themeProvider?: ProviderComponentType<Token>;
32
48
  };
33
49
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../lib/init.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAW,MAAM,OAAO,CAAC;AAC/C,OAAO,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzC,OAAO,EAAiC,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAM/E,MAAM,MAAM,QAAQ,GAAG;IACnB,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAC5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