@iapps/ng-dhis2-ui 1.2.64 → 1.2.68
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 +47 -40
- package/fesm2022/iapps-ng-dhis2-ui.mjs.map +1 -1
- package/lib/modules/form/utils/field-type.util.d.ts +1 -1
- package/lib/modules/form/utils/field.util.d.ts +1 -1
- package/lib/modules/line-list/components/table/filterToolbar.d.ts +1 -1
- package/lib/modules/line-list/containers/line-list.component.d.ts +2 -1
- package/package.json +1 -1
|
@@ -3302,10 +3302,10 @@ const OrgUnitSelector = ({ hide, setHide, selectedOrgUnit, setSelectedOrgUnit, s
|
|
|
3302
3302
|
React__default.createElement(ButtonStrip$1, { end: true },
|
|
3303
3303
|
React__default.createElement(Button$1, { onClick: () => setHide(true), secondary: true }, "Close")))));
|
|
3304
3304
|
|
|
3305
|
-
const FilterToolbar = ({ orgUnitLabel, selectedOrgUnit, setSelectedOrgUnit, setOrgUnitState, defaultOrgUnit, setHide, startDateState, setStartDateState, endDateState, setEndDateState, visibleFilters, dateStates, inputValues, setInputValues, handleInputChange, handleInputChangeForSelectField, handleDateSelect, prevValue, setPrevValue, showAllFilters, setShowAllFilters, handleSearch, setTempStartDateState, setTempEndDateState, setTempOrgUnitState, tempStartDateState, tempEndDateState, tempOrgUnitState, dataQueryFiltersState, setDataQueryFiltersState, }) => (React__default.createElement(DataTableToolbar, { className: "table-top-toolbar" },
|
|
3305
|
+
const FilterToolbar = ({ orgUnitLabel, selectedOrgUnit, setSelectedOrgUnit, setOrgUnitState, defaultOrgUnit, setHide, startDateState, setStartDateState, endDateState, setEndDateState, visibleFilters, dateStates, inputValues, setInputValues, handleInputChange, handleInputChangeForSelectField, handleDateSelect, prevValue, setPrevValue, showAllFilters, setShowAllFilters, handleSearch, setTempStartDateState, setTempEndDateState, setTempOrgUnitState, tempStartDateState, tempEndDateState, tempOrgUnitState, dataQueryFiltersState, setDataQueryFiltersState, SetOrgUnitModalVisible, showEnrollmentDates, }) => (React__default.createElement(DataTableToolbar, { className: "table-top-toolbar" },
|
|
3306
3306
|
React__default.createElement("div", { style: {
|
|
3307
3307
|
display: 'flex',
|
|
3308
|
-
flexDirection: 'column',
|
|
3308
|
+
flexDirection: 'column',
|
|
3309
3309
|
gap: '10px',
|
|
3310
3310
|
flexWrap: 'wrap',
|
|
3311
3311
|
} },
|
|
@@ -3315,27 +3315,31 @@ const FilterToolbar = ({ orgUnitLabel, selectedOrgUnit, setSelectedOrgUnit, setO
|
|
|
3315
3315
|
gap: '10px',
|
|
3316
3316
|
flexWrap: 'wrap',
|
|
3317
3317
|
} },
|
|
3318
|
-
React__default.createElement(InputField$1, { key: "location", label: orgUnitLabel ? orgUnitLabel : 'registering unit:', value: selectedOrgUnit, onFocus: () =>
|
|
3318
|
+
React__default.createElement(InputField$1, { key: "location", label: orgUnitLabel ? orgUnitLabel : 'registering unit:', value: selectedOrgUnit, onFocus: () => {
|
|
3319
|
+
SetOrgUnitModalVisible(true);
|
|
3320
|
+
setHide(false);
|
|
3321
|
+
}, className: "custom-input", clearable: true, onChange: (event) => {
|
|
3319
3322
|
setSelectedOrgUnit(event.value);
|
|
3320
3323
|
setOrgUnitState(defaultOrgUnit);
|
|
3321
3324
|
} }),
|
|
3322
|
-
React__default.createElement(
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3325
|
+
showEnrollmentDates && (React__default.createElement(React__default.Fragment, null,
|
|
3326
|
+
React__default.createElement(CalendarInput, { label: "Start date:", calendar: "gregory", locale: "en-GB", timeZone: "Africa/Dar_es_Salaam", className: "custom-input",
|
|
3327
|
+
//clearable={!!tempStartDateState}
|
|
3328
|
+
//date={tempStartDateState || undefined}
|
|
3329
|
+
//date={tempStartDateState || "yyyy-mm-dd"}
|
|
3330
|
+
clearable: !!tempStartDateState && tempStartDateState !== 'yyyy-mm-dd', date: tempStartDateState || 'yyyy-mm-dd', onDateSelect: (selectedDate) => {
|
|
3331
|
+
setTempStartDateState(selectedDate.calendarDateString);
|
|
3332
|
+
console.log('selectedDate', selectedDate);
|
|
3333
|
+
if (selectedDate.calendarDateString === null) {
|
|
3334
|
+
setStartDateState(selectedDate.calendarDateString);
|
|
3335
|
+
}
|
|
3336
|
+
} }),
|
|
3337
|
+
React__default.createElement(CalendarInput, { label: "End date:", calendar: "gregory", locale: "en-GB", timeZone: "Africa/Dar_es_Salaam", className: "custom-input", clearable: !!tempEndDateState && tempEndDateState !== 'yyyy-mm-dd', date: tempEndDateState || 'yyyy-mm-dd', onDateSelect: (selectedDate) => {
|
|
3338
|
+
setTempEndDateState(selectedDate.calendarDateString);
|
|
3339
|
+
if (selectedDate.calendarDateString === null) {
|
|
3340
|
+
setEndDateState(selectedDate.calendarDateString);
|
|
3341
|
+
}
|
|
3342
|
+
} }))),
|
|
3339
3343
|
React__default.createElement(Button$1, { onClick: handleSearch }, "Search"),
|
|
3340
3344
|
React__default.createElement(Button$1, { onClick: () => setShowAllFilters(!showAllFilters) }, showAllFilters ? 'Less Filters' : 'More Filters')),
|
|
3341
3345
|
visibleFilters?.length > 0 && (React__default.createElement("div", { style: {
|
|
@@ -4179,6 +4183,7 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4179
4183
|
this.actionSelected = new EventEmitter();
|
|
4180
4184
|
this.rowsSelected = new EventEmitter();
|
|
4181
4185
|
this.showActionButtons = true;
|
|
4186
|
+
this.showEnrollmentDates = true;
|
|
4182
4187
|
this.reactStateUpdaters = null;
|
|
4183
4188
|
this.setReactStateUpdaters = (updaters) => {
|
|
4184
4189
|
this.reactStateUpdaters = updaters;
|
|
@@ -4226,8 +4231,9 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4226
4231
|
const [selectable, setSelectable] = useState(this.allowRowsSelection);
|
|
4227
4232
|
const [triggerRefetch, setTriggerRefetch] = useState(this.triggerRefetch);
|
|
4228
4233
|
const [showActionButtons, setShowActionButtons] = useState(this.showActionButtons);
|
|
4234
|
+
const [orgUnitModalVisible, setOrgUnitModalVisible] = useState(false);
|
|
4229
4235
|
const d2 = window.d2Web;
|
|
4230
|
-
//
|
|
4236
|
+
// Stores updaters in refs for Angular to access
|
|
4231
4237
|
const updateRefs = useRef({
|
|
4232
4238
|
setProgramIdState,
|
|
4233
4239
|
setOrgUnitState,
|
|
@@ -4317,11 +4323,13 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4317
4323
|
? response.data
|
|
4318
4324
|
: [response.data];
|
|
4319
4325
|
const orgUnitIdsFromEnrollments = new Set(trackedEntityInstances.map((tei) => tei.latestEnrollment.orgUnit));
|
|
4320
|
-
const orgUnitsFromAttributes = new Set(trackedEntityInstances
|
|
4321
|
-
.flatMap((tei) => tei.attributes
|
|
4326
|
+
const orgUnitsFromAttributes = new Set(trackedEntityInstances.flatMap((tei) => tei.attributes
|
|
4322
4327
|
?.filter((attr) => attr.valueType === 'ORGANISATION_UNIT')
|
|
4323
4328
|
.map((attr) => attr.value) || []));
|
|
4324
|
-
const uniqueOrgUnitIds = [
|
|
4329
|
+
const uniqueOrgUnitIds = [
|
|
4330
|
+
...orgUnitIdsFromEnrollments,
|
|
4331
|
+
...orgUnitsFromAttributes,
|
|
4332
|
+
];
|
|
4325
4333
|
this.lineListService.fetchOrgUnits(uniqueOrgUnitIds).subscribe({
|
|
4326
4334
|
next: (fetchedOrgUnits) => {
|
|
4327
4335
|
const trackedEntityResponse = {
|
|
@@ -4368,9 +4376,9 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4368
4376
|
[key]: value ?? '',
|
|
4369
4377
|
}));
|
|
4370
4378
|
setTempDataQueryFiltersState((prevFilters) => {
|
|
4371
|
-
//
|
|
4379
|
+
// Removes old filter for this key
|
|
4372
4380
|
const filteredFilters = prevFilters.filter((f) => f.attribute !== key);
|
|
4373
|
-
//
|
|
4381
|
+
// adds new filter only if value is not empty
|
|
4374
4382
|
const updatedFilters = value.trim()
|
|
4375
4383
|
? [
|
|
4376
4384
|
...filteredFilters,
|
|
@@ -4390,9 +4398,9 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4390
4398
|
[key]: value ?? '',
|
|
4391
4399
|
}));
|
|
4392
4400
|
setTempDataQueryFiltersState((prevFilters = []) => {
|
|
4393
|
-
//
|
|
4401
|
+
// Removes existing filter for the same key (attribute)
|
|
4394
4402
|
const filteredFilters = prevFilters.filter((f) => f.attribute !== key);
|
|
4395
|
-
//
|
|
4403
|
+
// adds new filter only if value is not empty
|
|
4396
4404
|
const updatedFilters = value.trim()
|
|
4397
4405
|
? [
|
|
4398
4406
|
...filteredFilters,
|
|
@@ -4407,12 +4415,12 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4407
4415
|
};
|
|
4408
4416
|
const handleDateSelect = (key, selectedDate) => {
|
|
4409
4417
|
const selectedDateString = selectedDate?.calendarDateString ?? '';
|
|
4410
|
-
//
|
|
4418
|
+
// Updates dateStates
|
|
4411
4419
|
setDateStates((prevDateStates) => ({
|
|
4412
4420
|
...prevDateStates,
|
|
4413
4421
|
[key]: selectedDateString,
|
|
4414
4422
|
}));
|
|
4415
|
-
//
|
|
4423
|
+
// Updates dataQueryFilters
|
|
4416
4424
|
setTempDataQueryFiltersState((prevFilters) => {
|
|
4417
4425
|
const filteredFilters = (prevFilters || []).filter((f) => f.attribute !== key);
|
|
4418
4426
|
const updatedFilters = selectedDateString.trim()
|
|
@@ -4430,20 +4438,17 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4430
4438
|
const handleSearch = () => (setDataQueryFiltersState(tempDataQueryFiltersState),
|
|
4431
4439
|
setStartDateState(tempStartDateState),
|
|
4432
4440
|
setEndDateState(tempEndDateState),
|
|
4433
|
-
setOrgUnitState(tempOrgUnitState)
|
|
4434
|
-
// console.log(
|
|
4435
|
-
// 'Search button clicked',)
|
|
4436
|
-
);
|
|
4441
|
+
setOrgUnitState(tempOrgUnitState));
|
|
4437
4442
|
function getTextColorFromBackGround(hex) {
|
|
4438
|
-
//
|
|
4443
|
+
// Removes the hash if present
|
|
4439
4444
|
hex = hex.replace('#', '');
|
|
4440
|
-
//
|
|
4445
|
+
// Converts to RGB
|
|
4441
4446
|
const r = parseInt(hex.substr(0, 2), 16);
|
|
4442
4447
|
const g = parseInt(hex.substr(2, 2), 16);
|
|
4443
4448
|
const b = parseInt(hex.substr(4, 2), 16);
|
|
4444
4449
|
// YIQ formula to calculate brightness
|
|
4445
4450
|
const yiq = (r * 299 + g * 587 + b * 114) / 1000;
|
|
4446
|
-
//
|
|
4451
|
+
// Returns black for light backgrounds, white for dark backgrounds
|
|
4447
4452
|
return yiq >= 128 ? colors$1.grey700 : '#FFFFFF';
|
|
4448
4453
|
}
|
|
4449
4454
|
return (React__default.createElement("div", null, loading ? (React__default.createElement("div", { style: {
|
|
@@ -4456,8 +4461,8 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4456
4461
|
React__default.createElement("div", { style: {
|
|
4457
4462
|
fontSize: 14,
|
|
4458
4463
|
} }, "Loading"))) : (React__default.createElement("div", null,
|
|
4459
|
-
React__default.createElement(OrgUnitSelector, { hide: hide, setHide: setHide, selectedOrgUnit: selectedOrgUnit, setSelectedOrgUnit: setSelectedOrgUnit, setOrgUnitState: setOrgUnitState, setTempOrgUnitState: setTempOrgUnitState, tempOrgUnitState: tempOrgUnitState }),
|
|
4460
|
-
this.showFilters && (React__default.createElement(FilterToolbar, { orgUnitLabel: orgUnitLabel, selectedOrgUnit: selectedOrgUnit, setSelectedOrgUnit: setSelectedOrgUnit, setOrgUnitState: setOrgUnitState, defaultOrgUnit: defaultOrgUnit, setHide: setHide, startDateState: startDateState, setStartDateState: setStartDateState, endDateState: endDateState, setEndDateState: setEndDateState, visibleFilters: visibleFilters, dateStates: dateStates, inputValues: inputValues, setInputValues: setInputValues, handleInputChange: handleInputChange, handleInputChangeForSelectField: handleInputChangeForSelectField, handleDateSelect: handleDateSelect, prevValue: prevValue, setPrevValue: setPrevValue, showAllFilters: showAllFilters, setShowAllFilters: setShowAllFilters, handleSearch: handleSearch, setTempStartDateState: setTempStartDateState, setTempEndDateState: setTempEndDateState, setTempOrgUnitState: setTempOrgUnitState, tempStartDateState: tempStartDateState, tempEndDateState: tempEndDateState, tempOrgUnitState: tempOrgUnitState, dataQueryFiltersState: dataQueryFiltersState, setDataQueryFiltersState: setDataQueryFiltersState })),
|
|
4464
|
+
orgUnitModalVisible && (React__default.createElement(OrgUnitSelector, { hide: hide, setHide: setHide, selectedOrgUnit: selectedOrgUnit, setSelectedOrgUnit: setSelectedOrgUnit, setOrgUnitState: setOrgUnitState, setTempOrgUnitState: setTempOrgUnitState, tempOrgUnitState: tempOrgUnitState })),
|
|
4465
|
+
this.showFilters && (React__default.createElement(FilterToolbar, { orgUnitLabel: orgUnitLabel, selectedOrgUnit: selectedOrgUnit, setSelectedOrgUnit: setSelectedOrgUnit, setOrgUnitState: setOrgUnitState, defaultOrgUnit: defaultOrgUnit, setHide: setHide, startDateState: startDateState, setStartDateState: setStartDateState, endDateState: endDateState, setEndDateState: setEndDateState, visibleFilters: visibleFilters, dateStates: dateStates, inputValues: inputValues, setInputValues: setInputValues, handleInputChange: handleInputChange, handleInputChangeForSelectField: handleInputChangeForSelectField, handleDateSelect: handleDateSelect, prevValue: prevValue, setPrevValue: setPrevValue, showAllFilters: showAllFilters, setShowAllFilters: setShowAllFilters, handleSearch: handleSearch, setTempStartDateState: setTempStartDateState, setTempEndDateState: setTempEndDateState, setTempOrgUnitState: setTempOrgUnitState, tempStartDateState: tempStartDateState, tempEndDateState: tempEndDateState, tempOrgUnitState: tempOrgUnitState, dataQueryFiltersState: dataQueryFiltersState, setDataQueryFiltersState: setDataQueryFiltersState, SetOrgUnitModalVisible: setOrgUnitModalVisible, showEnrollmentDates: this.showEnrollmentDates })),
|
|
4461
4466
|
React__default.createElement(LineListTable, { columns: columns, data: data, pager: pager, setPager: setPager, getTextColorFromBackGround: getTextColorFromBackGround, actionOptions: this.actionOptions, actionOptionOrientation: this.actionOptionOrientation, actionSelected: this.actionSelected, selectable: selectable, rowsSelected: this.rowsSelected, showActionButtons: showActionButtons })))));
|
|
4462
4467
|
};
|
|
4463
4468
|
}
|
|
@@ -4503,7 +4508,7 @@ class LineListTableComponent extends ReactWrapperModule {
|
|
|
4503
4508
|
this.render();
|
|
4504
4509
|
}
|
|
4505
4510
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: LineListTableComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
4506
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: LineListTableComponent, isStandalone: false, selector: "ng-dhis2-ui-line-list", inputs: { programId: "programId", orgUnit: "orgUnit", programStageId: "programStageId", actionOptions: "actionOptions", actionOptionOrientation: "actionOptionOrientation", attributeFilters: "attributeFilters", useOuModeWithOlderDHIS2Instance: "useOuModeWithOlderDHIS2Instance", startDate: "startDate", endDate: "endDate", dataQueryFilters: "dataQueryFilters", ouMode: "ouMode", isButtonLoading: "isButtonLoading", buttonFilter: "buttonFilter", filterRootOrgUnit: "filterRootOrgUnit", showFilters: "showFilters", isOptionSetNameVisible: "isOptionSetNameVisible", allowRowsSelection: "allowRowsSelection", enrollmentStatus: "enrollmentStatus", triggerRefetch: "triggerRefetch", eventStatus: "eventStatus", showActionButtons: "showActionButtons" }, outputs: { actionSelected: "actionSelected", rowsSelected: "rowsSelected" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@charset \"UTF-8\";::ng-deep .custom-input{display:flex!important;gap:4px!important;align-items:center!important;border:1px solid #9fadba!important;border-radius:4px!important;margin:0;padding:0 0 0 8px;background-color:#fff!important}::ng-deep .custom-input div{margin:0!important}::ng-deep .custom-input label{font-size:12px;padding-right:0}::ng-deep .custom-input input{border:none!important;font-size:12px!important;display:flex;align-items:center;padding-left:4px;height:40px;outline:none!important;box-shadow:none!important}::ng-deep .custom-input input:focus{border:none!important;box-shadow:none!important}::ng-deep .custom-input [data-test=calendar-clear-button]{background-color:#f2f2f2!important;color:#870808!important;border-radius:6px!important;padding:4px 10px!important;font-size:0!important}::ng-deep .custom-input [data-test=calendar-clear-button]:before{content:\"\\2715\";font-size:14px;color:#870808}::ng-deep .custom-input [data-test=calendar-clear-button]:hover{background-color:#ddd}::ng-deep .calendar-input-wrapper{position:relative}::ng-deep .calendar-input-wrapper .custom-input{position:relative;width:100%;display:flex;align-items:center}::ng-deep .calendar-input-wrapper [data-test=calendar-clear-button]{right:8px;bottom:14px;margin:auto;display:flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:0!important;background-color:#a0adba!important;border-radius:50%;padding:2px;cursor:pointer}::ng-deep .calendar-input-wrapper [data-test=calendar-clear-button]:before{content:\"\\2715\";font-size:10px;color:#f0f0f0}::ng-deep .calendar-input-wrapper input{padding-right:40px!important;height:40px;line-height:40px;box-sizing:border-box}::ng-deep .custom-input label{color:gray!important;opacity:1}::ng-deep .table-top-toolbar{background-color:var(--colors-grey100)!important;color:var(--colors-grey900)!important}::ng-deep .custom-select-input{display:flex!important;gap:4px!important;align-items:center!important;border:1px solid #9fadba!important;border-radius:4px!important;margin:0;padding:0 0 0 8px;background-color:#fff!important}::ng-deep .custom-select-input div{margin:0!important}::ng-deep .custom-select-input [data-test=dhis2-uiwidgets-singleselectfield-label]{font-size:12px;color:gray!important}::ng-deep .custom-select-input [data-test=dhis2-uicore-select-input]{border:none!important;font-size:12px!important;display:flex;align-items:center;padding-left:4px;height:40px;outline:none!important;box-shadow:none!important}::ng-deep .custom-select-input [data-test=dhis2-uicore-select-input]:focus-within{box-shadow:none!important}::ng-deep .custom-select-input input:focus{border:none!important;box-shadow:none!important}\n"] }); }
|
|
4511
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.1.8", type: LineListTableComponent, isStandalone: false, selector: "ng-dhis2-ui-line-list", inputs: { programId: "programId", orgUnit: "orgUnit", programStageId: "programStageId", actionOptions: "actionOptions", actionOptionOrientation: "actionOptionOrientation", attributeFilters: "attributeFilters", useOuModeWithOlderDHIS2Instance: "useOuModeWithOlderDHIS2Instance", startDate: "startDate", endDate: "endDate", dataQueryFilters: "dataQueryFilters", ouMode: "ouMode", isButtonLoading: "isButtonLoading", buttonFilter: "buttonFilter", filterRootOrgUnit: "filterRootOrgUnit", showFilters: "showFilters", isOptionSetNameVisible: "isOptionSetNameVisible", allowRowsSelection: "allowRowsSelection", enrollmentStatus: "enrollmentStatus", triggerRefetch: "triggerRefetch", eventStatus: "eventStatus", showActionButtons: "showActionButtons", showEnrollmentDates: "showEnrollmentDates" }, outputs: { actionSelected: "actionSelected", rowsSelected: "rowsSelected" }, usesInheritance: true, usesOnChanges: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@charset \"UTF-8\";::ng-deep .custom-input{display:flex!important;gap:4px!important;align-items:center!important;border:1px solid #9fadba!important;border-radius:4px!important;margin:0;padding:0 0 0 8px;background-color:#fff!important}::ng-deep .custom-input div{margin:0!important}::ng-deep .custom-input label{font-size:12px;padding-right:0}::ng-deep .custom-input input{border:none!important;font-size:12px!important;display:flex;align-items:center;padding-left:4px;height:40px;outline:none!important;box-shadow:none!important}::ng-deep .custom-input input:focus{border:none!important;box-shadow:none!important}::ng-deep .custom-input [data-test=calendar-clear-button]{background-color:#f2f2f2!important;color:#870808!important;border-radius:6px!important;padding:4px 10px!important;font-size:0!important}::ng-deep .custom-input [data-test=calendar-clear-button]:before{content:\"\\2715\";font-size:14px;color:#870808}::ng-deep .custom-input [data-test=calendar-clear-button]:hover{background-color:#ddd}::ng-deep .calendar-input-wrapper{position:relative}::ng-deep .calendar-input-wrapper .custom-input{position:relative;width:100%;display:flex;align-items:center}::ng-deep .calendar-input-wrapper [data-test=calendar-clear-button]{right:8px;bottom:14px;margin:auto;display:flex;align-items:center;justify-content:center;width:16px;height:16px;font-size:0!important;background-color:#a0adba!important;border-radius:50%;padding:2px;cursor:pointer}::ng-deep .calendar-input-wrapper [data-test=calendar-clear-button]:before{content:\"\\2715\";font-size:10px;color:#f0f0f0}::ng-deep .calendar-input-wrapper input{padding-right:40px!important;height:40px;line-height:40px;box-sizing:border-box}::ng-deep .custom-input label{color:gray!important;opacity:1}::ng-deep .table-top-toolbar{background-color:var(--colors-grey100)!important;color:var(--colors-grey900)!important}::ng-deep .custom-select-input{display:flex!important;gap:4px!important;align-items:center!important;border:1px solid #9fadba!important;border-radius:4px!important;margin:0;padding:0 0 0 8px;background-color:#fff!important}::ng-deep .custom-select-input div{margin:0!important}::ng-deep .custom-select-input [data-test=dhis2-uiwidgets-singleselectfield-label]{font-size:12px;color:gray!important}::ng-deep .custom-select-input [data-test=dhis2-uicore-select-input]{border:none!important;font-size:12px!important;display:flex;align-items:center;padding-left:4px;height:40px;outline:none!important;box-shadow:none!important}::ng-deep .custom-select-input [data-test=dhis2-uicore-select-input]:focus-within{box-shadow:none!important}::ng-deep .custom-select-input input:focus{border:none!important;box-shadow:none!important}\n"] }); }
|
|
4507
4512
|
}
|
|
4508
4513
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImport: i0, type: LineListTableComponent, decorators: [{
|
|
4509
4514
|
type: Component,
|
|
@@ -4554,6 +4559,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.8", ngImpor
|
|
|
4554
4559
|
type: Output
|
|
4555
4560
|
}], showActionButtons: [{
|
|
4556
4561
|
type: Input
|
|
4562
|
+
}], showEnrollmentDates: [{
|
|
4563
|
+
type: Input
|
|
4557
4564
|
}] } });
|
|
4558
4565
|
|
|
4559
4566
|
class LineListModule {
|