@iapps/ng-dhis2-ui 1.0.0 → 1.0.2

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.
Files changed (103) hide show
  1. package/esm2022/index.mjs +4 -2
  2. package/esm2022/lib/modules/header-bar/header-bar.component.mjs +7 -8
  3. package/esm2022/lib/modules/organisation-unit-selector/components/OrgUnitDimension.mjs +212 -0
  4. package/esm2022/lib/modules/organisation-unit-selector/components/index.mjs +6 -0
  5. package/esm2022/lib/modules/organisation-unit-selector/components/styles/OrgUnitDimension.style.mjs +83 -0
  6. package/esm2022/lib/modules/organisation-unit-selector/components/utils/index.mjs +6 -0
  7. package/esm2022/lib/modules/organisation-unit-selector/components/utils/ouIdHelper/index.mjs +18 -0
  8. package/esm2022/lib/modules/organisation-unit-selector/components/utils/ouLevelUtils/index.mjs +27 -0
  9. package/esm2022/lib/modules/organisation-unit-selector/index.mjs +6 -0
  10. package/esm2022/lib/modules/organisation-unit-selector/models/index.mjs +5 -0
  11. package/esm2022/lib/modules/organisation-unit-selector/models/organisation-unit-config.model.mjs +16 -0
  12. package/esm2022/lib/modules/organisation-unit-selector/organisation-unit-selector.component.mjs +78 -0
  13. package/esm2022/lib/modules/organisation-unit-selector/organisation-unit-selector.module.mjs +19 -0
  14. package/esm2022/lib/modules/period-selector/components/FixedPeriodFilter.mjs +44 -0
  15. package/esm2022/lib/modules/period-selector/components/PeriodDimension.mjs +41 -0
  16. package/esm2022/lib/modules/period-selector/components/PeriodTransfer.mjs +110 -0
  17. package/esm2022/lib/modules/period-selector/components/RelativePeriodFilter.mjs +28 -0
  18. package/esm2022/lib/modules/period-selector/components/utils/fixedPeriods.mjs +308 -0
  19. package/esm2022/lib/modules/period-selector/components/utils/index.mjs +5 -0
  20. package/esm2022/lib/modules/period-selector/components/utils/periodTypes.mjs +23 -0
  21. package/esm2022/lib/modules/period-selector/components/utils/relativePeriods.mjs +139 -0
  22. package/esm2022/lib/modules/period-selector/index.mjs +6 -0
  23. package/esm2022/lib/modules/period-selector/period-selector.component.mjs +66 -0
  24. package/esm2022/lib/modules/period-selector/period-selector.module.mjs +19 -0
  25. package/esm2022/lib/shared/assets/AssignedCategoriesIcon.mjs +12 -0
  26. package/esm2022/lib/shared/assets/DimensionItemIcons/PeriodIcon.mjs +4 -0
  27. package/esm2022/lib/shared/components/TransferOption.mjs +130 -0
  28. package/esm2022/lib/shared/components/index.mjs +2 -1
  29. package/esm2022/lib/shared/index.mjs +7 -0
  30. package/esm2022/lib/shared/styles/DimensionSelector.style.mjs +39 -0
  31. package/esm2022/lib/shared/styles/index.mjs +5 -0
  32. package/esm2022/lib/shared/utils/axis.mjs +25 -0
  33. package/esm2022/lib/shared/utils/axisGetDimension.mjs +5 -0
  34. package/esm2022/lib/shared/utils/axisHasDimension.mjs +3 -0
  35. package/esm2022/lib/shared/utils/dimension.mjs +52 -0
  36. package/esm2022/lib/shared/utils/dimensionGetItems.mjs +6 -0
  37. package/esm2022/lib/shared/utils/dimensionIs.mjs +3 -0
  38. package/esm2022/lib/shared/utils/dimensionIsEmpty.mjs +5 -0
  39. package/esm2022/lib/shared/utils/dimensionIsValid.mjs +16 -0
  40. package/esm2022/lib/shared/utils/dimensionSelectorHelper.mjs +4 -0
  41. package/esm2022/lib/shared/utils/index.mjs +15 -0
  42. package/esm2022/lib/shared/utils/layoutGetAllAxes.mjs +7 -0
  43. package/esm2022/lib/shared/utils/layoutGetAllDimensions.mjs +6 -0
  44. package/esm2022/lib/shared/utils/layoutGetDimension.mjs +4 -0
  45. package/esm2022/lib/shared/utils/layoutReplaceDimension.mjs +17 -0
  46. package/esm2022/lib/shared/utils/list.mjs +15 -0
  47. package/esm2022/lib/shared/utils/predefinedDimensions.mjs +45 -0
  48. package/fesm2022/iapps-ng-dhis2-ui.mjs +1566 -55
  49. package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
  50. package/index.d.ts +3 -1
  51. package/lib/modules/header-bar/header-bar.component.d.ts +0 -3
  52. package/lib/modules/organisation-unit-selector/components/OrgUnitDimension.d.ts +26 -0
  53. package/lib/modules/organisation-unit-selector/components/index.d.ts +2 -0
  54. package/lib/modules/organisation-unit-selector/components/styles/OrgUnitDimension.style.d.ts +1 -0
  55. package/lib/modules/organisation-unit-selector/components/utils/index.d.ts +2 -0
  56. package/lib/modules/organisation-unit-selector/components/utils/ouIdHelper/index.d.ts +10 -0
  57. package/lib/modules/organisation-unit-selector/components/utils/ouLevelUtils/index.d.ts +1 -0
  58. package/lib/modules/organisation-unit-selector/index.d.ts +2 -0
  59. package/lib/modules/organisation-unit-selector/models/index.d.ts +1 -0
  60. package/lib/modules/organisation-unit-selector/models/organisation-unit-config.model.d.ts +12 -0
  61. package/lib/modules/organisation-unit-selector/organisation-unit-selector.component.d.ts +26 -0
  62. package/lib/modules/organisation-unit-selector/organisation-unit-selector.module.d.ts +9 -0
  63. package/lib/modules/period-selector/components/FixedPeriodFilter.d.ts +18 -0
  64. package/lib/modules/period-selector/components/PeriodDimension.d.ts +15 -0
  65. package/lib/modules/period-selector/components/PeriodTransfer.d.ts +28 -0
  66. package/lib/modules/period-selector/components/RelativePeriodFilter.d.ts +11 -0
  67. package/lib/modules/period-selector/components/utils/fixedPeriods.d.ts +17 -0
  68. package/lib/modules/period-selector/components/utils/index.d.ts +4 -0
  69. package/lib/modules/period-selector/components/utils/periodTypes.d.ts +19 -0
  70. package/lib/modules/period-selector/components/utils/relativePeriods.d.ts +17 -0
  71. package/lib/modules/period-selector/index.d.ts +2 -0
  72. package/lib/modules/period-selector/period-selector.component.d.ts +21 -0
  73. package/lib/modules/period-selector/period-selector.module.d.ts +9 -0
  74. package/lib/shared/assets/AssignedCategoriesIcon.d.ts +2 -0
  75. package/lib/shared/assets/DimensionItemIcons/PeriodIcon.d.ts +3 -0
  76. package/lib/shared/components/TransferOption.d.ts +19 -0
  77. package/lib/shared/components/index.d.ts +1 -0
  78. package/lib/shared/index.d.ts +3 -0
  79. package/lib/shared/styles/DimensionSelector.style.d.ts +2 -0
  80. package/lib/shared/styles/index.d.ts +1 -0
  81. package/lib/shared/utils/axis.d.ts +11 -0
  82. package/lib/shared/utils/axisGetDimension.d.ts +1 -0
  83. package/lib/shared/utils/axisHasDimension.d.ts +1 -0
  84. package/lib/shared/utils/dimension.d.ts +45 -0
  85. package/lib/shared/utils/dimensionGetItems.d.ts +1 -0
  86. package/lib/shared/utils/dimensionIs.d.ts +1 -0
  87. package/lib/shared/utils/dimensionIsEmpty.d.ts +1 -0
  88. package/lib/shared/utils/dimensionIsValid.d.ts +1 -0
  89. package/lib/shared/utils/dimensionSelectorHelper.d.ts +3 -0
  90. package/lib/shared/utils/index.d.ts +11 -0
  91. package/lib/shared/utils/layoutGetAllAxes.d.ts +1 -0
  92. package/lib/shared/utils/layoutGetAllDimensions.d.ts +1 -0
  93. package/lib/shared/utils/layoutGetDimension.d.ts +1 -0
  94. package/lib/shared/utils/layoutReplaceDimension.d.ts +1 -0
  95. package/lib/shared/utils/list.d.ts +1 -0
  96. package/lib/shared/utils/predefinedDimensions.d.ts +65 -0
  97. package/package.json +1 -1
  98. package/esm2022/lib/modules/app-shell/app-shell.component.mjs +0 -33
  99. package/esm2022/lib/modules/app-shell/app-shell.module.mjs +0 -19
  100. package/esm2022/lib/modules/app-shell/index.mjs +0 -6
  101. package/lib/modules/app-shell/app-shell.component.d.ts +0 -8
  102. package/lib/modules/app-shell/app-shell.module.d.ts +0 -9
  103. package/lib/modules/app-shell/index.d.ts +0 -2
package/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  export * from './lib/ng-dhis2-ui.module';
2
2
  export * from './lib/modules/header-bar';
3
3
  export * from './lib/modules/button';
4
- export * from './lib/modules/app-shell';
4
+ export * from './lib/modules/period-selector';
5
+ export * from './lib/modules/organisation-unit-selector';
6
+ export * from './lib/shared/components/react-component-wrapper/react-wrapper.component';
@@ -1,12 +1,9 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { NgxDhis2HttpClientService } from '@iapps/ngx-dhis2-http-client';
3
- import { Observable } from 'rxjs';
4
- import { HeaderBarData } from './models';
5
3
  import { ReactWrapperComponent } from '../../shared/components';
6
4
  import * as i0 from "@angular/core";
7
5
  export declare class HeaderBarComponent extends ReactWrapperComponent {
8
6
  private httpClient;
9
- data$: Observable<HeaderBarData | null>;
10
7
  constructor(elementRef: ElementRef<HTMLElement>, httpClient: NgxDhis2HttpClientService);
11
8
  ngAfterViewInit(): Promise<void>;
12
9
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderBarComponent, never>;
@@ -0,0 +1,26 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ declare const OrgUnitDimension: {
4
+ ({ roots, selected, onSelect, hideGroupSelect, hideLevelSelect, hideUserOrgUnits, warning, orgUnitGroupPromise, orgUnitLevelPromise, }: any): React.JSX.Element;
5
+ defaultProps: {
6
+ hideGroupSelect: boolean;
7
+ hideLevelSelect: boolean;
8
+ hideUserOrgUnits: boolean;
9
+ };
10
+ propTypes: {
11
+ hideGroupSelect: PropTypes.Requireable<boolean>;
12
+ hideLevelSelect: PropTypes.Requireable<boolean>;
13
+ hideUserOrgUnits: PropTypes.Requireable<boolean>;
14
+ roots: PropTypes.Requireable<string[]>;
15
+ selected: PropTypes.Requireable<PropTypes.InferProps<{
16
+ id: PropTypes.Validator<string>;
17
+ name: PropTypes.Validator<string>;
18
+ path: PropTypes.Requireable<string>;
19
+ }>[]>;
20
+ warning: PropTypes.Requireable<string>;
21
+ onSelect: PropTypes.Requireable<(...args: any[]) => any>;
22
+ orgUnitGroupPromise: PropTypes.Requireable<any>;
23
+ orgUnitLevelPromise: PropTypes.Requireable<any>;
24
+ };
25
+ };
26
+ export default OrgUnitDimension;
@@ -0,0 +1,2 @@
1
+ export * from './OrgUnitDimension';
2
+ export * from './utils';
@@ -0,0 +1 @@
1
+ export declare const styles: string;
@@ -0,0 +1,2 @@
1
+ export * from './ouIdHelper';
2
+ export * from './ouLevelUtils';
@@ -0,0 +1,10 @@
1
+ export declare const USER_ORG_UNIT = "USER_ORGUNIT";
2
+ export declare const USER_ORG_UNIT_CHILDREN = "USER_ORGUNIT_CHILDREN";
3
+ export declare const USER_ORG_UNIT_GRANDCHILDREN = "USER_ORGUNIT_GRANDCHILDREN";
4
+ export declare const ouIdHelper: Readonly<{
5
+ addLevelPrefix: (id: string) => string;
6
+ addGroupPrefix: (id: string) => string;
7
+ removePrefix: (id: string) => string;
8
+ hasGroupPrefix: (id: string) => boolean;
9
+ hasLevelPrefix: (id: string) => boolean;
10
+ }>;
@@ -0,0 +1 @@
1
+ export declare const convertOuLevelsToUids: (ouLevels: any, layout: any) => any;
@@ -0,0 +1,2 @@
1
+ export * from './organisation-unit-selector.module';
2
+ export * from './organisation-unit-selector.component';
@@ -0,0 +1 @@
1
+ export * from './organisation-unit-config.model';
@@ -0,0 +1,12 @@
1
+ export type OrganisationUnitSelectionUsageType = 'DATA_ENTRY' | 'DATA_VIEW';
2
+ export declare class OrganisationUnitSelectionConfig {
3
+ hideGroupSelect: boolean;
4
+ hideLevelSelect: boolean;
5
+ hideUserOrgUnits: boolean;
6
+ usageType: OrganisationUnitSelectionUsageType;
7
+ minLevel?: number;
8
+ allowSingleSelection?: boolean;
9
+ batchSize?: number;
10
+ additionalQueryFields?: string[];
11
+ constructor(params?: Partial<OrganisationUnitSelectionConfig>);
12
+ }
@@ -0,0 +1,26 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { ReactWrapperComponent } from '../../shared';
3
+ import { NgxDhis2HttpClientService } from '@iapps/ngx-dhis2-http-client';
4
+ import { OrganisationUnitSelectionConfig, OrganisationUnitSelectionUsageType } from './models';
5
+ import * as i0 from "@angular/core";
6
+ type OrganisationUnitSelectionEvent = {
7
+ dimensionId: string;
8
+ items: Record<string, unknown>[];
9
+ };
10
+ export declare class OrganisationUnitSelectorComponent extends ReactWrapperComponent {
11
+ private httpClient;
12
+ selectedOrgUnits: any[];
13
+ orgUnitSelectionConfig: OrganisationUnitSelectionConfig;
14
+ selectOrgUnits: EventEmitter<any>;
15
+ props: Record<string, unknown>;
16
+ constructor(elementRef: ElementRef<HTMLElement>, httpClient: NgxDhis2HttpClientService);
17
+ ngAfterViewInit(): Promise<void>;
18
+ getOrgUnitAttributeByUsage(usageType: OrganisationUnitSelectionUsageType): "organisationUnits" | "dataViewOrganisationUnits";
19
+ getRootOrgUnits(): Promise<string[]>;
20
+ getOrgUnitGroups(): Promise<any>;
21
+ getOrgUnitLevels(): Promise<any>;
22
+ onSelectItems(selectionEvent: OrganisationUnitSelectionEvent): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationUnitSelectorComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<OrganisationUnitSelectorComponent, "ng-dhis2-ui-org-unit-selector", never, { "selectedOrgUnits": { "alias": "selectedOrgUnits"; "required": false; }; "orgUnitSelectionConfig": { "alias": "orgUnitSelectionConfig"; "required": false; }; }, { "selectOrgUnits": "selectOrgUnits"; }, never, never, false, never>;
25
+ }
26
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./organisation-unit-selector.component.tsx";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../shared/shared.module";
5
+ export declare class OrganisationUnitSelectorModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<OrganisationUnitSelectorModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<OrganisationUnitSelectorModule, [typeof i1.OrganisationUnitSelectorComponent], [typeof i2.CommonModule, typeof i3.SharedDhis2UiModule], [typeof i1.OrganisationUnitSelectorComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<OrganisationUnitSelectorModule>;
9
+ }
@@ -0,0 +1,18 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ declare const FixedPeriodFilter: {
4
+ ({ allowedPeriodTypes, excludedPeriodTypes, currentPeriodType, currentYear, onSelectPeriodType, onSelectYear, dataTest, }: any): React.JSX.Element;
5
+ defaultProps: {
6
+ excludedPeriodTypes: any[];
7
+ };
8
+ propTypes: {
9
+ currentPeriodType: PropTypes.Validator<string>;
10
+ currentYear: PropTypes.Validator<string>;
11
+ onSelectPeriodType: PropTypes.Validator<(...args: any[]) => any>;
12
+ onSelectYear: PropTypes.Validator<(...args: any[]) => any>;
13
+ allowedPeriodTypes: PropTypes.Requireable<string[]>;
14
+ dataTest: PropTypes.Requireable<string>;
15
+ excludedPeriodTypes: PropTypes.Requireable<string[]>;
16
+ };
17
+ };
18
+ export default FixedPeriodFilter;
@@ -0,0 +1,15 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ export declare const PeriodDimension: {
4
+ ({ onSelect, selectedPeriods, rightFooter, excludedPeriodTypes, systemInfo, }: any): React.JSX.Element;
5
+ propTypes: {
6
+ onSelect: PropTypes.Validator<(...args: any[]) => any>;
7
+ excludedPeriodTypes: PropTypes.Requireable<string[]>;
8
+ rightFooter: PropTypes.Requireable<PropTypes.ReactNodeLike>;
9
+ selectedPeriods: PropTypes.Requireable<any[]>;
10
+ systemInfo: PropTypes.Requireable<object>;
11
+ };
12
+ defaultProps: {
13
+ selectedPeriods: any[];
14
+ };
15
+ };
@@ -0,0 +1,28 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ declare const PeriodTransfer: {
4
+ ({ onSelect, dataTest, initialSelectedPeriods, rightFooter, excludedPeriodTypes, periodsSettings, }: any): React.JSX.Element;
5
+ defaultProps: {
6
+ initialSelectedPeriods: any[];
7
+ excludedPeriodTypes: any[];
8
+ periodsSettings: {
9
+ calendar: string;
10
+ locale: string;
11
+ };
12
+ };
13
+ propTypes: {
14
+ onSelect: PropTypes.Validator<(...args: any[]) => any>;
15
+ dataTest: PropTypes.Requireable<string>;
16
+ excludedPeriodTypes: PropTypes.Requireable<string[]>;
17
+ initialSelectedPeriods: PropTypes.Requireable<PropTypes.InferProps<{
18
+ id: PropTypes.Requireable<string>;
19
+ name: PropTypes.Requireable<string>;
20
+ }>[]>;
21
+ periodsSettings: PropTypes.Requireable<PropTypes.InferProps<{
22
+ calendar: PropTypes.Requireable<string>;
23
+ locale: PropTypes.Requireable<string>;
24
+ }>>;
25
+ rightFooter: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
+ };
27
+ };
28
+ export default PeriodTransfer;
@@ -0,0 +1,11 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ export declare const RelativePeriodFilter: {
4
+ ({ currentFilter, onSelectFilter, dataTest, excludedPeriodTypes, }: any): React.JSX.Element;
5
+ propTypes: {
6
+ currentFilter: PropTypes.Validator<string>;
7
+ onSelectFilter: PropTypes.Validator<(...args: any[]) => any>;
8
+ dataTest: PropTypes.Requireable<string>;
9
+ excludedPeriodTypes: PropTypes.Requireable<string[]>;
10
+ };
11
+ };
@@ -0,0 +1,17 @@
1
+ export declare const getFixedPeriodsOptionsById: (id: string, periodSettings?: any) => {
2
+ id: string;
3
+ getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
4
+ name: any;
5
+ };
6
+ export declare const getFixedPeriodsOptions: () => {
7
+ id: string;
8
+ getPeriods: (config: any) => import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
9
+ name: any;
10
+ }[];
11
+ export declare const getYearOffsetFromNow: (yearStr: any) => number;
12
+ export declare const parsePeriodCode: (code: any, allowedTypes: any) => {
13
+ id: string;
14
+ name: any;
15
+ year: any;
16
+ options: import("@dhis2/multi-calendar-dates/build/types/period-calculation/fixed-periods").FixedPeriod[];
17
+ };
@@ -0,0 +1,4 @@
1
+ export declare const filterPeriodTypesById: (allPeriodTypes?: any[], excludedPeriodTypes?: any[]) => any[];
2
+ export * from './relativePeriods';
3
+ export * from './fixedPeriods';
4
+ export * from './periodTypes';
@@ -0,0 +1,19 @@
1
+ export declare const DAILY = "DAILY";
2
+ export declare const WEEKLY = "WEEKLY";
3
+ export declare const WEEKLYWED = "WEEKLYWED";
4
+ export declare const WEEKLYTHU = "WEEKLYTHU";
5
+ export declare const WEEKLYSAT = "WEEKLYSAT";
6
+ export declare const WEEKLYSUN = "WEEKLYSUN";
7
+ export declare const WEEKS_THIS_YEAR = "WEEKS_THIS_YEAR";
8
+ export declare const BIWEEKLY = "BIWEEKLY";
9
+ export declare const MONTHLY = "MONTHLY";
10
+ export declare const BIMONTHLY = "BIMONTHLY";
11
+ export declare const QUARTERLY = "QUARTERLY";
12
+ export declare const SIXMONTHLY = "SIXMONTHLY";
13
+ export declare const SIXMONTHLYAPR = "SIXMONTHLYAPR";
14
+ export declare const YEARLY = "YEARLY";
15
+ export declare const FINANCIAL = "FINANCIAL";
16
+ export declare const FYNOV = "FYNOV";
17
+ export declare const FYOCT = "FYOCT";
18
+ export declare const FYJUL = "FYJUL";
19
+ export declare const FYAPR = "FYAPR";
@@ -0,0 +1,17 @@
1
+ export declare const getRelativePeriodsOptionsById: (id: string) => {
2
+ id: string;
3
+ getPeriods: () => {
4
+ id: string;
5
+ name: any;
6
+ }[];
7
+ name: any;
8
+ };
9
+ export declare const getRelativePeriodsOptions: () => {
10
+ id: string;
11
+ getPeriods: () => {
12
+ id: string;
13
+ name: any;
14
+ }[];
15
+ name: any;
16
+ }[];
17
+ export declare const getRelativePeriodIds: () => string[];
@@ -0,0 +1,2 @@
1
+ export * from './period-selector.module';
2
+ export * from './period-selector.component';
@@ -0,0 +1,21 @@
1
+ import { ElementRef, EventEmitter } from '@angular/core';
2
+ import { NgxDhis2HttpClientService } from '@iapps/ngx-dhis2-http-client';
3
+ import { ReactWrapperComponent } from '../../shared/components';
4
+ import * as i0 from "@angular/core";
5
+ type PeriodSelectionEvent = {
6
+ dimensionId: string;
7
+ items: Record<string, unknown>[];
8
+ };
9
+ export declare class PeriodSelectorComponent extends ReactWrapperComponent {
10
+ private httpClient;
11
+ selectedPeriods: any[];
12
+ selectPeriods: EventEmitter<any>;
13
+ props: Record<string, unknown>;
14
+ constructor(elementRef: ElementRef<HTMLElement>, httpClient: NgxDhis2HttpClientService);
15
+ ngAfterViewInit(): Promise<void>;
16
+ onSelectItems(selectionEvent: PeriodSelectionEvent): void;
17
+ getExcludedPeriodTypes: (systemSettings?: any) => any[];
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<PeriodSelectorComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<PeriodSelectorComponent, "ng-dhis2-ui-period-selector", never, { "selectedPeriods": { "alias": "selectedPeriods"; "required": false; }; }, { "selectPeriods": "selectPeriods"; }, never, never, false, never>;
20
+ }
21
+ export {};
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./period-selector.component.tsx";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../shared/shared.module";
5
+ export declare class PeriodSelectorModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<PeriodSelectorModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PeriodSelectorModule, [typeof i1.PeriodSelectorComponent], [typeof i2.CommonModule, typeof i3.SharedDhis2UiModule], [typeof i1.PeriodSelectorComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<PeriodSelectorModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const AssignedCategoriesIcon: () => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.JSX.Element;
3
+ export default _default;
@@ -0,0 +1,19 @@
1
+ import PropTypes from 'prop-types';
2
+ import React from 'react';
3
+ export declare const TransferOption: {
4
+ ({ disabled, label, highlighted, selected, onClick, onDoubleClick, value, icon, active, tooltipText, dataTest, onEditClick, }: any): React.JSX.Element;
5
+ propTypes: {
6
+ label: PropTypes.Validator<string>;
7
+ value: PropTypes.Validator<string>;
8
+ active: PropTypes.Requireable<boolean>;
9
+ dataTest: PropTypes.Requireable<string>;
10
+ disabled: PropTypes.Requireable<boolean>;
11
+ highlighted: PropTypes.Requireable<boolean>;
12
+ icon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
13
+ selected: PropTypes.Requireable<boolean>;
14
+ tooltipText: PropTypes.Requireable<string>;
15
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
16
+ onDoubleClick: PropTypes.Requireable<(...args: any[]) => any>;
17
+ onEditClick: PropTypes.Requireable<(...args: any[]) => any>;
18
+ };
19
+ };
@@ -1,3 +1,4 @@
1
1
  import { ReactWrapperComponent } from './react-component-wrapper/react-wrapper.component';
2
2
  export declare const sharedComponents: any[];
3
+ export * from './TransferOption';
3
4
  export { ReactWrapperComponent };
@@ -0,0 +1,3 @@
1
+ export * from './utils';
2
+ export * from './styles';
3
+ export * from './components';
@@ -0,0 +1,2 @@
1
+ declare const _default: string;
2
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './DimensionSelector.style';
@@ -0,0 +1,11 @@
1
+ export declare const AXIS: {
2
+ defaultValue: any[];
3
+ isValid: (axis: any) => boolean;
4
+ };
5
+ export declare const AXIS_ID_COLUMNS = "columns";
6
+ export declare const AXIS_ID_ROWS = "rows";
7
+ export declare const AXIS_ID_FILTERS = "filters";
8
+ export declare const AXIS_ID_YEAR_OVER_YEAR_SERIES = "yearOverYearSeries";
9
+ export declare const AXIS_ID_YEAR_OVER_YEAR_CATEGORY = "yearOverYearCategory";
10
+ export declare const DEFAULT_AXIS_IDS: string[];
11
+ export declare const ALL_AXIS_IDS: string[];
@@ -0,0 +1 @@
1
+ export declare const axisGetDimension: (axis: any, dimensionId: string) => any;
@@ -0,0 +1 @@
1
+ export declare const axisHasDimension: (axis: any, dimensionId: string) => boolean;
@@ -0,0 +1,45 @@
1
+ export declare const DIMENSION: {
2
+ isValid: (dimension: any) => boolean;
3
+ };
4
+ export declare const DIMENSION_PROP_ID: {
5
+ name: string;
6
+ defaultValue: string;
7
+ required: boolean;
8
+ isValid: (prop: any) => boolean;
9
+ };
10
+ export declare const DIMENSION_PROP_ITEMS: {
11
+ name: string;
12
+ defaultValue: any[];
13
+ required: boolean;
14
+ isValid: (prop: any) => boolean;
15
+ };
16
+ export declare const DIMENSION_PROP_FILTER: {
17
+ name: string;
18
+ defaultValue: any[];
19
+ required: boolean;
20
+ isValid: (prop: any) => boolean;
21
+ };
22
+ export declare const DIMENSION_PROP_LEGEND_SET: {
23
+ name: string;
24
+ defaultValue: any[];
25
+ required: boolean;
26
+ isValid: (prop: any) => boolean;
27
+ };
28
+ export declare const DIMENSION_PROP_PROGRAM_STAGE: {
29
+ name: string;
30
+ defaultValue: {};
31
+ required: boolean;
32
+ isValid: (prop: any) => boolean;
33
+ };
34
+ export declare const DIMENSION_PROP_REPETITION: {
35
+ name: string;
36
+ defaultValue: any[];
37
+ required: boolean;
38
+ isValid: (prop: any) => boolean;
39
+ };
40
+ export declare const DIMENSION_PROPS: {
41
+ name: string;
42
+ defaultValue: {};
43
+ required: boolean;
44
+ isValid: (prop: any) => boolean;
45
+ }[];
@@ -0,0 +1 @@
1
+ export declare const dimensionGetItems: (dimension: any) => any;
@@ -0,0 +1 @@
1
+ export declare const dimensionIs: (dimension: any, dimensionId: string) => boolean;
@@ -0,0 +1 @@
1
+ export declare const dimensionIsEmpty: (dimension: any) => boolean;
@@ -0,0 +1 @@
1
+ export declare const dimensionIsValid: (dimension: any, { requireItems }?: any) => boolean;
@@ -0,0 +1,3 @@
1
+ export declare const TRANSFER_OPTIONS_WIDTH = "420px";
2
+ export declare const TRANSFER_SELECTED_WIDTH = "298px";
3
+ export declare const TRANSFER_HEIGHT = "512px";
@@ -0,0 +1,11 @@
1
+ export * from './dimensionSelectorHelper';
2
+ export * from './predefinedDimensions';
3
+ export * from './list';
4
+ export * from './axis';
5
+ export * from './axisHasDimension';
6
+ export * from './dimension';
7
+ export * from './dimensionSelectorHelper';
8
+ export * from './layoutReplaceDimension';
9
+ export * from './layoutGetDimension';
10
+ export * from './layoutGetAllDimensions';
11
+ export * from './dimensionGetItems';
@@ -0,0 +1 @@
1
+ export declare const layoutGetAllAxes: (layout: any) => any[];
@@ -0,0 +1 @@
1
+ export declare const layoutGetAllDimensions: (layout: any) => any;
@@ -0,0 +1 @@
1
+ export declare const layoutGetDimension: (layout: any, dimensionId: string) => any;
@@ -0,0 +1 @@
1
+ export declare const layoutReplaceDimension: (layout: any, dimensionId: any, items: any) => any;
@@ -0,0 +1 @@
1
+ export declare const formatList: (items: any) => any;
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ export declare const DIMENSION_ID_DATA = "dx";
3
+ export declare const DIMENSION_ID_PERIOD = "pe";
4
+ export declare const DIMENSION_ID_ORGUNIT = "ou";
5
+ export declare const DIMENSION_ID_ASSIGNED_CATEGORIES = "co";
6
+ export declare const DIMENSION_PROP_NO_ITEMS = "noItems";
7
+ export declare const getFixedDimensions: () => {
8
+ dx: {
9
+ id: string;
10
+ name: any;
11
+ iconName: string;
12
+ icon: any;
13
+ };
14
+ pe: {
15
+ id: string;
16
+ name: any;
17
+ iconName: string;
18
+ icon: any;
19
+ };
20
+ ou: {
21
+ id: string;
22
+ name: any;
23
+ iconName: string;
24
+ icon: any;
25
+ };
26
+ };
27
+ export declare const getDynamicDimensions: () => {
28
+ co: {
29
+ id: string;
30
+ name: any;
31
+ iconName: string;
32
+ icon: () => React.JSX.Element;
33
+ noItems: boolean;
34
+ };
35
+ };
36
+ export declare const getPredefinedDimensions: () => {
37
+ co: {
38
+ id: string;
39
+ name: any;
40
+ iconName: string;
41
+ icon: () => React.JSX.Element;
42
+ noItems: boolean;
43
+ };
44
+ dx: {
45
+ id: string;
46
+ name: any;
47
+ iconName: string;
48
+ icon: any;
49
+ };
50
+ pe: {
51
+ id: string;
52
+ name: any;
53
+ iconName: string;
54
+ icon: any;
55
+ };
56
+ ou: {
57
+ id: string;
58
+ name: any;
59
+ iconName: string;
60
+ icon: any;
61
+ };
62
+ };
63
+ export declare const filterOutPredefinedDimensions: (dimensionIds: string[]) => string[];
64
+ export declare const getPredefinedDimensionProp: (dimensionId: string, propName: string) => any;
65
+ export declare const getDimensionById: (dimensionId: string) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iapps/ng-dhis2-ui",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",
@@ -1,33 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { ReactWrapperComponent } from '../../shared/components';
3
- import AppAdapter from '@dhis2/app-adapter';
4
- import { Layer, layers, CenteredContent, CircularLoader } from '@dhis2/ui';
5
- import React from 'react';
6
- import * as i0 from "@angular/core";
7
- export class AppShellComponent extends ReactWrapperComponent {
8
- constructor() {
9
- super(...arguments);
10
- this.appConfig = {
11
- // url: process.env.REACT_APP_DHIS2_BASE_URL,
12
- // appName: process.env.REACT_APP_DHIS2_APP_NAME || '',
13
- // appVersion: process.env.REACT_APP_DHIS2_APP_VERSION || '',
14
- // apiVersion: parseInt(process.env.REACT_APP_DHIS2_API_VERSION),
15
- // pwaEnabled: process.env.REACT_APP_DHIS2_APP_PWA_ENABLED === 'true',
16
- // plugin: process.env.REACT_APP_DHIS2_APP_PLUGIN === 'true',
17
- };
18
- this.component = React.createElement(AppAdapter, { ...this.appConfig },
19
- React.createElement(React.Suspense, { fallback: React.createElement(Layer, { level: layers.alert },
20
- React.createElement(CenteredContent, null,
21
- React.createElement(CircularLoader, null))) }));
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppShellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AppShellComponent, selector: "ng-dhis2-ui-app-shell", usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true }); }
25
- }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppShellComponent, decorators: [{
27
- type: Component,
28
- args: [{
29
- selector: 'ng-dhis2-ui-app-shell',
30
- template: '<ng-content></ng-content>',
31
- }]
32
- }] });
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNoZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL25nLWRoaXMyLXVpL3NyYy9saWIvbW9kdWxlcy9hcHAtc2hlbGwvYXBwLXNoZWxsLmNvbXBvbmVudC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUNoRSxPQUFPLFVBQVUsTUFBTSxvQkFBb0IsQ0FBQTtBQUMzQyxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxlQUFlLEVBQUUsY0FBYyxFQUFFLE1BQU0sV0FBVyxDQUFBO0FBQzFFLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQzs7QUFNMUIsTUFBTSxPQUFPLGlCQUFrQixTQUFRLHFCQUFxQjtJQUo1RDs7UUFLRyxjQUFTLEdBQUc7UUFDWCw2Q0FBNkM7UUFDN0MsdURBQXVEO1FBQ3ZELDZEQUE2RDtRQUM3RCxpRUFBaUU7UUFDakUsc0VBQXNFO1FBQ3RFLDZEQUE2RDtTQUNoRSxDQUFBO1FBQ1UsY0FBUyxHQUFHLG9CQUFDLFVBQVUsT0FBSyxJQUFJLENBQUMsU0FBUztZQUNuRCxvQkFBQyxLQUFLLENBQUMsUUFBUSxJQUNYLFFBQVEsRUFDSixvQkFBQyxLQUFLLElBQUMsS0FBSyxFQUFFLE1BQU0sQ0FBQyxLQUFLO29CQUN0QixvQkFBQyxlQUFlO3dCQUNaLG9CQUFDLGNBQWMsT0FBRyxDQUNKLENBQ2QsR0FJQyxDQUNDLENBQUE7S0FDbkI7K0dBdEJZLGlCQUFpQjttR0FBakIsaUJBQWlCLG9GQUZsQiwyQkFBMkI7OzRGQUUxQixpQkFBaUI7a0JBSjdCLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHVCQUF1QjtvQkFDakMsUUFBUSxFQUFFLDJCQUEyQjtpQkFDdEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IFJlYWN0V3JhcHBlckNvbXBvbmVudCB9IGZyb20gJy4uLy4uL3NoYXJlZC9jb21wb25lbnRzJztcbmltcG9ydCBBcHBBZGFwdGVyIGZyb20gJ0BkaGlzMi9hcHAtYWRhcHRlcidcbmltcG9ydCB7IExheWVyLCBsYXllcnMsIENlbnRlcmVkQ29udGVudCwgQ2lyY3VsYXJMb2FkZXIgfSBmcm9tICdAZGhpczIvdWknXG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICduZy1kaGlzMi11aS1hcHAtc2hlbGwnLFxuICB0ZW1wbGF0ZTogJzxuZy1jb250ZW50PjwvbmctY29udGVudD4nLFxufSlcbmV4cG9ydCBjbGFzcyBBcHBTaGVsbENvbXBvbmVudCBleHRlbmRzIFJlYWN0V3JhcHBlckNvbXBvbmVudCB7XG4gICBhcHBDb25maWcgPSB7XG4gICAgLy8gdXJsOiBwcm9jZXNzLmVudi5SRUFDVF9BUFBfREhJUzJfQkFTRV9VUkwsXG4gICAgLy8gYXBwTmFtZTogcHJvY2Vzcy5lbnYuUkVBQ1RfQVBQX0RISVMyX0FQUF9OQU1FIHx8ICcnLFxuICAgIC8vIGFwcFZlcnNpb246IHByb2Nlc3MuZW52LlJFQUNUX0FQUF9ESElTMl9BUFBfVkVSU0lPTiB8fCAnJyxcbiAgICAvLyBhcGlWZXJzaW9uOiBwYXJzZUludChwcm9jZXNzLmVudi5SRUFDVF9BUFBfREhJUzJfQVBJX1ZFUlNJT04pLFxuICAgIC8vIHB3YUVuYWJsZWQ6IHByb2Nlc3MuZW52LlJFQUNUX0FQUF9ESElTMl9BUFBfUFdBX0VOQUJMRUQgPT09ICd0cnVlJyxcbiAgICAvLyBwbHVnaW46IHByb2Nlc3MuZW52LlJFQUNUX0FQUF9ESElTMl9BUFBfUExVR0lOID09PSAndHJ1ZScsXG59XG4gIG92ZXJyaWRlIGNvbXBvbmVudCA9IDxBcHBBZGFwdGVyIHsuLi50aGlzLmFwcENvbmZpZ30+XG4gIDxSZWFjdC5TdXNwZW5zZVxuICAgICAgZmFsbGJhY2s9e1xuICAgICAgICAgIDxMYXllciBsZXZlbD17bGF5ZXJzLmFsZXJ0fT5cbiAgICAgICAgICAgICAgPENlbnRlcmVkQ29udGVudD5cbiAgICAgICAgICAgICAgICAgIDxDaXJjdWxhckxvYWRlciAvPlxuICAgICAgICAgICAgICA8L0NlbnRlcmVkQ29udGVudD5cbiAgICAgICAgICA8L0xheWVyPlxuICAgICAgfVxuICA+XG4gICAgICB7LyogPEQyQXBwIGNvbmZpZz17YXBwQ29uZmlnfSAvPiAqL31cbiAgPC9SZWFjdC5TdXNwZW5zZT5cbjwvQXBwQWRhcHRlcj4gYXMgYW55XG59XG4iXX0=
@@ -1,19 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { NgModule } from '@angular/core';
3
- import { SharedDhis2UiModule } from '../../shared/shared.module';
4
- import { AppShellComponent } from './app-shell.component';
5
- import * as i0 from "@angular/core";
6
- export class AppShellModule {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppShellModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
8
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: AppShellModule, declarations: [AppShellComponent], imports: [CommonModule, SharedDhis2UiModule], exports: [AppShellComponent] }); }
9
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppShellModule, imports: [CommonModule, SharedDhis2UiModule] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AppShellModule, decorators: [{
12
- type: NgModule,
13
- args: [{
14
- declarations: [AppShellComponent],
15
- imports: [CommonModule, SharedDhis2UiModule],
16
- exports: [AppShellComponent],
17
- }]
18
- }] });
19
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNoZWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL25nLWRoaXMyLXVpL3NyYy9saWIvbW9kdWxlcy9hcHAtc2hlbGwvYXBwLXNoZWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNqRSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQzs7QUFPMUQsTUFBTSxPQUFPLGNBQWM7K0dBQWQsY0FBYztnSEFBZCxjQUFjLGlCQUpWLGlCQUFpQixhQUN0QixZQUFZLEVBQUUsbUJBQW1CLGFBQ2pDLGlCQUFpQjtnSEFFaEIsY0FBYyxZQUhmLFlBQVksRUFBRSxtQkFBbUI7OzRGQUdoQyxjQUFjO2tCQUwxQixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRSxDQUFDLGlCQUFpQixDQUFDO29CQUNqQyxPQUFPLEVBQUUsQ0FBQyxZQUFZLEVBQUUsbUJBQW1CLENBQUM7b0JBQzVDLE9BQU8sRUFBRSxDQUFDLGlCQUFpQixDQUFDO2lCQUM3QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgU2hhcmVkRGhpczJVaU1vZHVsZSB9IGZyb20gJy4uLy4uL3NoYXJlZC9zaGFyZWQubW9kdWxlJztcbmltcG9ydCB7IEFwcFNoZWxsQ29tcG9uZW50IH0gZnJvbSAnLi9hcHAtc2hlbGwuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbQXBwU2hlbGxDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlLCBTaGFyZWREaGlzMlVpTW9kdWxlXSxcbiAgZXhwb3J0czogW0FwcFNoZWxsQ29tcG9uZW50XSxcbn0pXG5leHBvcnQgY2xhc3MgQXBwU2hlbGxNb2R1bGUge31cbiJdfQ==
@@ -1,6 +0,0 @@
1
- // Copyright 2023 UDSM DHIS2 Lab. All rights reserved.
2
- // Use of this source code is governed by a BSD-style
3
- // license that can be found in the LICENSE file.
4
- export * from './app-shell.component';
5
- export * from './app-shell.module';
6
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9uZy1kaGlzMi11aS9zcmMvbGliL21vZHVsZXMvYXBwLXNoZWxsL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHNEQUFzRDtBQUN0RCxxREFBcUQ7QUFDckQsaURBQWlEO0FBQ2pELGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vIENvcHlyaWdodCAyMDIzIFVEU00gREhJUzIgTGFiLiBBbGwgcmlnaHRzIHJlc2VydmVkLlxuLy8gVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYSBCU0Qtc3R5bGVcbi8vIGxpY2Vuc2UgdGhhdCBjYW4gYmUgZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZS5cbmV4cG9ydCAqIGZyb20gJy4vYXBwLXNoZWxsLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2FwcC1zaGVsbC5tb2R1bGUnO1xuIl19