oiu-core 0.0.22 → 0.0.24
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.
- package/dist/auth/OAuthService/index.d.ts.map +1 -1
- package/dist/auth/OAuthService/utils.d.ts +0 -1
- package/dist/auth/OAuthService/utils.d.ts.map +1 -1
- package/dist/components/ErrorCode/index.d.ts +16 -0
- package/dist/components/ErrorCode/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{index-BuBGS-hD.js → index-Beew1X6r.js} +1 -1
- package/dist/{main-Hh0pmctl.js → main-CKsxQPF4.js} +1646 -1612
- package/dist/main.js +1 -1
- package/dist/redux/slices/errorSlice.d.ts +35 -0
- package/dist/redux/slices/errorSlice.d.ts.map +1 -0
- package/dist/utils/string.d.ts +1 -0
- package/dist/utils/string.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/auth/OAuthService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EAGnB,mBAAmB,EAEtB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/auth/OAuthService/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,YAAY,EACZ,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,EAGnB,mBAAmB,EAEtB,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAe,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAoB,WAAW,E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e,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;cAwB/C,eAAe,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;cAe1F,iBAAiB,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,kBAAkB,GAAG,OAAO,CAAC,UAAU,CAAC;cAWlF,cAAc,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC;cAiB5E,eAAe,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,UAAU,CAAC;cAU9E,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,IAAI,CAAC,EAAE,mBAAmB,GAAG,OAAO,CAAC,UAAU,CAAC;IAapG,OAAO,CAAC,YAAY;IA2BpB,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,QAAQ;IAGhB,OAAO,CAAC,MAAM;IAGd,OAAO,CAAC,SAAS;IAGjB,OAAO,CAAC,YAAY;CAOvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../lib/auth/OAuthService/utils.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,uEAAuE;IACvE,MAAM,IAAI;IACV,0CAA0C;IAC1C,KAAK,IAAI;IACT,iDAAiD;IACjD,eAAe,IAAI;CACtB;AACD,MAAM,MAAM,OAAO,GAAG;IAClB,sFAAsF;IACtF,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;CAC7B,CAAA
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../lib/auth/OAuthService/utils.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW;IACnB,uEAAuE;IACvE,MAAM,IAAI;IACV,0CAA0C;IAC1C,KAAK,IAAI;IACT,iDAAiD;IACjD,eAAe,IAAI;CACtB;AACD,MAAM,MAAM,OAAO,GAAG;IAClB,sFAAsF;IACtF,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,WAAW,CAAC;CAC7B,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl';
|
|
2
|
+
import { ErrorStore } from '../../redux/slices/errorSlice';
|
|
3
|
+
export type ErrorCodeProps = {
|
|
4
|
+
code: number;
|
|
5
|
+
args?: unknown[];
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Return an error code text from the loaded errors in redux. This component asume the error are already loaded
|
|
9
|
+
* @param param0
|
|
10
|
+
* @returns
|
|
11
|
+
*/
|
|
12
|
+
export declare function ErrorCode({ code, args }: ErrorCodeProps): string;
|
|
13
|
+
export declare namespace ErrorCode {
|
|
14
|
+
var text: (_intl: IntlShape, code: number, errors: ErrorStore["errors"], ...args: unknown[]) => string;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ErrorCode/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAW,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAiB,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAI1E,MAAM,MAAM,cAAc,GAAG;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,EAAE,CAAC;CACpB,CAAA;AACD;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,cAAc,UAQvD;yBARe,SAAS;sBAiBA,SAAS,QAAQ,MAAM,UAAU,UAAU,CAAC,QAAQ,CAAC,WAAW,OAAO,EAAE"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export { Wait } from './Wait';
|
|
2
2
|
export { LangProvider } from './LangProvider';
|
|
3
3
|
export { ConfigLoader } from './ConfigLoader';
|
|
4
|
+
export { ErrorCode } from './ErrorCode';
|
|
4
5
|
export type { WaitProps, SpinProps } from './Wait';
|
|
5
6
|
export type { LangProviderProps } from './LangProvider';
|
|
6
7
|
export type { ConfigLoaderProps } from './ConfigLoader';
|
|
8
|
+
export type { ErrorCodeProps } from './ErrorCode';
|
|
7
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,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"}
|