{"version":3,"sources":["webpack:///./src/resources/index.ts","webpack:///./src/resources/input-number/input-number.ts","webpack:///./src/resources/input-number/input-number.html","webpack:///./src/resources/library-this-period/library-this-period.ts","webpack:///./src/resources/library-this-period/library-this-period.html","webpack:///./src/resources/member-data-this-period/member-data-this-period.ts","webpack:///./src/resources/member-data-this-period/member-data-this-period.html","webpack:///./src/resources/money-selector/money-selector.ts","webpack:///./src/resources/money-selector/money-selector.html","webpack:///./src/resources/multi-parent-selector/multi-parent-selector.ts","webpack:///./src/resources/multi-parent-selector/multi-parent-selector.html","webpack:///./src/resources/numeric-only-attribute/numeric-only-attribute.ts","webpack:///./src/resources/organization-role-type-selector/organization-role-type-selector.ts","webpack:///./src/resources/organization-role-type-selector/organization-role-type-selector.html","webpack:///./src/resources/organization-selector/organization-selector.ts","webpack:///./src/resources/organization-selector/organization-selector.html","webpack:///./src/resources/organization-type-selector/organization-type-selector.ts","webpack:///./src/resources/organization-type-selector/organization-type-selector.html","webpack:///./src/resources/output-number/output-number.ts","webpack:///./src/resources/output-number/output-number.html","webpack:///./src/resources/grid/grid.ts"],"names":["configure","config","globalResources","ownGeneratedData","autoGenerated","this","generated","undefined","defaultBindingMode","twoWay","oneWay","InputNumberCustomElement","module","exports","getProps","dto","lastPeriod","increased","decreased","libraryStockDataChanged","newValue","oldValue","initialData","latestData","libraryStockData","JSON","stringify","thisPeriod","newThisPeriod","LibraryThisPeriod","attached","stalePeriod","tooltip","title","memberDataChanged","memberData","MemberDataThisPeriod","currencyOptions","Object","keys","filter","c","map","id","description","sort","a","b","MoneySelectorCustomElement","availableParents","selectedParents","selectedParentId","isValid","validationMessage","isLoading","addParent","selectedId","Number","currentOrganizationId","some","parent","parentToAdd","find","push","removeParent","parentId","index","findIndex","splice","validate","length","selected","MultiParentSelector","element","onKeyDown","e","cancelable","numericRegex","test","key","preventDefault","NumericOnlyCustomAttribute","addEventListener","detached","removeEventListener","RegExp","Element","roleTypeOptions","Admin","name","User","OrganizationRoleTypeSelectorCustomElement","organizationService","organizations","myorganizations","then","orgs","forEach","o","OrganizationSelectorCustomElement","typeOptions","Central","State","Zone","Unit","OrganizationTypeSelectorCustomElement","OutputNumberCustomElement","searchTerms","searchFunc","mapFunc","isSearching","items","nodatafound","search","loadPage","page","searchResult"],"mappings":"yGAAA,sEAEO,SAASA,EAAUC,GACxBA,EAAOC,gBAAgB,CAAC,kBACxBD,EAAOC,gBAAgB,CAAC,gEACxBD,EAAOC,gBAAgB,CAAC,sDACxBD,EAAOC,gBAAgB,CAAC,kDACxBD,EAAOC,gBAAgB,CAAC,4DACxBD,EAAOC,gBAAgB,CAAC,sEACxBD,EAAOC,gBAAgB,CAAC,oDACxBD,EAAOC,gBAAgB,CAAC,kDACxBD,EAAOC,gBAAgB,CAAC,oCACxBD,EAAOC,gBAAgB,CAAC,gCACxBD,EAAOC,gBAAgB,CAAC,kCACxBD,EAAOC,gBAAgB,CAAC,8CACxBD,EAAOC,gBAAgB,CAAC,4CACxBD,EAAOC,gBAAgB,CAAC,sDACxBD,EAAOC,gBAAgB,CAAC,wDACxBD,EAAOC,gBAAgB,CAAC,qDACxBD,EAAOC,gBAAgB,CAAC,wDACxBD,EAAOC,gBAAgB,CAAC,4DACxBD,EAAOC,gBAAgB,CAAC,mDACxBD,EAAOC,gBAAgB,CAAC,sDACxBD,EAAOC,gBAAgB,CAAC,kDACxBD,EAAOC,gBAAgB,CAAC,iDACxBD,EAAOC,gBAAgB,CAAC,mDACxBD,EAAOC,gBAAgB,CAAC,mDACxBD,EAAOC,gBAAgB,CAAC,2CACxBD,EAAOC,gBAAgB,CAAC,8DACxBD,EAAOC,gBAAgB,CAAC,oDACxBD,EAAOC,gBAAgB,CAAC,oDACxBD,EAAOC,gBAAgB,CAAC,sDACxBD,EAAOC,gBAAgB,CAAC,4EACxBD,EAAOC,gBAAgB,CAAC,4CACxBD,EAAOC,gBAAgB,CAAC,0CACxBD,EAAOC,gBAAgB,CAAC,sCAKxBD,EAAOC,gBAAgB,CAAC,sDAC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B,GADrC,KACYA,GAAb,I,2DCHA9F,EAAOC,QAAU,4Y,y3CCGjB,EAKI,SACW8F,EACAC,EACAC,GAHX,WACW,KAAAF,cACA,KAAAC,aACA,KAAAC,UAPX,KAAAC,aAAc,EACd,KAAAC,MAAa,GAEb,KAAAC,aAAc,EAMd,KAAAC,OAAS,SAAOC,GAAiB,oC,8DAGT,OAFpB7G,KAAKyG,aAAc,EACnBzG,KAAKsG,YAAYQ,KAAOD,GAAY7G,KAAKsG,YAAYQ,KACrD,EAAA9G,KAAoB,GAAMA,KAAKuG,WAAWvG,KAAKsG,c,cAA/C,EAAKS,aAAe,SACpB/G,KAAK2G,YAAgD,GAAlC3G,KAAK+G,aAAaL,MAAMzC,OAC3CjE,KAAK0G,MAAM3C,OAAO,EAAG/D,KAAK0G,MAAMzC,QAChCjE,KAAK+G,aAAaL,MAAMd,QAAQ,SAAAC,GAAK,SAAKa,MAAMhD,KAAK,EAAK8C,QAAQX,MAClE7F,KAAKyG,aAAc,E","file":"app~bdd01682.0109475b918347fa0f78.chunk.js","sourcesContent":["import {FrameworkConfiguration, PLATFORM} from 'aurelia-framework';\r\n\r\nexport function configure(config: FrameworkConfiguration) {\r\n config.globalResources([PLATFORM.moduleName(\"./pager/pager\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./reporting-frequency-selector/reporting-frequency-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./reporting-term-selector/reporting-term-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./organization-selector/organization-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./organization-type-selector/organization-type-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./organization-role-type-selector/organization-role-type-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./report-status-selector/report-status-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./multi-parent-selector/multi-parent-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./money-selector/money-selector\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./input-number/input-number\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./output-number/output-number\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./library-this-period/library-this-period\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/NumberValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/OrganizationTypeValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportingFrequencyValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportingPeriodValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ConvertToLocalDateValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ConvertToLocalDateOnlyValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportingTermValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportPlanStatusValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportStatusValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/CanEditPlanValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/CanViewReportValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/CanEditReportValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/MoneyValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./value-converters/ReportingPeriodViewModelValueConverter\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./numeric-only-attribute/numeric-only-attribute\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./decimal-only-attribute/decimal-only-attribute\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./member-data-this-period/member-data-this-period\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-organization-data-this-period/unit-organization-data-this-period\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./plan-report-header/plan-report-header\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./plan-report-shell/plan-report-shell\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./dashboard-chart/dashboard-chart\")]);\r\n \r\n \r\n // Plan\r\n // config.globalResources([PLATFORM.moduleName(\"./plan-manpower-view/plan-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-manpower-view/unit-plan-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-manpower-view/zone-plan-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-manpower-view/state-plan-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-manpower-view/central-plan-manpower-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-manpower-edit/plan-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-manpower-edit/unit-plan-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-manpower-edit/zone-plan-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-manpower-edit/state-plan-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-manpower-edit/central-plan-manpower-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-unit-organization-view/plan-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-unit-organization-view/zone-plan-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-unit-organization-view/state-plan-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-unit-organization-view/central-plan-unit-organization-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-unit-organization-edit/plan-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-unit-organization-edit/zone-plan-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-unit-organization-edit/state-plan-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-unit-organization-edit/central-plan-unit-organization-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./plan-regular-meetings-view/plan-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-regular-meetings-view/unit-plan-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-regular-meetings-view/zone-plan-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-regular-meetings-view/state-plan-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-regular-meetings-view/central-plan-regular-meetings-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-regular-meetings-edit/plan-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-regular-meetings-edit/unit-plan-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-regular-meetings-edit/zone-plan-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-regular-meetings-edit/state-plan-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-regular-meetings-edit/central-plan-regular-meetings-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-teaching-view/plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-teaching-view/unit-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-teaching-view/zone-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-teaching-view/state-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-teaching-view/central-plan-teaching-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-teaching-edit/plan-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-teaching-edit/unit-plan-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-teaching-edit/zone-plan-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-teaching-edit/state-plan-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-teaching-edit/central-plan-teaching-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./plan-teaching-view/plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-teaching-view/unit-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-teaching-view/zone-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-teaching-view/state-plan-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-teaching-view/central-plan-teaching-view\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./plan-socialwelfare-view/plan-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-socialwelfare-view/unit-plan-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-socialwelfare-view/zone-plan-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-socialwelfare-view/state-plan-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-socialwelfare-view/central-plan-socialwelfare-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-socialwelfare-edit/plan-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-socialwelfare-edit/unit-plan-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-socialwelfare-edit/zone-plan-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-socialwelfare-edit/state-plan-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-socialwelfare-edit/central-plan-socialwelfare-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-dawah-view/plan-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-dawah-view/unit-plan-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-dawah-view/zone-plan-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-dawah-view/state-plan-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-dawah-view/central-plan-dawah-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-dawah-edit/plan-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-dawah-edit/unit-plan-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-dawah-edit/zone-plan-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-dawah-edit/state-plan-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-dawah-edit/central-plan-dawah-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./plan-material-edit/plan-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-material-edit/unit-plan-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-material-edit/zone-plan-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-material-edit/state-plan-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-material-edit/central-plan-material-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-finance-view/plan-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-finance-view/unit-plan-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-finance-view/zone-plan-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-finance-view/state-plan-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-finance-view/central-plan-finance-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./plan-finance-edit/plan-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-plan-finance-edit/unit-plan-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-plan-finance-edit/zone-plan-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-plan-finance-edit/state-plan-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-plan-finance-edit/central-plan-finance-edit\")]);\r\n \r\n \r\n // Report\r\n // config.globalResources([PLATFORM.moduleName(\"./report-manpower-view/report-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-manpower-view/unit-report-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-manpower-view/zone-report-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-manpower-view/state-report-manpower-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-manpower-view/central-report-manpower-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-manpower-edit/report-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-manpower-edit/unit-report-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-manpower-edit/zone-report-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-manpower-edit/state-report-manpower-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-manpower-edit/central-report-manpower-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-unit-organization-view/report-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-unit-organization-view/zone-report-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-unit-organization-view/state-report-unit-organization-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-unit-organization-view/central-report-unit-organization-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-unit-organization-edit/report-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-unit-organization-edit/zone-report-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-unit-organization-edit/state-report-unit-organization-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-unit-organization-edit/central-report-unit-organization-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./report-regular-meetings-view/report-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-regular-meetings-view/unit-report-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-regular-meetings-view/zone-report-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-regular-meetings-view/state-report-regular-meetings-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-regular-meetings-view/central-report-regular-meetings-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-regular-meetings-edit/report-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-regular-meetings-edit/unit-report-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-regular-meetings-edit/zone-report-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-regular-meetings-edit/state-report-regular-meetings-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-regular-meetings-edit/central-report-regular-meetings-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-teaching-view/report-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-teaching-view/unit-report-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-teaching-view/zone-report-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-teaching-view/state-report-teaching-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-teaching-view/central-report-teaching-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-teaching-edit/report-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-teaching-edit/unit-report-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-teaching-edit/zone-report-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-teaching-edit/state-report-teaching-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-teaching-edit/central-report-teaching-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./report-dawah-view/report-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-dawah-view/unit-report-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-dawah-view/zone-report-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-dawah-view/state-report-dawah-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-dawah-view/central-report-dawah-view\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./report-dawah-edit/report-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-dawah-edit/unit-report-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-dawah-edit/zone-report-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-dawah-edit/state-report-dawah-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-dawah-edit/central-report-dawah-edit\")]);\r\n\r\n // config.globalResources([PLATFORM.moduleName(\"./report-socialwelfare-view/report-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-socialwelfare-view/unit-report-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-socialwelfare-view/zone-report-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-socialwelfare-view/state-report-socialwelfare-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-socialwelfare-view/central-report-socialwelfare-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-socialwelfare-edit/report-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-socialwelfare-edit/unit-report-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-socialwelfare-edit/zone-report-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-socialwelfare-edit/state-report-socialwelfare-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-socialwelfare-edit/central-report-socialwelfare-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-material-view/report-material-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-material-view/unit-report-material-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-material-view/zone-report-material-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-material-view/state-report-material-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-material-view/central-report-material-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-material-edit/report-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-material-edit/unit-report-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-material-edit/zone-report-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-material-edit/state-report-material-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-material-edit/central-report-material-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-library-view/report-library-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-library-view/unit-report-library-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-library-view/zone-report-library-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-library-view/state-report-library-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-library-view/central-report-library-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-library-edit/report-library-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-library-edit/unit-report-library-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-library-edit/zone-report-library-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-library-edit/state-report-library-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-library-edit/central-report-library-edit\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-finance-view/report-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-finance-view/unit-report-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-finance-view/zone-report-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-finance-view/state-report-finance-view\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-finance-view/central-report-finance-view\")]);\r\n \r\n // config.globalResources([PLATFORM.moduleName(\"./report-finance-edit/report-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-report-finance-edit/unit-report-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./zone-report-finance-edit/zone-report-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./state-report-finance-edit/state-report-finance-edit\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./central-report-finance-edit/central-report-finance-edit\")]);\r\n \r\n \r\n config.globalResources([PLATFORM.moduleName(\"./finance-balance/finance-balance\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./unit-finance-nisab/unit-finance-nisab\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./finance-worker-promise-this-period/finance-worker-promise-this-period\")]);\r\n config.globalResources([PLATFORM.moduleName(\"./reporting-period-selector/reporting-period-selector\")]);\r\n config.globalResources([\r\n PLATFORM.moduleName(\"./report-manpower-lastperiod-edit/report-manpower-lastperiod-edit\"),\r\n PLATFORM.moduleName(\"./zone-report-unit-organization-lastperiod-edit/zone-report-unit-organization-lastperiod-edit\"),\r\n PLATFORM.moduleName(\"./state-report-unit-organization-lastperiod-edit/state-report-unit-organization-lastperiod-edit\"),\r\n PLATFORM.moduleName(\"./central-report-unit-organization-lastperiod-edit/central-report-unit-organization-lastperiod-edit\"),\r\n PLATFORM.moduleName(\"./report-finance-lastperiod-edit/report-finance-lastperiod-edit\"),\r\n PLATFORM.moduleName(\"./report-library-lastperiod-edit/report-library-lastperiod-edit\")\r\n ]);\r\n}\r\n","import { containerless, bindable, bindingMode } from \"aurelia-framework\";\r\n\r\n@containerless\r\nexport class InputNumberCustomElement {\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) inputNumber: number;\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) generated: number;\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) ownGeneratedData: number = null;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) autoGenerated: number = null;\r\n\r\n get hasGenerated() {\r\n if (this.generated === null || this.generated === undefined) return false;\r\n return true;\r\n }\r\n\r\n get isOwnGeneratedData() {\r\n if (this.ownGeneratedData === null || this.ownGeneratedData === undefined) return false;\r\n return true;\r\n }\r\n}\r\n","module.exports = \"\\r\\n\";","import { bindable, bindingMode, containerless } from \"aurelia-framework\";\r\nimport { LibraryStockData } from \"models/LibraryStockData\";\r\n\r\ntype props = {\r\n lastPeriod: number,\r\n increased: number,\r\n decreased: number\r\n};\r\n\r\n@containerless\r\nexport class LibraryThisPeriod {\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) libraryStockData: LibraryStockData;\r\n initialData: props;\r\n\r\n getProps(dto: LibraryStockData) {\r\n const propsData: props = {\r\n lastPeriod: dto.lastPeriod,\r\n increased: dto.increased,\r\n decreased: dto.decreased\r\n };\r\n return propsData;\r\n }\r\n\r\n libraryStockDataChanged(newValue: LibraryStockData, oldValue: LibraryStockData) {\r\n this.initialData = this.getProps(newValue);\r\n }\r\n\r\n get isDirty() {\r\n const latestData: props = this.getProps(this.libraryStockData);\r\n return JSON.stringify(this.initialData) !== JSON.stringify(latestData) && this.libraryStockData.thisPeriod != this.newThisPeriod;\r\n }\r\n \r\n get newThisPeriod() {\r\n const newValue = this.libraryStockData.lastPeriod + this.libraryStockData.increased - this.libraryStockData.decreased;\r\n return newValue < 0 ? 0 : newValue;\r\n }\r\n}","module.exports = \"\";","import { bindable, bindingMode, computedFrom, containerless } from \"aurelia-framework\";\r\nimport $ from \"jquery\";\r\nimport { MemberData } from \"models/MemberData\";\r\n\r\ntype props = {\r\n lastPeriod: number,\r\n increased: number,\r\n decreased: number\r\n};\r\n\r\n@containerless\r\nexport class MemberDataThisPeriod {\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) memberData: MemberData;\r\n initialData: props;\r\n stalePeriod: HTMLElement;\r\n\r\n attached() {\r\n ($(this.stalePeriod) as any).tooltip({\r\n title: \"updated on save\"\r\n });\r\n }\r\n\r\n getProps(dto: MemberData) {\r\n const propsData: props = {\r\n lastPeriod: dto.lastPeriod,\r\n increased: dto.increased,\r\n decreased: dto.decreased\r\n };\r\n return propsData;\r\n }\r\n memberDataChanged(newValue: MemberData, oldValue: MemberData) {\r\n this.initialData = this.getProps(newValue);\r\n }\r\n\r\n get isDirty() {\r\n const latestData: props = this.getProps(this.memberData);\r\n return JSON.stringify(this.initialData) !== JSON.stringify(latestData) && this.memberData.thisPeriod != this.newThisPeriod;\r\n }\r\n\r\n get newThisPeriod() {\r\n const newValue = this.memberData.lastPeriod + this.memberData.increased - this.memberData.decreased;\r\n return newValue < 0 ? 0 : newValue;\r\n }\r\n}","module.exports = \"\";","import { bindable, bindingMode, containerless } from \"aurelia-framework\";\r\nimport { Money } from \"models/Money\";\r\nimport { Currency } from \"models/Currency\";\r\n\r\n@containerless\r\nexport class MoneySelectorCustomElement {\r\n currencyOptions = Object.keys(Currency)\r\n .filter(c => typeof Currency[c] === \"number\")\r\n .map(c => {\r\n return { \r\n id: Currency[c],\r\n description: c\r\n };\r\n })\r\n .sort((a, b) => {\r\n if(a.description < b.description) return -1;\r\n if(a.description > b.description)return 1;\r\n return 0;\r\n });\r\n\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) money: Money;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) generated: Money;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) autoGenerated: number = null;\r\n}\r\n","module.exports = \"\";","import { customElement, bindable, bindingMode } from 'aurelia-framework';\r\nimport { EntityReference } from '../../models/EntityReference';\r\n\r\n/**\r\n * MultiParentSelector Custom Element\r\n *\r\n * A custom element that allows selecting multiple parent organizations with validation.\r\n * Prevents duplicate selections, self-references, and ensures at least one parent is selected.\r\n */\r\n@customElement('multi-parent-selector')\r\nexport class MultiParentSelector {\r\n /**\r\n * List of available parent organizations to choose from\r\n */\r\n @bindable availableParents: EntityReference[] = [];\r\n\r\n /**\r\n * List of currently selected parent organizations (two-way bindable)\r\n */\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) selectedParents: EntityReference[] = [];\r\n\r\n /**\r\n * ID of the current organization (used to prevent self-reference)\r\n */\r\n @bindable currentOrganizationId?: number;\r\n\r\n /**\r\n * Currently selected parent ID in the dropdown\r\n */\r\n selectedParentId: number | null = null;\r\n\r\n /**\r\n * Validation state\r\n */\r\n isValid: boolean = true;\r\n\r\n /**\r\n * Validation error message\r\n */\r\n validationMessage: string = '';\r\n\r\n /**\r\n * Loading state for async operations\r\n */\r\n @bindable isLoading: boolean = false;\r\n\r\n /**\r\n * Adds a selected parent to the list of selected parents\r\n * Validates before adding to prevent duplicates and self-references\r\n */\r\n addParent(): void {\r\n // Clear any previous validation messages\r\n this.isValid = true;\r\n this.validationMessage = '';\r\n\r\n // Validate that a parent is selected\r\n if (!this.selectedParentId) {\r\n this.isValid = false;\r\n this.validationMessage = 'Please select a parent organization.';\r\n return;\r\n }\r\n\r\n // Aurelia 1 select binding can return a string from the DOM; normalise to number for comparisons\r\n const selectedId = Number(this.selectedParentId);\r\n\r\n // Validate against self-reference\r\n if (this.currentOrganizationId && selectedId === this.currentOrganizationId) {\r\n this.isValid = false;\r\n this.validationMessage = 'Cannot select the current organization as its own parent.';\r\n return;\r\n }\r\n\r\n // Check for duplicate parents\r\n const isDuplicate = this.selectedParents.some(parent => parent.id === selectedId);\r\n if (isDuplicate) {\r\n this.isValid = false;\r\n this.validationMessage = 'This parent organization has already been selected.';\r\n return;\r\n }\r\n\r\n // Find the parent in the available parents list\r\n const parentToAdd = this.availableParents.find(parent => parent.id === selectedId);\r\n\r\n if (!parentToAdd) {\r\n this.isValid = false;\r\n this.validationMessage = 'Selected parent organization not found.';\r\n return;\r\n }\r\n\r\n // Add the parent to the selected parents list\r\n this.selectedParents.push(parentToAdd);\r\n\r\n // Clear the dropdown selection\r\n this.selectedParentId = null;\r\n }\r\n\r\n /**\r\n * Removes a parent from the list of selected parents\r\n * @param parentId - The ID of the parent to remove\r\n */\r\n removeParent(parentId: number): void {\r\n // Clear any validation messages\r\n this.isValid = true;\r\n this.validationMessage = '';\r\n\r\n // Find and remove the parent\r\n const index = this.selectedParents.findIndex(parent => parent.id === parentId);\r\n if (index !== -1) {\r\n this.selectedParents.splice(index, 1);\r\n }\r\n }\r\n\r\n /**\r\n * Validates the current state of selected parents\r\n * @returns true if valid, false otherwise\r\n */\r\n validate(): boolean {\r\n this.isValid = true;\r\n this.validationMessage = '';\r\n\r\n // Ensure at least one parent is selected\r\n if (this.selectedParents.length === 0) {\r\n this.isValid = false;\r\n this.validationMessage = 'At least one parent organization must be selected.';\r\n return false;\r\n }\r\n\r\n return true;\r\n }\r\n\r\n /**\r\n * Gets the list of available parents excluding already selected ones\r\n */\r\n get filteredAvailableParents(): EntityReference[] {\r\n if (!this.availableParents) {\r\n return [];\r\n }\r\n\r\n return this.availableParents.filter(parent => {\r\n // Exclude self-reference\r\n if (this.currentOrganizationId && parent.id === this.currentOrganizationId) {\r\n return false;\r\n }\r\n\r\n // Exclude already selected parents\r\n const isAlreadySelected = this.selectedParents.some(selected => selected.id === parent.id);\r\n return !isAlreadySelected;\r\n });\r\n }\r\n}\r\n","module.exports = \"\\r\\n\";","import { inject } from \"aurelia-framework\";\r\n\r\n@inject(Element)\r\nexport class NumericOnlyCustomAttribute {\r\n constructor(public element: Element) {}\r\n\r\n attached() {\r\n this.element.addEventListener(\"keydown\", this.onKeyDown, false);\r\n }\r\n\r\n detached() {\r\n this.element.removeEventListener(\"keydown\", this.onKeyDown);\r\n }\r\n\r\n static numericRegex = new RegExp(/[0-9]|Backspace|Delete|Home|End|ArrowLeft|ArrowRight|Tab/);\r\n\r\n onKeyDown = (e: KeyboardEvent) => {\r\n //console.log([e.key, NumericOnlyCustomAttribute.numericRegex.test(e.key), e]);\r\n if(e.cancelable && !NumericOnlyCustomAttribute.numericRegex.test(e.key)){\r\n e.preventDefault();\r\n }\r\n }\r\n}\r\n","import { containerless, bindable, bindingMode } from \"aurelia-framework\";\r\nimport { OrganizationRoleType } from \"models/OrganizationRoleType\";\r\n\r\n@containerless\r\nexport class OrganizationRoleTypeSelectorCustomElement {\r\n roleTypeOptions = [\r\n { id: OrganizationRoleType.Admin, name: \"Admin\" },\r\n { id: OrganizationRoleType.User, name: \"User\" },\r\n\r\n ];\r\n\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) excludeChooseOption: boolean;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) selectedRoleType: OrganizationRoleType;\r\n}\r\n","module.exports = \"\\r\\n\";","import { containerless, bindable, bindingMode } from \"aurelia-framework\";\r\nimport { OrganizationReference } from \"models/OrganizationReference\";\r\nimport { OrganizationService } from \"services/OrganizationService\";\r\nimport { OrganizationViewModelDto } from \"models/OrganizationViewModelDto\";\r\n\r\n@containerless\r\nexport class OrganizationSelectorCustomElement{\r\n organizations:OrganizationViewModelDto[] = [];\r\n constructor(public organizationService: OrganizationService){\r\n this.organizationService.myorganizations().then(orgs => { \r\n orgs.forEach(o => this.organizations.push(o));\r\n });\r\n }\r\n\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) excludeChooseOption: boolean;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) selectedOrganization: OrganizationReference;\r\n}\r\n","module.exports = \"\\r\\n\";","import { containerless, bindable, bindingMode } from \"aurelia-framework\";\r\nimport { OrganizationType } from \"models/OrganizationType\";\r\n\r\n@containerless\r\nexport class OrganizationTypeSelectorCustomElement{\r\n typeOptions = [\r\n { id: OrganizationType.Central, name: \"Central\"},\r\n { id: OrganizationType.State, name: \"State\"},\r\n { id: OrganizationType.Zone, name: \"Zone\"},\r\n { id: OrganizationType.Unit, name: \"Unit\"}\r\n ];\r\n\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) excludeChooseOption: boolean;\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) selectedType: OrganizationType;\r\n}\r\n","module.exports = \"\\r\\n\";","import { containerless, bindable, bindingMode } from \"aurelia-framework\";\r\n\r\n@containerless\r\nexport class OutputNumberCustomElement {\r\n @bindable({ defaultBindingMode: bindingMode.twoWay }) outputNumber: number;\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) generated: number;\r\n @bindable({ defaultBindingMode: bindingMode.oneWay }) ownGeneratedData: number = null;\r\n\r\n get hasGenerated() {\r\n if (this.generated === null || this.generated === undefined) return false;\r\n return true;\r\n }\r\n\r\n get isOwnGeneratedData() {\r\n if (this.ownGeneratedData === null || this.ownGeneratedData === undefined) return false;\r\n return true;\r\n }\r\n}\r\n","module.exports = \"\\r\\n\";","import { SearchResult } from \"models/SearchResult\";\r\nimport { PagedSearchTerms } from \"models/PagedSearchTerms\";\r\n\r\nexport class Grid {\r\n isSearching = false;\r\n items: U[] = [];\r\n searchResult: SearchResult;\r\n nodatafound = false;\r\n constructor(\r\n public searchTerms: PagedSearchTerms,\r\n public searchFunc: (p: PagedSearchTerms) => Promise>,\r\n public mapFunc: (t: T) => U){}\r\n\r\n search = async (loadPage?: number) => {\r\n this.isSearching = true;\r\n this.searchTerms.page = loadPage || this.searchTerms.page;\r\n this.searchResult = await this.searchFunc(this.searchTerms);\r\n this.nodatafound = this.searchResult.items.length == 0;\r\n this.items.splice(0, this.items.length);\r\n this.searchResult.items.forEach(o => this.items.push(this.mapFunc(o)));\r\n this.isSearching = false;\r\n }\r\n}"],"sourceRoot":""}