@beinformed/react 1.0.0-beta.0 → 1.0.0-beta.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.
- package/CHANGELOG.md +9 -0
- package/dist/{beforeRenderHooks-Gb0tcmCY.d.ts → beforeRenderHooks-B0CWdI7P.d.ts} +1 -1
- package/dist/{beforeRenderHooks-CNvsMmi8.d.cts → beforeRenderHooks-CKR6eECI.d.cts} +1 -1
- package/dist/{chunk-HDOILTJ2.js → chunk-3UHZ6GBP.js} +2 -2
- package/dist/chunk-3UHZ6GBP.js.map +1 -0
- package/dist/{chunk-RKGGCIUD.js → chunk-5MOCT43G.js} +2 -2
- package/dist/{chunk-YJNJVQFW.js → chunk-7JMMW2FM.js} +2 -2
- package/dist/{chunk-YJNJVQFW.js.map → chunk-7JMMW2FM.js.map} +1 -1
- package/dist/{chunk-VG3QU524.js → chunk-7LGDJBGK.js} +3 -3
- package/dist/chunk-7LGDJBGK.js.map +1 -0
- package/dist/{chunk-X2C7CKOK.js → chunk-A3D5R7MI.js} +2 -2
- package/dist/{chunk-X2C7CKOK.js.map → chunk-A3D5R7MI.js.map} +1 -1
- package/dist/chunk-ALGSLJJI.js +2 -0
- package/dist/chunk-ALGSLJJI.js.map +1 -0
- package/dist/{chunk-K3DTH6XN.js → chunk-FBCZEJSD.js} +2 -2
- package/dist/chunk-FBCZEJSD.js.map +1 -0
- package/dist/{chunk-DI7VM62A.js → chunk-GD4NSZBN.js} +2 -2
- package/dist/chunk-GD4NSZBN.js.map +1 -0
- package/dist/chunk-GHKA2XFO.js +2 -0
- package/dist/chunk-GHKA2XFO.js.map +1 -0
- package/dist/chunk-HTR32BUX.js +2 -0
- package/dist/{chunk-6KRECIRI.js.map → chunk-HTR32BUX.js.map} +1 -1
- package/dist/{chunk-WBPDMDW4.js → chunk-L7DO7AZT.js} +2 -2
- package/dist/{chunk-WBPDMDW4.js.map → chunk-L7DO7AZT.js.map} +1 -1
- package/dist/chunk-LJM2ADG6.js +2 -0
- package/dist/chunk-LJM2ADG6.js.map +1 -0
- package/dist/chunk-LUXTQYD2.js +2 -0
- package/dist/chunk-LUXTQYD2.js.map +1 -0
- package/dist/chunk-LYHN5GC6.js +2 -0
- package/dist/chunk-LYHN5GC6.js.map +1 -0
- package/dist/{chunk-A4USB53Q.js → chunk-TDYPCNQI.js} +2 -2
- package/dist/{chunk-A4USB53Q.js.map → chunk-TDYPCNQI.js.map} +1 -1
- package/dist/{chunk-X3N2NQVZ.js → chunk-TRPPQFNA.js} +2 -2
- package/dist/{chunk-4AC7YQ5Q.js → chunk-TYEAR2B7.js} +2 -2
- package/dist/chunk-X6L6BWD4.js +2 -0
- package/dist/chunk-X6L6BWD4.js.map +1 -0
- package/dist/{chunk-Z2Y3OPVI.js → chunk-ZNJONDQ6.js} +2 -2
- package/dist/chunk-ZNJONDQ6.js.map +1 -0
- package/dist/client/index.cjs +5 -5
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +3 -3
- package/dist/client/index.d.ts +3 -3
- package/dist/client/index.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +117 -64
- package/dist/hooks/index.d.ts +117 -64
- package/dist/hooks/index.js +1 -1
- package/dist/i18n/index.cjs +1 -1
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +2 -2
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/redux/index.cjs +1 -1
- package/dist/redux/index.cjs.map +1 -1
- package/dist/redux/index.d.cts +215 -28
- package/dist/redux/index.d.ts +215 -28
- package/dist/redux/index.js +1 -1
- package/dist/server/index.cjs +2 -2
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.d.cts +3 -3
- package/dist/server/index.d.ts +3 -3
- package/dist/server/index.js +1 -1
- package/dist/{styled-components.d-CrkOxzv5.d.cts → styled-components.d-C19eFejP.d.cts} +7 -13
- package/dist/{styled-components.d-CrkOxzv5.d.ts → styled-components.d-C19eFejP.d.ts} +7 -13
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.cjs.map +1 -1
- package/dist/theme/index.d.cts +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/{useForm-DW-a5mcV.d.ts → useForm-BWwXFuv5.d.cts} +3 -3
- package/dist/{useForm-CG_DMYfZ.d.cts → useForm-DqaU9T78.d.ts} +3 -3
- package/package.json +15 -15
- package/dist/chunk-3OP2KQ56.js +0 -2
- package/dist/chunk-3OP2KQ56.js.map +0 -1
- package/dist/chunk-6KRECIRI.js +0 -2
- package/dist/chunk-B7PQLTVC.js +0 -2
- package/dist/chunk-B7PQLTVC.js.map +0 -1
- package/dist/chunk-DI7VM62A.js.map +0 -1
- package/dist/chunk-HDOILTJ2.js.map +0 -1
- package/dist/chunk-K3DTH6XN.js.map +0 -1
- package/dist/chunk-UZIZDEU6.js +0 -2
- package/dist/chunk-UZIZDEU6.js.map +0 -1
- package/dist/chunk-VFLYA5WJ.js +0 -2
- package/dist/chunk-VFLYA5WJ.js.map +0 -1
- package/dist/chunk-VG3QU524.js.map +0 -1
- package/dist/chunk-Y7ESITVO.js +0 -2
- package/dist/chunk-Y7ESITVO.js.map +0 -1
- package/dist/chunk-YG7XDCNV.js +0 -2
- package/dist/chunk-YG7XDCNV.js.map +0 -1
- package/dist/chunk-Z2Y3OPVI.js.map +0 -1
- /package/dist/{chunk-RKGGCIUD.js.map → chunk-5MOCT43G.js.map} +0 -0
- /package/dist/{chunk-X3N2NQVZ.js.map → chunk-TRPPQFNA.js.map} +0 -0
- /package/dist/{chunk-4AC7YQ5Q.js.map → chunk-TYEAR2B7.js.map} +0 -0
package/dist/redux/index.d.cts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
2
2
|
import { Middleware } from '@reduxjs/toolkit';
|
|
3
|
-
import { S as ShowNotificationArguments, $ as RootState, a0 as BEIDispatch, V as RouterLocation, C as FetchModelResult, F as FetchModelPayload, b as Locales, R as PreferenceValue, W as RouterState, P as PreferencesState, y as ModularUIState, I as I18nState, A as AuthState, E as ErrorState, o as ModalsState, v as ModelCatalogState, N as NotificationState, T as ProgressIndicatorState } from '../styled-components.d-
|
|
4
|
-
export { _ as BEIStore, n as ModalState, B as ModelEntry, D as NOTIFICATION_TYPES, g as authReducer, q as closeModal, H as dismissNotification, i as errorReducer, m as i18nReducer, X as locationChange, l as loginSuccess, e as logoutSuccess, t as modalsReducer, x as modelCatalogReducer, z as modularUIReducer, J as notificationReducer, Q as preferencesReducer, U as progressIndicatorReducer, j as receiveLocale, r as resetAuthErrors, Y as routerReducer, f as saveChangePassword, h as saveError, s as sendAuthenticationError, k as setLocales, K as setPreference, O as setPreferences, Z as setupStore, p as showModal, G as showNotification, w as updateEntryDate, u as updateLocale } from '../styled-components.d-
|
|
3
|
+
import { S as ShowNotificationArguments, $ as RootState, a0 as BEIDispatch, V as RouterLocation, C as FetchModelResult, F as FetchModelPayload, b as Locales, R as PreferenceValue, W as RouterState, P as PreferencesState, y as ModularUIState, I as I18nState, A as AuthState, E as ErrorState, o as ModalsState, v as ModelCatalogState, N as NotificationState, T as ProgressIndicatorState } from '../styled-components.d-C19eFejP.cjs';
|
|
4
|
+
export { _ as BEIStore, n as ModalState, B as ModelEntry, D as NOTIFICATION_TYPES, g as authReducer, q as closeModal, H as dismissNotification, i as errorReducer, m as i18nReducer, X as locationChange, l as loginSuccess, e as logoutSuccess, t as modalsReducer, x as modelCatalogReducer, z as modularUIReducer, J as notificationReducer, Q as preferencesReducer, U as progressIndicatorReducer, j as receiveLocale, r as resetAuthErrors, Y as routerReducer, f as saveChangePassword, h as saveError, s as sendAuthenticationError, k as setLocales, K as setPreference, O as setPreferences, Z as setupStore, p as showModal, G as showNotification, w as updateEntryDate, u as updateLocale } from '../styled-components.d-C19eFejP.cjs';
|
|
5
5
|
import * as _beinformed_ui_models from '@beinformed/ui/models';
|
|
6
|
-
import { FormModel, ErrorResponse, ApplicationModel, FormObjectModel, AttributeModel, ModularUIModel, Href } from '@beinformed/ui/models';
|
|
6
|
+
import { FormModel, ErrorResponse, ApplicationModel, FormObjectModel, AttributeModel, ModularUIModel, ResourceModel, Href, ContentLinkModel } from '@beinformed/ui/models';
|
|
7
7
|
import * as redux from 'redux';
|
|
8
8
|
import { LocationState, History } from 'history';
|
|
9
|
-
export { a as BeforeRenderHook, B as BeforeRenderHookProps, h as handleBeforeRenderHooks } from '../beforeRenderHooks-
|
|
10
|
-
import { U as UpdateFormOptions } from '../useForm-
|
|
9
|
+
export { a as BeforeRenderHook, B as BeforeRenderHookProps, h as handleBeforeRenderHooks } from '../beforeRenderHooks-CKR6eECI.cjs';
|
|
10
|
+
import { U as UpdateFormOptions } from '../useForm-BWwXFuv5.cjs';
|
|
11
11
|
import * as react_redux from 'react-redux';
|
|
12
12
|
import { ISO_DATE } from '@beinformed/ui/types';
|
|
13
13
|
import { ModularUIRequestOptions } from '@beinformed/ui/utils';
|
|
14
|
+
import * as reselect from 'reselect';
|
|
14
15
|
import 'immer';
|
|
15
16
|
import '@beinformed/ui/settings';
|
|
16
17
|
import 'styled-components';
|
|
@@ -22,29 +23,11 @@ import '../types-CGXygEPz.cjs';
|
|
|
22
23
|
declare const showFormNotification: _reduxjs_toolkit.AsyncThunk<{
|
|
23
24
|
payload: undefined;
|
|
24
25
|
type: "FINISH_PROGRESS";
|
|
25
|
-
}, FormModel,
|
|
26
|
-
state?: unknown;
|
|
27
|
-
dispatch?: _reduxjs_toolkit.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
28
|
-
extra?: unknown;
|
|
29
|
-
rejectValue?: unknown;
|
|
30
|
-
serializedErrorType?: unknown;
|
|
31
|
-
pendingMeta?: unknown;
|
|
32
|
-
fulfilledMeta?: unknown;
|
|
33
|
-
rejectedMeta?: unknown;
|
|
34
|
-
}>;
|
|
26
|
+
}, FormModel, _reduxjs_toolkit.AsyncThunkConfig>;
|
|
35
27
|
/**
|
|
36
28
|
* Show error notification
|
|
37
29
|
*/
|
|
38
|
-
declare const showXHRErrorNotification: (error: ErrorResponse) => _reduxjs_toolkit.AsyncThunkAction<void, ShowNotificationArguments,
|
|
39
|
-
state?: unknown;
|
|
40
|
-
dispatch?: _reduxjs_toolkit.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
41
|
-
extra?: unknown;
|
|
42
|
-
rejectValue?: unknown;
|
|
43
|
-
serializedErrorType?: unknown;
|
|
44
|
-
pendingMeta?: unknown;
|
|
45
|
-
fulfilledMeta?: unknown;
|
|
46
|
-
rejectedMeta?: unknown;
|
|
47
|
-
}>;
|
|
30
|
+
declare const showXHRErrorNotification: (error: ErrorResponse) => _reduxjs_toolkit.AsyncThunkAction<void, ShowNotificationArguments, _reduxjs_toolkit.AsyncThunkConfig>;
|
|
48
31
|
|
|
49
32
|
/**
|
|
50
33
|
* Retrieve entrydate for the model catalog
|
|
@@ -392,11 +375,215 @@ declare const useBEIStore: react_redux.UseStore<_reduxjs_toolkit.EnhancedStore<{
|
|
|
392
375
|
|
|
393
376
|
declare const noAction: _reduxjs_toolkit.ActionCreatorWithoutPayload<"NO_ACTION">;
|
|
394
377
|
|
|
395
|
-
declare const getFirstModelByInstance: <T extends new (...args: unknown[]) => unknown>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
396
378
|
/**
|
|
397
|
-
*
|
|
379
|
+
* Retrieves all models from the state that are instances of the specified class
|
|
380
|
+
* and match the current application locale.
|
|
381
|
+
* @template T - A class constructor extending ResourceModel.
|
|
382
|
+
* @param {RootState} state - The Redux root state.
|
|
383
|
+
* @param {T} instance - The model class to filter by (e.g., TaskModel).
|
|
384
|
+
* @returns {InstanceType<T>[]} An array of model instances.
|
|
385
|
+
*/
|
|
386
|
+
declare const getAllModelsByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T>[];
|
|
387
|
+
/**
|
|
388
|
+
* Finds the first occurrence of a model in the state that is an instance of the
|
|
389
|
+
* provided class and matches the current locale.
|
|
390
|
+
* @template T - A class constructor extending ResourceModel.
|
|
391
|
+
* @param {RootState} state - The Redux root state.
|
|
392
|
+
* @param {T} instance - The model class to look for.
|
|
393
|
+
* @returns {InstanceType<T> | undefined} The first matching model instance or undefined.
|
|
394
|
+
*/
|
|
395
|
+
declare const getFirstModelByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
396
|
+
/**
|
|
397
|
+
* Finds the model that is currently "active" based on the current URL path.
|
|
398
|
+
* Matches by instance type, locale, and verifies if the current location starts
|
|
399
|
+
* with the model's selfhref path.
|
|
400
|
+
* @template T - A class constructor extending ResourceModel.
|
|
401
|
+
* @param {RootState} state - The Redux root state.
|
|
402
|
+
* @param {T} instance - The model class to filter by.
|
|
403
|
+
* @returns {InstanceType<T> | undefined} The active model instance or undefined.
|
|
404
|
+
*/
|
|
405
|
+
declare const getActiveModelByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* Retrieves a specific model from the store by comparing its selfhref.
|
|
408
|
+
* @param {RootState} state - The Redux root state.
|
|
409
|
+
* @param {Href | string} href - The href to search for.
|
|
410
|
+
* @returns {ModularUIModel | undefined} The matching model or undefined.
|
|
411
|
+
*/
|
|
412
|
+
declare const modelByHref: (state: RootState, href: Href | string) => ModularUIModel | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Return the unique state key of a model found by its selfhref.
|
|
415
|
+
* @param {RootState} state - The Redux root state.
|
|
416
|
+
* @param {Href | string} href - The href to search for.
|
|
417
|
+
* @returns {string | undefined} The internal state key or undefined.
|
|
418
|
+
*/
|
|
419
|
+
declare const keyByHref: (state: RootState, href: Href | string) => string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* Returns all keys for models that match a specific href.
|
|
422
|
+
* @param {RootState} state - The Redux root state.
|
|
423
|
+
* @param {Href | string} href - The href to filter keys by.
|
|
424
|
+
* @returns {string[]} An array of state keys.
|
|
398
425
|
*/
|
|
399
426
|
declare const allKeysByHref: (state: RootState, href: Href | string) => string[];
|
|
427
|
+
/**
|
|
428
|
+
* Memoized selector that returns a "context" of active models based on the current path segments.
|
|
429
|
+
* Useful for breadcrumbs or determining nested model hierarchy.
|
|
430
|
+
* @returns {Array<Object>} Array of active models found in the current URL path.
|
|
431
|
+
*/
|
|
432
|
+
declare const getActiveModels: ((state: {
|
|
433
|
+
router: RouterState;
|
|
434
|
+
preferences: PreferencesState;
|
|
435
|
+
modularui: ModularUIState;
|
|
436
|
+
i18n: I18nState;
|
|
437
|
+
auth: AuthState;
|
|
438
|
+
error: ErrorState;
|
|
439
|
+
modals: ModalsState;
|
|
440
|
+
modelcatalog: ModelCatalogState;
|
|
441
|
+
notification: NotificationState;
|
|
442
|
+
progressindicator: ProgressIndicatorState;
|
|
443
|
+
}) => {
|
|
444
|
+
key: string;
|
|
445
|
+
href: Href | undefined;
|
|
446
|
+
label: string;
|
|
447
|
+
type: string;
|
|
448
|
+
}[]) & {
|
|
449
|
+
clearCache: () => void;
|
|
450
|
+
resultsCount: () => number;
|
|
451
|
+
resetResultsCount: () => void;
|
|
452
|
+
} & {
|
|
453
|
+
resultFunc: (resultFuncArgs_0: string | undefined, resultFuncArgs_1: {
|
|
454
|
+
selfContentLink: ContentLinkModel | null;
|
|
455
|
+
key: string;
|
|
456
|
+
selfhref: Href | undefined;
|
|
457
|
+
label: string;
|
|
458
|
+
type: string;
|
|
459
|
+
}[]) => {
|
|
460
|
+
key: string;
|
|
461
|
+
href: Href | undefined;
|
|
462
|
+
label: string;
|
|
463
|
+
type: string;
|
|
464
|
+
}[];
|
|
465
|
+
memoizedResultFunc: ((resultFuncArgs_0: string | undefined, resultFuncArgs_1: {
|
|
466
|
+
selfContentLink: ContentLinkModel | null;
|
|
467
|
+
key: string;
|
|
468
|
+
selfhref: Href | undefined;
|
|
469
|
+
label: string;
|
|
470
|
+
type: string;
|
|
471
|
+
}[]) => {
|
|
472
|
+
key: string;
|
|
473
|
+
href: Href | undefined;
|
|
474
|
+
label: string;
|
|
475
|
+
type: string;
|
|
476
|
+
}[]) & {
|
|
477
|
+
clearCache: () => void;
|
|
478
|
+
resultsCount: () => number;
|
|
479
|
+
resetResultsCount: () => void;
|
|
480
|
+
};
|
|
481
|
+
lastResult: () => {
|
|
482
|
+
key: string;
|
|
483
|
+
href: Href | undefined;
|
|
484
|
+
label: string;
|
|
485
|
+
type: string;
|
|
486
|
+
}[];
|
|
487
|
+
dependencies: [(state: RootState) => string | undefined, ((state: {
|
|
488
|
+
router: RouterState;
|
|
489
|
+
preferences: PreferencesState;
|
|
490
|
+
modularui: ModularUIState;
|
|
491
|
+
i18n: I18nState;
|
|
492
|
+
auth: AuthState;
|
|
493
|
+
error: ErrorState;
|
|
494
|
+
modals: ModalsState;
|
|
495
|
+
modelcatalog: ModelCatalogState;
|
|
496
|
+
notification: NotificationState;
|
|
497
|
+
progressindicator: ProgressIndicatorState;
|
|
498
|
+
}) => {
|
|
499
|
+
selfContentLink: ContentLinkModel | null;
|
|
500
|
+
key: string;
|
|
501
|
+
selfhref: Href | undefined;
|
|
502
|
+
label: string;
|
|
503
|
+
type: string;
|
|
504
|
+
}[]) & {
|
|
505
|
+
clearCache: () => void;
|
|
506
|
+
resultsCount: () => number;
|
|
507
|
+
resetResultsCount: () => void;
|
|
508
|
+
} & {
|
|
509
|
+
resultFunc: (resultFuncArgs_0: ModularUIState) => {
|
|
510
|
+
selfContentLink: ContentLinkModel | null;
|
|
511
|
+
key: string;
|
|
512
|
+
selfhref: Href | undefined;
|
|
513
|
+
label: string;
|
|
514
|
+
type: string;
|
|
515
|
+
}[];
|
|
516
|
+
memoizedResultFunc: ((resultFuncArgs_0: ModularUIState) => {
|
|
517
|
+
selfContentLink: ContentLinkModel | null;
|
|
518
|
+
key: string;
|
|
519
|
+
selfhref: Href | undefined;
|
|
520
|
+
label: string;
|
|
521
|
+
type: string;
|
|
522
|
+
}[]) & {
|
|
523
|
+
clearCache: () => void;
|
|
524
|
+
resultsCount: () => number;
|
|
525
|
+
resetResultsCount: () => void;
|
|
526
|
+
};
|
|
527
|
+
lastResult: () => {
|
|
528
|
+
selfContentLink: ContentLinkModel | null;
|
|
529
|
+
key: string;
|
|
530
|
+
selfhref: Href | undefined;
|
|
531
|
+
label: string;
|
|
532
|
+
type: string;
|
|
533
|
+
}[];
|
|
534
|
+
dependencies: [(state: RootState) => ModularUIState];
|
|
535
|
+
recomputations: () => number;
|
|
536
|
+
resetRecomputations: () => void;
|
|
537
|
+
dependencyRecomputations: () => number;
|
|
538
|
+
resetDependencyRecomputations: () => void;
|
|
539
|
+
} & {
|
|
540
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
541
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
542
|
+
}];
|
|
543
|
+
recomputations: () => number;
|
|
544
|
+
resetRecomputations: () => void;
|
|
545
|
+
dependencyRecomputations: () => number;
|
|
546
|
+
resetDependencyRecomputations: () => void;
|
|
547
|
+
} & {
|
|
548
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
549
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* Retrieves all models from the state that have a status of 'FINISHED'.
|
|
553
|
+
* @returns {ModularUIModel[]} Array of finished model instances.
|
|
554
|
+
*/
|
|
555
|
+
declare const getAllFinishedModels: ((state: {
|
|
556
|
+
router: RouterState;
|
|
557
|
+
preferences: PreferencesState;
|
|
558
|
+
modularui: ModularUIState;
|
|
559
|
+
i18n: I18nState;
|
|
560
|
+
auth: AuthState;
|
|
561
|
+
error: ErrorState;
|
|
562
|
+
modals: ModalsState;
|
|
563
|
+
modelcatalog: ModelCatalogState;
|
|
564
|
+
notification: NotificationState;
|
|
565
|
+
progressindicator: ProgressIndicatorState;
|
|
566
|
+
}) => (ModularUIModel | undefined)[]) & {
|
|
567
|
+
clearCache: () => void;
|
|
568
|
+
resultsCount: () => number;
|
|
569
|
+
resetResultsCount: () => void;
|
|
570
|
+
} & {
|
|
571
|
+
resultFunc: (resultFuncArgs_0: ModularUIState) => (ModularUIModel | undefined)[];
|
|
572
|
+
memoizedResultFunc: ((resultFuncArgs_0: ModularUIState) => (ModularUIModel | undefined)[]) & {
|
|
573
|
+
clearCache: () => void;
|
|
574
|
+
resultsCount: () => number;
|
|
575
|
+
resetResultsCount: () => void;
|
|
576
|
+
};
|
|
577
|
+
lastResult: () => (ModularUIModel | undefined)[];
|
|
578
|
+
dependencies: [(state: RootState) => ModularUIState];
|
|
579
|
+
recomputations: () => number;
|
|
580
|
+
resetRecomputations: () => void;
|
|
581
|
+
dependencyRecomputations: () => number;
|
|
582
|
+
resetDependencyRecomputations: () => void;
|
|
583
|
+
} & {
|
|
584
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
585
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
586
|
+
};
|
|
400
587
|
|
|
401
588
|
type DefaultHandler = typeof defaultErrorResponseHandler;
|
|
402
589
|
declare const defaultErrorResponseHandler: (error: ErrorResponse) => (dispatch: BEIDispatch) => {
|
|
@@ -455,4 +642,4 @@ type CustomErrorResponseHandler = (error: ErrorResponse, defaultHandler: Default
|
|
|
455
642
|
declare const setCustomErrorResponseHandler: (handler: CustomErrorResponseHandler) => void;
|
|
456
643
|
declare const handleError: (error: unknown) => (dispatch: BEIDispatch) => void;
|
|
457
644
|
|
|
458
|
-
export { AUTOSAVE_STATUS, AuthState, BEIDispatch, ErrorState, FetchModelPayload, FetchModelResult, I18nState, MODULARUI_STATUS, ModalsState, ModelCatalogState, ModularUIState, NotificationState, PreferenceValue, PreferencesState, ProgressIndicatorState, RootState, RouterLocation, RouterState, ShowNotificationArguments, addRepeatableAttributeSet, allKeysByHref, autosaveFormObject, autosubmitFormObject, autoupdateFormObject, cancelForm, cancelRepeatableAttributeSet, changePassword, fetchModel, getApplication, getBrowserHistory, getDataFromServer, getEntryDate, getFirstModelByInstance, getLocale, getLocales, getRequestLocale, go, goBack, goForward, handleError, handleUnauthorized, initModels, login, loginFailed, logout, noAction, previousObject, push, reloadApplication, reloadModel, removeModelByKey, removeRepeatableAttributeSet, replace, resetModularUI, routerMiddleware, setAllContentInDataSetting, setCustomErrorResponseHandler, setDateTimeSettings, setLoginPreferences, setModel, setServerPreference, setThemePreference, showFormNotification, showXHRErrorNotification, updateErrorStatus, updateForm, updateFormAttribute, updateModel, useBEIDispatch, useBEISelector, useBEIStore, validateFormObject };
|
|
645
|
+
export { AUTOSAVE_STATUS, AuthState, BEIDispatch, ErrorState, FetchModelPayload, FetchModelResult, I18nState, MODULARUI_STATUS, ModalsState, ModelCatalogState, ModularUIState, NotificationState, PreferenceValue, PreferencesState, ProgressIndicatorState, RootState, RouterLocation, RouterState, ShowNotificationArguments, addRepeatableAttributeSet, allKeysByHref, autosaveFormObject, autosubmitFormObject, autoupdateFormObject, cancelForm, cancelRepeatableAttributeSet, changePassword, fetchModel, getActiveModelByInstance, getActiveModels, getAllFinishedModels, getAllModelsByInstance, getApplication, getBrowserHistory, getDataFromServer, getEntryDate, getFirstModelByInstance, getLocale, getLocales, getRequestLocale, go, goBack, goForward, handleError, handleUnauthorized, initModels, keyByHref, login, loginFailed, logout, modelByHref, noAction, previousObject, push, reloadApplication, reloadModel, removeModelByKey, removeRepeatableAttributeSet, replace, resetModularUI, routerMiddleware, setAllContentInDataSetting, setCustomErrorResponseHandler, setDateTimeSettings, setLoginPreferences, setModel, setServerPreference, setThemePreference, showFormNotification, showXHRErrorNotification, updateErrorStatus, updateForm, updateFormAttribute, updateModel, useBEIDispatch, useBEISelector, useBEIStore, validateFormObject };
|
package/dist/redux/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
2
2
|
import { Middleware } from '@reduxjs/toolkit';
|
|
3
|
-
import { S as ShowNotificationArguments, $ as RootState, a0 as BEIDispatch, V as RouterLocation, C as FetchModelResult, F as FetchModelPayload, b as Locales, R as PreferenceValue, W as RouterState, P as PreferencesState, y as ModularUIState, I as I18nState, A as AuthState, E as ErrorState, o as ModalsState, v as ModelCatalogState, N as NotificationState, T as ProgressIndicatorState } from '../styled-components.d-
|
|
4
|
-
export { _ as BEIStore, n as ModalState, B as ModelEntry, D as NOTIFICATION_TYPES, g as authReducer, q as closeModal, H as dismissNotification, i as errorReducer, m as i18nReducer, X as locationChange, l as loginSuccess, e as logoutSuccess, t as modalsReducer, x as modelCatalogReducer, z as modularUIReducer, J as notificationReducer, Q as preferencesReducer, U as progressIndicatorReducer, j as receiveLocale, r as resetAuthErrors, Y as routerReducer, f as saveChangePassword, h as saveError, s as sendAuthenticationError, k as setLocales, K as setPreference, O as setPreferences, Z as setupStore, p as showModal, G as showNotification, w as updateEntryDate, u as updateLocale } from '../styled-components.d-
|
|
3
|
+
import { S as ShowNotificationArguments, $ as RootState, a0 as BEIDispatch, V as RouterLocation, C as FetchModelResult, F as FetchModelPayload, b as Locales, R as PreferenceValue, W as RouterState, P as PreferencesState, y as ModularUIState, I as I18nState, A as AuthState, E as ErrorState, o as ModalsState, v as ModelCatalogState, N as NotificationState, T as ProgressIndicatorState } from '../styled-components.d-C19eFejP.js';
|
|
4
|
+
export { _ as BEIStore, n as ModalState, B as ModelEntry, D as NOTIFICATION_TYPES, g as authReducer, q as closeModal, H as dismissNotification, i as errorReducer, m as i18nReducer, X as locationChange, l as loginSuccess, e as logoutSuccess, t as modalsReducer, x as modelCatalogReducer, z as modularUIReducer, J as notificationReducer, Q as preferencesReducer, U as progressIndicatorReducer, j as receiveLocale, r as resetAuthErrors, Y as routerReducer, f as saveChangePassword, h as saveError, s as sendAuthenticationError, k as setLocales, K as setPreference, O as setPreferences, Z as setupStore, p as showModal, G as showNotification, w as updateEntryDate, u as updateLocale } from '../styled-components.d-C19eFejP.js';
|
|
5
5
|
import * as _beinformed_ui_models from '@beinformed/ui/models';
|
|
6
|
-
import { FormModel, ErrorResponse, ApplicationModel, FormObjectModel, AttributeModel, ModularUIModel, Href } from '@beinformed/ui/models';
|
|
6
|
+
import { FormModel, ErrorResponse, ApplicationModel, FormObjectModel, AttributeModel, ModularUIModel, ResourceModel, Href, ContentLinkModel } from '@beinformed/ui/models';
|
|
7
7
|
import * as redux from 'redux';
|
|
8
8
|
import { LocationState, History } from 'history';
|
|
9
|
-
export { a as BeforeRenderHook, B as BeforeRenderHookProps, h as handleBeforeRenderHooks } from '../beforeRenderHooks-
|
|
10
|
-
import { U as UpdateFormOptions } from '../useForm-
|
|
9
|
+
export { a as BeforeRenderHook, B as BeforeRenderHookProps, h as handleBeforeRenderHooks } from '../beforeRenderHooks-B0CWdI7P.js';
|
|
10
|
+
import { U as UpdateFormOptions } from '../useForm-DqaU9T78.js';
|
|
11
11
|
import * as react_redux from 'react-redux';
|
|
12
12
|
import { ISO_DATE } from '@beinformed/ui/types';
|
|
13
13
|
import { ModularUIRequestOptions } from '@beinformed/ui/utils';
|
|
14
|
+
import * as reselect from 'reselect';
|
|
14
15
|
import 'immer';
|
|
15
16
|
import '@beinformed/ui/settings';
|
|
16
17
|
import 'styled-components';
|
|
@@ -22,29 +23,11 @@ import '../types-CGXygEPz.js';
|
|
|
22
23
|
declare const showFormNotification: _reduxjs_toolkit.AsyncThunk<{
|
|
23
24
|
payload: undefined;
|
|
24
25
|
type: "FINISH_PROGRESS";
|
|
25
|
-
}, FormModel,
|
|
26
|
-
state?: unknown;
|
|
27
|
-
dispatch?: _reduxjs_toolkit.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
28
|
-
extra?: unknown;
|
|
29
|
-
rejectValue?: unknown;
|
|
30
|
-
serializedErrorType?: unknown;
|
|
31
|
-
pendingMeta?: unknown;
|
|
32
|
-
fulfilledMeta?: unknown;
|
|
33
|
-
rejectedMeta?: unknown;
|
|
34
|
-
}>;
|
|
26
|
+
}, FormModel, _reduxjs_toolkit.AsyncThunkConfig>;
|
|
35
27
|
/**
|
|
36
28
|
* Show error notification
|
|
37
29
|
*/
|
|
38
|
-
declare const showXHRErrorNotification: (error: ErrorResponse) => _reduxjs_toolkit.AsyncThunkAction<void, ShowNotificationArguments,
|
|
39
|
-
state?: unknown;
|
|
40
|
-
dispatch?: _reduxjs_toolkit.ThunkDispatch<unknown, unknown, redux.UnknownAction>;
|
|
41
|
-
extra?: unknown;
|
|
42
|
-
rejectValue?: unknown;
|
|
43
|
-
serializedErrorType?: unknown;
|
|
44
|
-
pendingMeta?: unknown;
|
|
45
|
-
fulfilledMeta?: unknown;
|
|
46
|
-
rejectedMeta?: unknown;
|
|
47
|
-
}>;
|
|
30
|
+
declare const showXHRErrorNotification: (error: ErrorResponse) => _reduxjs_toolkit.AsyncThunkAction<void, ShowNotificationArguments, _reduxjs_toolkit.AsyncThunkConfig>;
|
|
48
31
|
|
|
49
32
|
/**
|
|
50
33
|
* Retrieve entrydate for the model catalog
|
|
@@ -392,11 +375,215 @@ declare const useBEIStore: react_redux.UseStore<_reduxjs_toolkit.EnhancedStore<{
|
|
|
392
375
|
|
|
393
376
|
declare const noAction: _reduxjs_toolkit.ActionCreatorWithoutPayload<"NO_ACTION">;
|
|
394
377
|
|
|
395
|
-
declare const getFirstModelByInstance: <T extends new (...args: unknown[]) => unknown>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
396
378
|
/**
|
|
397
|
-
*
|
|
379
|
+
* Retrieves all models from the state that are instances of the specified class
|
|
380
|
+
* and match the current application locale.
|
|
381
|
+
* @template T - A class constructor extending ResourceModel.
|
|
382
|
+
* @param {RootState} state - The Redux root state.
|
|
383
|
+
* @param {T} instance - The model class to filter by (e.g., TaskModel).
|
|
384
|
+
* @returns {InstanceType<T>[]} An array of model instances.
|
|
385
|
+
*/
|
|
386
|
+
declare const getAllModelsByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T>[];
|
|
387
|
+
/**
|
|
388
|
+
* Finds the first occurrence of a model in the state that is an instance of the
|
|
389
|
+
* provided class and matches the current locale.
|
|
390
|
+
* @template T - A class constructor extending ResourceModel.
|
|
391
|
+
* @param {RootState} state - The Redux root state.
|
|
392
|
+
* @param {T} instance - The model class to look for.
|
|
393
|
+
* @returns {InstanceType<T> | undefined} The first matching model instance or undefined.
|
|
394
|
+
*/
|
|
395
|
+
declare const getFirstModelByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
396
|
+
/**
|
|
397
|
+
* Finds the model that is currently "active" based on the current URL path.
|
|
398
|
+
* Matches by instance type, locale, and verifies if the current location starts
|
|
399
|
+
* with the model's selfhref path.
|
|
400
|
+
* @template T - A class constructor extending ResourceModel.
|
|
401
|
+
* @param {RootState} state - The Redux root state.
|
|
402
|
+
* @param {T} instance - The model class to filter by.
|
|
403
|
+
* @returns {InstanceType<T> | undefined} The active model instance or undefined.
|
|
404
|
+
*/
|
|
405
|
+
declare const getActiveModelByInstance: <T extends new (...args: never[]) => ResourceModel>(state: RootState, instance: T) => InstanceType<T> | undefined;
|
|
406
|
+
/**
|
|
407
|
+
* Retrieves a specific model from the store by comparing its selfhref.
|
|
408
|
+
* @param {RootState} state - The Redux root state.
|
|
409
|
+
* @param {Href | string} href - The href to search for.
|
|
410
|
+
* @returns {ModularUIModel | undefined} The matching model or undefined.
|
|
411
|
+
*/
|
|
412
|
+
declare const modelByHref: (state: RootState, href: Href | string) => ModularUIModel | undefined;
|
|
413
|
+
/**
|
|
414
|
+
* Return the unique state key of a model found by its selfhref.
|
|
415
|
+
* @param {RootState} state - The Redux root state.
|
|
416
|
+
* @param {Href | string} href - The href to search for.
|
|
417
|
+
* @returns {string | undefined} The internal state key or undefined.
|
|
418
|
+
*/
|
|
419
|
+
declare const keyByHref: (state: RootState, href: Href | string) => string | undefined;
|
|
420
|
+
/**
|
|
421
|
+
* Returns all keys for models that match a specific href.
|
|
422
|
+
* @param {RootState} state - The Redux root state.
|
|
423
|
+
* @param {Href | string} href - The href to filter keys by.
|
|
424
|
+
* @returns {string[]} An array of state keys.
|
|
398
425
|
*/
|
|
399
426
|
declare const allKeysByHref: (state: RootState, href: Href | string) => string[];
|
|
427
|
+
/**
|
|
428
|
+
* Memoized selector that returns a "context" of active models based on the current path segments.
|
|
429
|
+
* Useful for breadcrumbs or determining nested model hierarchy.
|
|
430
|
+
* @returns {Array<Object>} Array of active models found in the current URL path.
|
|
431
|
+
*/
|
|
432
|
+
declare const getActiveModels: ((state: {
|
|
433
|
+
router: RouterState;
|
|
434
|
+
preferences: PreferencesState;
|
|
435
|
+
modularui: ModularUIState;
|
|
436
|
+
i18n: I18nState;
|
|
437
|
+
auth: AuthState;
|
|
438
|
+
error: ErrorState;
|
|
439
|
+
modals: ModalsState;
|
|
440
|
+
modelcatalog: ModelCatalogState;
|
|
441
|
+
notification: NotificationState;
|
|
442
|
+
progressindicator: ProgressIndicatorState;
|
|
443
|
+
}) => {
|
|
444
|
+
key: string;
|
|
445
|
+
href: Href | undefined;
|
|
446
|
+
label: string;
|
|
447
|
+
type: string;
|
|
448
|
+
}[]) & {
|
|
449
|
+
clearCache: () => void;
|
|
450
|
+
resultsCount: () => number;
|
|
451
|
+
resetResultsCount: () => void;
|
|
452
|
+
} & {
|
|
453
|
+
resultFunc: (resultFuncArgs_0: string | undefined, resultFuncArgs_1: {
|
|
454
|
+
selfContentLink: ContentLinkModel | null;
|
|
455
|
+
key: string;
|
|
456
|
+
selfhref: Href | undefined;
|
|
457
|
+
label: string;
|
|
458
|
+
type: string;
|
|
459
|
+
}[]) => {
|
|
460
|
+
key: string;
|
|
461
|
+
href: Href | undefined;
|
|
462
|
+
label: string;
|
|
463
|
+
type: string;
|
|
464
|
+
}[];
|
|
465
|
+
memoizedResultFunc: ((resultFuncArgs_0: string | undefined, resultFuncArgs_1: {
|
|
466
|
+
selfContentLink: ContentLinkModel | null;
|
|
467
|
+
key: string;
|
|
468
|
+
selfhref: Href | undefined;
|
|
469
|
+
label: string;
|
|
470
|
+
type: string;
|
|
471
|
+
}[]) => {
|
|
472
|
+
key: string;
|
|
473
|
+
href: Href | undefined;
|
|
474
|
+
label: string;
|
|
475
|
+
type: string;
|
|
476
|
+
}[]) & {
|
|
477
|
+
clearCache: () => void;
|
|
478
|
+
resultsCount: () => number;
|
|
479
|
+
resetResultsCount: () => void;
|
|
480
|
+
};
|
|
481
|
+
lastResult: () => {
|
|
482
|
+
key: string;
|
|
483
|
+
href: Href | undefined;
|
|
484
|
+
label: string;
|
|
485
|
+
type: string;
|
|
486
|
+
}[];
|
|
487
|
+
dependencies: [(state: RootState) => string | undefined, ((state: {
|
|
488
|
+
router: RouterState;
|
|
489
|
+
preferences: PreferencesState;
|
|
490
|
+
modularui: ModularUIState;
|
|
491
|
+
i18n: I18nState;
|
|
492
|
+
auth: AuthState;
|
|
493
|
+
error: ErrorState;
|
|
494
|
+
modals: ModalsState;
|
|
495
|
+
modelcatalog: ModelCatalogState;
|
|
496
|
+
notification: NotificationState;
|
|
497
|
+
progressindicator: ProgressIndicatorState;
|
|
498
|
+
}) => {
|
|
499
|
+
selfContentLink: ContentLinkModel | null;
|
|
500
|
+
key: string;
|
|
501
|
+
selfhref: Href | undefined;
|
|
502
|
+
label: string;
|
|
503
|
+
type: string;
|
|
504
|
+
}[]) & {
|
|
505
|
+
clearCache: () => void;
|
|
506
|
+
resultsCount: () => number;
|
|
507
|
+
resetResultsCount: () => void;
|
|
508
|
+
} & {
|
|
509
|
+
resultFunc: (resultFuncArgs_0: ModularUIState) => {
|
|
510
|
+
selfContentLink: ContentLinkModel | null;
|
|
511
|
+
key: string;
|
|
512
|
+
selfhref: Href | undefined;
|
|
513
|
+
label: string;
|
|
514
|
+
type: string;
|
|
515
|
+
}[];
|
|
516
|
+
memoizedResultFunc: ((resultFuncArgs_0: ModularUIState) => {
|
|
517
|
+
selfContentLink: ContentLinkModel | null;
|
|
518
|
+
key: string;
|
|
519
|
+
selfhref: Href | undefined;
|
|
520
|
+
label: string;
|
|
521
|
+
type: string;
|
|
522
|
+
}[]) & {
|
|
523
|
+
clearCache: () => void;
|
|
524
|
+
resultsCount: () => number;
|
|
525
|
+
resetResultsCount: () => void;
|
|
526
|
+
};
|
|
527
|
+
lastResult: () => {
|
|
528
|
+
selfContentLink: ContentLinkModel | null;
|
|
529
|
+
key: string;
|
|
530
|
+
selfhref: Href | undefined;
|
|
531
|
+
label: string;
|
|
532
|
+
type: string;
|
|
533
|
+
}[];
|
|
534
|
+
dependencies: [(state: RootState) => ModularUIState];
|
|
535
|
+
recomputations: () => number;
|
|
536
|
+
resetRecomputations: () => void;
|
|
537
|
+
dependencyRecomputations: () => number;
|
|
538
|
+
resetDependencyRecomputations: () => void;
|
|
539
|
+
} & {
|
|
540
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
541
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
542
|
+
}];
|
|
543
|
+
recomputations: () => number;
|
|
544
|
+
resetRecomputations: () => void;
|
|
545
|
+
dependencyRecomputations: () => number;
|
|
546
|
+
resetDependencyRecomputations: () => void;
|
|
547
|
+
} & {
|
|
548
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
549
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
550
|
+
};
|
|
551
|
+
/**
|
|
552
|
+
* Retrieves all models from the state that have a status of 'FINISHED'.
|
|
553
|
+
* @returns {ModularUIModel[]} Array of finished model instances.
|
|
554
|
+
*/
|
|
555
|
+
declare const getAllFinishedModels: ((state: {
|
|
556
|
+
router: RouterState;
|
|
557
|
+
preferences: PreferencesState;
|
|
558
|
+
modularui: ModularUIState;
|
|
559
|
+
i18n: I18nState;
|
|
560
|
+
auth: AuthState;
|
|
561
|
+
error: ErrorState;
|
|
562
|
+
modals: ModalsState;
|
|
563
|
+
modelcatalog: ModelCatalogState;
|
|
564
|
+
notification: NotificationState;
|
|
565
|
+
progressindicator: ProgressIndicatorState;
|
|
566
|
+
}) => (ModularUIModel | undefined)[]) & {
|
|
567
|
+
clearCache: () => void;
|
|
568
|
+
resultsCount: () => number;
|
|
569
|
+
resetResultsCount: () => void;
|
|
570
|
+
} & {
|
|
571
|
+
resultFunc: (resultFuncArgs_0: ModularUIState) => (ModularUIModel | undefined)[];
|
|
572
|
+
memoizedResultFunc: ((resultFuncArgs_0: ModularUIState) => (ModularUIModel | undefined)[]) & {
|
|
573
|
+
clearCache: () => void;
|
|
574
|
+
resultsCount: () => number;
|
|
575
|
+
resetResultsCount: () => void;
|
|
576
|
+
};
|
|
577
|
+
lastResult: () => (ModularUIModel | undefined)[];
|
|
578
|
+
dependencies: [(state: RootState) => ModularUIState];
|
|
579
|
+
recomputations: () => number;
|
|
580
|
+
resetRecomputations: () => void;
|
|
581
|
+
dependencyRecomputations: () => number;
|
|
582
|
+
resetDependencyRecomputations: () => void;
|
|
583
|
+
} & {
|
|
584
|
+
memoize: typeof reselect.weakMapMemoize;
|
|
585
|
+
argsMemoize: typeof reselect.weakMapMemoize;
|
|
586
|
+
};
|
|
400
587
|
|
|
401
588
|
type DefaultHandler = typeof defaultErrorResponseHandler;
|
|
402
589
|
declare const defaultErrorResponseHandler: (error: ErrorResponse) => (dispatch: BEIDispatch) => {
|
|
@@ -455,4 +642,4 @@ type CustomErrorResponseHandler = (error: ErrorResponse, defaultHandler: Default
|
|
|
455
642
|
declare const setCustomErrorResponseHandler: (handler: CustomErrorResponseHandler) => void;
|
|
456
643
|
declare const handleError: (error: unknown) => (dispatch: BEIDispatch) => void;
|
|
457
644
|
|
|
458
|
-
export { AUTOSAVE_STATUS, AuthState, BEIDispatch, ErrorState, FetchModelPayload, FetchModelResult, I18nState, MODULARUI_STATUS, ModalsState, ModelCatalogState, ModularUIState, NotificationState, PreferenceValue, PreferencesState, ProgressIndicatorState, RootState, RouterLocation, RouterState, ShowNotificationArguments, addRepeatableAttributeSet, allKeysByHref, autosaveFormObject, autosubmitFormObject, autoupdateFormObject, cancelForm, cancelRepeatableAttributeSet, changePassword, fetchModel, getApplication, getBrowserHistory, getDataFromServer, getEntryDate, getFirstModelByInstance, getLocale, getLocales, getRequestLocale, go, goBack, goForward, handleError, handleUnauthorized, initModels, login, loginFailed, logout, noAction, previousObject, push, reloadApplication, reloadModel, removeModelByKey, removeRepeatableAttributeSet, replace, resetModularUI, routerMiddleware, setAllContentInDataSetting, setCustomErrorResponseHandler, setDateTimeSettings, setLoginPreferences, setModel, setServerPreference, setThemePreference, showFormNotification, showXHRErrorNotification, updateErrorStatus, updateForm, updateFormAttribute, updateModel, useBEIDispatch, useBEISelector, useBEIStore, validateFormObject };
|
|
645
|
+
export { AUTOSAVE_STATUS, AuthState, BEIDispatch, ErrorState, FetchModelPayload, FetchModelResult, I18nState, MODULARUI_STATUS, ModalsState, ModelCatalogState, ModularUIState, NotificationState, PreferenceValue, PreferencesState, ProgressIndicatorState, RootState, RouterLocation, RouterState, ShowNotificationArguments, addRepeatableAttributeSet, allKeysByHref, autosaveFormObject, autosubmitFormObject, autoupdateFormObject, cancelForm, cancelRepeatableAttributeSet, changePassword, fetchModel, getActiveModelByInstance, getActiveModels, getAllFinishedModels, getAllModelsByInstance, getApplication, getBrowserHistory, getDataFromServer, getEntryDate, getFirstModelByInstance, getLocale, getLocales, getRequestLocale, go, goBack, goForward, handleError, handleUnauthorized, initModels, keyByHref, login, loginFailed, logout, modelByHref, noAction, previousObject, push, reloadApplication, reloadModel, removeModelByKey, removeRepeatableAttributeSet, replace, resetModularUI, routerMiddleware, setAllContentInDataSetting, setCustomErrorResponseHandler, setDateTimeSettings, setLoginPreferences, setModel, setServerPreference, setThemePreference, showFormNotification, showXHRErrorNotification, updateErrorStatus, updateForm, updateFormAttribute, updateModel, useBEIDispatch, useBEISelector, useBEIStore, validateFormObject };
|
package/dist/redux/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-6E5DAS6G.js";import{b as h}from"../chunk-
|
|
1
|
+
import"../chunk-6E5DAS6G.js";import{b as h}from"../chunk-LJM2ADG6.js";import{a as ua,b as va,c as wa,d as xa,e as ya,f as za,g as Aa,h as Ba,i as Ca,j as Da,k as Ea,l as Fa,m as Ga,n as Ha,o as Ia,p as Ja,q as Ka}from"../chunk-ZNJONDQ6.js";import{a as g,c as y,d as E,e as F,f as na,g as oa,h as pa,i as qa}from"../chunk-ALGSLJJI.js";import{$ as ma,A as H,B as M,C as N,D as O,E as P,F as S,G as T,H as U,I as V,J as W,K as X,L as Y,M as Z,N as _,O as $,P as aa,Q as ba,R as ca,S as da,T as ea,U as fa,V as ga,W as ha,X as ia,Y as ja,Z as ka,_ as la,a,b,c,d,e,f,i,j,o as k,p as l,q as m,r as n,s as o,t as p,u as z,v as A,w as B,x as C,y as D,z as G}from"../chunk-GHKA2XFO.js";import{f as I,g as J,h as K,i as L}from"../chunk-X6L6BWD4.js";import{a as Q,b as R}from"../chunk-JYAETKRB.js";import{b as q,c as r,d as s,e as t,f as u,g as v,h as w,i as x}from"../chunk-FBCZEJSD.js";import"../chunk-L7DO7AZT.js";import{h as ra,i as sa,j as ta}from"../chunk-HTR32BUX.js";import"../chunk-FW4363Y4.js";export{ya as AUTOSAVE_STATUS,P as MODULARUI_STATUS,k as NOTIFICATION_TYPES,Ga as addRepeatableAttributeSet,ca as allKeysByHref,f as authReducer,za as autosaveFormObject,Aa as autosubmitFormObject,Ba as autoupdateFormObject,Fa as cancelForm,Ha as cancelRepeatableAttributeSet,va as changePassword,N as closeModal,m as dismissNotification,H as errorReducer,ma as fetchModel,$ as getActiveModelByInstance,da as getActiveModels,ea as getAllFinishedModels,Z as getAllModelsByInstance,fa as getApplication,y as getBrowserHistory,h as getDataFromServer,Ja as getEntryDate,_ as getFirstModelByInstance,Q as getLocale,R as getLocales,la as getRequestLocale,B as go,C as goBack,D as goForward,g as handleBeforeRenderHooks,ka as handleError,ha as handleUnauthorized,L as i18nReducer,U as initModels,ba as keyByHref,E as locationChange,wa as login,ua as loginFailed,a as loginSuccess,xa as logout,b as logoutSuccess,O as modalsReducer,aa as modelByHref,j as modelCatalogReducer,na as modularUIReducer,ia as noAction,n as notificationReducer,s as preferencesReducer,Ea as previousObject,oa as progressIndicatorReducer,z as push,I as receiveLocale,ga as reloadApplication,Ka as reloadModel,X as removeModelByKey,Ia as removeRepeatableAttributeSet,A as replace,d as resetAuthErrors,Y as resetModularUI,pa as routerMiddleware,F as routerReducer,e as saveChangePassword,G as saveError,c as sendAuthenticationError,v as setAllContentInDataSetting,ja as setCustomErrorResponseHandler,w as setDateTimeSettings,K as setLocales,x as setLoginPreferences,T as setModel,q as setPreference,r as setPreferences,t as setServerPreference,u as setThemePreference,qa as setupStore,o as showFormNotification,M as showModal,l as showNotification,p as showXHRErrorNotification,i as updateEntryDate,S as updateErrorStatus,W as updateForm,Da as updateFormAttribute,J as updateLocale,V as updateModel,ra as useBEIDispatch,sa as useBEISelector,ta as useBEIStore,Ca as validateFormObject};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|