@gen-epix/ui-client-common 4.5.0 → 4.6.0
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/README.md +5 -4
- package/dist/@types/mui.d.ts +13 -5
- package/dist/@types/ui-client-common.d.ts +1 -0
- package/dist/_chunks/ApplicationFooter.js +45 -46
- package/dist/_chunks/ApplicationFooter.js.map +1 -1
- package/dist/_chunks/Breadcrumbs.js +14 -15
- package/dist/_chunks/CrudPage.js +301 -302
- package/dist/_chunks/CrudPage.js.map +1 -1
- package/dist/_chunks/GeoFilter.js +1 -2
- package/dist/_chunks/GeoFilter.js.map +1 -1
- package/dist/_chunks/Notifications.js +52 -53
- package/dist/_chunks/OutageList.js +30 -31
- package/dist/_chunks/OutageList.js.map +1 -1
- package/dist/_chunks/OutageUtil.js +4 -8
- package/dist/_chunks/OutageUtil.js.map +1 -1
- package/dist/_chunks/QueryClientProvider.js +1 -2
- package/dist/_chunks/QueryClientProvider.js.map +1 -1
- package/dist/_chunks/QueryClientService.js +101 -395
- package/dist/_chunks/QueryClientService.js.map +1 -1
- package/dist/_chunks/Reflect.js +1 -2
- package/dist/_chunks/Table.js +523 -522
- package/dist/_chunks/Table.js.map +1 -1
- package/dist/_chunks/TableUtil.js +10 -20
- package/dist/_chunks/TableUtil.js.map +1 -1
- package/dist/_chunks/TextFilter.js +18 -20
- package/dist/_chunks/TextFilter.js.map +1 -1
- package/dist/_chunks/UserInvitationsAdminPage.js +78 -79
- package/dist/_chunks/UserInvitationsAdminPage.js.map +1 -1
- package/dist/_chunks/UserManagerUtil.js +212 -213
- package/dist/_chunks/UserManagerUtil.js.map +1 -1
- package/dist/_chunks/_baseAssignValue.js +1 -2
- package/dist/_chunks/_baseFlatten.js +9 -10
- package/dist/_chunks/_baseFlatten.js.map +1 -1
- package/dist/_chunks/_baseGet.js +279 -0
- package/dist/_chunks/_baseGet.js.map +1 -0
- package/dist/_chunks/_baseIteratee.js +273 -0
- package/dist/_chunks/_baseIteratee.js.map +1 -0
- package/dist/_chunks/_baseUnset.js +22 -300
- package/dist/_chunks/_baseUnset.js.map +1 -1
- package/dist/_chunks/_cacheHas.js +1 -2
- package/dist/_chunks/_setToString.js +1 -2
- package/dist/_chunks/decorate.js +1 -2
- package/dist/_chunks/decorateParam.js +1 -2
- package/dist/_chunks/format.js +27 -54
- package/dist/_chunks/format.js.map +1 -1
- package/dist/_chunks/isArrayLike.js +1 -2
- package/dist/_chunks/isObject.js +1 -2
- package/dist/_chunks/isSymbol.js +1 -2
- package/dist/_chunks/last.js +12 -0
- package/dist/_chunks/last.js.map +1 -0
- package/dist/_chunks/middleware.js +2 -3
- package/dist/_chunks/middleware.js.map +1 -1
- package/dist/_chunks/omit.js +42 -42
- package/dist/_chunks/omit.js.map +1 -1
- package/dist/_chunks/query.js +8 -15
- package/dist/_chunks/query.js.map +1 -1
- package/dist/_chunks/react.js +2 -3
- package/dist/_chunks/react.js.map +1 -1
- package/dist/_chunks/rolldown-runtime.js +2 -3
- package/dist/_chunks/tableStore.js +231 -224
- package/dist/_chunks/tableStore.js.map +1 -1
- package/dist/_chunks/toDate.js +8 -14
- package/dist/_chunks/toDate.js.map +1 -1
- package/dist/_chunks/uniq.js +43 -0
- package/dist/_chunks/uniq.js.map +1 -0
- package/dist/_chunks/useColumnsMenu.js +3 -6
- package/dist/_chunks/useColumnsMenu.js.map +1 -1
- package/dist/_chunks/useMutation.js +24 -26
- package/dist/_chunks/useMutation.js.map +1 -1
- package/dist/_chunks/useQueryMemo.js +33 -22
- package/dist/_chunks/useQueryMemo.js.map +1 -1
- package/dist/_chunks/vanilla.js +1 -2
- package/dist/_chunks/vanilla.js.map +1 -1
- package/dist/_chunks/yup.js +2 -4
- package/dist/_chunks/yup.js.map +1 -1
- package/dist/classes/TableEventBus/index.js +1 -2
- package/dist/classes/abstracts/FilterAbstract/index.js +4 -3
- package/dist/classes/abstracts/FilterAbstract/index.js.map +1 -1
- package/dist/classes/filters/MultiSelectFilter.d.ts +1 -1
- package/dist/classes/services/AuthenticationService/AuthenticationService.d.ts +1 -1
- package/dist/classes/services/AuthenticationService/index.js +15 -16
- package/dist/classes/services/AuthenticationService/index.js.map +1 -1
- package/dist/classes/services/AuthorizationService/index.js +5 -6
- package/dist/classes/services/AuthorizationService/index.js.map +1 -1
- package/dist/classes/services/BackendVersionService/index.js +4 -4
- package/dist/classes/services/BackendVersionService/index.js.map +1 -1
- package/dist/classes/services/BreadcrumbService/index.js +16 -39
- package/dist/classes/services/BreadcrumbService/index.js.map +1 -1
- package/dist/classes/services/EmotionCacheService/index.js +10 -10
- package/dist/classes/services/EmotionCacheService/index.js.map +1 -1
- package/dist/classes/services/FeatureFlagsService/index.js +1 -2
- package/dist/classes/services/I18nService/index.js +12 -12
- package/dist/classes/services/I18nService/index.js.map +1 -1
- package/dist/classes/services/InactivityService/index.js +13 -14
- package/dist/classes/services/InactivityService/index.js.map +1 -1
- package/dist/classes/services/LogService/index.js +40 -35
- package/dist/classes/services/LogService/index.js.map +1 -1
- package/dist/classes/services/NavigationHistoryService/index.js +1 -2
- package/dist/classes/services/NotificationService/index.js +9 -10
- package/dist/classes/services/NotificationService/index.js.map +1 -1
- package/dist/classes/services/PageEventBusService/index.js +14 -11
- package/dist/classes/services/PageEventBusService/index.js.map +1 -1
- package/dist/classes/services/RouterService/index.js +4 -8
- package/dist/classes/services/RouterService/index.js.map +1 -1
- package/dist/classes/services/UserSettingsService/index.js +1 -2
- package/dist/components/app/App/App.d.ts +1 -1
- package/dist/components/app/App/index.js +35 -40
- package/dist/components/app/App/index.js.map +1 -1
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js +29 -30
- package/dist/components/app/ApplicationBootstrapWithAuthentication/index.js.map +1 -1
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js +48 -47
- package/dist/components/app/ApplicationBootstrapWithoutAuthorization/index.js.map +1 -1
- package/dist/components/app/AuthenticationWrapper/index.js +36 -37
- package/dist/components/app/AuthenticationWrapper/index.js.map +1 -1
- package/dist/components/app/AuthorizationWrapper/index.js +20 -21
- package/dist/components/app/AuthorizationWrapper/index.js.map +1 -1
- package/dist/components/app/RouterRoot/index.js +53 -52
- package/dist/components/app/RouterRoot/index.js.map +1 -1
- package/dist/components/epi/EpiContactDetailsDialog/index.js +22 -23
- package/dist/components/filters/BooleanFilterField/index.js +6 -7
- package/dist/components/filters/DateFilterField/index.js +4 -5
- package/dist/components/filters/GeoFilterField/index.js +5 -6
- package/dist/components/filters/MultiSelectFilterField/index.js +5 -6
- package/dist/components/filters/NumberRangeFilterField/index.js +4 -5
- package/dist/components/filters/TextFilterField/index.js +4 -5
- package/dist/components/ui/ApplicationBar/index.js +189 -190
- package/dist/components/ui/ApplicationBar/index.js.map +1 -1
- package/dist/components/ui/ConsentDialog/index.js +1 -2
- package/dist/components/ui/GenericErrorMessage/index.js +30 -31
- package/dist/components/ui/LicensesDialog/index.js +39 -40
- package/dist/components/ui/LicensesDialog/index.js.map +1 -1
- package/dist/components/ui/MyPermissionsDialog/index.js +17 -18
- package/dist/components/ui/NavLink/index.js +7 -8
- package/dist/components/ui/OrganizationSwitcherDialog/index.js +22 -23
- package/dist/components/ui/OrganizationSwitcherDialog/index.js.map +1 -1
- package/dist/components/ui/OutagesDialog/index.js +1 -2
- package/dist/components/ui/PageContainer/index.js +25 -26
- package/dist/components/ui/PageContainer/index.js.map +1 -1
- package/dist/components/ui/ResponseHandler/index.js +1 -2
- package/dist/components/ui/Sidebar/index.js +31 -32
- package/dist/components/ui/UserFeedbackDialog/index.js +13 -14
- package/dist/components/ui/UserInactivityConfirmation/index.js +1 -2
- package/dist/constants/api.constants.js +1 -2
- package/dist/constants/config.constants.d.ts +0 -2
- package/dist/constants/config.constants.js +3 -4
- package/dist/constants/config.constants.js.map +1 -1
- package/dist/constants/query.constants.js +1 -2
- package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js +13 -14
- package/dist/dataHooks/useIdentifierIssuerOwnOrganizationQuery/index.js.map +1 -1
- package/dist/dataHooks/useIdentifierIssuerQuery/index.js +15 -16
- package/dist/dataHooks/useIdentifierIssuerQuery/index.js.map +1 -1
- package/dist/dataHooks/useInviteUserConstraintsQuery/index.js +13 -14
- package/dist/dataHooks/useInviteUserConstraintsQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js +14 -15
- package/dist/dataHooks/useOrganizationAdminPoliciesQuery/index.js.map +1 -1
- package/dist/dataHooks/useOrganizationIdentifierIssuerLinksQuery/index.js +5 -6
- package/dist/dataHooks/useOrganizationsQuery/index.js +14 -15
- package/dist/dataHooks/useOrganizationsQuery/index.js.map +1 -1
- package/dist/dataHooks/useUsersQuery/index.js +11 -12
- package/dist/dataHooks/useUsersQuery/index.js.map +1 -1
- package/dist/hoc/withPermissions/index.js +1 -2
- package/dist/hooks/useConfig/index.js +3 -4
- package/dist/hooks/useConfig/index.js.map +1 -1
- package/dist/hooks/useCreateMutation/index.js +13 -14
- package/dist/hooks/useCreateMutation/index.js.map +1 -1
- package/dist/hooks/useDeleteMutation/index.js +17 -11
- package/dist/hooks/useDeleteMutation/index.js.map +1 -1
- package/dist/hooks/useEditMutation/index.js +49 -35
- package/dist/hooks/useEditMutation/index.js.map +1 -1
- package/dist/hooks/useInitializeTableStore/index.js +1 -2
- package/dist/hooks/useItemQuery/index.js +5 -6
- package/dist/hooks/useItemQuery/index.js.map +1 -1
- package/dist/hooks/useUpdateBreadcrumb/index.js +1 -2
- package/dist/hooks/useUpdateDocumentTitle/index.js +1 -2
- package/dist/locale/en.json +1 -0
- package/dist/locale/nl.json +1 -0
- package/dist/models/admin.models.js +1 -2
- package/dist/models/admin.models.js.map +1 -1
- package/dist/models/config.models.d.ts +1 -5
- package/dist/models/table.models.js +1 -2
- package/dist/models/table.models.js.map +1 -1
- package/dist/models/theme.models.d.ts +19 -16
- package/dist/pages/AcceptInvitationPage/index.js +26 -27
- package/dist/pages/AcceptInvitationPage/index.js.map +1 -1
- package/dist/pages/AdminPage/index.js +17 -18
- package/dist/pages/ChooseIdentityProviderPage/index.js +22 -23
- package/dist/pages/ErrorPage/index.js +1 -2
- package/dist/pages/IdentifierIssuersAdminPage/index.js +6 -7
- package/dist/pages/OrganizationAdminPoliciesAdminPage/index.js +6 -7
- package/dist/pages/OrganizationContactsAdminPage/index.js +7 -8
- package/dist/pages/OrganizationSitesAdminPage/index.js +10 -11
- package/dist/pages/OrganizationsAdminPage/index.js +14 -15
- package/dist/pages/OrganizationsAdminPage/index.js.map +1 -1
- package/dist/pages/OutagesAdminPage/index.js +21 -22
- package/dist/pages/PostLoginPage/index.js +8 -9
- package/dist/pages/PostLoginPage/index.js.map +1 -1
- package/dist/pages/PostLogoutPage/index.js +9 -10
- package/dist/pages/RouterErrorPage/index.js +1 -2
- package/dist/pages/UsersAdminPage/index.js +40 -41
- package/dist/pages/UsersAdminPage/index.js.map +1 -1
- package/dist/routes/index.js +1 -2
- package/dist/setup/setup.js +12 -6
- package/dist/setup/setup.js.map +1 -1
- package/dist/stores/oidcStore/index.js +1 -2
- package/dist/stores/outagesStore/index.js +1 -2
- package/dist/theme/demoTheme/index.js +18 -17
- package/dist/theme/demoTheme/index.js.map +1 -1
- package/dist/utils/AxiosUtil/index.js +1 -2
- package/dist/utils/DataHookUtil/index.js +2 -3
- package/dist/utils/DataHookUtil/index.js.map +1 -1
- package/dist/utils/DependencyContainerUtil/DependencyContainerUtil.d.ts +2 -3
- package/dist/utils/DependencyContainerUtil/index.js +10 -16
- package/dist/utils/DependencyContainerUtil/index.js.map +1 -1
- package/dist/utils/LoadableUtil/index.js +1 -2
- package/dist/utils/MenuDataUtil/index.js +2 -3
- package/dist/utils/MenuDataUtil/index.js.map +1 -1
- package/dist/utils/NotificationUtil/index.js +1 -2
- package/dist/utils/StandardConfigUtil/index.js +1 -6
- package/dist/utils/StandardConfigUtil/index.js.map +1 -1
- package/dist/utils/TimeUtil/index.js +2 -3
- package/dist/utils/TimeUtil/index.js.map +1 -1
- package/dist/utils/UserUtil/index.js +1 -2
- package/package.json +26 -29
- package/dist/context/ClientCommonConfigContext/ClientCommonConfigContext.d.ts +0 -9
- package/dist/context/ClientCommonConfigContext/ClientCommonConfigContextProvider.d.ts +0 -6
- package/dist/context/ClientCommonConfigContext/index.d.ts +0 -3
- package/dist/context/ClientCommonConfigContext/index.js +0 -34
- package/dist/context/ClientCommonConfigContext/index.js.map +0 -1
- package/dist/context/ClientCommonConfigContext/useClientCommonConfigContext.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
3
|
export type ApplicationHeaderProps = {
|
|
4
4
|
readonly fullHeight?: boolean;
|
|
5
5
|
readonly fullWidth?: boolean;
|
|
@@ -45,10 +45,6 @@ export interface ConfigBase {
|
|
|
45
45
|
retry: (failureCount: number, error: unknown) => boolean;
|
|
46
46
|
retryDelay: (attempt: number) => number;
|
|
47
47
|
};
|
|
48
|
-
spinner: {
|
|
49
|
-
DEFAULT_CIRCULAR_PROGRESS_SIZE: CircularProgressProps['size'];
|
|
50
|
-
DEFAULT_TAKING_LONGER_TIMEOUT_MS: number;
|
|
51
|
-
};
|
|
52
48
|
table: {
|
|
53
49
|
CONDENSED_WIDTH_PX: number;
|
|
54
50
|
DEFAULT_OVERSCAN_MAIN: number;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// src/models/table.models.ts
|
|
2
2
|
var e = /* @__PURE__ */ function(e) {
|
|
3
3
|
return e.ACTIONS = "ACTIONS", e.READABLE_INDEX = "READABLE_INDEX", e.ROW_SELECT = "ROW_SELECT", e;
|
|
4
4
|
}({}), t = /* @__PURE__ */ function(e) {
|
|
5
5
|
return e.LEFT = "left", e.RIGHT = "right", e;
|
|
6
6
|
}({});
|
|
7
|
-
//#endregion
|
|
8
7
|
export { e as FIXED_COLUMN_ID, t as TABLE_COLUMN_FROZEN };
|
|
9
8
|
|
|
10
9
|
//# sourceMappingURL=table.models.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.models.js","names":["FIXED_COLUMN_ID","\"ACTIONS\"","\"READABLE_INDEX\"","\"ROW_SELECT\"","TABLE_COLUMN_FROZEN","\"LEFT\"","\"RIGHT\""],"sources":["../../src/models/table.models.ts"],"sourcesContent":["import type {\n SxProps,\n Theme,\n} from '@mui/material';\nimport type { ReactElement } from 'react';\nimport type { TFunction } from 'i18next';\nimport type { DATE_FORMAT } from '@gen-epix/ui-core/constants/date.constants';\nimport type { OptionBase } from '@gen-epix/ui-core-form/models/form.models';\n\nexport enum FIXED_COLUMN_ID {\n ACTIONS = 'ACTIONS',\n READABLE_INDEX = 'READABLE_INDEX',\n ROW_SELECT = 'ROW_SELECT',\n}\n\nexport enum TABLE_COLUMN_FROZEN {\n LEFT = 'left',\n RIGHT = 'right',\n}\n\nexport interface GetTableCellRowComparatorProps<TColumn, TDataContext = null> {\n readonly column: TColumn;\n readonly dataContext: TDataContext;\n readonly direction: TableSortDirection;\n}\n\nexport interface GetTableCellValueProps<TRowData, TColumn, TDataContext = null> {\n readonly column: TColumn;\n readonly dataContext: TDataContext;\n readonly row: TRowData;\n readonly rowIndex: number;\n readonly t?: TFunction<'translation', undefined>;\n}\n\nexport type HasCellDataFn<TRowData, TDataContext = null> = (row: TRowData, column: TableColumn<TRowData, TDataContext>, rowIndex: number, dataContext: TDataContext) => boolean;\n\nexport type TableCellRowComparatorArgument<TRowData> = {\n row: TRowData;\n rowIndex: number;\n};\n\nexport type TableColumn<TRowData, TDataContext = null, TColumnContext = null> =\n TableColumnActions<TRowData, TDataContext, TColumnContext> |\n TableColumnBoolean<TRowData, TDataContext, TColumnContext> |\n TableColumnDate<TRowData, TDataContext, TColumnContext> |\n TableColumnNumber<TRowData, TDataContext, TColumnContext> |\n TableColumnOptions<TRowData, TDataContext, TColumnContext> |\n TableColumnReadableIndex<TRowData, TDataContext, TColumnContext> |\n TableColumnSelectable<TRowData, TDataContext, TColumnContext> |\n TableColumnText<TRowData, TDataContext, TColumnContext>;\n\nexport interface TableColumnActions<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnActions<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n frozen: TABLE_COLUMN_FROZEN.RIGHT;\n getActions: (params: TableRowParams<TRowData, TDataContext>) => ReactElement[];\n id: FIXED_COLUMN_ID.ACTIONS;\n isInitiallyVisible: true;\n resizable: false;\n type: 'actions';\n}\n\nexport interface TableColumnBoolean<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, boolean, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnBoolean<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'boolean';\n}\n\nexport interface TableColumnDate<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnDate<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n dateFormat: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];\n type: 'date';\n}\n\nexport type TableColumnDimension = {\n columnIds: string[];\n id: string;\n label: string;\n};\n\nexport interface TableColumnNumber<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, number, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnNumber<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'number';\n}\n\nexport interface TableColumnOptions<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string | string[], TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnOptions<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n maxNumOptionsExpanded?: number;\n options: OptionBase<string>[];\n shouldFilterOptions?: boolean;\n type: 'options';\n}\n\nexport interface TableColumnParams<TRowData, TDataContext = null> {\n column: TableColumn<TRowData, TDataContext>;\n dataContext: TDataContext;\n}\n\nexport interface TableColumnReadableIndex<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, never, TDataContext, TColumnContext> {\n comparatorFactory?: never;\n disableEllipsis: true;\n frozen: TABLE_COLUMN_FROZEN.LEFT;\n getAriaLabel: (params: TableRowParams<TRowData, TDataContext>) => string;\n id: FIXED_COLUMN_ID.READABLE_INDEX;\n resizable: false;\n type: 'readableIndex';\n}\n\nexport interface TableColumnSelectable<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, never, TDataContext, TColumnContext> {\n comparatorFactory?: never;\n disableEllipsis: true;\n frozen: TABLE_COLUMN_FROZEN.LEFT;\n id: FIXED_COLUMN_ID.ROW_SELECT;\n isDisabled?: (params: TableRowParams<TRowData, TDataContext>) => boolean;\n resizable: false;\n type: 'selectable';\n}\n\nexport interface TableColumnText<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnText<TRowData, TDataContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'text';\n}\n\nexport type TableColumnVisualSettings = {\n calculatedWidth?: number;\n hasResized?: boolean;\n id: string;\n isVisible: boolean;\n offsetX?: number;\n widthFlex: number;\n widthPx: number;\n};\n\n\nexport type TableDragEvent = {\n clientX: number;\n clientY: number;\n deltaX: number;\n deltaY: number;\n elementOffsetX: number;\n elementWidth: number;\n target: HTMLDivElement;\n type: 'end' | 'move' | 'start';\n};\n\nexport type TableRowAndColumnParams<TRowData, TDataContext = null> = TableColumnParams<TRowData, TDataContext> & TableRowParams<TRowData, TDataContext>;\n\nexport interface TableRowParams<TRowData, TDataContext = null> {\n dataContext: TDataContext;\n id: string;\n row: TRowData;\n rowIndex: number;\n}\n\nexport type TableSortDirection = 'asc' | 'desc';\n\ninterface TableColumnBase<TRowData, TValue, TDataContext = null, TColumnContext = null> {\n cellColorGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n cellTitleGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n columnContext?: TColumnContext;\n customHeaderIcon?: {\n iconElement: ReactElement;\n label: string;\n onClick: (params: TableColumnParams<TRowData, TDataContext>) => void;\n };\n disableEllipsis?: boolean;\n displayValueGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n filterLabel?: string;\n frozen?: TABLE_COLUMN_FROZEN;\n headerName?: string;\n headerTooltipContent?: string;\n hideInFilter?: boolean;\n id?: string;\n isInitiallyVisible: boolean;\n renderCell?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => ReactElement;\n renderHeader?: (params: TableColumnParams<TRowData, TDataContext>) => ReactElement;\n renderHeaderContent?: (params: TableColumnParams<TRowData, TDataContext>) => ReactElement;\n resizable?: boolean;\n sx?: SxProps<Theme>;\n textAlign?: 'left' | 'right';\n valueGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => TValue;\n widthFlex?: number;\n widthPx?: number;\n widthPxFn?: (dataLength: number) => number;\n}\n"],"mappings":";AASA,IAAYA,IAAL,yBAAA,GAAA;
|
|
1
|
+
{"version":3,"file":"table.models.js","names":["FIXED_COLUMN_ID","\"ACTIONS\"","\"READABLE_INDEX\"","\"ROW_SELECT\"","TABLE_COLUMN_FROZEN","\"LEFT\"","\"RIGHT\""],"sources":["../../src/models/table.models.ts"],"sourcesContent":["import type {\n SxProps,\n Theme,\n} from '@mui/material';\nimport type { ReactElement } from 'react';\nimport type { TFunction } from 'i18next';\nimport type { DATE_FORMAT } from '@gen-epix/ui-core/constants/date.constants';\nimport type { OptionBase } from '@gen-epix/ui-core-form/models/form.models';\n\nexport enum FIXED_COLUMN_ID {\n ACTIONS = 'ACTIONS',\n READABLE_INDEX = 'READABLE_INDEX',\n ROW_SELECT = 'ROW_SELECT',\n}\n\nexport enum TABLE_COLUMN_FROZEN {\n LEFT = 'left',\n RIGHT = 'right',\n}\n\nexport interface GetTableCellRowComparatorProps<TColumn, TDataContext = null> {\n readonly column: TColumn;\n readonly dataContext: TDataContext;\n readonly direction: TableSortDirection;\n}\n\nexport interface GetTableCellValueProps<TRowData, TColumn, TDataContext = null> {\n readonly column: TColumn;\n readonly dataContext: TDataContext;\n readonly row: TRowData;\n readonly rowIndex: number;\n readonly t?: TFunction<'translation', undefined>;\n}\n\nexport type HasCellDataFn<TRowData, TDataContext = null> = (row: TRowData, column: TableColumn<TRowData, TDataContext>, rowIndex: number, dataContext: TDataContext) => boolean;\n\nexport type TableCellRowComparatorArgument<TRowData> = {\n row: TRowData;\n rowIndex: number;\n};\n\nexport type TableColumn<TRowData, TDataContext = null, TColumnContext = null> =\n TableColumnActions<TRowData, TDataContext, TColumnContext> |\n TableColumnBoolean<TRowData, TDataContext, TColumnContext> |\n TableColumnDate<TRowData, TDataContext, TColumnContext> |\n TableColumnNumber<TRowData, TDataContext, TColumnContext> |\n TableColumnOptions<TRowData, TDataContext, TColumnContext> |\n TableColumnReadableIndex<TRowData, TDataContext, TColumnContext> |\n TableColumnSelectable<TRowData, TDataContext, TColumnContext> |\n TableColumnText<TRowData, TDataContext, TColumnContext>;\n\nexport interface TableColumnActions<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnActions<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n frozen: TABLE_COLUMN_FROZEN.RIGHT;\n getActions: (params: TableRowParams<TRowData, TDataContext>) => ReactElement[];\n id: FIXED_COLUMN_ID.ACTIONS;\n isInitiallyVisible: true;\n resizable: false;\n type: 'actions';\n}\n\nexport interface TableColumnBoolean<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, boolean, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnBoolean<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'boolean';\n}\n\nexport interface TableColumnDate<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnDate<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n dateFormat: typeof DATE_FORMAT[keyof typeof DATE_FORMAT];\n type: 'date';\n}\n\nexport type TableColumnDimension = {\n columnIds: string[];\n id: string;\n label: string;\n};\n\nexport interface TableColumnNumber<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, number, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnNumber<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'number';\n}\n\nexport interface TableColumnOptions<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string | string[], TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnOptions<TRowData, TDataContext, TColumnContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n maxNumOptionsExpanded?: number;\n options: OptionBase<string>[];\n shouldFilterOptions?: boolean;\n type: 'options';\n}\n\nexport interface TableColumnParams<TRowData, TDataContext = null> {\n column: TableColumn<TRowData, TDataContext>;\n dataContext: TDataContext;\n}\n\nexport interface TableColumnReadableIndex<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, never, TDataContext, TColumnContext> {\n comparatorFactory?: never;\n disableEllipsis: true;\n frozen: TABLE_COLUMN_FROZEN.LEFT;\n getAriaLabel: (params: TableRowParams<TRowData, TDataContext>) => string;\n id: FIXED_COLUMN_ID.READABLE_INDEX;\n resizable: false;\n type: 'readableIndex';\n}\n\nexport interface TableColumnSelectable<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, never, TDataContext, TColumnContext> {\n comparatorFactory?: never;\n disableEllipsis: true;\n frozen: TABLE_COLUMN_FROZEN.LEFT;\n id: FIXED_COLUMN_ID.ROW_SELECT;\n isDisabled?: (params: TableRowParams<TRowData, TDataContext>) => boolean;\n resizable: false;\n type: 'selectable';\n}\n\nexport interface TableColumnText<TRowData, TDataContext = null, TColumnContext = null> extends TableColumnBase<TRowData, string, TDataContext, TColumnContext> {\n comparatorFactory?: (params: GetTableCellRowComparatorProps<TableColumnText<TRowData, TDataContext>, TDataContext>) => (a: TRowData, b: TRowData) => number;\n type: 'text';\n}\n\nexport type TableColumnVisualSettings = {\n calculatedWidth?: number;\n hasResized?: boolean;\n id: string;\n isVisible: boolean;\n offsetX?: number;\n widthFlex: number;\n widthPx: number;\n};\n\n\nexport type TableDragEvent = {\n clientX: number;\n clientY: number;\n deltaX: number;\n deltaY: number;\n elementOffsetX: number;\n elementWidth: number;\n target: HTMLDivElement;\n type: 'end' | 'move' | 'start';\n};\n\nexport type TableRowAndColumnParams<TRowData, TDataContext = null> = TableColumnParams<TRowData, TDataContext> & TableRowParams<TRowData, TDataContext>;\n\nexport interface TableRowParams<TRowData, TDataContext = null> {\n dataContext: TDataContext;\n id: string;\n row: TRowData;\n rowIndex: number;\n}\n\nexport type TableSortDirection = 'asc' | 'desc';\n\ninterface TableColumnBase<TRowData, TValue, TDataContext = null, TColumnContext = null> {\n cellColorGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n cellTitleGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n columnContext?: TColumnContext;\n customHeaderIcon?: {\n iconElement: ReactElement;\n label: string;\n onClick: (params: TableColumnParams<TRowData, TDataContext>) => void;\n };\n disableEllipsis?: boolean;\n displayValueGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => string;\n filterLabel?: string;\n frozen?: TABLE_COLUMN_FROZEN;\n headerName?: string;\n headerTooltipContent?: string;\n hideInFilter?: boolean;\n id?: string;\n isInitiallyVisible: boolean;\n renderCell?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => ReactElement;\n renderHeader?: (params: TableColumnParams<TRowData, TDataContext>) => ReactElement;\n renderHeaderContent?: (params: TableColumnParams<TRowData, TDataContext>) => ReactElement;\n resizable?: boolean;\n sx?: SxProps<Theme>;\n textAlign?: 'left' | 'right';\n valueGetter?: (params: TableRowAndColumnParams<TRowData, TDataContext>) => TValue;\n widthFlex?: number;\n widthPx?: number;\n widthPxFn?: (dataLength: number) => number;\n}\n"],"mappings":";AASA,IAAYA,IAAL,yBAAA,GAAA;C,OACL,EAAAC,UAAA,WACA,EAAAC,iBAAA,kBACA,EAAAC,aAAA,c;AACF,EAAA,CAAA,CAAA,GAEYC,IAAL,yBAAA,GAAA;C,OACL,EAAAC,OAAA,QACA,EAAAC,QAAA,S;AACF,EAAA,CAAA,CAAA"}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { GenEpixCoreComponentsTheme } from '@gen-epix/ui-core-components/models/theme.models';
|
|
2
|
+
export interface GenEpixUiClientCommonFooterTheme {
|
|
3
|
+
background: string;
|
|
4
|
+
color: string;
|
|
5
|
+
sectionBorderColor: string;
|
|
6
|
+
}
|
|
7
|
+
export interface GenEpixUiClientCommonNavbarTheme {
|
|
8
|
+
activeBackground: string;
|
|
9
|
+
activeColor: string;
|
|
10
|
+
background: string;
|
|
11
|
+
environmentMessageColor: string;
|
|
12
|
+
primaryColor: string;
|
|
13
|
+
secondaryColor: string;
|
|
14
|
+
}
|
|
15
|
+
export interface GenEpixUiClientCommonTheme extends GenEpixCoreComponentsTheme {
|
|
16
|
+
components: {
|
|
17
|
+
GenEpixUiClientCommonFooter: GenEpixUiClientCommonFooterTheme;
|
|
18
|
+
GenEpixUiClientCommonNavbar: GenEpixUiClientCommonNavbarTheme;
|
|
19
|
+
} & GenEpixCoreComponentsTheme['components'];
|
|
17
20
|
}
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "../../
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { API_ORGANIZATION_TOKEN as e } from "../../constants/api.constants.js";
|
|
2
|
+
import { useConfig as t } from "../../hooks/useConfig/index.js";
|
|
3
|
+
import { PageContainer as n } from "../../components/ui/PageContainer/index.js";
|
|
4
|
+
import { ResponseHandler as r } from "../../components/ui/ResponseHandler/index.js";
|
|
5
|
+
import { t as i } from "../../_chunks/useQueryMemo.js";
|
|
6
|
+
import { t as a } from "../../_chunks/QueryClientService.js";
|
|
7
7
|
import { COMMON_QUERY_KEY as o } from "../../constants/query.constants.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
8
|
+
import { container as s } from "tsyringe";
|
|
9
|
+
import { WindowService as c } from "@gen-epix/ui-core/classes/services/WindowService";
|
|
10
|
+
import { Box as l, Button as u, Typography as d } from "@mui/material";
|
|
11
|
+
import { useCallback as f, useState as p } from "react";
|
|
12
|
+
import { Fragment as m, jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
13
13
|
import { useTranslation as _ } from "react-i18next";
|
|
14
14
|
import { TestIdUtil as v } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
15
15
|
import { useParams as y } from "react-router-dom";
|
|
16
|
-
|
|
16
|
+
// src/pages/AcceptInvitationPage/AcceptInvitationPage.tsx
|
|
17
17
|
var b = () => {
|
|
18
|
-
let { token: b } = y(), x =
|
|
18
|
+
let { token: b } = y(), x = t(), [S, C] = p(!1), { data: w, error: T, isLoading: E } = i({
|
|
19
19
|
enabled: S,
|
|
20
20
|
gcTime: 0,
|
|
21
|
-
queryFn: async ({ signal:
|
|
22
|
-
queryKey:
|
|
21
|
+
queryFn: async ({ signal: t }) => (await s.resolve(e).userRegistrationsPostOne(b, { signal: t })).data,
|
|
22
|
+
queryKey: s.resolve(a).getGenericKey(o.USER_INVITATIONS, b),
|
|
23
23
|
staleTime: 0
|
|
24
|
-
}), { t: D } = _(), O =
|
|
25
|
-
s.
|
|
26
|
-
}, []), k =
|
|
24
|
+
}), { t: D } = _(), O = f(() => {
|
|
25
|
+
s.resolve(c).window.location.href = "/";
|
|
26
|
+
}, []), k = f(() => {
|
|
27
27
|
C(!0);
|
|
28
28
|
}, []);
|
|
29
|
-
return /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ h(n, {
|
|
30
30
|
singleAction: !0,
|
|
31
31
|
testIdAttributes: v.createAttributes("AcceptInvitationPage"),
|
|
32
32
|
title: D`Invitation`,
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ g(r, {
|
|
34
34
|
enabled: S,
|
|
35
35
|
error: T,
|
|
36
36
|
isLoading: E,
|
|
37
|
-
children: [!w && /* @__PURE__ */
|
|
37
|
+
children: [!w && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(l, {
|
|
38
38
|
sx: { marginY: 2 },
|
|
39
|
-
children: /* @__PURE__ */
|
|
40
|
-
}), /* @__PURE__ */
|
|
39
|
+
children: /* @__PURE__ */ h(d, { children: D("You have been invited to join {{applicationName}}.", { applicationName: x.applicationName }) })
|
|
40
|
+
}), /* @__PURE__ */ h(l, {
|
|
41
41
|
sx: { marginY: 2 },
|
|
42
|
-
children: /* @__PURE__ */
|
|
42
|
+
children: /* @__PURE__ */ h(u, {
|
|
43
43
|
color: "primary",
|
|
44
44
|
onClick: k,
|
|
45
45
|
type: "submit",
|
|
46
46
|
children: D`Complete registration`
|
|
47
47
|
})
|
|
48
|
-
})] }), w && /* @__PURE__ */
|
|
48
|
+
})] }), w && /* @__PURE__ */ g(m, { children: [/* @__PURE__ */ h(l, { children: /* @__PURE__ */ h(d, { children: D("You have been successfully registered to {{applicationName}}.", { applicationName: x.applicationName }) }) }), /* @__PURE__ */ h(l, {
|
|
49
49
|
sx: { marginY: 2 },
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ h(u, {
|
|
51
51
|
color: "primary",
|
|
52
52
|
onClick: O,
|
|
53
53
|
children: D`Click here to visit the home page`
|
|
@@ -56,7 +56,6 @@ var b = () => {
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
};
|
|
59
|
-
//#endregion
|
|
60
59
|
export { b as AcceptInvitationPage };
|
|
61
60
|
|
|
62
61
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_Fragment","QueryClientService","Fragment$1","AcceptInvitationPage","useParams","config","useConfig","shouldRegister","setShouldRegister","useState","
|
|
1
|
+
{"version":3,"file":"index.js","names":["_Fragment","useQueryMemo","QueryClientService","Fragment$1","AcceptInvitationPage","useParams","config","useConfig","shouldRegister","setShouldRegister","useState","container","API_ORGANIZATION_TOKEN","token","COMMON_QUERY_KEY","useTranslation","onGoToHomePageButtonClick","useCallback","WindowService","onCompleteRegistrationButtonClick","PageContainer","TestIdUtil","ResponseHandler","data","Box","Typography","t","Button"],"sources":["../../../src/pages/AcceptInvitationPage/AcceptInvitationPage.tsx"],"sourcesContent":["import { container } from 'tsyringe';\nimport { useTranslation } from 'react-i18next';\nimport { useParams } from 'react-router-dom';\nimport {\n Box,\n Button,\n Typography,\n} from '@mui/material';\nimport {\n useCallback,\n useState,\n} from 'react';\nimport { TestIdUtil } from '@gen-epix/ui-core/utils/TestIdUtil';\nimport { WindowService } from '@gen-epix/ui-core/classes/services/WindowService';\n\nimport { API_ORGANIZATION_TOKEN } from '../../constants/api.constants';\nimport { PageContainer } from '../../components/ui/PageContainer';\nimport { ResponseHandler } from '../../components/ui/ResponseHandler';\nimport { useQueryMemo } from '../../hooks/useQueryMemo';\nimport { QueryClientService } from '../../classes/services/QueryClientService';\nimport { COMMON_QUERY_KEY } from '../../constants/query.constants';\nimport { useConfig } from '../../hooks/useConfig';\n\nexport const AcceptInvitationPage = () => {\n const { token } = useParams();\n const config = useConfig();\n const [shouldRegister, setShouldRegister] = useState(false);\n\n const { data, error, isLoading } = useQueryMemo({\n enabled: shouldRegister,\n gcTime: 0,\n queryFn: async ({ signal }) => {\n const response = await container.resolve(API_ORGANIZATION_TOKEN).userRegistrationsPostOne(token, { signal });\n return response.data;\n },\n queryKey: container.resolve(QueryClientService).getGenericKey(COMMON_QUERY_KEY.USER_INVITATIONS, token),\n staleTime: 0,\n });\n\n const { t } = useTranslation();\n\n const onGoToHomePageButtonClick = useCallback(() => {\n container.resolve(WindowService).window.location.href = '/';\n }, []);\n\n const onCompleteRegistrationButtonClick = useCallback(() => {\n setShouldRegister(true);\n }, []);\n\n return (\n <PageContainer\n singleAction\n testIdAttributes={TestIdUtil.createAttributes('AcceptInvitationPage')}\n title={t`Invitation`}\n >\n <ResponseHandler\n enabled={shouldRegister}\n error={error}\n isLoading={isLoading}\n >\n {!data && (\n <>\n <Box\n sx={{\n marginY: 2,\n }}\n >\n <Typography>\n {t('You have been invited to join {{applicationName}}.', { applicationName: config.applicationName })}\n </Typography>\n </Box>\n <Box\n sx={{\n marginY: 2,\n }}\n >\n <Button\n color={'primary'}\n onClick={onCompleteRegistrationButtonClick}\n type={'submit'}\n >\n {t`Complete registration`}\n </Button>\n </Box>\n </>\n )}\n {data && (\n <>\n <Box>\n <Typography>\n {t('You have been successfully registered to {{applicationName}}.', { applicationName: config.applicationName })}\n </Typography>\n </Box>\n <Box\n sx={{\n marginY: 2,\n }}\n >\n <Button\n color={'primary'}\n onClick={onGoToHomePageButtonClick}\n >\n {t`Click here to visit the home page`}\n </Button>\n </Box>\n </>\n )}\n </ResponseHandler>\n </PageContainer>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAuBA,IAAaI,UAA6B;CACxC,IAAM,EAAE,aAAUC,EAAU,GACtBC,IAASC,EAAU,GACnB,CAACC,GAAgBC,KAAqBC,EAAS,EAAK,GAEpD,EAAE,SAAM,UAAO,iBAAcT,EAAa;EAC9C,SAASO;EACT,QAAQ;EACR,SAAS,OAAO,EAAE,iBAET,MADgBG,EAAU,QAAQC,CAAsB,CAAC,CAAC,yBAAyBC,GAAO,EAAE,UAAO,CAAC,EAAA,CAC3F;EAElB,UAAUF,EAAU,QAAQT,CAAkB,CAAC,CAAC,cAAcY,EAAiB,kBAAkBD,CAAK;EACtG,WAAW;CACb,CAAC,GAEK,EAAE,SAAME,EAAe,GAEvBC,IAA4BC,QAAkB;EAClD,EAAU,QAAQC,CAAa,CAAC,CAAC,OAAO,SAAS,OAAO;CAC1D,GAAG,CAAC,CAAC,GAECC,IAAoCF,QAAkB;EAC1D,EAAkB,EAAI;CACxB,GAAG,CAAC,CAAC;CAEL,OACE,kBAACG,GAAD;EACE,cAAA;EACA,kBAAkBC,EAAW,iBAAiB,sBAAsB;EACpE,OAAO,CAAC;EAER,UAAA,kBAACC,GAAD;GACE,SAASd;GACF;GACI;GAHb,UAAA,CAKG,CAACe,KACA,kBAAAvB,GAAA,EAAA,UAAA,CACE,kBAACwB,GAAD;IACE,IAAI,EACF,SAAS,EACX;IAEA,UAAA,kBAACC,GAAD,EAAA,UACGC,EAAE,sDAAsD,EAAE,iBAAiBpB,EAAO,gBAAgB,CAAC,EAC1F,CAAA;GACT,CAAA,GACL,kBAACkB,GAAD;IACE,IAAI,EACF,SAAS,EACX;IAEA,UAAA,kBAACG,GAAD;KACE,OAAO;KACP,SAASR;KACT,MAAM;KAEL,UAAA,CAAC;IACI,CAAA;GACL,CAAA,CACL,EAAA,CAAA,GAEHI,KACC,kBAAAvB,GAAA,EAAA,UAAA,CACE,kBAACwB,GAAD,EAAA,UACE,kBAACC,GAAD,EAAA,UACGC,EAAE,iEAAiE,EAAE,iBAAiBpB,EAAO,gBAAgB,CAAC,EACrG,CAAA,EACT,CAAA,GACL,kBAACkB,GAAD;IACE,IAAI,EACF,SAAS,EACX;IAEA,UAAA,kBAACG,GAAD;KACE,OAAO;KACP,SAASX;KAER,UAAA,CAAC;IACI,CAAA;GACL,CAAA,CACL,EAAA,CAAA,CAEW;;CACJ,CAAA;AAEnB"}
|
|
@@ -3,24 +3,24 @@ import { AuthorizationService as t } from "../../classes/services/AuthorizationS
|
|
|
3
3
|
import { RouterService as n } from "../../classes/services/RouterService/index.js";
|
|
4
4
|
import { PageContainer as r } from "../../components/ui/PageContainer/index.js";
|
|
5
5
|
import { container as i } from "tsyringe";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
6
|
+
import { Box as a, Card as o, CardActionArea as s, CardContent as c, CardHeader as l, Divider as u, Typography as d, useTheme as f } from "@mui/material";
|
|
7
|
+
import { useCallback as p, useMemo as m } from "react";
|
|
8
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation as _ } from "react-i18next";
|
|
10
10
|
import { TestIdUtil as v } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
11
11
|
import { Outlet as y, useLocation as b } from "react-router-dom";
|
|
12
|
-
|
|
12
|
+
// src/pages/AdminPage/AdminPage.tsx
|
|
13
13
|
var x = () => {
|
|
14
|
-
let { t: x } = _(), S = b(), C =
|
|
14
|
+
let { t: x } = _(), S = b(), C = f(), w = m(() => i.resolve(n).adminRoutes.map((e) => e.children?.length ? e.children.find((e) => e.index) : e).filter((e) => {
|
|
15
15
|
let n = i.resolve(t).doesUserHavePermission(e.handle.requiredPermissions);
|
|
16
16
|
return !e.handle?.hidden && n;
|
|
17
|
-
}), []), T =
|
|
17
|
+
}), []), T = m(() => ({
|
|
18
18
|
[e.ACCESS_RIGHTS]: x`Access rights`,
|
|
19
19
|
[e.HELPERS]: x`Helpers`,
|
|
20
20
|
[e.REFERENCE_DATA]: x`Reference data`,
|
|
21
21
|
[e.SYSTEM]: x`System`,
|
|
22
22
|
[e.USERS_AND_ORGANIZATIONS]: x`Users and organizations`
|
|
23
|
-
}), [x]), E =
|
|
23
|
+
}), [x]), E = m(() => [
|
|
24
24
|
e.USERS_AND_ORGANIZATIONS,
|
|
25
25
|
e.ACCESS_RIGHTS,
|
|
26
26
|
e.SYSTEM,
|
|
@@ -30,26 +30,26 @@ var x = () => {
|
|
|
30
30
|
items: w.filter((t) => t.handle.category === e),
|
|
31
31
|
label: T[e],
|
|
32
32
|
name: e
|
|
33
|
-
})).filter((e) => e.items.length), [T, w]), D =
|
|
33
|
+
})).filter((e) => e.items.length), [T, w]), D = p(async (e) => {
|
|
34
34
|
await i.resolve(n).router.navigate(e);
|
|
35
35
|
}, []);
|
|
36
|
-
return S?.pathname === "/management" ? /* @__PURE__ */
|
|
36
|
+
return S?.pathname === "/management" ? /* @__PURE__ */ h(r, {
|
|
37
37
|
showBreadcrumbs: !0,
|
|
38
38
|
testIdAttributes: v.createAttributes("AdminPage"),
|
|
39
39
|
title: x`Management`,
|
|
40
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ h(a, { children: E.map((e) => /* @__PURE__ */ g(a, {
|
|
41
41
|
sx: {
|
|
42
42
|
marginBottom: 3,
|
|
43
43
|
marginTop: 1
|
|
44
44
|
},
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ h(d, {
|
|
47
47
|
component: "h2",
|
|
48
48
|
sx: { marginBottom: 1 },
|
|
49
49
|
variant: "h3",
|
|
50
50
|
children: e.label
|
|
51
51
|
}),
|
|
52
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ h(a, {
|
|
53
53
|
sx: {
|
|
54
54
|
display: "grid",
|
|
55
55
|
gap: C.spacing(1),
|
|
@@ -58,27 +58,26 @@ var x = () => {
|
|
|
58
58
|
[C.breakpoints.up("md")]: { gridTemplateColumns: "repeat(2, 1fr)" },
|
|
59
59
|
[C.breakpoints.up("xl")]: { gridTemplateColumns: "repeat(4, 1fr)" }
|
|
60
60
|
},
|
|
61
|
-
children: e.items.map((e) => /* @__PURE__ */
|
|
61
|
+
children: e.items.map((e) => /* @__PURE__ */ h(o, {
|
|
62
62
|
square: !0,
|
|
63
63
|
sx: {
|
|
64
64
|
flexDirection: "column",
|
|
65
65
|
justifyContent: "space-between"
|
|
66
66
|
},
|
|
67
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ g(s, {
|
|
68
68
|
onClick: async () => D(e.path),
|
|
69
|
-
children: [/* @__PURE__ */
|
|
69
|
+
children: [/* @__PURE__ */ h(l, { title: e.handle.title }), /* @__PURE__ */ h(c, { children: e.handle.subTitle })]
|
|
70
70
|
})
|
|
71
71
|
}, e.path))
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */
|
|
73
|
+
/* @__PURE__ */ h(u, { sx: {
|
|
74
74
|
marginBottom: 2,
|
|
75
75
|
marginTop: 2
|
|
76
76
|
} })
|
|
77
77
|
]
|
|
78
78
|
}, e.name)) })
|
|
79
|
-
}) : /* @__PURE__ */
|
|
79
|
+
}) : /* @__PURE__ */ h(y, {});
|
|
80
80
|
};
|
|
81
|
-
//#endregion
|
|
82
81
|
export { x as AdminPage };
|
|
83
82
|
|
|
84
83
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,85 +2,84 @@ import { useConfig as e } from "../../hooks/useConfig/index.js";
|
|
|
2
2
|
import { PageContainer as t } from "../../components/ui/PageContainer/index.js";
|
|
3
3
|
import { AuthenticationService as n } from "../../classes/services/AuthenticationService/index.js";
|
|
4
4
|
import { container as r } from "tsyringe";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { Alert as i, AlertTitle as a, Box as o, Button as s, Tooltip as c, Typography as l } from "@mui/material";
|
|
6
|
+
import { useCallback as u, useMemo as d } from "react";
|
|
7
|
+
import { jsx as f, jsxs as p } from "react/jsx-runtime";
|
|
8
8
|
import { useTranslation as m } from "react-i18next";
|
|
9
9
|
import { TestIdUtil as h } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
10
|
-
|
|
10
|
+
// src/pages/ChooseIdentityProviderPage/ChooseIdentityProviderPage.tsx
|
|
11
11
|
var g = ({ identityProvidersWithAvailability: g }) => {
|
|
12
|
-
let { t: _ } = m(), v = e(), y = v.login?.AfterIdentityProviderSelection, b =
|
|
12
|
+
let { t: _ } = m(), v = e(), y = v.login?.AfterIdentityProviderSelection, b = u((e) => {
|
|
13
13
|
let t = e.target.getAttribute("data-name");
|
|
14
14
|
r.resolve(n).next(g.find((e) => e.provider.name === t).provider);
|
|
15
|
-
}, [g]), x =
|
|
15
|
+
}, [g]), x = d(() => g?.filter((e) => e.isAvailable) ?? [], [g]), S = u(() => {
|
|
16
16
|
window.location.reload();
|
|
17
|
-
}, []), C =
|
|
17
|
+
}, []), C = d(() => /* @__PURE__ */ f(s, {
|
|
18
18
|
color: "inherit",
|
|
19
19
|
onClick: S,
|
|
20
20
|
sx: { marginTop: 2 },
|
|
21
21
|
variant: "outlined",
|
|
22
22
|
children: _("Refresh")
|
|
23
23
|
}), [S, _]);
|
|
24
|
-
return /* @__PURE__ */
|
|
24
|
+
return /* @__PURE__ */ p(t, {
|
|
25
25
|
singleAction: !0,
|
|
26
26
|
testIdAttributes: h.createAttributes("ChooseIdentityProviderPage"),
|
|
27
27
|
title: _`Choose identity provider`,
|
|
28
28
|
children: [
|
|
29
|
-
x.length === 0 && /* @__PURE__ */ o
|
|
29
|
+
x.length === 0 && /* @__PURE__ */ f(o, {
|
|
30
30
|
sx: {
|
|
31
31
|
marginBottom: 4,
|
|
32
32
|
marginTop: 1
|
|
33
33
|
},
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ p(i, {
|
|
35
35
|
severity: "error",
|
|
36
|
-
children: [/* @__PURE__ */
|
|
36
|
+
children: [/* @__PURE__ */ f(a, { children: _("No identity providers are currently available. Please try again later.") }), C]
|
|
37
37
|
})
|
|
38
38
|
}),
|
|
39
|
-
x.length > 0 && x.length !== g.length && /* @__PURE__ */ o
|
|
39
|
+
x.length > 0 && x.length !== g.length && /* @__PURE__ */ f(o, {
|
|
40
40
|
sx: {
|
|
41
41
|
marginBottom: 4,
|
|
42
42
|
marginTop: 1
|
|
43
43
|
},
|
|
44
|
-
children: /* @__PURE__ */
|
|
44
|
+
children: /* @__PURE__ */ p(i, {
|
|
45
45
|
severity: "info",
|
|
46
|
-
children: [/* @__PURE__ */
|
|
46
|
+
children: [/* @__PURE__ */ f(a, { children: _("Some identity providers are currently unavailable.") }), C]
|
|
47
47
|
})
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ p(o, {
|
|
50
50
|
sx: { textAlign: "center" },
|
|
51
51
|
children: [
|
|
52
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ f(l, {
|
|
53
53
|
sx: { marginBottom: 2 },
|
|
54
54
|
variant: "h1",
|
|
55
55
|
children: _("Welcome to {{applicationName}}", { applicationName: v.applicationName })
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ f(l, {
|
|
58
58
|
sx: { marginBottom: 2 },
|
|
59
59
|
children: _`Please login with one of the following identity providers:`
|
|
60
60
|
}),
|
|
61
61
|
g.map((e) => {
|
|
62
|
-
let t = /* @__PURE__ */
|
|
62
|
+
let t = /* @__PURE__ */ f(s, {
|
|
63
63
|
"data-name": e.provider.name,
|
|
64
64
|
disabled: !e.isAvailable,
|
|
65
65
|
onClick: b,
|
|
66
66
|
children: e.provider.label
|
|
67
67
|
});
|
|
68
|
-
return /* @__PURE__ */
|
|
68
|
+
return /* @__PURE__ */ p(o, {
|
|
69
69
|
sx: { marginY: 2 },
|
|
70
|
-
children: [e.isAvailable && t, !e.isAvailable && /* @__PURE__ */
|
|
70
|
+
children: [e.isAvailable && t, !e.isAvailable && /* @__PURE__ */ f(c, {
|
|
71
71
|
arrow: !0,
|
|
72
72
|
title: e.isAvailable ? "" : _("This identity provider is currently unavailable. Please try again later."),
|
|
73
|
-
children: /* @__PURE__ */
|
|
73
|
+
children: /* @__PURE__ */ f("span", { children: t })
|
|
74
74
|
})]
|
|
75
75
|
}, e.provider.name);
|
|
76
76
|
}),
|
|
77
|
-
y && /* @__PURE__ */
|
|
77
|
+
y && /* @__PURE__ */ f(y, {})
|
|
78
78
|
]
|
|
79
79
|
})
|
|
80
80
|
]
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
|
-
//#endregion
|
|
84
83
|
export { g as ChooseIdentityProviderPage };
|
|
85
84
|
|
|
86
85
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,7 +3,7 @@ import { GenericErrorMessage as t } from "../../components/ui/GenericErrorMessag
|
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
import { useTranslation as r } from "react-i18next";
|
|
5
5
|
import { TestIdUtil as i } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
6
|
-
|
|
6
|
+
// src/pages/ErrorPage/ErrorPage.tsx
|
|
7
7
|
var a = ({ error: a }) => {
|
|
8
8
|
let { t: o } = r();
|
|
9
9
|
return /* @__PURE__ */ n(e, {
|
|
@@ -13,7 +13,6 @@ var a = ({ error: a }) => {
|
|
|
13
13
|
children: /* @__PURE__ */ n(t, { error: a })
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
|
-
//#endregion
|
|
17
16
|
export { a as ErrorPage };
|
|
18
17
|
|
|
19
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,8 +2,8 @@ import { t as e } from "../../_chunks/TableUtil.js";
|
|
|
2
2
|
import { API_ORGANIZATION_TOKEN as t } from "../../constants/api.constants.js";
|
|
3
3
|
import { t as n } from "../../_chunks/CrudPage.js";
|
|
4
4
|
import { COMMON_QUERY_KEY as r } from "../../constants/query.constants.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { container as i } from "tsyringe";
|
|
6
|
+
import { CommonDbCommandName as a } from "@gen-epix/api-commondb";
|
|
7
7
|
import { useCallback as o, useMemo as s } from "react";
|
|
8
8
|
import { jsx as c } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation as l } from "react-i18next";
|
|
@@ -11,12 +11,12 @@ import { object as u } from "yup";
|
|
|
11
11
|
import { TestIdUtil as d } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
12
12
|
import { FORM_FIELD_DEFINITION_TYPE as f } from "@gen-epix/ui-core-form/models/form.models";
|
|
13
13
|
import { SchemaUtil as p } from "@gen-epix/ui-core-form/utils/SchemaUtil";
|
|
14
|
-
|
|
14
|
+
// src/pages/IdentifierIssuersAdminPage/IdentifierIssuersAdminPage.tsx
|
|
15
15
|
var m = () => {
|
|
16
|
-
let { t: m } = l(), h = o(async (e) => (await
|
|
16
|
+
let { t: m } = l(), h = o(async (e) => (await i.resolve(t).identifierIssuersGetAll(null, null, { signal: e }))?.data, []), g = o(async (e) => await i.resolve(t).identifierIssuersDeleteOne(e.id), []), _ = o(async (e, n) => (await i.resolve(t).identifierIssuersPutOne(n.id, {
|
|
17
17
|
id: n.id,
|
|
18
18
|
...e
|
|
19
|
-
})).data, []), v = o(async (e) => (await
|
|
19
|
+
})).data, []), v = o(async (e) => (await i.resolve(t).identifierIssuersPostOne(e)).data, []), y = o((e) => e.name, []), b = s(() => u().shape({
|
|
20
20
|
code: p.code,
|
|
21
21
|
description: p.description,
|
|
22
22
|
name: p.name
|
|
@@ -48,7 +48,7 @@ var m = () => {
|
|
|
48
48
|
return /* @__PURE__ */ c(n, {
|
|
49
49
|
createItemDialogTitle: m`Create new identifier issuer`,
|
|
50
50
|
createOne: v,
|
|
51
|
-
crudCommandType:
|
|
51
|
+
crudCommandType: a.IdentifierIssuerCrudCommand,
|
|
52
52
|
defaultSortByField: "code",
|
|
53
53
|
defaultSortDirection: "asc",
|
|
54
54
|
deleteOne: g,
|
|
@@ -64,7 +64,6 @@ var m = () => {
|
|
|
64
64
|
updateOne: _
|
|
65
65
|
});
|
|
66
66
|
};
|
|
67
|
-
//#endregion
|
|
68
67
|
export { m as IdentifierIssuersAdminPage };
|
|
69
68
|
|
|
70
69
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,8 +5,8 @@ import { COMMON_QUERY_KEY as r } from "../../constants/query.constants.js";
|
|
|
5
5
|
import { useOrganizationOptionsQuery as i } from "../../dataHooks/useOrganizationsQuery/index.js";
|
|
6
6
|
import { useUserOptionsQuery as a } from "../../dataHooks/useUsersQuery/index.js";
|
|
7
7
|
import { useOrganizationAdminPolicyNameFactory as o } from "../../dataHooks/useOrganizationAdminPoliciesQuery/index.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { container as s } from "tsyringe";
|
|
9
|
+
import { CommonDbCommandName as c } from "@gen-epix/api-commondb";
|
|
10
10
|
import { useCallback as l, useMemo as u } from "react";
|
|
11
11
|
import { jsx as d } from "react/jsx-runtime";
|
|
12
12
|
import { useTranslation as f } from "react-i18next";
|
|
@@ -14,16 +14,16 @@ import { boolean as p, object as m, string as h } from "yup";
|
|
|
14
14
|
import { TestIdUtil as g } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
15
15
|
import { FORM_FIELD_DEFINITION_TYPE as _ } from "@gen-epix/ui-core-form/models/form.models";
|
|
16
16
|
import { useArray as v } from "@gen-epix/ui-core/hooks/useArray";
|
|
17
|
-
|
|
17
|
+
// src/pages/OrganizationAdminPoliciesAdminPage/OrganizationAdminPoliciesAdminPage.tsx
|
|
18
18
|
var y = () => {
|
|
19
19
|
let { t: y } = f(), b = i(), x = a(), S = o(), C = v([
|
|
20
20
|
b,
|
|
21
21
|
x,
|
|
22
22
|
S
|
|
23
|
-
]), w = l(async (e) => (await
|
|
23
|
+
]), w = l(async (e) => (await s.resolve(t).organizationAdminPoliciesGetAll(null, null, { signal: e }))?.data, []), T = l(async (e) => await s.resolve(t).organizationAdminPoliciesDeleteOne(e.id), []), E = l(async (e, n) => (await s.resolve(t).organizationAdminPoliciesPutOne(n.id, {
|
|
24
24
|
id: n.id,
|
|
25
25
|
...e
|
|
26
|
-
})).data, []), D = l(async (e) => (await
|
|
26
|
+
})).data, []), D = l(async (e) => (await s.resolve(t).organizationAdminPoliciesPostOne(e)).data, []), O = l((e) => S.getName(e) ?? e.id, [S]), k = u(() => m().shape({
|
|
27
27
|
is_active: p(),
|
|
28
28
|
organization_id: h().required().uuid4(),
|
|
29
29
|
user_id: h().required().uuid4()
|
|
@@ -76,7 +76,7 @@ var y = () => {
|
|
|
76
76
|
return /* @__PURE__ */ d(n, {
|
|
77
77
|
createItemDialogTitle: y`Create new organization admin policy`,
|
|
78
78
|
createOne: D,
|
|
79
|
-
crudCommandType:
|
|
79
|
+
crudCommandType: c.OrganizationAdminPolicyCrudCommand,
|
|
80
80
|
defaultSortByField: "organization_id",
|
|
81
81
|
defaultSortDirection: "asc",
|
|
82
82
|
deleteOne: T,
|
|
@@ -93,7 +93,6 @@ var y = () => {
|
|
|
93
93
|
updateOne: E
|
|
94
94
|
});
|
|
95
95
|
};
|
|
96
|
-
//#endregion
|
|
97
96
|
export { y as OrganizationAdminPoliciesAdminPage };
|
|
98
97
|
|
|
99
98
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,8 +2,8 @@ import { t as e } from "../../_chunks/TableUtil.js";
|
|
|
2
2
|
import { API_ORGANIZATION_TOKEN as t } from "../../constants/api.constants.js";
|
|
3
3
|
import { t as n } from "../../_chunks/CrudPage.js";
|
|
4
4
|
import { COMMON_QUERY_KEY as r } from "../../constants/query.constants.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { container as i } from "tsyringe";
|
|
6
|
+
import { CommonDbCommandName as a } from "@gen-epix/api-commondb";
|
|
7
7
|
import { useCallback as o, useMemo as s } from "react";
|
|
8
8
|
import { jsx as c } from "react/jsx-runtime";
|
|
9
9
|
import { useTranslation as l } from "react-i18next";
|
|
@@ -12,16 +12,16 @@ import { TestIdUtil as f } from "@gen-epix/ui-core/utils/TestIdUtil";
|
|
|
12
12
|
import { FORM_FIELD_DEFINITION_TYPE as p } from "@gen-epix/ui-core-form/models/form.models";
|
|
13
13
|
import { SchemaUtil as m } from "@gen-epix/ui-core-form/utils/SchemaUtil";
|
|
14
14
|
import { useParams as h } from "react-router-dom";
|
|
15
|
-
|
|
15
|
+
// src/pages/OrganizationContactsAdminPage/OrganizationContactsAdminPage.tsx
|
|
16
16
|
var g = () => {
|
|
17
|
-
let { siteId: g } = h(), { t: _ } = l(), v = o(async (e) => (await
|
|
17
|
+
let { siteId: g } = h(), { t: _ } = l(), v = o(async (e) => (await i.resolve(t).contactsGetAll(null, null, { signal: e })).data, []), y = o((e) => e.filter((e) => e.site_id === g), [g]), b = o(async (e, n) => (await i.resolve(t).contactsPutOne(n.id, {
|
|
18
18
|
id: n.id,
|
|
19
19
|
site_id: g,
|
|
20
20
|
...e
|
|
21
|
-
})).data, [g]), x = o(async (e) => (await
|
|
21
|
+
})).data, [g]), x = o(async (e) => (await i.resolve(t).contactsPostOne({
|
|
22
22
|
site_id: g,
|
|
23
23
|
...e
|
|
24
|
-
})).data, [g]), S = o(async (e) => await
|
|
24
|
+
})).data, [g]), S = o(async (e) => await i.resolve(t).contactsDeleteOne(e.id), []), C = o((e) => e.name, []), w = s(() => u().shape({
|
|
25
25
|
email: d().email().max(256),
|
|
26
26
|
name: m.name,
|
|
27
27
|
phone: d().extendedAlphaNumeric().max(100)
|
|
@@ -63,7 +63,7 @@ var g = () => {
|
|
|
63
63
|
return /* @__PURE__ */ c(n, {
|
|
64
64
|
createItemDialogTitle: _`Create new contact`,
|
|
65
65
|
createOne: x,
|
|
66
|
-
crudCommandType:
|
|
66
|
+
crudCommandType: a.ContactCrudCommand,
|
|
67
67
|
defaultSortByField: "name",
|
|
68
68
|
defaultSortDirection: "asc",
|
|
69
69
|
deleteOne: S,
|
|
@@ -81,7 +81,6 @@ var g = () => {
|
|
|
81
81
|
updateOne: b
|
|
82
82
|
});
|
|
83
83
|
};
|
|
84
|
-
//#endregion
|
|
85
84
|
export { g as OrganizationContactsAdminPage };
|
|
86
85
|
|
|
87
86
|
//# sourceMappingURL=index.js.map
|