@iapps/ng-dhis2-ui 1.2.103 → 1.2.104
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/fesm2022/iapps-ng-dhis2-ui.mjs +599 -372
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/index.d.ts +1311 -13
- package/package.json +1 -1
- package/lib/modules/breadcrumb/breadcrumb.module.d.ts +0 -8
- package/lib/modules/breadcrumb/components/breadcrumb-item.component.d.ts +0 -6
- package/lib/modules/breadcrumb/containers/breadcrumb.component.d.ts +0 -12
- package/lib/modules/breadcrumb/index.d.ts +0 -3
- package/lib/modules/breadcrumb/models/breadcrumb-item.model.d.ts +0 -6
- package/lib/modules/breadcrumb/models/index.d.ts +0 -1
- package/lib/modules/button/button.component.d.ts +0 -18
- package/lib/modules/button/button.module.d.ts +0 -9
- package/lib/modules/button/index.d.ts +0 -2
- package/lib/modules/data-table-ui/components/dropdown-menu/dropdown-menu.d.ts +0 -19
- package/lib/modules/data-table-ui/components/dropdown-menu/dropdown-menu.styles.d.ts +0 -5
- package/lib/modules/data-table-ui/components/dropdown-menu/index.d.ts +0 -1
- package/lib/modules/data-table-ui/containers/data-table-ui/data-table-ui.component.d.ts +0 -20
- package/lib/modules/data-table-ui/data-table-ui.module.d.ts +0 -10
- package/lib/modules/data-table-ui/hooks/index.d.ts +0 -1
- package/lib/modules/data-table-ui/hooks/use-dynamic-styles.hook.d.ts +0 -1
- package/lib/modules/data-table-ui/index.d.ts +0 -3
- package/lib/modules/data-table-ui/models/data-table.models.d.ts +0 -10
- package/lib/modules/event-form/event-form.component.d.ts +0 -21
- package/lib/modules/event-form/event-form.module.d.ts +0 -9
- package/lib/modules/event-form/index.d.ts +0 -2
- package/lib/modules/form/components/base-form-field.component.d.ts +0 -41
- package/lib/modules/form/components/file-upload-field.component.d.ts +0 -15
- package/lib/modules/form/components/form-field-item.component.d.ts +0 -6
- package/lib/modules/form/components/org-unit-form-field.component.d.ts +0 -20
- package/lib/modules/form/containers/flat-form/flat-form.component.d.ts +0 -11
- package/lib/modules/form/containers/form/form.component.d.ts +0 -41
- package/lib/modules/form/containers/form-field/form-field.component.d.ts +0 -59
- package/lib/modules/form/containers/repeatable-form/repeatable-form.component.d.ts +0 -38
- package/lib/modules/form/containers/section-form/section-form.component.d.ts +0 -33
- package/lib/modules/form/form.module.d.ts +0 -16
- package/lib/modules/form/hooks/field-validation.hook.d.ts +0 -13
- package/lib/modules/form/hooks/index.d.ts +0 -1
- package/lib/modules/form/index.d.ts +0 -9
- package/lib/modules/form/interfaces/field-control-type.interface.d.ts +0 -1
- package/lib/modules/form/interfaces/field-dropdown.interface.d.ts +0 -7
- package/lib/modules/form/interfaces/field-type.interface.d.ts +0 -16
- package/lib/modules/form/interfaces/form-configuration.model.d.ts +0 -63
- package/lib/modules/form/interfaces/form-field-extension.interface.d.ts +0 -6
- package/lib/modules/form/interfaces/form-field-group.interface.d.ts +0 -15
- package/lib/modules/form/interfaces/form-field-meta-type.interface.d.ts +0 -1
- package/lib/modules/form/interfaces/form-field.interface.d.ts +0 -47
- package/lib/modules/form/interfaces/form-metadata-section.interface.d.ts +0 -10
- package/lib/modules/form/interfaces/form-metadata.interface.d.ts +0 -11
- package/lib/modules/form/interfaces/index.d.ts +0 -10
- package/lib/modules/form/models/boolean.model.d.ts +0 -5
- package/lib/modules/form/models/check-box.model.d.ts +0 -5
- package/lib/modules/form/models/date-field.model.d.ts +0 -7
- package/lib/modules/form/models/date-range-value.model.d.ts +0 -4
- package/lib/modules/form/models/dropdown-option.model.d.ts +0 -6
- package/lib/modules/form/models/dropdown.model.d.ts +0 -5
- package/lib/modules/form/models/field-config.model.d.ts +0 -5
- package/lib/modules/form/models/field-dropdown.model.d.ts +0 -10
- package/lib/modules/form/models/fields-data.model.d.ts +0 -8
- package/lib/modules/form/models/form-config.model.d.ts +0 -10
- package/lib/modules/form/models/form-field-group.model.d.ts +0 -23
- package/lib/modules/form/models/form-field.model.d.ts +0 -50
- package/lib/modules/form/models/form-metadata-rule.model.d.ts +0 -35
- package/lib/modules/form/models/form-metadata-section.model.d.ts +0 -33
- package/lib/modules/form/models/form-metadata.model.d.ts +0 -26
- package/lib/modules/form/models/form-value.model.d.ts +0 -19
- package/lib/modules/form/models/form.model.d.ts +0 -14
- package/lib/modules/form/models/index.d.ts +0 -17
- package/lib/modules/form/shared/components/base-form-wrapper.component.d.ts +0 -29
- package/lib/modules/form/shared/components/index.d.ts +0 -1
- package/lib/modules/form/shared/index.d.ts +0 -1
- package/lib/modules/form/utils/field-control-type.util.d.ts +0 -4
- package/lib/modules/form/utils/field-type.util.d.ts +0 -3
- package/lib/modules/form/utils/field.util.d.ts +0 -9
- package/lib/modules/form/utils/form-value.util.d.ts +0 -4
- package/lib/modules/form/utils/form.util.d.ts +0 -9
- package/lib/modules/form/utils/index.d.ts +0 -6
- package/lib/modules/form/utils/translation.util.d.ts +0 -3
- package/lib/modules/header-bar/header-bar.component.d.ts +0 -11
- package/lib/modules/header-bar/header-bar.module.d.ts +0 -9
- package/lib/modules/header-bar/index.d.ts +0 -2
- package/lib/modules/header-bar/models/header-bar-app.model.d.ts +0 -10
- package/lib/modules/header-bar/models/header-bar-data.model.d.ts +0 -16
- package/lib/modules/header-bar/models/header-bar-notification.model.d.ts +0 -5
- package/lib/modules/header-bar/models/index.d.ts +0 -2
- package/lib/modules/header-bar/utils/apps.d.ts +0 -16
- package/lib/modules/header-bar/utils/debug-info/debug-info-menu-item.d.ts +0 -15
- package/lib/modules/header-bar/utils/debug-info/debug-info-modal.d.ts +0 -8
- package/lib/modules/header-bar/utils/debug-info/debug-info-table.d.ts +0 -8
- package/lib/modules/header-bar/utils/debug-info/use-debug-info.d.ts +0 -7
- package/lib/modules/header-bar/utils/header-bar-context.d.ts +0 -14
- package/lib/modules/header-bar/utils/header-bar.d.ts +0 -19
- package/lib/modules/header-bar/utils/join-path.d.ts +0 -1
- package/lib/modules/header-bar/utils/logo-image.d.ts +0 -8
- package/lib/modules/header-bar/utils/logo.d.ts +0 -12
- package/lib/modules/header-bar/utils/notification-icon.d.ts +0 -21
- package/lib/modules/header-bar/utils/notifications.d.ts +0 -16
- package/lib/modules/header-bar/utils/profile/use-on-doc-click.d.ts +0 -1
- package/lib/modules/header-bar/utils/profile-menu/index.d.ts +0 -1
- package/lib/modules/header-bar/utils/profile-menu/profile-header.d.ts +0 -16
- package/lib/modules/header-bar/utils/profile-menu/profile-menu.d.ts +0 -13
- package/lib/modules/header-bar/utils/profile-menu/update-notification.d.ts +0 -14
- package/lib/modules/header-bar/utils/profile.d.ts +0 -18
- package/lib/modules/header-bar/utils/title.d.ts +0 -15
- package/lib/modules/line-list/components/data-table-actions/data-table-actions.d.ts +0 -9
- package/lib/modules/line-list/components/data-table-actions/index.d.ts +0 -1
- package/lib/modules/line-list/components/dropdown-menu/dropdown-menu.d.ts +0 -12
- package/lib/modules/line-list/components/dropdown-menu/dropdown-menu.styles.d.ts +0 -5
- package/lib/modules/line-list/components/dropdown-menu/index.d.ts +0 -1
- package/lib/modules/line-list/components/org-unit-form-field.component.d.ts +0 -14
- package/lib/modules/line-list/components/orgUnitSelector.d.ts +0 -2
- package/lib/modules/line-list/components/table/filterToolbar.d.ts +0 -3
- package/lib/modules/line-list/components/table/lineListTable.d.ts +0 -2
- package/lib/modules/line-list/components/table/pagination.d.ts +0 -8
- package/lib/modules/line-list/components/table/tableBody.d.ts +0 -2
- package/lib/modules/line-list/components/table/tableCell.d.ts +0 -5
- package/lib/modules/line-list/components/table/tableFooter.d.ts +0 -2
- package/lib/modules/line-list/components/table/tableHeader.d.ts +0 -8
- package/lib/modules/line-list/components/table/tableRow.d.ts +0 -2
- package/lib/modules/line-list/containers/line-list.component.d.ts +0 -52
- package/lib/modules/line-list/hooks/index.d.ts +0 -1
- package/lib/modules/line-list/hooks/use-dynamic-styles.hook.d.ts +0 -1
- package/lib/modules/line-list/index.d.ts +0 -3
- package/lib/modules/line-list/line-list.module.d.ts +0 -10
- package/lib/modules/line-list/models/action-option-orientation.model.d.ts +0 -1
- package/lib/modules/line-list/models/attribute-filter.model.d.ts +0 -10
- package/lib/modules/line-list/models/dropdown-menu.model.d.ts +0 -9
- package/lib/modules/line-list/models/filter-config.model.d.ts +0 -6
- package/lib/modules/line-list/models/index.d.ts +0 -3
- package/lib/modules/line-list/models/line-list-action-option.model.d.ts +0 -6
- package/lib/modules/line-list/models/line-list.models.d.ts +0 -262
- package/lib/modules/line-list/services/line-list.service.d.ts +0 -13
- package/lib/modules/line-list/utils/event-table-data-util.d.ts +0 -6
- package/lib/modules/line-list/utils/tei-table-data-utils.d.ts +0 -9
- package/lib/modules/organisation-unit-selector/components/OrgUnitDimension.d.ts +0 -28
- package/lib/modules/organisation-unit-selector/components/index.d.ts +0 -2
- package/lib/modules/organisation-unit-selector/components/styles/OrgUnitDimension.style.d.ts +0 -1
- package/lib/modules/organisation-unit-selector/components/utils/index.d.ts +0 -2
- package/lib/modules/organisation-unit-selector/components/utils/ouIdHelper/index.d.ts +0 -10
- package/lib/modules/organisation-unit-selector/components/utils/ouLevelUtils/index.d.ts +0 -1
- package/lib/modules/organisation-unit-selector/containers/organisation-unit-selector/organisation-unit-selector.component.d.ts +0 -27
- package/lib/modules/organisation-unit-selector/containers/organisation-unit-selector-modal/organisation-unit-selector-modal.component-modal.d.ts +0 -30
- package/lib/modules/organisation-unit-selector/index.d.ts +0 -4
- package/lib/modules/organisation-unit-selector/models/index.d.ts +0 -1
- package/lib/modules/organisation-unit-selector/models/organisation-unit-config.model.d.ts +0 -13
- package/lib/modules/organisation-unit-selector/organisation-unit-selector.module.d.ts +0 -10
- package/lib/modules/period-selector/components/FixedPeriodFilter.d.ts +0 -18
- package/lib/modules/period-selector/components/PeriodDimension.d.ts +0 -15
- package/lib/modules/period-selector/components/PeriodTransfer.d.ts +0 -28
- package/lib/modules/period-selector/components/RelativePeriodFilter.d.ts +0 -11
- package/lib/modules/period-selector/components/utils/fixedPeriods.d.ts +0 -17
- package/lib/modules/period-selector/components/utils/index.d.ts +0 -4
- package/lib/modules/period-selector/components/utils/periodTypes.d.ts +0 -19
- package/lib/modules/period-selector/components/utils/relativePeriods.d.ts +0 -17
- package/lib/modules/period-selector/containers/period-selector/period-selector.component.d.ts +0 -21
- package/lib/modules/period-selector/containers/period-selector-modal/period-selector-modal.component.d.ts +0 -16
- package/lib/modules/period-selector/index.d.ts +0 -3
- package/lib/modules/period-selector/period-selector.module.d.ts +0 -10
- package/lib/modules/program-entry-form/index.d.ts +0 -2
- package/lib/modules/program-entry-form/models/index.d.ts +0 -3
- package/lib/modules/program-entry-form/models/program-entry-form-metadata.d.ts +0 -29
- package/lib/modules/program-entry-form/models/program-entry-form-section.model.d.ts +0 -16
- package/lib/modules/program-entry-form/models/program-entry-form.config.d.ts +0 -58
- package/lib/modules/program-entry-form/program-entry-form.component.d.ts +0 -38
- package/lib/modules/program-entry-form/utils/index.d.ts +0 -2
- package/lib/modules/program-entry-form/utils/program-entry-form-field.util.d.ts +0 -80
- package/lib/modules/program-entry-form/utils/program-entry-form-section.util.d.ts +0 -8
- package/lib/modules/react-wrapper/react-wrapper.component.d.ts +0 -17
- package/lib/modules/selection-filters-ui/containers/selection-filters-ui/selection-filters-ui.component.d.ts +0 -39
- package/lib/modules/selection-filters-ui/index.d.ts +0 -2
- package/lib/modules/selection-filters-ui/models/selection-filters-ui.model.d.ts +0 -54
- package/lib/modules/selection-filters-ui/selection-filters-ui.module.d.ts +0 -11
- package/lib/modules/tracker-form/index.d.ts +0 -2
- package/lib/modules/tracker-form/tracker-form.component.d.ts +0 -19
- package/lib/modules/tracker-form/tracker-form.module.d.ts +0 -9
- package/lib/shared/assets/AssignedCategoriesIcon.d.ts +0 -2
- package/lib/shared/assets/DimensionItemIcons/PeriodIcon.d.ts +0 -3
- package/lib/shared/components/index.d.ts +0 -1
- package/lib/shared/components/transfer-option.component.d.ts +0 -19
- package/lib/shared/hooks/dynamic-styles.hook.d.ts +0 -1
- package/lib/shared/hooks/index.d.ts +0 -1
- package/lib/shared/index.d.ts +0 -4
- package/lib/shared/shared.module.d.ts +0 -7
- package/lib/shared/styles/DimensionSelector.style.d.ts +0 -2
- package/lib/shared/styles/index.d.ts +0 -1
- package/lib/shared/utils/axis.d.ts +0 -11
- package/lib/shared/utils/axisGetDimension.d.ts +0 -1
- package/lib/shared/utils/axisHasDimension.d.ts +0 -1
- package/lib/shared/utils/dimension.d.ts +0 -55
- package/lib/shared/utils/dimensionGetItems.d.ts +0 -1
- package/lib/shared/utils/dimensionIs.d.ts +0 -1
- package/lib/shared/utils/dimensionIsEmpty.d.ts +0 -3
- package/lib/shared/utils/dimensionIsValid.d.ts +0 -3
- package/lib/shared/utils/dimensionSelectorHelper.d.ts +0 -3
- package/lib/shared/utils/index.d.ts +0 -11
- package/lib/shared/utils/layoutGetAllAxes.d.ts +0 -1
- package/lib/shared/utils/layoutGetAllDimensions.d.ts +0 -1
- package/lib/shared/utils/layoutGetDimension.d.ts +0 -1
- package/lib/shared/utils/layoutReplaceDimension.d.ts +0 -1
- package/lib/shared/utils/list.d.ts +0 -1
- package/lib/shared/utils/predefinedDimensions.d.ts +0 -67
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
declare const Apps: {
|
|
10
|
-
({ apps, baseUrl }: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
apps: PropTypes.Validator<any[]>;
|
|
13
|
-
baseUrl: PropTypes.Requireable<string>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default Apps;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare const DebugInfoMenuItem: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
hideProfileMenu: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
-
showDebugInfoModal: PropTypes.Validator<(...args: any[]) => any>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare function DebugInfoModal(params: any): React.JSX.Element;
|
|
4
|
-
export declare namespace DebugInfoModal {
|
|
5
|
-
var propTypes: {
|
|
6
|
-
onClose: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
-
};
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const HeaderBarContextProvider: {
|
|
4
|
-
(params: any): React.JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
7
|
-
updateAvailable: PropTypes.Requireable<boolean>;
|
|
8
|
-
onApplyAvailableUpdate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const useHeaderBarContext: () => {
|
|
12
|
-
updateAvailable: boolean;
|
|
13
|
-
onApplyAvailableUpdate: () => void;
|
|
14
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { HeaderBarData } from '../models';
|
|
4
|
-
interface HeaderBarProp {
|
|
5
|
-
appName: string;
|
|
6
|
-
data: HeaderBarData;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const HeaderBar: {
|
|
10
|
-
({ appName, data, className }: HeaderBarProp): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
appName: PropTypes.Requireable<string>;
|
|
13
|
-
data: typeof HeaderBarData;
|
|
14
|
-
className: PropTypes.Requireable<string>;
|
|
15
|
-
updateAvailable: PropTypes.Requireable<boolean>;
|
|
16
|
-
onApplyAvailableUpdate: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const joinPath: (...parts: any[]) => string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare module 'react' {
|
|
3
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
4
|
-
jsx?: boolean;
|
|
5
|
-
global?: boolean;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
interface LogoProp {
|
|
9
|
-
baseUrl: string;
|
|
10
|
-
}
|
|
11
|
-
export declare const Logo: ({ baseUrl }: LogoProp) => React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare const NotificationIcon: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
count: number;
|
|
13
|
-
};
|
|
14
|
-
propTypes: {
|
|
15
|
-
href: PropTypes.Validator<string>;
|
|
16
|
-
count: PropTypes.Requireable<number>;
|
|
17
|
-
dataTestId: PropTypes.Requireable<string>;
|
|
18
|
-
message: PropTypes.Requireable<string>;
|
|
19
|
-
kind: PropTypes.Requireable<string>;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare const Notifications: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
interpretations: PropTypes.Requireable<number>;
|
|
13
|
-
messages: PropTypes.Requireable<number>;
|
|
14
|
-
userAuthorities: PropTypes.Requireable<string[]>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useOnDocClick: (containerRef: any, hide: any) => void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './profile-menu';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare const ProfileHeader: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
avatarId: PropTypes.Requireable<string>;
|
|
13
|
-
email: PropTypes.Requireable<string>;
|
|
14
|
-
name: PropTypes.Requireable<string>;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
export declare const ProfileMenu: {
|
|
4
|
-
(params: any): React.JSX.Element;
|
|
5
|
-
propTypes: {
|
|
6
|
-
hideProfileMenu: PropTypes.Validator<(...args: any[]) => any>;
|
|
7
|
-
showDebugInfoModal: PropTypes.Validator<(...args: any[]) => any>;
|
|
8
|
-
avatarId: PropTypes.Requireable<string>;
|
|
9
|
-
email: PropTypes.Requireable<string>;
|
|
10
|
-
helpUrl: PropTypes.Requireable<string>;
|
|
11
|
-
name: PropTypes.Requireable<string>;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare function UpdateNotification(params: any): React.JSX.Element;
|
|
10
|
-
export declare namespace UpdateNotification {
|
|
11
|
-
var propTypes: {
|
|
12
|
-
hideProfileMenu: PropTypes.Validator<(...args: any[]) => any>;
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
declare const Profile: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
name: PropTypes.Validator<string>;
|
|
13
|
-
avatarId: PropTypes.Requireable<string>;
|
|
14
|
-
email: PropTypes.Requireable<string>;
|
|
15
|
-
helpUrl: PropTypes.Requireable<string>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default Profile;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare module 'react' {
|
|
4
|
-
interface StyleHTMLAttributes<T> extends React.HTMLAttributes<T> {
|
|
5
|
-
jsx?: boolean;
|
|
6
|
-
global?: boolean;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
export declare const Title: {
|
|
10
|
-
(params: any): React.JSX.Element;
|
|
11
|
-
propTypes: {
|
|
12
|
-
app: PropTypes.Requireable<string>;
|
|
13
|
-
instance: PropTypes.Requireable<string>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ActionOptionOrientation, LineListActionOption } from '../../models';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TableRow } from '../../models/line-list.models';
|
|
4
|
-
export declare const DataTableActions: (props: {
|
|
5
|
-
data: TableRow;
|
|
6
|
-
actionOptions: LineListActionOption[];
|
|
7
|
-
actionOptionOrientation: ActionOptionOrientation;
|
|
8
|
-
onClick: (dropdownOption: LineListActionOption) => void;
|
|
9
|
-
}) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './data-table-actions';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DropdownMenuOption } from '../../models';
|
|
3
|
-
export declare const ContextMenu: (params: {
|
|
4
|
-
dropDownOptions: DropdownMenuOption[];
|
|
5
|
-
anchorRef: any;
|
|
6
|
-
onClose: (event?: any, data?: any) => void;
|
|
7
|
-
onMenuClick: (dropdownOption: DropdownMenuOption) => void;
|
|
8
|
-
}) => React.JSX.Element;
|
|
9
|
-
export declare const DropdownMenu: (props: {
|
|
10
|
-
dropdownOptions: DropdownMenuOption[];
|
|
11
|
-
onClick: (dropdownOption: DropdownMenuOption) => void;
|
|
12
|
-
}) => React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './dropdown-menu';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
type Props = {
|
|
3
|
-
key: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
required?: boolean;
|
|
6
|
-
onSelectOrgUnit: (selectedOrgUnits: any) => void;
|
|
7
|
-
onBlur?: (selectedOrgUnit: Record<string, unknown>) => void;
|
|
8
|
-
selected?: string;
|
|
9
|
-
maxTreeHeight?: number;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
previousOrgUnitId?: string;
|
|
12
|
-
};
|
|
13
|
-
export declare const OrgUnitFormField: (props: Props) => React.JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const FilterToolbar: ({ orgUnitLabel, selectedOrgUnit, setSelectedOrgUnit, setOrgUnitState, defaultOrgUnit, setHide, startDateState, setStartDateState, endDateState, setEndDateState, visibleFilters, dateStates, inputValues, setInputValues, handleInputChange, handleInputChangeForSelectField, handleDateSelect, showAllFilters, setShowAllFilters, setTempStartDateState, setTempEndDateState, setTempOrgUnitState, tempStartDateState, tempEndDateState, tempOrgUnitState, dataQueryFiltersState, setDataQueryFiltersState, SetOrgUnitModalVisible, showEnrollmentDates, handleAdditionalFilters, handleStartDateFilter, handleEndDateFilter, handleOrgUnitFilter, setDateStates, prevInputValues, setPrevInputValues, setTempDataQueryFiltersState, prevDateStates, setPrevDateStates, prevSelectedOrgUnit, setPrevSelectedOrgUnit, }: any) => React.JSX.Element;
|
|
3
|
-
export declare function formatDateForDisplay(dateString: string | null | undefined): string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Pager } from '@iapps/d2-web-sdk';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
type PaginationProps = {
|
|
4
|
-
pager: Pager;
|
|
5
|
-
setPager: React.Dispatch<React.SetStateAction<Pager>>;
|
|
6
|
-
};
|
|
7
|
-
export declare const Pagination: ({ pager, setPager }: PaginationProps) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const TableHeader: ({ columns, allSelected, onSelectAll, selectable, showActionButtons, }: {
|
|
3
|
-
columns: any[];
|
|
4
|
-
allSelected: boolean;
|
|
5
|
-
onSelectAll: (checked: boolean) => void;
|
|
6
|
-
selectable: boolean;
|
|
7
|
-
showActionButtons: boolean;
|
|
8
|
-
}) => React.JSX.Element;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DataQueryFilter, DHIS2Event, EnrollmentStatus, EventStatus, TrackedEntityInstance } from '@iapps/d2-web-sdk';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { ReactWrapperModule } from '../../react-wrapper/react-wrapper.component';
|
|
5
|
-
import { ActionOptionOrientation, LineListActionOption } from '../models';
|
|
6
|
-
import { AttributeFilter } from '../models/attribute-filter.model';
|
|
7
|
-
import { LineListService } from '../services/line-list.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class LineListTableComponent extends ReactWrapperModule {
|
|
10
|
-
triggerToken: string;
|
|
11
|
-
programId: string;
|
|
12
|
-
orgUnit: string;
|
|
13
|
-
programStageId?: string;
|
|
14
|
-
actionOptions?: LineListActionOption[];
|
|
15
|
-
actionOptionOrientation: ActionOptionOrientation;
|
|
16
|
-
attributeFilters?: AttributeFilter[];
|
|
17
|
-
useOuModeWithOlderDHIS2Instance?: boolean;
|
|
18
|
-
startDate?: string;
|
|
19
|
-
endDate?: string;
|
|
20
|
-
dataQueryFilters?: DataQueryFilter[];
|
|
21
|
-
ouMode?: string;
|
|
22
|
-
isButtonLoading: boolean;
|
|
23
|
-
buttonFilter: string;
|
|
24
|
-
filterRootOrgUnit: boolean;
|
|
25
|
-
showFilters: boolean;
|
|
26
|
-
isOptionSetNameVisible: boolean;
|
|
27
|
-
allowRowsSelection: boolean;
|
|
28
|
-
enrollmentStatus: EnrollmentStatus;
|
|
29
|
-
filterableColumnIds: string[];
|
|
30
|
-
triggerRefetch: boolean;
|
|
31
|
-
eventStatus: {
|
|
32
|
-
programStage: string;
|
|
33
|
-
status: EventStatus;
|
|
34
|
-
};
|
|
35
|
-
actionSelected: EventEmitter<{
|
|
36
|
-
action: string;
|
|
37
|
-
data: TrackedEntityInstance | DHIS2Event;
|
|
38
|
-
}>;
|
|
39
|
-
rowsSelected: EventEmitter<TrackedEntityInstance[] | DHIS2Event[]>;
|
|
40
|
-
showActionButtons: boolean;
|
|
41
|
-
showEnrollmentDates: boolean;
|
|
42
|
-
showDownloadButton: boolean;
|
|
43
|
-
searcheableDataElements: string[];
|
|
44
|
-
private reactStateUpdaters;
|
|
45
|
-
setReactStateUpdaters: (updaters: any) => void;
|
|
46
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
47
|
-
lineListService: LineListService;
|
|
48
|
-
LineList: () => React.JSX.Element;
|
|
49
|
-
ngAfterViewInit(): Promise<void>;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineListTableComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineListTableComponent, "ng-dhis2-ui-line-list", never, { "triggerToken": { "alias": "triggerToken"; "required": false; }; "programId": { "alias": "programId"; "required": false; }; "orgUnit": { "alias": "orgUnit"; "required": false; }; "programStageId": { "alias": "programStageId"; "required": false; }; "actionOptions": { "alias": "actionOptions"; "required": false; }; "actionOptionOrientation": { "alias": "actionOptionOrientation"; "required": false; }; "attributeFilters": { "alias": "attributeFilters"; "required": false; }; "useOuModeWithOlderDHIS2Instance": { "alias": "useOuModeWithOlderDHIS2Instance"; "required": false; }; "startDate": { "alias": "startDate"; "required": false; }; "endDate": { "alias": "endDate"; "required": false; }; "dataQueryFilters": { "alias": "dataQueryFilters"; "required": false; }; "ouMode": { "alias": "ouMode"; "required": false; }; "isButtonLoading": { "alias": "isButtonLoading"; "required": false; }; "buttonFilter": { "alias": "buttonFilter"; "required": false; }; "filterRootOrgUnit": { "alias": "filterRootOrgUnit"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; "isOptionSetNameVisible": { "alias": "isOptionSetNameVisible"; "required": false; }; "allowRowsSelection": { "alias": "allowRowsSelection"; "required": false; }; "enrollmentStatus": { "alias": "enrollmentStatus"; "required": false; }; "filterableColumnIds": { "alias": "filterableColumnIds"; "required": false; }; "triggerRefetch": { "alias": "triggerRefetch"; "required": false; }; "eventStatus": { "alias": "eventStatus"; "required": false; }; "showActionButtons": { "alias": "showActionButtons"; "required": false; }; "showEnrollmentDates": { "alias": "showEnrollmentDates"; "required": false; }; "showDownloadButton": { "alias": "showDownloadButton"; "required": false; }; "searcheableDataElements": { "alias": "searcheableDataElements"; "required": false; }; }, { "actionSelected": "actionSelected"; "rowsSelected": "rowsSelected"; }, never, ["*"], false, never>;
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './use-dynamic-styles.hook';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const useDynamicStyles: <T extends Record<string, React.CSSProperties | any>>(stylesObj: T) => { [K in keyof T]: string; };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./containers/line-list.component.tsx";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "../../shared/shared.module";
|
|
5
|
-
import * as i4 from "../react-wrapper/react-wrapper.component.tsx";
|
|
6
|
-
export declare class LineListModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineListModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LineListModule, [typeof i1.LineListTableComponent], [typeof i2.CommonModule, typeof i3.SharedDhis2UiModule, typeof i4.ReactWrapperModule], [typeof i1.LineListTableComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LineListModule>;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ActionOptionOrientation = 'DROPDOWN' | 'BUTTON' | 'LINK';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DHIS2Event, TrackedEntityInstance } from '@iapps/d2-web-sdk';
|
|
2
|
-
import { DropdownMenuOption } from './dropdown-menu.model';
|
|
3
|
-
export interface LineListActionOption extends DropdownMenuOption {
|
|
4
|
-
condition?: string;
|
|
5
|
-
onClick?: (tableRow: TrackedEntityInstance | DHIS2Event) => void;
|
|
6
|
-
}
|