Commit 4534e5920a85b5063fafb7c2056e256a40eb0447
Merge branch 'minhang' of
http://222.66.0.204:8090/panzhaov5/bsth_control into minhang
Showing
48 changed files
with
2316 additions
and
2111 deletions
Too many changes to show.
To preserve performance only 48 of 1652 files are displayed.
src/main/java/com/bsth/controller/schedule/core/SchedulePlanInfoController.java
| 1 | -package com.bsth.controller.schedule.core; | |
| 2 | - | |
| 3 | -import com.bsth.common.ResponseCode; | |
| 4 | -import com.bsth.controller.schedule.BController; | |
| 5 | -import com.bsth.entity.schedule.SchedulePlanInfo; | |
| 6 | -import com.bsth.service.schedule.SchedulePlanInfoService; | |
| 7 | -import org.springframework.beans.factory.annotation.Autowired; | |
| 8 | -import org.springframework.web.bind.annotation.*; | |
| 9 | - | |
| 10 | -import java.util.Date; | |
| 11 | -import java.util.HashMap; | |
| 12 | -import java.util.List; | |
| 13 | -import java.util.Map; | |
| 14 | - | |
| 15 | -/** | |
| 16 | - * Created by xu on 17/5/1. | |
| 17 | - */ | |
| 18 | -@RestController | |
| 19 | -@RequestMapping("spic") | |
| 20 | -public class SchedulePlanInfoController extends BController<SchedulePlanInfo, Long> { | |
| 21 | - @Autowired | |
| 22 | - private SchedulePlanInfoService schedulePlanInfoService; | |
| 23 | - | |
| 24 | - @RequestMapping(value = "/groupextinfos/{xlid}/{date}", method = RequestMethod.GET) | |
| 25 | - public Map<String, Object> findGroupInfoExt( | |
| 26 | - @PathVariable(value = "xlid") Integer xlid, | |
| 27 | - @PathVariable(value = "date") Date scheduleDate) { | |
| 28 | - Map<String, Object> resultMap = new HashMap<>(); | |
| 29 | - try { | |
| 30 | - resultMap.put("status", ResponseCode.SUCCESS); | |
| 31 | - resultMap.put("data", schedulePlanInfoService.findSchedulePlanGroupInfo(xlid, scheduleDate)); | |
| 32 | - | |
| 33 | - } catch (Exception exp) { | |
| 34 | - exp.printStackTrace(); | |
| 35 | - resultMap.put("status", ResponseCode.ERROR); | |
| 36 | - resultMap.put("msg", exp.getLocalizedMessage()); | |
| 37 | - } | |
| 38 | - | |
| 39 | - return resultMap; | |
| 40 | - } | |
| 41 | - | |
| 42 | - | |
| 43 | -// ------------------------ 老版本 ----------------------// | |
| 44 | - @RequestMapping(value = "/groupinfos/{xlid}/{date}", method = RequestMethod.GET) | |
| 45 | - public List<SchedulePlanInfoService.GroupInfo> findGroupInfo( | |
| 46 | - @PathVariable(value = "xlid") Integer xlid, | |
| 47 | - @PathVariable(value = "date") Date scheduleDate) { | |
| 48 | - return schedulePlanInfoService.findGroupInfo(xlid, scheduleDate); | |
| 49 | - } | |
| 50 | - | |
| 51 | - @RequestMapping(value = "/groupinfos/update", method = RequestMethod.POST) | |
| 52 | - public Map<String, Object> updateGroupInfo(@RequestBody SchedulePlanInfoService.GroupInfoUpdate groupInfoUpdate) { | |
| 53 | - Map<String, Object> resultMap = new HashMap<>(); | |
| 54 | - try { | |
| 55 | - schedulePlanInfoService.updateGroupInfo(groupInfoUpdate); | |
| 56 | - | |
| 57 | - resultMap.put("status", ResponseCode.SUCCESS); | |
| 58 | - resultMap.put("msg", "更新成功"); | |
| 59 | - } catch (Exception exp) { | |
| 60 | - exp.printStackTrace(); | |
| 61 | - resultMap.put("status", ResponseCode.ERROR); | |
| 62 | - resultMap.put("msg", exp.getLocalizedMessage()); | |
| 63 | - } | |
| 64 | - | |
| 65 | - return resultMap; | |
| 66 | - } | |
| 67 | -} | |
| 1 | +package com.bsth.controller.schedule.core; | |
| 2 | + | |
| 3 | +import com.bsth.common.ResponseCode; | |
| 4 | +import com.bsth.controller.schedule.BController; | |
| 5 | +import com.bsth.entity.schedule.SchedulePlanInfo; | |
| 6 | +import com.bsth.service.schedule.SchedulePlanInfoService; | |
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | |
| 8 | +import org.springframework.web.bind.annotation.*; | |
| 9 | + | |
| 10 | +import java.util.Date; | |
| 11 | +import java.util.HashMap; | |
| 12 | +import java.util.List; | |
| 13 | +import java.util.Map; | |
| 14 | + | |
| 15 | +/** | |
| 16 | + * Created by xu on 17/5/1. | |
| 17 | + */ | |
| 18 | +@RestController | |
| 19 | +@RequestMapping("spic") | |
| 20 | +public class SchedulePlanInfoController extends BController<SchedulePlanInfo, Long> { | |
| 21 | + @Autowired | |
| 22 | + private SchedulePlanInfoService schedulePlanInfoService; | |
| 23 | + | |
| 24 | + @RequestMapping(value = "/groupextinfos/{xlid}/{date}", method = RequestMethod.GET) | |
| 25 | + public Map<String, Object> findGroupInfoExt( | |
| 26 | + @PathVariable(value = "xlid") Integer xlid, | |
| 27 | + @PathVariable(value = "date") Date scheduleDate) { | |
| 28 | + Map<String, Object> resultMap = new HashMap<>(); | |
| 29 | + try { | |
| 30 | + resultMap.put("status", ResponseCode.SUCCESS); | |
| 31 | + resultMap.put("data", schedulePlanInfoService.findSchedulePlanGroupInfo(xlid, scheduleDate)); | |
| 32 | + | |
| 33 | + } catch (Exception exp) { | |
| 34 | + exp.printStackTrace(); | |
| 35 | + resultMap.put("status", ResponseCode.ERROR); | |
| 36 | + resultMap.put("msg", exp.getLocalizedMessage()); | |
| 37 | + } | |
| 38 | + | |
| 39 | + return resultMap; | |
| 40 | + } | |
| 41 | + | |
| 42 | + | |
| 43 | +// ------------------------ 老版本 ----------------------// | |
| 44 | + @RequestMapping(value = "/groupinfos/{xlid}/{date}", method = RequestMethod.GET) | |
| 45 | + public List<SchedulePlanInfoService.GroupInfo> findGroupInfo( | |
| 46 | + @PathVariable(value = "xlid") Integer xlid, | |
| 47 | + @PathVariable(value = "date") Date scheduleDate) { | |
| 48 | + return schedulePlanInfoService.findGroupInfo(xlid, scheduleDate); | |
| 49 | + } | |
| 50 | + | |
| 51 | + @RequestMapping(value = "/groupinfos/update", method = RequestMethod.POST) | |
| 52 | + public Map<String, Object> updateGroupInfo(@RequestBody SchedulePlanInfoService.GroupInfoUpdate groupInfoUpdate) { | |
| 53 | + Map<String, Object> resultMap = new HashMap<>(); | |
| 54 | + try { | |
| 55 | + schedulePlanInfoService.updateGroupInfo(groupInfoUpdate); | |
| 56 | + | |
| 57 | + resultMap.put("status", ResponseCode.SUCCESS); | |
| 58 | + resultMap.put("msg", "更新成功"); | |
| 59 | + } catch (Exception exp) { | |
| 60 | + exp.printStackTrace(); | |
| 61 | + resultMap.put("status", ResponseCode.ERROR); | |
| 62 | + resultMap.put("msg", exp.getLocalizedMessage()); | |
| 63 | + } | |
| 64 | + | |
| 65 | + return resultMap; | |
| 66 | + } | |
| 67 | +} | ... | ... |
src/main/java/com/bsth/entity/schedule/SchedulePlan.java
| ... | ... | @@ -2,6 +2,7 @@ package com.bsth.entity.schedule; |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.Line; |
| 4 | 4 | import com.fasterxml.jackson.annotation.JsonIgnore; |
| 5 | +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; | |
| 5 | 6 | import org.apache.commons.lang3.BooleanUtils; |
| 6 | 7 | |
| 7 | 8 | import javax.persistence.*; |
| ... | ... | @@ -21,6 +22,7 @@ import java.util.List; |
| 21 | 22 | @NamedAttributeNode("xl"), |
| 22 | 23 | }) |
| 23 | 24 | }) |
| 25 | +@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"}) | |
| 24 | 26 | public class SchedulePlan extends BEntity { |
| 25 | 27 | |
| 26 | 28 | /** 主键Id */ | ... | ... |
src/main/java/com/bsth/entity/schedule/SchedulePlanInfo.java
| 1 | 1 | package com.bsth.entity.schedule; |
| 2 | 2 | |
| 3 | 3 | import com.bsth.entity.Line; |
| 4 | -import com.bsth.entity.sys.SysUser; | |
| 5 | 4 | import com.bsth.service.schedule.rules.rerun.RerunRule_input; |
| 6 | 5 | import com.bsth.service.schedule.rules.shiftloop.ScheduleResult_output; |
| 7 | 6 | import org.apache.commons.lang3.StringUtils; |
| ... | ... | @@ -20,7 +19,7 @@ import java.util.List; |
| 20 | 19 | */ |
| 21 | 20 | @Entity |
| 22 | 21 | @Table(name = "bsth_c_s_sp_info") |
| 23 | -public class SchedulePlanInfo { | |
| 22 | +public class SchedulePlanInfo extends BEntity { | |
| 24 | 23 | |
| 25 | 24 | /** 主键Id */ |
| 26 | 25 | @Id |
| ... | ... | @@ -138,20 +137,6 @@ public class SchedulePlanInfo { |
| 138 | 137 | private String remark; |
| 139 | 138 | |
| 140 | 139 | |
| 141 | - /** 创建人 */ | |
| 142 | - @ManyToOne(cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) | |
| 143 | - private SysUser createBy; | |
| 144 | - /** 修改人 */ | |
| 145 | - @ManyToOne(cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) | |
| 146 | - private SysUser updateBy; | |
| 147 | - /** 创建日期 */ | |
| 148 | - @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP") | |
| 149 | - private Date createDate; | |
| 150 | - /** 修改日期 */ | |
| 151 | - @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") | |
| 152 | - private Date updateDate; | |
| 153 | - | |
| 154 | - | |
| 155 | 140 | // @ManyToOne(cascade = CascadeType.PERSIST, fetch = FetchType.LAZY) |
| 156 | 141 | // @JoinTable( |
| 157 | 142 | // name = "bsth_c_s_sp_r_info", |
| ... | ... | @@ -468,10 +453,10 @@ public class SchedulePlanInfo { |
| 468 | 453 | if (this.ttInfoName != null) ps.setString(34, this.ttInfoName); else ps.setNull(34, Types.VARCHAR); |
| 469 | 454 | if (this.remark != null) ps.setString(35, this.remark); else ps.setNull(35, Types.VARCHAR); |
| 470 | 455 | if (this.schedulePlan != null) ps.setLong(36, this.schedulePlan.getId()); else ps.setNull(36, Types.BIGINT); |
| 471 | - if (this.createBy != null) ps.setInt(37, this.createBy.getId()); else ps.setNull(37, Types.INTEGER); | |
| 472 | - if (this.updateBy != null) ps.setInt(38, this.updateBy.getId()); else ps.setNull(38, Types.INTEGER); | |
| 473 | - if (this.createDate != null) ps.setTimestamp(39, new java.sql.Timestamp(this.createDate.getTime())); else ps.setNull(39, Types.TIMESTAMP); | |
| 474 | - if (this.updateDate != null) ps.setTimestamp(40, new java.sql.Timestamp(this.updateDate.getTime())); else ps.setNull(40, Types.TIMESTAMP); | |
| 456 | + if (this.getCreateBy() != null) ps.setInt(37, this.getCreateBy().getId()); else ps.setNull(37, Types.INTEGER); | |
| 457 | + if (this.getUpdateBy() != null) ps.setInt(38, this.getUpdateBy().getId()); else ps.setNull(38, Types.INTEGER); | |
| 458 | + if (this.getCreateDate() != null) ps.setTimestamp(39, new java.sql.Timestamp(this.getCreateDate().getTime())); else ps.setNull(39, Types.TIMESTAMP); | |
| 459 | + if (this.getUpdateDate() != null) ps.setTimestamp(40, new java.sql.Timestamp(this.getUpdateDate().getTime())); else ps.setNull(40, Types.TIMESTAMP); | |
| 475 | 460 | } |
| 476 | 461 | |
| 477 | 462 | public Long getId() { |
| ... | ... | @@ -762,38 +747,6 @@ public class SchedulePlanInfo { |
| 762 | 747 | this.remark = remark; |
| 763 | 748 | } |
| 764 | 749 | |
| 765 | - public SysUser getCreateBy() { | |
| 766 | - return createBy; | |
| 767 | - } | |
| 768 | - | |
| 769 | - public void setCreateBy(SysUser createBy) { | |
| 770 | - this.createBy = createBy; | |
| 771 | - } | |
| 772 | - | |
| 773 | - public SysUser getUpdateBy() { | |
| 774 | - return updateBy; | |
| 775 | - } | |
| 776 | - | |
| 777 | - public void setUpdateBy(SysUser updateBy) { | |
| 778 | - this.updateBy = updateBy; | |
| 779 | - } | |
| 780 | - | |
| 781 | - public Date getCreateDate() { | |
| 782 | - return createDate; | |
| 783 | - } | |
| 784 | - | |
| 785 | - public void setCreateDate(Date createDate) { | |
| 786 | - this.createDate = createDate; | |
| 787 | - } | |
| 788 | - | |
| 789 | - public Date getUpdateDate() { | |
| 790 | - return updateDate; | |
| 791 | - } | |
| 792 | - | |
| 793 | - public void setUpdateDate(Date updateDate) { | |
| 794 | - this.updateDate = updateDate; | |
| 795 | - } | |
| 796 | - | |
| 797 | 750 | public SchedulePlan getSchedulePlan() { |
| 798 | 751 | return schedulePlan; |
| 799 | 752 | } | ... | ... |
src/main/java/com/bsth/service/excep/impl/OfflineServiceImpl.java
| ... | ... | @@ -43,15 +43,16 @@ public class OfflineServiceImpl implements OfflineService { |
| 43 | 43 | String days_year=map.get("days_year").toString(); |
| 44 | 44 | String line_id=map.get("line_id").toString(); |
| 45 | 45 | String device_id=map.get("device_id").toString(); |
| 46 | + String ts=map.get("ts").toString(); | |
| 46 | 47 | String sql="SELECT t.line_id,t.device_id,MIN(ts) as ts,days_year FROM bsth_c_gps_info t " |
| 47 | - + " WHERE t.line_id='"+line_id+"' and t.device_id='"+device_id+"' and t.days_year='"+days_year+"' " | |
| 48 | + + " WHERE t.line_id='"+line_id+"' and t.device_id='"+device_id+"' and t.days_year='"+days_year+"' and t.ts>='"+ts+"' " | |
| 48 | 49 | + " GROUP BY t.device_id,t.line_id "; |
| 49 | - sql +=" order by ts limit ?,?"; | |
| 50 | + sql +=" order by ts "; | |
| 50 | 51 | try { |
| 51 | 52 | conn = DBUtils_MS.getConnection(); |
| 52 | 53 | ps = conn.prepareStatement(sql); |
| 53 | - ps.setInt(1,0*10); // O-最大条数 -- M-起始条数 | |
| 54 | - ps.setInt(2, 100000000); // O-最小条数 -- M-显示条数 | |
| 54 | +// ps.setInt(1,0*10); // O-最大条数 -- M-起始条数 | |
| 55 | +// ps.setInt(2, 1000000); // O-最小条数 -- M-显示条数 | |
| 55 | 56 | rs = ps.executeQuery(); |
| 56 | 57 | list = resultSet(rs); |
| 57 | 58 | } catch (SQLException e) { |
| ... | ... | @@ -258,6 +259,7 @@ public class OfflineServiceImpl implements OfflineService { |
| 258 | 259 | gpsmap.put("device_id",deviceid ); |
| 259 | 260 | gpsmap.put("line_id", lineid); |
| 260 | 261 | gpsmap.put("days_year", str); |
| 262 | + gpsmap.put("ts", d1); | |
| 261 | 263 | List<Offline> gps=findGPS(gpsmap); |
| 262 | 264 | if(gps.size()>0){ |
| 263 | 265 | Long ts= gps.get(0).getTs(); | ... | ... |
src/main/java/com/bsth/service/forms/impl/FormsServiceImpl.java
| ... | ... | @@ -735,6 +735,7 @@ public class FormsServiceImpl implements FormsService { |
| 735 | 735 | @Override |
| 736 | 736 | public List<Turnoutrate> turnoutrate(Map<String, Object> map) { |
| 737 | 737 | |
| 738 | + List<Turnoutrate> resList = new ArrayList<Turnoutrate>(); | |
| 738 | 739 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
| 739 | 740 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日"); |
| 740 | 741 | Date d = null; |
| ... | ... | @@ -752,22 +753,24 @@ public class FormsServiceImpl implements FormsService { |
| 752 | 753 | rq = rq2 + "-" + rq3; |
| 753 | 754 | |
| 754 | 755 | String sql = " select b.xlgs, a.gs_bm,a.gs_name, a.fgs_bm,a.fgs_name , a.xl_bm,b.sbc,b.sxl,b.scl,a.jbc ,a.jxl ,a.jcl,a.gslsbm,a.fgsbm,b.warrant_car,a.bc_type from " |
| 755 | - + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 756 | - + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '"+ map.get("startDate").toString() + "' " | |
| 756 | + + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 757 | + + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '"+ map.get("startDate").toString() + "' " | |
| 757 | 758 | + " and '" + map.get("endDate").toString() + "' and xl_bm='"+ map.get("line").toString() + "' " |
| 758 | 759 | + " AND gs_bm is not null " |
| 759 | 760 | + " AND bc_type NOT IN ('in', 'out')" |
| 760 | 761 | + " and gs_bm='"+ map.get("gsdmTurn").toString() + "'" |
| 761 | 762 | + " and fgs_bm='"+ map.get("fgsdmTurn").toString() + "'" |
| 762 | - + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type ) a left JOIN (" | |
| 763 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type " | |
| 764 | + + " ) a left JOIN (" | |
| 763 | 765 | + " SELECT COUNT(*) as xlgs,b.gs_bm,b.fgs_bm,b.xl_bm,b.gs_name,b.fgs_name, b.sbc,b.sxl ,b.scl,t.warrant_car " |
| 764 | - + " from bsth_c_line t RIGHT JOIN (select gs_bm,fgs_bm,xl_bm,gs_name,fgs_name, count(*) as sbc,COUNT(DISTINCT xl_bm) as sxl ,COUNT(DISTINCT cl_zbh) as scl,bc_type from bsth_c_s_sp_info_real " | |
| 766 | + + " from bsth_c_line t RIGHT JOIN (select gs_bm,fgs_bm,xl_bm,gs_name,fgs_name, count(*) as sbc,COUNT(DISTINCT xl_bm) as sxl ,COUNT(DISTINCT cl_zbh) as scl,bc_type from bsth_c_s_sp_info_real " | |
| 765 | 767 | + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" + map.get("startDate").toString() + "' and '" |
| 766 | 768 | + map.get("endDate").toString() + "' and xl_bm='" + map.get("line").toString() |
| 767 | 769 | + "' AND gs_bm is not null " |
| 768 | 770 | + " AND bc_type NOT IN ('in', 'out')" |
| 769 | - + "GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 770 | - + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 771 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type " | |
| 772 | + + " ) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 773 | + + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 771 | 774 | List<Turnoutrate> list = jdbcTemplate.query(sql, new RowMapper<Turnoutrate>() { |
| 772 | 775 | |
| 773 | 776 | @Override |
| ... | ... | @@ -782,6 +785,8 @@ public class FormsServiceImpl implements FormsService { |
| 782 | 785 | String result1 = numberFormat.format((float) scl / (float) jcl * 100); |
| 783 | 786 | String result2 = numberFormat.format((float) sbc / (float) jbc * 100); |
| 784 | 787 | tu.setRq(rq); |
| 788 | + if(arg0.getString("gs_name") == null || arg0.getString("gs_name").trim().length() == 0) | |
| 789 | + return tu; | |
| 785 | 790 | tu.setGs(arg0.getString("gs_name").toString()); |
| 786 | 791 | tu.setZhgs(arg0.getString("fgs_name").toString()); |
| 787 | 792 | // tu.setXl(arg0.getString("xlgs")!=null&&arg0.getString("xlgs").trim().length()!=0?arg0.getString("xlgs"):"0"); |
| ... | ... | @@ -801,14 +806,20 @@ public class FormsServiceImpl implements FormsService { |
| 801 | 806 | } |
| 802 | 807 | |
| 803 | 808 | }); |
| 809 | + | |
| 810 | + for(Turnoutrate t : list){ | |
| 811 | + if(t.getGs() != null && t.getGs().trim().length() != 0) | |
| 812 | + resList.add(t); | |
| 813 | + } | |
| 804 | 814 | |
| 805 | - return list; | |
| 815 | + return resList; | |
| 806 | 816 | } |
| 807 | 817 | |
| 808 | 818 | |
| 809 | 819 | //班次执行率统计表 |
| 810 | 820 | @Override |
| 811 | 821 | public List<Executionrate> executionrate(Map<String, Object> map) { |
| 822 | + List<Executionrate> resList = new ArrayList<Executionrate>(); | |
| 812 | 823 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
| 813 | 824 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日"); |
| 814 | 825 | Date d = null; |
| ... | ... | @@ -826,20 +837,22 @@ public class FormsServiceImpl implements FormsService { |
| 826 | 837 | rq = rq2 + "-" + rq3; |
| 827 | 838 | |
| 828 | 839 | String sql = " select b.xlgs, a.gs_bm,a.gs_name, a.fgs_bm,a.fgs_name , a.xl_bm,b.xl_name,b.sbc,b.sxl,b.scl,a.jbc ,a.jxl ,a.jcl,a.gslsbm,a.fgsbm,a.bc_type from " |
| 829 | - + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 830 | - + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" | |
| 840 | + + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 841 | + + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" | |
| 831 | 842 | + map.get("startDate").toString() + "' and '" + map.get("endDate").toString() + "' and xl_bm='" |
| 832 | 843 | + map.get("line").toString() + "' AND gs_bm is not null AND bc_type NOT IN ('in', 'out')" |
| 833 | 844 | + " and gs_bm='"+ map.get("gsdmEcecut").toString() + "'" |
| 834 | 845 | + " and fgs_bm='"+ map.get("fgsdmEcecut").toString() + "'" |
| 835 | - + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type ) a left JOIN (" | |
| 846 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type " | |
| 847 | + + " ) a left JOIN (" | |
| 836 | 848 | + "SELECT COUNT(*) as xlgs,b.gs_bm,b.fgs_bm,b.xl_bm,b.xl_name,b.gs_name,b.fgs_name, b.sbc,b.sxl ,b.scl " |
| 837 | 849 | + "from bsth_c_line t RIGHT JOIN (select gs_bm,fgs_bm,xl_bm,xl_name,gs_name,fgs_name, count(*) as sbc,COUNT(DISTINCT xl_bm) as sxl ,COUNT(DISTINCT cl_zbh) as scl,bc_type from bsth_c_s_sp_info_real " |
| 838 | 850 | + "where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" + map.get("startDate").toString() + "' and '" |
| 839 | 851 | + map.get("endDate").toString() + "' and xl_bm='" + map.get("line").toString() |
| 840 | 852 | + "' AND gs_bm is not null AND bc_type NOT IN ('in', 'out') " |
| 841 | - + "GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 842 | - + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 853 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type" | |
| 854 | + + " ) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 855 | + + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 843 | 856 | List<Executionrate> list = jdbcTemplate.query(sql, new RowMapper<Executionrate>() { |
| 844 | 857 | |
| 845 | 858 | @Override |
| ... | ... | @@ -854,6 +867,8 @@ public class FormsServiceImpl implements FormsService { |
| 854 | 867 | String result1 = numberFormat.format((float) scl / (float) jcl * 100); |
| 855 | 868 | String result2 = numberFormat.format((float) sbc / (float) jbc * 100); |
| 856 | 869 | tu.setRq(rq); |
| 870 | + if(arg0.getString("gs_name") == null || arg0.getString("gs_name").trim().length() == 0) | |
| 871 | + return tu; | |
| 857 | 872 | tu.setGs(arg0.getString("gs_name").toString()); |
| 858 | 873 | tu.setZhgs(arg0.getString("fgs_name").toString()); |
| 859 | 874 | // tu.setXl(arg0.getString("xlgs")!=null&&arg0.getString("xlgs").trim().length()!=0?arg0.getString("xlgs"):"0");//这个是根据公司判断线路有几条 |
| ... | ... | @@ -874,13 +889,19 @@ public class FormsServiceImpl implements FormsService { |
| 874 | 889 | } |
| 875 | 890 | |
| 876 | 891 | }); |
| 892 | + | |
| 893 | + for(Executionrate e : list){ | |
| 894 | + if(e.getGs() != null && e.getGs().trim().length() != 0) | |
| 895 | + resList.add(e); | |
| 896 | + } | |
| 877 | 897 | |
| 878 | - return list; | |
| 898 | + return resList; | |
| 879 | 899 | } |
| 880 | 900 | |
| 881 | 901 | // 营运线路名称统计表 |
| 882 | 902 | @Override |
| 883 | 903 | public List<Allline> allline(Map<String, Object> map) { |
| 904 | + List<Allline> resList = new ArrayList<Allline>(); | |
| 884 | 905 | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); |
| 885 | 906 | SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy年MM月dd日"); |
| 886 | 907 | Date d = null; |
| ... | ... | @@ -900,13 +921,14 @@ public class FormsServiceImpl implements FormsService { |
| 900 | 921 | rq = rq2 + "-" + rq3; |
| 901 | 922 | |
| 902 | 923 | String sql = " select b.xlgs, a.gs_bm,a.gs_name, a.fgs_bm,a.fgs_name , a.xl_bm,b.xl_name,b.sbc,b.sxl,b.scl,a.jbc ,a.jxl ,a.jcl,a.gslsbm,a.fgsbm,a.bc_type from " |
| 903 | - + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 904 | - + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" | |
| 924 | + + " (select count(DISTINCT gs_bm) gslsbm, gs_bm, count(DISTINCT fgs_bm) fgsbm,fgs_bm,gs_name,fgs_name ,xl_bm, count(*) as jbc,COUNT(DISTINCT xl_bm) as jxl ,COUNT(DISTINCT cl_zbh) as jcl,bc_type" | |
| 925 | + + " from bsth_c_s_sp_info" + " where DATE_FORMAT(schedule_date,'%Y-%m-%d') BETWEEN '" | |
| 905 | 926 | + map.get("startDate").toString() + "' and '" + map.get("endDate").toString() + "' and xl_bm='" |
| 906 | 927 | + map.get("line").toString() + "' AND gs_bm is not null AND bc_type NOT IN ('in', 'out') " |
| 907 | 928 | + " and gs_bm='"+ map.get("gsdmAllline").toString() + "'" |
| 908 | 929 | + " and fgs_bm='"+ map.get("fgsdmAllline").toString() + "'" |
| 909 | - + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type ) a left JOIN (" | |
| 930 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type " | |
| 931 | + + " ) a left JOIN (" | |
| 910 | 932 | + "SELECT COUNT(*" |
| 911 | 933 | + ") as xlgs,b.gs_bm,b.fgs_bm,b.xl_bm,b." |
| 912 | 934 | + "xl_name,b.gs_name,b.fgs_name, b.sbc,b.sxl ,b.scl " |
| ... | ... | @@ -915,9 +937,9 @@ public class FormsServiceImpl implements FormsService { |
| 915 | 937 | + map.get("endDate").toString() + "' and xl_bm='" + map.get |
| 916 | 938 | ("line").toString() |
| 917 | 939 | + "' AND gs_bm is not null AND bc_type NOT IN ('in', 'out')" |
| 918 | - + "GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 919 | - + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 920 | - System.out.println(sql); | |
| 940 | +// + " GROUP BY gs_bm,fgs_bm,xl_bm,gs_name,fgs_name,bc_type" | |
| 941 | + + " ) b ON t.company=b.gs_bm and t.branche_company = b.fgs_bm) b on " | |
| 942 | + + " a.gs_bm=b.gs_bm and a.fgs_bm=b.fgs_bm and a.xl_bm=b.xl_bm "; | |
| 921 | 943 | List<Allline> list = jdbcTemplate.query(sql, new RowMapper<Allline>() { |
| 922 | 944 | |
| 923 | 945 | @Override |
| ... | ... | @@ -932,6 +954,8 @@ public class FormsServiceImpl implements FormsService { |
| 932 | 954 | String result1 = numberFormat.format((float) scl / (float) jcl * 100); |
| 933 | 955 | String result2 = numberFormat.format((float) sbc / (float) jbc * 100); |
| 934 | 956 | tu.setRq(rq); |
| 957 | + if(arg0.getString("gs_name") == null || arg0.getString("gs_name").trim().length() == 0) | |
| 958 | + return tu; | |
| 935 | 959 | tu.setGs(arg0.getString("gs_name").toString()); |
| 936 | 960 | tu.setZhgs(arg0.getString("fgs_name").toString()); |
| 937 | 961 | tu.setXl(arg0.getString("xl_name")); |
| ... | ... | @@ -951,7 +975,12 @@ public class FormsServiceImpl implements FormsService { |
| 951 | 975 | } |
| 952 | 976 | }); |
| 953 | 977 | |
| 954 | - return list; | |
| 978 | + for(Allline a : list){ | |
| 979 | + if(a.getGs() != null && a.getGs().trim().length() != 0) | |
| 980 | + resList.add(a); | |
| 981 | + } | |
| 982 | + | |
| 983 | + return resList; | |
| 955 | 984 | } |
| 956 | 985 | |
| 957 | 986 | @Override | ... | ... |
src/main/java/com/bsth/service/impl/BusIntervalServiceImpl.java
| ... | ... | @@ -145,8 +145,8 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 145 | 145 | schedule.setZdsjActual(zdsjA/60 + ":" + zdsjA%60); |
| 146 | 146 | schedule.setZdsjActualTime(zdsjA); |
| 147 | 147 | } |
| 148 | - schedule.setFcsj(fcsj/60 + ":" + fcsj%60); | |
| 149 | - schedule.setZdsj(zdsj/60 + ":" + zdsj%60); | |
| 148 | + schedule.setFcsj((fcsj/60<10?"0"+fcsj/60:fcsj/60) + ":" + (fcsj%60<10?"0"+fcsj%60:fcsj%60)); | |
| 149 | + schedule.setZdsj((zdsj/60<10?"0"+zdsj/60:zdsj/60) + ":" + (zdsj%60<10?"0"+zdsj%60:zdsj%60)); | |
| 150 | 150 | schedule.setFcsjT(fcsj); |
| 151 | 151 | schedule.setZdsjT(zdsj); |
| 152 | 152 | return schedule; |
| ... | ... | @@ -237,7 +237,6 @@ public class BusIntervalServiceImpl implements BusIntervalService { |
| 237 | 237 | |
| 238 | 238 | String sql = "select start_station_name, end_station_name from bsth_c_line where line_code = '"+line+"'"; |
| 239 | 239 | |
| 240 | - System.out.println(sql); | |
| 241 | 240 | list = jdbcTemplate.query(sql, |
| 242 | 241 | new RowMapper<Map<String, Object>>(){ |
| 243 | 242 | @Override | ... | ... |
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
| ... | ... | @@ -213,6 +213,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | 215 | schedule.setDfsjAll(dfsj); |
| 216 | + schedule.setDfAuto(false); | |
| 216 | 217 | schedule.addRemarks(remarks); |
| 217 | 218 | |
| 218 | 219 | List<ScheduleRealInfo> ts = new ArrayList<>(); |
| ... | ... | @@ -499,7 +500,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl<ScheduleRealInf |
| 499 | 500 | |
| 500 | 501 | //公司 和 分公司名称 |
| 501 | 502 | t.setGsName(BasicData.businessCodeNameMap.get(t.getGsBm())); |
| 502 | - t.setFgsName(BasicData.businessFgsCodeNameMap.get(t.getGsBm() + "_" + t.getFgsBm())); | |
| 503 | + t.setFgsName(BasicData.businessFgsCodeNameMap.get(t.getFgsBm() + "_" + t.getGsBm())); | |
| 503 | 504 | |
| 504 | 505 | t.setScheduleDateStr(schDate); |
| 505 | 506 | t.setScheduleDate(sdfyyyyMMdd.parse(schDate)); | ... | ... |
src/main/java/com/bsth/service/schedule/PeopleCarPlanServiceImpl.java
| ... | ... | @@ -521,7 +521,7 @@ public class PeopleCarPlanServiceImpl implements PeopleCarPlanService { |
| 521 | 521 | sql += " and xl_bm = '"+line+"'"; |
| 522 | 522 | } |
| 523 | 523 | // if(company.length() != 0){ |
| 524 | - sql += " and gs_bm like %'"+company+"'% and fgs_bm like %'"+subCompany+"%'"; | |
| 524 | + sql += " and gs_bm like '%"+company+"%' and fgs_bm like '%"+subCompany+"%'"; | |
| 525 | 525 | // } |
| 526 | 526 | sql += " and bc_type != 'in' and bc_type != 'out'"; |
| 527 | 527 | ... | ... |
src/main/java/com/bsth/service/schedule/SchedulePlanInfoService.java
| ... | ... | @@ -164,7 +164,7 @@ public interface SchedulePlanInfoService extends BService<SchedulePlanInfo, Long |
| 164 | 164 | this.spyGhs.addAll(Arrays.asList(spyGhs_temp.split(","))); |
| 165 | 165 | } |
| 166 | 166 | |
| 167 | - this.updateDate = new Date(rs.getDate("updateDate").getTime()); | |
| 167 | + this.updateDate = new Date(rs.getTimestamp("updateDate").getTime()); | |
| 168 | 168 | this.updateByName = rs.getString("updateUserName"); |
| 169 | 169 | this.ttInfoName = rs.getString("ttInfoName"); |
| 170 | 170 | ... | ... |
src/main/java/com/bsth/service/schedule/rules/rerun/RerunRule_param.java
| 1 | -package com.bsth.service.schedule.rules.rerun; | |
| 2 | - | |
| 3 | -import java.util.Set; | |
| 4 | - | |
| 5 | -/** | |
| 6 | - * Created by xu on 17/4/27. | |
| 7 | - */ | |
| 8 | -public class RerunRule_param { | |
| 9 | - /** 主线路id */ | |
| 10 | - private String mxlid; | |
| 11 | - | |
| 12 | - /** 对应路牌的套跑线路 */ | |
| 13 | - private Set<String> xlIds_dylp; | |
| 14 | - | |
| 15 | - // TODO: | |
| 16 | - | |
| 17 | - | |
| 18 | - public Set<String> getXlIds_dylp() { | |
| 19 | - return xlIds_dylp; | |
| 20 | - } | |
| 21 | - | |
| 22 | - public void setXlIds_dylp(Set<String> xlIds_dylp) { | |
| 23 | - this.xlIds_dylp = xlIds_dylp; | |
| 24 | - } | |
| 25 | - | |
| 26 | - public String getMxlid() { | |
| 27 | - return mxlid; | |
| 28 | - } | |
| 29 | - | |
| 30 | - public void setMxlid(String mxlid) { | |
| 31 | - this.mxlid = mxlid; | |
| 32 | - } | |
| 33 | -} | |
| 1 | +package com.bsth.service.schedule.rules.rerun; | |
| 2 | + | |
| 3 | +import java.util.Set; | |
| 4 | + | |
| 5 | +/** | |
| 6 | + * Created by xu on 17/4/27. | |
| 7 | + */ | |
| 8 | +public class RerunRule_param { | |
| 9 | + /** 主线路id */ | |
| 10 | + private String mxlid; | |
| 11 | + | |
| 12 | + /** 对应路牌的套跑线路 */ | |
| 13 | + private Set<String> xlIds_dylp; | |
| 14 | + | |
| 15 | + // TODO: | |
| 16 | + | |
| 17 | + | |
| 18 | + public Set<String> getXlIds_dylp() { | |
| 19 | + return xlIds_dylp; | |
| 20 | + } | |
| 21 | + | |
| 22 | + public void setXlIds_dylp(Set<String> xlIds_dylp) { | |
| 23 | + this.xlIds_dylp = xlIds_dylp; | |
| 24 | + } | |
| 25 | + | |
| 26 | + public String getMxlid() { | |
| 27 | + return mxlid; | |
| 28 | + } | |
| 29 | + | |
| 30 | + public void setMxlid(String mxlid) { | |
| 31 | + this.mxlid = mxlid; | |
| 32 | + } | |
| 33 | +} | ... | ... |
src/main/java/com/bsth/service/schedule/utils/DataToolsServiceImpl.java
| ... | ... | @@ -217,7 +217,7 @@ public class DataToolsServiceImpl implements DataToolsService { |
| 217 | 217 | String filepath = dataToolsProperties.getFileoutputDir() + |
| 218 | 218 | File.separator + |
| 219 | 219 | filename + |
| 220 | - new DateTime().toString("yyyyMMddHHmmss") + ".xls"; | |
| 220 | + new DateTime().toString("yyyyMMddHHmmss"); | |
| 221 | 221 | params.put("filepath", filepath); |
| 222 | 222 | |
| 223 | 223 | // ktr输出模版目录(可选) |
| ... | ... | @@ -251,7 +251,7 @@ public class DataToolsServiceImpl implements DataToolsService { |
| 251 | 251 | LOGGER.info(stringBuffer.toString()); |
| 252 | 252 | LOGGER.info("exportData success..."); |
| 253 | 253 | |
| 254 | - return new File(filepath); | |
| 254 | + return new File(filepath + ".xls"); | |
| 255 | 255 | } catch (Exception exp) { |
| 256 | 256 | LOGGER.info("exportData failed...statckTrace..."); |
| 257 | 257 | ... | ... |
src/main/resources/datatools/ktrs/carsConfigDataOutput.ktr
| ... | ... | @@ -112,6 +112,30 @@ |
| 112 | 112 | </notepad> |
| 113 | 113 | </notepads> |
| 114 | 114 | <connection> |
| 115 | + <name>192.168.168.1_jwgl_dw</name> | |
| 116 | + <server>192.168.168.1</server> | |
| 117 | + <type>ORACLE</type> | |
| 118 | + <access>Native</access> | |
| 119 | + <database>orcl</database> | |
| 120 | + <port>1521</port> | |
| 121 | + <username>jwgl_dw</username> | |
| 122 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 123 | + <servername/> | |
| 124 | + <data_tablespace/> | |
| 125 | + <index_tablespace/> | |
| 126 | + <attributes> | |
| 127 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 131 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 132 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 135 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 136 | + </attributes> | |
| 137 | + </connection> | |
| 138 | + <connection> | |
| 115 | 139 | <name>bus_control_variable</name> |
| 116 | 140 | <server>${v_db_ip}</server> |
| 117 | 141 | <type>MYSQL</type> |
| ... | ... | @@ -298,7 +322,7 @@ |
| 298 | 322 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 299 | 323 | <file> |
| 300 | 324 | <name>${filepath}</name> |
| 301 | - <extention/> | |
| 325 | + <extention>xls</extention> | |
| 302 | 326 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 303 | 327 | <create_parent_folder>N</create_parent_folder> |
| 304 | 328 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/carsDataOutput.ktr
| ... | ... | @@ -287,7 +287,7 @@ |
| 287 | 287 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 288 | 288 | <file> |
| 289 | 289 | <name>${filepath}</name> |
| 290 | - <extention/> | |
| 290 | + <extention>xls</extention> | |
| 291 | 291 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 292 | 292 | <create_parent_folder>N</create_parent_folder> |
| 293 | 293 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/employeesConfigDataOutput.ktr
| ... | ... | @@ -107,6 +107,30 @@ |
| 107 | 107 | </notepad> |
| 108 | 108 | </notepads> |
| 109 | 109 | <connection> |
| 110 | + <name>192.168.168.1_jwgl_dw</name> | |
| 111 | + <server>192.168.168.1</server> | |
| 112 | + <type>ORACLE</type> | |
| 113 | + <access>Native</access> | |
| 114 | + <database>orcl</database> | |
| 115 | + <port>1521</port> | |
| 116 | + <username>jwgl_dw</username> | |
| 117 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 118 | + <servername/> | |
| 119 | + <data_tablespace/> | |
| 120 | + <index_tablespace/> | |
| 121 | + <attributes> | |
| 122 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 123 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 124 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 125 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 126 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 127 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 128 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 129 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 130 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 131 | + </attributes> | |
| 132 | + </connection> | |
| 133 | + <connection> | |
| 110 | 134 | <name>bus_control_variable</name> |
| 111 | 135 | <server>${v_db_ip}</server> |
| 112 | 136 | <type>MYSQL</type> |
| ... | ... | @@ -293,7 +317,7 @@ |
| 293 | 317 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 294 | 318 | <file> |
| 295 | 319 | <name>${filepath}</name> |
| 296 | - <extention/> | |
| 320 | + <extention>xls</extention> | |
| 297 | 321 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 298 | 322 | <create_parent_folder>N</create_parent_folder> |
| 299 | 323 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/employeesDataOutput.ktr
| ... | ... | @@ -81,6 +81,30 @@ |
| 81 | 81 | <notepads> |
| 82 | 82 | </notepads> |
| 83 | 83 | <connection> |
| 84 | + <name>192.168.168.1_jwgl_dw</name> | |
| 85 | + <server>192.168.168.1</server> | |
| 86 | + <type>ORACLE</type> | |
| 87 | + <access>Native</access> | |
| 88 | + <database>orcl</database> | |
| 89 | + <port>1521</port> | |
| 90 | + <username>jwgl_dw</username> | |
| 91 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 92 | + <servername/> | |
| 93 | + <data_tablespace/> | |
| 94 | + <index_tablespace/> | |
| 95 | + <attributes> | |
| 96 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 97 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 98 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 99 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 100 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 101 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 103 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 104 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 105 | + </attributes> | |
| 106 | + </connection> | |
| 107 | + <connection> | |
| 84 | 108 | <name>bus_control_variable</name> |
| 85 | 109 | <server>${v_db_ip}</server> |
| 86 | 110 | <type>MYSQL</type> |
| ... | ... | @@ -263,7 +287,7 @@ |
| 263 | 287 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 264 | 288 | <file> |
| 265 | 289 | <name>${filepath}</name> |
| 266 | - <extention/> | |
| 290 | + <extention>xls</extention> | |
| 267 | 291 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 268 | 292 | <create_parent_folder>N</create_parent_folder> |
| 269 | 293 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/guideboardDataOutput.ktr
| ... | ... | @@ -86,6 +86,30 @@ |
| 86 | 86 | <notepads> |
| 87 | 87 | </notepads> |
| 88 | 88 | <connection> |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 89 | 113 | <name>bus_control_variable</name> |
| 90 | 114 | <server>${v_db_ip}</server> |
| 91 | 115 | <type>MYSQL</type> |
| ... | ... | @@ -270,7 +294,7 @@ |
| 270 | 294 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 271 | 295 | <file> |
| 272 | 296 | <name>${filepath}</name> |
| 273 | - <extention/> | |
| 297 | + <extention>xls</extention> | |
| 274 | 298 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 275 | 299 | <create_parent_folder>N</create_parent_folder> |
| 276 | 300 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/scheduleRuleDataInput.ktr
| ... | ... | @@ -84,29 +84,32 @@ |
| 84 | 84 | <is_key_private>N</is_key_private> |
| 85 | 85 | </info> |
| 86 | 86 | <notepads> |
| 87 | - <notepad> | |
| 88 | - <note>这里有些问题
在window2012的环境下,
MySql数据库查询中如果返回中文内容的字段,这个内容乱码
解决办法,就是数据库查询全部缓存,就不乱码
linux环境下没问题</note> | |
| 89 | - <xloc>41</xloc> | |
| 90 | - <yloc>315</yloc> | |
| 91 | - <width>333</width> | |
| 92 | - <heigth>90</heigth> | |
| 93 | - <fontname>YaHei Consolas Hybrid</fontname> | |
| 94 | - <fontsize>12</fontsize> | |
| 95 | - <fontbold>N</fontbold> | |
| 96 | - <fontitalic>N</fontitalic> | |
| 97 | - <fontcolorred>0</fontcolorred> | |
| 98 | - <fontcolorgreen>0</fontcolorgreen> | |
| 99 | - <fontcolorblue>0</fontcolorblue> | |
| 100 | - <backgroundcolorred>255</backgroundcolorred> | |
| 101 | - <backgroundcolorgreen>205</backgroundcolorgreen> | |
| 102 | - <backgroundcolorblue>112</backgroundcolorblue> | |
| 103 | - <bordercolorred>100</bordercolorred> | |
| 104 | - <bordercolorgreen>100</bordercolorgreen> | |
| 105 | - <bordercolorblue>100</bordercolorblue> | |
| 106 | - <drawshadow>Y</drawshadow> | |
| 107 | - </notepad> | |
| 108 | 87 | </notepads> |
| 109 | 88 | <connection> |
| 89 | + <name>192.168.168.1_jwgl_dw</name> | |
| 90 | + <server>192.168.168.1</server> | |
| 91 | + <type>ORACLE</type> | |
| 92 | + <access>Native</access> | |
| 93 | + <database>orcl</database> | |
| 94 | + <port>1521</port> | |
| 95 | + <username>jwgl_dw</username> | |
| 96 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 97 | + <servername/> | |
| 98 | + <data_tablespace/> | |
| 99 | + <index_tablespace/> | |
| 100 | + <attributes> | |
| 101 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 102 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 103 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 104 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 105 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 106 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 107 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 108 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 109 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 110 | + </attributes> | |
| 111 | + </connection> | |
| 112 | + <connection> | |
| 110 | 113 | <name>bus_control_variable</name> |
| 111 | 114 | <server>${v_db_ip}</server> |
| 112 | 115 | <type>MYSQL</type> |
| ... | ... | @@ -303,7 +306,7 @@ |
| 303 | 306 | <schema_name/> |
| 304 | 307 | </partitioning> |
| 305 | 308 | <connection>bus_control_variable</connection> |
| 306 | - <cache>Y</cache> | |
| 309 | + <cache>N</cache> | |
| 307 | 310 | <cache_load_all>Y</cache_load_all> |
| 308 | 311 | <cache_size>0</cache_size> |
| 309 | 312 | <lookup> |
| ... | ... | @@ -357,7 +360,7 @@ |
| 357 | 360 | <schema_name/> |
| 358 | 361 | </partitioning> |
| 359 | 362 | <connection>bus_control_variable</connection> |
| 360 | - <cache>Y</cache> | |
| 363 | + <cache>N</cache> | |
| 361 | 364 | <cache_load_all>Y</cache_load_all> |
| 362 | 365 | <cache_size>0</cache_size> |
| 363 | 366 | <lookup> |
| ... | ... | @@ -1162,7 +1165,7 @@ |
| 1162 | 1165 | <schema_name/> |
| 1163 | 1166 | </partitioning> |
| 1164 | 1167 | <connection>bus_control_variable</connection> |
| 1165 | - <cache>Y</cache> | |
| 1168 | + <cache>N</cache> | |
| 1166 | 1169 | <cache_load_all>Y</cache_load_all> |
| 1167 | 1170 | <cache_size>0</cache_size> |
| 1168 | 1171 | <lookup> |
| ... | ... | @@ -1255,7 +1258,7 @@ |
| 1255 | 1258 | <schema_name/> |
| 1256 | 1259 | </partitioning> |
| 1257 | 1260 | <connection>bus_control_variable</connection> |
| 1258 | - <cache>Y</cache> | |
| 1261 | + <cache>N</cache> | |
| 1259 | 1262 | <cache_load_all>Y</cache_load_all> |
| 1260 | 1263 | <cache_size>0</cache_size> |
| 1261 | 1264 | <lookup> | ... | ... |
src/main/resources/datatools/ktrs/scheduleRuleDataOutput.ktr
| ... | ... | @@ -111,11 +111,11 @@ |
| 111 | 111 | <drawshadow>Y</drawshadow> |
| 112 | 112 | </notepad> |
| 113 | 113 | <notepad> |
| 114 | - <note>使用模版会报错,
PDI-5031
</note> | |
| 114 | + <note>Excel output 步骤
使用模版会报错,
PDI-5031

Excel writer 不知道报不报错
</note> | |
| 115 | 115 | <xloc>806</xloc> |
| 116 | 116 | <yloc>315</yloc> |
| 117 | - <width>106</width> | |
| 118 | - <heigth>58</heigth> | |
| 117 | + <width>185</width> | |
| 118 | + <heigth>106</heigth> | |
| 119 | 119 | <fontname>YaHei Consolas Hybrid</fontname> |
| 120 | 120 | <fontsize>12</fontsize> |
| 121 | 121 | <fontbold>N</fontbold> |
| ... | ... | @@ -133,6 +133,30 @@ |
| 133 | 133 | </notepad> |
| 134 | 134 | </notepads> |
| 135 | 135 | <connection> |
| 136 | + <name>192.168.168.1_jwgl_dw</name> | |
| 137 | + <server>192.168.168.1</server> | |
| 138 | + <type>ORACLE</type> | |
| 139 | + <access>Native</access> | |
| 140 | + <database>orcl</database> | |
| 141 | + <port>1521</port> | |
| 142 | + <username>jwgl_dw</username> | |
| 143 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 144 | + <servername/> | |
| 145 | + <data_tablespace/> | |
| 146 | + <index_tablespace/> | |
| 147 | + <attributes> | |
| 148 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 149 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 150 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 151 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 152 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 153 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 154 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 155 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 156 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 157 | + </attributes> | |
| 158 | + </connection> | |
| 159 | + <connection> | |
| 136 | 160 | <name>bus_control_variable</name> |
| 137 | 161 | <server>${v_db_ip}</server> |
| 138 | 162 | <type>MYSQL</type> |
| ... | ... | @@ -300,116 +324,9 @@ |
| 300 | 324 | <hop> <from>车辆查询</from><to>格式化日期</to><enabled>Y</enabled> </hop> |
| 301 | 325 | <hop> <from>格式化日期</from><to>排序记录</to><enabled>Y</enabled> </hop> |
| 302 | 326 | <hop> <from>排序记录</from><to>字段选择</to><enabled>Y</enabled> </hop> |
| 303 | - <hop> <from>字段选择</from><to>Excel输出</to><enabled>Y</enabled> </hop> | |
| 327 | + <hop> <from>字段选择</from><to>Microsoft Excel 输出</to><enabled>Y</enabled> </hop> | |
| 304 | 328 | </order> |
| 305 | 329 | <step> |
| 306 | - <name>Excel输出</name> | |
| 307 | - <type>ExcelOutput</type> | |
| 308 | - <description/> | |
| 309 | - <distribute>Y</distribute> | |
| 310 | - <custom_distribution/> | |
| 311 | - <copies>1</copies> | |
| 312 | - <partitioning> | |
| 313 | - <method>none</method> | |
| 314 | - <schema_name/> | |
| 315 | - </partitioning> | |
| 316 | - <header>Y</header> | |
| 317 | - <footer>N</footer> | |
| 318 | - <encoding/> | |
| 319 | - <append>N</append> | |
| 320 | - <add_to_result_filenames>Y</add_to_result_filenames> | |
| 321 | - <file> | |
| 322 | - <name>${filepath}</name> | |
| 323 | - <extention/> | |
| 324 | - <do_not_open_newfile_init>Y</do_not_open_newfile_init> | |
| 325 | - <create_parent_folder>N</create_parent_folder> | |
| 326 | - <split>N</split> | |
| 327 | - <add_date>N</add_date> | |
| 328 | - <add_time>N</add_time> | |
| 329 | - <SpecifyFormat>N</SpecifyFormat> | |
| 330 | - <date_time_format>yyyyMMddHHmmss</date_time_format> | |
| 331 | - <sheetname>工作表1</sheetname> | |
| 332 | - <autosizecolums>N</autosizecolums> | |
| 333 | - <nullisblank>N</nullisblank> | |
| 334 | - <protect_sheet>N</protect_sheet> | |
| 335 | - <password>Encrypted </password> | |
| 336 | - <splitevery>0</splitevery> | |
| 337 | - <usetempfiles>N</usetempfiles> | |
| 338 | - <tempdirectory/> | |
| 339 | - </file> | |
| 340 | - <template> | |
| 341 | - <enabled>N</enabled> | |
| 342 | - <append>N</append> | |
| 343 | - <filename>${templatepath}/t1.xls</filename> | |
| 344 | - </template> | |
| 345 | - <fields> | |
| 346 | - <field> | |
| 347 | - <name>线路</name> | |
| 348 | - <type>String</type> | |
| 349 | - <format/> | |
| 350 | - </field> | |
| 351 | - <field> | |
| 352 | - <name>内部编码</name> | |
| 353 | - <type>String</type> | |
| 354 | - <format/> | |
| 355 | - </field> | |
| 356 | - <field> | |
| 357 | - <name>启用日期</name> | |
| 358 | - <type>String</type> | |
| 359 | - <format/> | |
| 360 | - </field> | |
| 361 | - <field> | |
| 362 | - <name>起始路牌</name> | |
| 363 | - <type>String</type> | |
| 364 | - <format/> | |
| 365 | - </field> | |
| 366 | - <field> | |
| 367 | - <name>路牌范围</name> | |
| 368 | - <type>String</type> | |
| 369 | - <format/> | |
| 370 | - </field> | |
| 371 | - <field> | |
| 372 | - <name>起始人员</name> | |
| 373 | - <type>String</type> | |
| 374 | - <format/> | |
| 375 | - </field> | |
| 376 | - <field> | |
| 377 | - <name>人员范围</name> | |
| 378 | - <type>String</type> | |
| 379 | - <format/> | |
| 380 | - </field> | |
| 381 | - <field> | |
| 382 | - <name>翻班格式</name> | |
| 383 | - <type>String</type> | |
| 384 | - <format/> | |
| 385 | - </field> | |
| 386 | - </fields> | |
| 387 | - <custom> | |
| 388 | - <header_font_name>arial</header_font_name> | |
| 389 | - <header_font_size>10</header_font_size> | |
| 390 | - <header_font_bold>N</header_font_bold> | |
| 391 | - <header_font_italic>N</header_font_italic> | |
| 392 | - <header_font_underline>no</header_font_underline> | |
| 393 | - <header_font_orientation>horizontal</header_font_orientation> | |
| 394 | - <header_font_color>black</header_font_color> | |
| 395 | - <header_background_color>none</header_background_color> | |
| 396 | - <header_row_height>255</header_row_height> | |
| 397 | - <header_alignment>left</header_alignment> | |
| 398 | - <header_image/> | |
| 399 | - <row_font_name>arial</row_font_name> | |
| 400 | - <row_font_size>10</row_font_size> | |
| 401 | - <row_font_color>black</row_font_color> | |
| 402 | - <row_background_color>none</row_background_color> | |
| 403 | - </custom> | |
| 404 | - <cluster_schema/> | |
| 405 | - <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 406 | - <xloc>707</xloc> | |
| 407 | - <yloc>348</yloc> | |
| 408 | - <draw>Y</draw> | |
| 409 | - </GUI> | |
| 410 | - </step> | |
| 411 | - | |
| 412 | - <step> | |
| 413 | 330 | <name>字段选择</name> |
| 414 | 331 | <type>SelectValues</type> |
| 415 | 332 | <description/> |
| ... | ... | @@ -736,6 +653,161 @@ |
| 736 | 653 | </GUI> |
| 737 | 654 | </step> |
| 738 | 655 | |
| 656 | + <step> | |
| 657 | + <name>Microsoft Excel 输出</name> | |
| 658 | + <type>TypeExitExcelWriterStep</type> | |
| 659 | + <description/> | |
| 660 | + <distribute>Y</distribute> | |
| 661 | + <custom_distribution/> | |
| 662 | + <copies>1</copies> | |
| 663 | + <partitioning> | |
| 664 | + <method>none</method> | |
| 665 | + <schema_name/> | |
| 666 | + </partitioning> | |
| 667 | + <header>Y</header> | |
| 668 | + <footer>N</footer> | |
| 669 | + <makeSheetActive>Y</makeSheetActive> | |
| 670 | + <rowWritingMethod>overwrite</rowWritingMethod> | |
| 671 | + <startingCell>A1</startingCell> | |
| 672 | + <appendOmitHeader>N</appendOmitHeader> | |
| 673 | + <appendOffset>0</appendOffset> | |
| 674 | + <appendEmpty>0</appendEmpty> | |
| 675 | + <rowWritingMethod>overwrite</rowWritingMethod> | |
| 676 | + <forceFormulaRecalculation>N</forceFormulaRecalculation> | |
| 677 | + <leaveExistingStylesUnchanged>N</leaveExistingStylesUnchanged> | |
| 678 | + <appendLines>N</appendLines> | |
| 679 | + <add_to_result_filenames>Y</add_to_result_filenames> | |
| 680 | + <file> | |
| 681 | + <name>${filepath}</name> | |
| 682 | + <extention>xls</extention> | |
| 683 | + <do_not_open_newfile_init>N</do_not_open_newfile_init> | |
| 684 | + <split>N</split> | |
| 685 | + <add_date>N</add_date> | |
| 686 | + <add_time>N</add_time> | |
| 687 | + <SpecifyFormat>N</SpecifyFormat> | |
| 688 | + <date_time_format/> | |
| 689 | + <sheetname>Sheet1</sheetname> | |
| 690 | + <autosizecolums>N</autosizecolums> | |
| 691 | + <stream_data>N</stream_data> | |
| 692 | + <protect_sheet>N</protect_sheet> | |
| 693 | + <password>Encrypted </password> | |
| 694 | + <protected_by/> | |
| 695 | + <splitevery>0</splitevery> | |
| 696 | + <if_file_exists>new</if_file_exists> | |
| 697 | + <if_sheet_exists>new</if_sheet_exists> | |
| 698 | + </file> | |
| 699 | + <template> | |
| 700 | + <enabled>N</enabled> | |
| 701 | + <sheet_enabled>N</sheet_enabled> | |
| 702 | + <filename>template.xls</filename> | |
| 703 | + <sheetname/> | |
| 704 | + </template> | |
| 705 | + <fields> | |
| 706 | + <field> | |
| 707 | + <name>线路</name> | |
| 708 | + <type>String</type> | |
| 709 | + <format/> | |
| 710 | + <title/> | |
| 711 | + <titleStyleCell/> | |
| 712 | + <styleCell/> | |
| 713 | + <commentField/> | |
| 714 | + <commentAuthorField/> | |
| 715 | + <formula>N</formula> | |
| 716 | + <hyperlinkField/> | |
| 717 | + </field> | |
| 718 | + <field> | |
| 719 | + <name>内部编码</name> | |
| 720 | + <type>String</type> | |
| 721 | + <format/> | |
| 722 | + <title/> | |
| 723 | + <titleStyleCell/> | |
| 724 | + <styleCell/> | |
| 725 | + <commentField/> | |
| 726 | + <commentAuthorField/> | |
| 727 | + <formula>N</formula> | |
| 728 | + <hyperlinkField/> | |
| 729 | + </field> | |
| 730 | + <field> | |
| 731 | + <name>启用日期</name> | |
| 732 | + <type>Date</type> | |
| 733 | + <format>yyyy-mm-dd</format> | |
| 734 | + <title/> | |
| 735 | + <titleStyleCell/> | |
| 736 | + <styleCell/> | |
| 737 | + <commentField/> | |
| 738 | + <commentAuthorField/> | |
| 739 | + <formula>N</formula> | |
| 740 | + <hyperlinkField/> | |
| 741 | + </field> | |
| 742 | + <field> | |
| 743 | + <name>起始路牌</name> | |
| 744 | + <type>Integer</type> | |
| 745 | + <format>0</format> | |
| 746 | + <title/> | |
| 747 | + <titleStyleCell/> | |
| 748 | + <styleCell/> | |
| 749 | + <commentField/> | |
| 750 | + <commentAuthorField/> | |
| 751 | + <formula>N</formula> | |
| 752 | + <hyperlinkField/> | |
| 753 | + </field> | |
| 754 | + <field> | |
| 755 | + <name>路牌范围</name> | |
| 756 | + <type>String</type> | |
| 757 | + <format/> | |
| 758 | + <title/> | |
| 759 | + <titleStyleCell/> | |
| 760 | + <styleCell/> | |
| 761 | + <commentField/> | |
| 762 | + <commentAuthorField/> | |
| 763 | + <formula>N</formula> | |
| 764 | + <hyperlinkField/> | |
| 765 | + </field> | |
| 766 | + <field> | |
| 767 | + <name>起始人员</name> | |
| 768 | + <type>Integer</type> | |
| 769 | + <format>0</format> | |
| 770 | + <title/> | |
| 771 | + <titleStyleCell/> | |
| 772 | + <styleCell/> | |
| 773 | + <commentField/> | |
| 774 | + <commentAuthorField/> | |
| 775 | + <formula>N</formula> | |
| 776 | + <hyperlinkField/> | |
| 777 | + </field> | |
| 778 | + <field> | |
| 779 | + <name>人员范围</name> | |
| 780 | + <type>String</type> | |
| 781 | + <format/> | |
| 782 | + <title/> | |
| 783 | + <titleStyleCell/> | |
| 784 | + <styleCell/> | |
| 785 | + <commentField/> | |
| 786 | + <commentAuthorField/> | |
| 787 | + <formula>N</formula> | |
| 788 | + <hyperlinkField/> | |
| 789 | + </field> | |
| 790 | + <field> | |
| 791 | + <name>翻班格式</name> | |
| 792 | + <type>String</type> | |
| 793 | + <format/> | |
| 794 | + <title/> | |
| 795 | + <titleStyleCell/> | |
| 796 | + <styleCell/> | |
| 797 | + <commentField/> | |
| 798 | + <commentAuthorField/> | |
| 799 | + <formula>N</formula> | |
| 800 | + <hyperlinkField/> | |
| 801 | + </field> | |
| 802 | + </fields> | |
| 803 | + <cluster_schema/> | |
| 804 | + <remotesteps> <input> </input> <output> </output> </remotesteps> <GUI> | |
| 805 | + <xloc>572</xloc> | |
| 806 | + <yloc>361</yloc> | |
| 807 | + <draw>Y</draw> | |
| 808 | + </GUI> | |
| 809 | + </step> | |
| 810 | + | |
| 739 | 811 | <step_error_handling> |
| 740 | 812 | </step_error_handling> |
| 741 | 813 | <slave-step-copy-partition-distribution> | ... | ... |
src/main/resources/datatools/ktrs/ttinfodetailDataOutput.ktr
| ... | ... | @@ -97,6 +97,30 @@ |
| 97 | 97 | </notepad> |
| 98 | 98 | </notepads> |
| 99 | 99 | <connection> |
| 100 | + <name>192.168.168.1_jwgl_dw</name> | |
| 101 | + <server>192.168.168.1</server> | |
| 102 | + <type>ORACLE</type> | |
| 103 | + <access>Native</access> | |
| 104 | + <database>orcl</database> | |
| 105 | + <port>1521</port> | |
| 106 | + <username>jwgl_dw</username> | |
| 107 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 108 | + <servername/> | |
| 109 | + <data_tablespace/> | |
| 110 | + <index_tablespace/> | |
| 111 | + <attributes> | |
| 112 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 113 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 114 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 115 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 116 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 117 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 118 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 119 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 120 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 121 | + </attributes> | |
| 122 | + </connection> | |
| 123 | + <connection> | |
| 100 | 124 | <name>bus_control_variable</name> |
| 101 | 125 | <server>${v_db_ip}</server> |
| 102 | 126 | <type>MYSQL</type> |
| ... | ... | @@ -282,7 +306,7 @@ |
| 282 | 306 | <add_to_result_filenames>Y</add_to_result_filenames> |
| 283 | 307 | <file> |
| 284 | 308 | <name>${filepath}</name> |
| 285 | - <extention/> | |
| 309 | + <extention>xls</extention> | |
| 286 | 310 | <do_not_open_newfile_init>N</do_not_open_newfile_init> |
| 287 | 311 | <create_parent_folder>N</create_parent_folder> |
| 288 | 312 | <split>N</split> | ... | ... |
src/main/resources/datatools/ktrs/ttinfodetailDataOutputMetaData.ktr
| ... | ... | @@ -112,6 +112,30 @@ |
| 112 | 112 | </notepad> |
| 113 | 113 | </notepads> |
| 114 | 114 | <connection> |
| 115 | + <name>192.168.168.1_jwgl_dw</name> | |
| 116 | + <server>192.168.168.1</server> | |
| 117 | + <type>ORACLE</type> | |
| 118 | + <access>Native</access> | |
| 119 | + <database>orcl</database> | |
| 120 | + <port>1521</port> | |
| 121 | + <username>jwgl_dw</username> | |
| 122 | + <password>Encrypted 2be98afc86aa7f2e4cb13b977d2adabcd</password> | |
| 123 | + <servername/> | |
| 124 | + <data_tablespace/> | |
| 125 | + <index_tablespace/> | |
| 126 | + <attributes> | |
| 127 | + <attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> | |
| 128 | + <attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> | |
| 129 | + <attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> | |
| 130 | + <attribute><code>PORT_NUMBER</code><attribute>1521</attribute></attribute> | |
| 131 | + <attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>N</attribute></attribute> | |
| 132 | + <attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> | |
| 133 | + <attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 134 | + <attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> | |
| 135 | + <attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> | |
| 136 | + </attributes> | |
| 137 | + </connection> | |
| 138 | + <connection> | |
| 115 | 139 | <name>bus_control_variable</name> |
| 116 | 140 | <server>${v_db_ip}</server> |
| 117 | 141 | <type>MYSQL</type> |
| ... | ... | @@ -447,7 +471,7 @@ |
| 447 | 471 | <schema_name/> |
| 448 | 472 | </partitioning> |
| 449 | 473 | <connection>bus_control_variable</connection> |
| 450 | - <cache>Y</cache> | |
| 474 | + <cache>N</cache> | |
| 451 | 475 | <cache_load_all>Y</cache_load_all> |
| 452 | 476 | <cache_size>0</cache_size> |
| 453 | 477 | <lookup> | ... | ... |
src/main/resources/rules/rerun.drl
| 1 | -package com.bsth.service.schedule.rerun; | |
| 2 | - | |
| 3 | -import org.joda.time.*; | |
| 4 | -import java.util.*; | |
| 5 | - | |
| 6 | -import com.bsth.service.schedule.rules.shiftloop.ScheduleResult_output; | |
| 7 | -import com.bsth.service.schedule.rules.shiftloop.ScheduleResults_output; | |
| 8 | - | |
| 9 | -import com.bsth.service.schedule.rules.rerun.RerunRule_input; | |
| 10 | -import com.bsth.service.schedule.rules.rerun.RerunRule_param; | |
| 11 | - | |
| 12 | -import com.bsth.repository.schedule.CarConfigInfoRepository; | |
| 13 | -import com.bsth.repository.schedule.EmployeeConfigInfoRepository; | |
| 14 | - | |
| 15 | -import org.slf4j.Logger | |
| 16 | -import com.bsth.entity.schedule.CarConfigInfo | |
| 17 | -import java.util.HashMap | |
| 18 | -import com.bsth.entity.schedule.EmployeeConfigInfo | |
| 19 | -import com.bsth.entity.schedule.SchedulePlanInfo; | |
| 20 | - | |
| 21 | -// 全局日志类(一般使用调用此规则的service类) | |
| 22 | -global Logger log; | |
| 23 | - | |
| 24 | -global CarConfigInfoRepository carConfigInfoRepository; | |
| 25 | -global EmployeeConfigInfoRepository employeeConfigInfoRepository; | |
| 26 | - | |
| 27 | -// 输出 | |
| 28 | - | |
| 29 | - | |
| 30 | -/* | |
| 31 | - 规则说明: | |
| 32 | - 1、对应路牌规则:将对应路牌的车辆,人员替换指定的套跑班次已有的配置 | |
| 33 | - 2、对应班车规则:直接使用指定的人员,车辆替换指定的套跑班次已有的配置 | |
| 34 | -*/ | |
| 35 | - | |
| 36 | -//-------------------- 第一阶段、计算对应路牌套跑的车辆配置,人员配置数据 -----------------// | |
| 37 | - | |
| 38 | -//--------------- 车辆配置信息载入 -------------// | |
| 39 | -declare Dylp_CarConfig_Wraps | |
| 40 | - xlId: String // 线路Id | |
| 41 | - ccMap: Map // 车辆配置Map Map<id, CarConfigInfo> | |
| 42 | -end | |
| 43 | - | |
| 44 | -rule "calcu_Dylp_CarConfig_Wraps" | |
| 45 | - salience 1000 | |
| 46 | - when | |
| 47 | - $rp: RerunRule_param($xlId: mxlid) | |
| 48 | - $dylpxlid: String() from $rp.getXlIds_dylp() | |
| 49 | - then | |
| 50 | - List carConfigInfos = carConfigInfoRepository.findByXlId(Integer.parseInt($dylpxlid)); | |
| 51 | - | |
| 52 | - Dylp_CarConfig_Wraps carConfig_wraps = new Dylp_CarConfig_Wraps(); | |
| 53 | - carConfig_wraps.setXlId($dylpxlid); | |
| 54 | - carConfig_wraps.setCcMap(new HashMap()); | |
| 55 | - | |
| 56 | - for (int i = 0; i < carConfigInfos.size(); i++) { | |
| 57 | - CarConfigInfo carConfigInfo = (CarConfigInfo) carConfigInfos.get(i); | |
| 58 | - carConfig_wraps.getCcMap().put(carConfigInfo.getId().toString(), carConfigInfo); | |
| 59 | - } | |
| 60 | - | |
| 61 | - insert(carConfig_wraps); | |
| 62 | - | |
| 63 | - log.info("calcu_Dylp_CarConfig_Wraps"); | |
| 64 | - | |
| 65 | -end | |
| 66 | - | |
| 67 | -//--------------- 人员配置信息载入 --------------// | |
| 68 | -declare Dylp_EmployeeConfig_Wraps | |
| 69 | - xlId: String // 线路Id | |
| 70 | - ecMap: Map // 人员配置Map Map<id, EmployeeConfigInfo> | |
| 71 | -end | |
| 72 | - | |
| 73 | -rule "calcu_Dylp_EmployeeConfig_Wraps" | |
| 74 | - salience 1000 | |
| 75 | - when | |
| 76 | - $rp: RerunRule_param($xlId: mxlid) | |
| 77 | - $dylpxlid: String() from $rp.getXlIds_dylp() | |
| 78 | - then | |
| 79 | - List employeeConfigInfos = employeeConfigInfoRepository.findByXlId(Integer.parseInt($dylpxlid)); | |
| 80 | - | |
| 81 | - Dylp_EmployeeConfig_Wraps employeeConfig_wraps = new Dylp_EmployeeConfig_Wraps(); | |
| 82 | - employeeConfig_wraps.setXlId($dylpxlid); | |
| 83 | - employeeConfig_wraps.setEcMap(new HashMap()); | |
| 84 | - | |
| 85 | - for (int i = 0; i < employeeConfigInfos.size(); i++) { | |
| 86 | - EmployeeConfigInfo employeeConfigInfo = (EmployeeConfigInfo) employeeConfigInfos.get(i); | |
| 87 | - employeeConfig_wraps.getEcMap().put(employeeConfigInfo.getId().toString(), employeeConfigInfo); | |
| 88 | - } | |
| 89 | - | |
| 90 | - insert(employeeConfig_wraps); | |
| 91 | - | |
| 92 | - log.info("calcu_Dylp_EmployeeConfig_Wraps"); | |
| 93 | - | |
| 94 | -end | |
| 95 | - | |
| 96 | -//-------------------- 第二阶段、包装对应路牌的循环规则输出 -----------------// | |
| 97 | - | |
| 98 | -declare Dylp_ScheduleResult_output_wrap | |
| 99 | - xlId: String // 线路 | |
| 100 | - sd: DateTime // 日期 | |
| 101 | - lp: String // 路牌 | |
| 102 | - cc: CarConfigInfo // 使用的车辆配置 | |
| 103 | - ec: List // 使用的人员配置 List<EmployeeConfigInfo> | |
| 104 | -end | |
| 105 | - | |
| 106 | -rule "calcu_Dylp_ScheduleResult_output_wrap" | |
| 107 | - salience 900 | |
| 108 | - when | |
| 109 | - $sro: ScheduleResults_output($xlId: xlid) | |
| 110 | - $sr: ScheduleResult_output() from $sro.getResults() | |
| 111 | - Dylp_CarConfig_Wraps(xlId == $xlId, $ccmap: ccMap) | |
| 112 | - Dylp_EmployeeConfig_Wraps(xlId == $xlId, $ecmap: ecMap) | |
| 113 | - then | |
| 114 | - Dylp_ScheduleResult_output_wrap wrap = new Dylp_ScheduleResult_output_wrap(); | |
| 115 | - wrap.setXlId($xlId); | |
| 116 | - wrap.setSd($sr.getSd()); | |
| 117 | - wrap.setLp($sr.getGuideboardId()); | |
| 118 | - wrap.setCc((CarConfigInfo) $ccmap.get($sr.getCarConfigId())); | |
| 119 | - | |
| 120 | - List ecs = new ArrayList(); | |
| 121 | - String[] ecids = $sr.getEmployeeConfigId().split("-"); // 分班的人 | |
| 122 | - for (int i = 0; i < ecids.length; i++) { | |
| 123 | - ecs.add($ecmap.get(ecids[i])); | |
| 124 | - } | |
| 125 | - wrap.setEc(ecs); | |
| 126 | - | |
| 127 | -// log.info("xlid = {}", $xlId); | |
| 128 | - | |
| 129 | - insert(wrap); | |
| 130 | -end | |
| 131 | - | |
| 132 | -//-------------------- 第三阶段、套跑线路,替换班次的车辆,人员 --------------------// | |
| 133 | -rule "calcu_Dylp_rerun_update_dylp" | |
| 134 | - salience 800 | |
| 135 | -// no-loop | |
| 136 | - when | |
| 137 | - $spi: SchedulePlanInfo($xlid: xl, $sd: scheduleDate, $lp: lp, $fcsj: fcsj, $ttinfo: ttInfo) | |
| 138 | - $ri: RerunRule_input( | |
| 139 | - type == "dylp", | |
| 140 | - xl == $xlid.toString(), | |
| 141 | - ttinfo == $ttinfo.toString(), | |
| 142 | - lp == $lp.toString(), | |
| 143 | - fcsj == $fcsj, | |
| 144 | - $sxl: s_xl, $slp: s_lp, $type: usetype, $hrtype: userhrtype | |
| 145 | - ) | |
| 146 | - $dsro: Dylp_ScheduleResult_output_wrap( | |
| 147 | - xlId == $sxl, | |
| 148 | - lp == $slp, | |
| 149 | - sd.getMillis() == $sd.getTime() | |
| 150 | - ) | |
| 151 | - then | |
| 152 | -// log.info("TODO:测试 {}", $fcsj); | |
| 153 | - | |
| 154 | - $spi.setRerunInfoDylp($dsro.getCc(), $dsro.getEc(), $type, $hrtype); | |
| 155 | - | |
| 156 | -end | |
| 157 | - | |
| 158 | -rule "calcu_Dylp_rerun_update_dybc" | |
| 159 | - salience 700 | |
| 160 | - when | |
| 161 | - $spi: SchedulePlanInfo($xlid: xl, $sd: scheduleDate, $lp: lp, $fcsj: fcsj, $ttinfo: ttInfo) | |
| 162 | - $ri: RerunRule_input( | |
| 163 | - type == "dybc", | |
| 164 | - xl == $xlid.toString(), | |
| 165 | - ttinfo == $ttinfo.toString(), | |
| 166 | - lp == $lp.toString(), | |
| 167 | - fcsj == $fcsj | |
| 168 | - ) | |
| 169 | - | |
| 170 | - then | |
| 171 | - | |
| 172 | - $spi.setRerunInfoDybc($ri); | |
| 173 | - | |
| 174 | - | |
| 175 | -end | |
| 176 | - | |
| 177 | - | |
| 178 | - | |
| 179 | - | |
| 180 | - | |
| 181 | - | |
| 182 | - | |
| 183 | - | |
| 184 | - | |
| 185 | - | |
| 186 | - | |
| 187 | - | |
| 188 | - | |
| 189 | - | |
| 190 | - | |
| 191 | - | |
| 192 | - | |
| 1 | +package com.bsth.service.schedule.rerun; | |
| 2 | + | |
| 3 | +import org.joda.time.*; | |
| 4 | +import java.util.*; | |
| 5 | + | |
| 6 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleResult_output; | |
| 7 | +import com.bsth.service.schedule.rules.shiftloop.ScheduleResults_output; | |
| 8 | + | |
| 9 | +import com.bsth.service.schedule.rules.rerun.RerunRule_input; | |
| 10 | +import com.bsth.service.schedule.rules.rerun.RerunRule_param; | |
| 11 | + | |
| 12 | +import com.bsth.repository.schedule.CarConfigInfoRepository; | |
| 13 | +import com.bsth.repository.schedule.EmployeeConfigInfoRepository; | |
| 14 | + | |
| 15 | +import org.slf4j.Logger | |
| 16 | +import com.bsth.entity.schedule.CarConfigInfo | |
| 17 | +import java.util.HashMap | |
| 18 | +import com.bsth.entity.schedule.EmployeeConfigInfo | |
| 19 | +import com.bsth.entity.schedule.SchedulePlanInfo; | |
| 20 | + | |
| 21 | +// 全局日志类(一般使用调用此规则的service类) | |
| 22 | +global Logger log; | |
| 23 | + | |
| 24 | +global CarConfigInfoRepository carConfigInfoRepository; | |
| 25 | +global EmployeeConfigInfoRepository employeeConfigInfoRepository; | |
| 26 | + | |
| 27 | +// 输出 | |
| 28 | + | |
| 29 | + | |
| 30 | +/* | |
| 31 | + 规则说明: | |
| 32 | + 1、对应路牌规则:将对应路牌的车辆,人员替换指定的套跑班次已有的配置 | |
| 33 | + 2、对应班车规则:直接使用指定的人员,车辆替换指定的套跑班次已有的配置 | |
| 34 | +*/ | |
| 35 | + | |
| 36 | +//-------------------- 第一阶段、计算对应路牌套跑的车辆配置,人员配置数据 -----------------// | |
| 37 | + | |
| 38 | +//--------------- 车辆配置信息载入 -------------// | |
| 39 | +declare Dylp_CarConfig_Wraps | |
| 40 | + xlId: String // 线路Id | |
| 41 | + ccMap: Map // 车辆配置Map Map<id, CarConfigInfo> | |
| 42 | +end | |
| 43 | + | |
| 44 | +rule "calcu_Dylp_CarConfig_Wraps" | |
| 45 | + salience 1000 | |
| 46 | + when | |
| 47 | + $rp: RerunRule_param($xlId: mxlid) | |
| 48 | + $dylpxlid: String() from $rp.getXlIds_dylp() | |
| 49 | + then | |
| 50 | + List carConfigInfos = carConfigInfoRepository.findByXlId(Integer.parseInt($dylpxlid)); | |
| 51 | + | |
| 52 | + Dylp_CarConfig_Wraps carConfig_wraps = new Dylp_CarConfig_Wraps(); | |
| 53 | + carConfig_wraps.setXlId($dylpxlid); | |
| 54 | + carConfig_wraps.setCcMap(new HashMap()); | |
| 55 | + | |
| 56 | + for (int i = 0; i < carConfigInfos.size(); i++) { | |
| 57 | + CarConfigInfo carConfigInfo = (CarConfigInfo) carConfigInfos.get(i); | |
| 58 | + carConfig_wraps.getCcMap().put(carConfigInfo.getId().toString(), carConfigInfo); | |
| 59 | + } | |
| 60 | + | |
| 61 | + insert(carConfig_wraps); | |
| 62 | + | |
| 63 | + log.info("calcu_Dylp_CarConfig_Wraps"); | |
| 64 | + | |
| 65 | +end | |
| 66 | + | |
| 67 | +//--------------- 人员配置信息载入 --------------// | |
| 68 | +declare Dylp_EmployeeConfig_Wraps | |
| 69 | + xlId: String // 线路Id | |
| 70 | + ecMap: Map // 人员配置Map Map<id, EmployeeConfigInfo> | |
| 71 | +end | |
| 72 | + | |
| 73 | +rule "calcu_Dylp_EmployeeConfig_Wraps" | |
| 74 | + salience 1000 | |
| 75 | + when | |
| 76 | + $rp: RerunRule_param($xlId: mxlid) | |
| 77 | + $dylpxlid: String() from $rp.getXlIds_dylp() | |
| 78 | + then | |
| 79 | + List employeeConfigInfos = employeeConfigInfoRepository.findByXlId(Integer.parseInt($dylpxlid)); | |
| 80 | + | |
| 81 | + Dylp_EmployeeConfig_Wraps employeeConfig_wraps = new Dylp_EmployeeConfig_Wraps(); | |
| 82 | + employeeConfig_wraps.setXlId($dylpxlid); | |
| 83 | + employeeConfig_wraps.setEcMap(new HashMap()); | |
| 84 | + | |
| 85 | + for (int i = 0; i < employeeConfigInfos.size(); i++) { | |
| 86 | + EmployeeConfigInfo employeeConfigInfo = (EmployeeConfigInfo) employeeConfigInfos.get(i); | |
| 87 | + employeeConfig_wraps.getEcMap().put(employeeConfigInfo.getId().toString(), employeeConfigInfo); | |
| 88 | + } | |
| 89 | + | |
| 90 | + insert(employeeConfig_wraps); | |
| 91 | + | |
| 92 | + log.info("calcu_Dylp_EmployeeConfig_Wraps"); | |
| 93 | + | |
| 94 | +end | |
| 95 | + | |
| 96 | +//-------------------- 第二阶段、包装对应路牌的循环规则输出 -----------------// | |
| 97 | + | |
| 98 | +declare Dylp_ScheduleResult_output_wrap | |
| 99 | + xlId: String // 线路 | |
| 100 | + sd: DateTime // 日期 | |
| 101 | + lp: String // 路牌 | |
| 102 | + cc: CarConfigInfo // 使用的车辆配置 | |
| 103 | + ec: List // 使用的人员配置 List<EmployeeConfigInfo> | |
| 104 | +end | |
| 105 | + | |
| 106 | +rule "calcu_Dylp_ScheduleResult_output_wrap" | |
| 107 | + salience 900 | |
| 108 | + when | |
| 109 | + $sro: ScheduleResults_output($xlId: xlid) | |
| 110 | + $sr: ScheduleResult_output() from $sro.getResults() | |
| 111 | + Dylp_CarConfig_Wraps(xlId == $xlId, $ccmap: ccMap) | |
| 112 | + Dylp_EmployeeConfig_Wraps(xlId == $xlId, $ecmap: ecMap) | |
| 113 | + then | |
| 114 | + Dylp_ScheduleResult_output_wrap wrap = new Dylp_ScheduleResult_output_wrap(); | |
| 115 | + wrap.setXlId($xlId); | |
| 116 | + wrap.setSd($sr.getSd()); | |
| 117 | + wrap.setLp($sr.getGuideboardId()); | |
| 118 | + wrap.setCc((CarConfigInfo) $ccmap.get($sr.getCarConfigId())); | |
| 119 | + | |
| 120 | + List ecs = new ArrayList(); | |
| 121 | + String[] ecids = $sr.getEmployeeConfigId().split("-"); // 分班的人 | |
| 122 | + for (int i = 0; i < ecids.length; i++) { | |
| 123 | + ecs.add($ecmap.get(ecids[i])); | |
| 124 | + } | |
| 125 | + wrap.setEc(ecs); | |
| 126 | + | |
| 127 | +// log.info("xlid = {}", $xlId); | |
| 128 | + | |
| 129 | + insert(wrap); | |
| 130 | +end | |
| 131 | + | |
| 132 | +//-------------------- 第三阶段、套跑线路,替换班次的车辆,人员 --------------------// | |
| 133 | +rule "calcu_Dylp_rerun_update_dylp" | |
| 134 | + salience 800 | |
| 135 | +// no-loop | |
| 136 | + when | |
| 137 | + $spi: SchedulePlanInfo($xlid: xl, $sd: scheduleDate, $lp: lp, $fcsj: fcsj, $ttinfo: ttInfo) | |
| 138 | + $ri: RerunRule_input( | |
| 139 | + type == "dylp", | |
| 140 | + xl == $xlid.toString(), | |
| 141 | + ttinfo == $ttinfo.toString(), | |
| 142 | + lp == $lp.toString(), | |
| 143 | + fcsj == $fcsj, | |
| 144 | + $sxl: s_xl, $slp: s_lp, $type: usetype, $hrtype: userhrtype | |
| 145 | + ) | |
| 146 | + $dsro: Dylp_ScheduleResult_output_wrap( | |
| 147 | + xlId == $sxl, | |
| 148 | + lp == $slp, | |
| 149 | + sd.getMillis() == $sd.getTime() | |
| 150 | + ) | |
| 151 | + then | |
| 152 | +// log.info("TODO:测试 {}", $fcsj); | |
| 153 | + | |
| 154 | + $spi.setRerunInfoDylp($dsro.getCc(), $dsro.getEc(), $type, $hrtype); | |
| 155 | + | |
| 156 | +end | |
| 157 | + | |
| 158 | +rule "calcu_Dylp_rerun_update_dybc" | |
| 159 | + salience 700 | |
| 160 | + when | |
| 161 | + $spi: SchedulePlanInfo($xlid: xl, $sd: scheduleDate, $lp: lp, $fcsj: fcsj, $ttinfo: ttInfo) | |
| 162 | + $ri: RerunRule_input( | |
| 163 | + type == "dybc", | |
| 164 | + xl == $xlid.toString(), | |
| 165 | + ttinfo == $ttinfo.toString(), | |
| 166 | + lp == $lp.toString(), | |
| 167 | + fcsj == $fcsj | |
| 168 | + ) | |
| 169 | + | |
| 170 | + then | |
| 171 | + | |
| 172 | + $spi.setRerunInfoDybc($ri); | |
| 173 | + | |
| 174 | + | |
| 175 | +end | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/.bower.json
| 1 | -{ | |
| 2 | - "name": "angular-i18n", | |
| 3 | - "version": "1.6.4", | |
| 4 | - "license": "MIT", | |
| 5 | - "ignore": [ | |
| 6 | - "**/.*", | |
| 7 | - "node_modules", | |
| 8 | - "components", | |
| 9 | - "precommit.sh" | |
| 10 | - ], | |
| 11 | - "homepage": "https://github.com/angular/bower-angular-i18n", | |
| 12 | - "_release": "1.6.4", | |
| 13 | - "_resolution": { | |
| 14 | - "type": "version", | |
| 15 | - "tag": "v1.6.4", | |
| 16 | - "commit": "2cfeab26b13f2ac75580aea3200ff2f9ee3d8fcd" | |
| 17 | - }, | |
| 18 | - "_source": "https://github.com/angular/bower-angular-i18n.git", | |
| 19 | - "_target": "^1.6.4", | |
| 20 | - "_originalSource": "angular-i18n", | |
| 21 | - "_direct": true | |
| 1 | +{ | |
| 2 | + "name": "angular-i18n", | |
| 3 | + "version": "1.6.4", | |
| 4 | + "license": "MIT", | |
| 5 | + "ignore": [ | |
| 6 | + "**/.*", | |
| 7 | + "node_modules", | |
| 8 | + "components", | |
| 9 | + "precommit.sh" | |
| 10 | + ], | |
| 11 | + "homepage": "https://github.com/angular/bower-angular-i18n", | |
| 12 | + "_release": "1.6.4", | |
| 13 | + "_resolution": { | |
| 14 | + "type": "version", | |
| 15 | + "tag": "v1.6.4", | |
| 16 | + "commit": "2cfeab26b13f2ac75580aea3200ff2f9ee3d8fcd" | |
| 17 | + }, | |
| 18 | + "_source": "https://github.com/angular/bower-angular-i18n.git", | |
| 19 | + "_target": "^1.6.4", | |
| 20 | + "_originalSource": "angular-i18n", | |
| 21 | + "_direct": true | |
| 22 | 22 | } |
| 23 | 23 | \ No newline at end of file | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/LICENSE.md
| 1 | -The MIT License (MIT) | |
| 2 | - | |
| 3 | -Copyright (c) 2016 Angular | |
| 4 | - | |
| 5 | -Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | -of this software and associated documentation files (the "Software"), to deal | |
| 7 | -in the Software without restriction, including without limitation the rights | |
| 8 | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | -copies of the Software, and to permit persons to whom the Software is | |
| 10 | -furnished to do so, subject to the following conditions: | |
| 11 | - | |
| 12 | -The above copyright notice and this permission notice shall be included in all | |
| 13 | -copies or substantial portions of the Software. | |
| 14 | - | |
| 15 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | -SOFTWARE. | |
| 1 | +The MIT License (MIT) | |
| 2 | + | |
| 3 | +Copyright (c) 2016 Angular | |
| 4 | + | |
| 5 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 6 | +of this software and associated documentation files (the "Software"), to deal | |
| 7 | +in the Software without restriction, including without limitation the rights | |
| 8 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 9 | +copies of the Software, and to permit persons to whom the Software is | |
| 10 | +furnished to do so, subject to the following conditions: | |
| 11 | + | |
| 12 | +The above copyright notice and this permission notice shall be included in all | |
| 13 | +copies or substantial portions of the Software. | |
| 14 | + | |
| 15 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 16 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 17 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 18 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 19 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 20 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| 21 | +SOFTWARE. | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/README.md
| 1 | -# packaged angular-i18n | |
| 2 | - | |
| 3 | -This repo is for distribution on `npm` and `bower`. The source for this module is in the | |
| 4 | -[main AngularJS repo](https://github.com/angular/angular.js). | |
| 5 | -Please file issues and pull requests against that repo. | |
| 6 | - | |
| 7 | -## Install | |
| 8 | - | |
| 9 | -You can install this package either with `npm` or with `bower`. | |
| 10 | - | |
| 11 | -### npm | |
| 12 | - | |
| 13 | -```shell | |
| 14 | -npm install angular-i18n | |
| 15 | -``` | |
| 16 | - | |
| 17 | -Add a `<script>` to your `index.html`: | |
| 18 | - | |
| 19 | -```html | |
| 20 | -<script src="/node_modules/angular-i18n/angular-locale_YOUR-LOCALE.js"></script> | |
| 21 | -``` | |
| 22 | - | |
| 23 | -Note that this package is not in CommonJS format, so doing `require('angular-i18n')` will | |
| 24 | -return `undefined`. | |
| 25 | - | |
| 26 | -### bower | |
| 27 | - | |
| 28 | -```shell | |
| 29 | -bower install angular-i18n | |
| 30 | -``` | |
| 31 | - | |
| 32 | -Add a `<script>` to your `index.html`: | |
| 33 | - | |
| 34 | -```html | |
| 35 | -<script src="/bower_components/angular-i18n/angular-locale_YOUR-LOCALE.js"></script> | |
| 36 | -``` | |
| 37 | - | |
| 38 | -## Documentation | |
| 39 | - | |
| 40 | -Documentation is available on the | |
| 41 | -[AngularJS docs site](http://docs.angularjs.org/guide/i18n). | |
| 42 | - | |
| 43 | -## License | |
| 44 | - | |
| 45 | -The MIT License | |
| 46 | - | |
| 47 | -Copyright (c) 2010-2015 Google, Inc. http://angularjs.org | |
| 48 | - | |
| 49 | -Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 50 | -of this software and associated documentation files (the "Software"), to deal | |
| 51 | -in the Software without restriction, including without limitation the rights | |
| 52 | -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 53 | -copies of the Software, and to permit persons to whom the Software is | |
| 54 | -furnished to do so, subject to the following conditions: | |
| 55 | - | |
| 56 | -The above copyright notice and this permission notice shall be included in | |
| 57 | -all copies or substantial portions of the Software. | |
| 58 | - | |
| 59 | -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 60 | -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 61 | -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 62 | -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 63 | -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 64 | -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
| 65 | -THE SOFTWARE. | |
| 1 | +# packaged angular-i18n | |
| 2 | + | |
| 3 | +This repo is for distribution on `npm` and `bower`. The source for this module is in the | |
| 4 | +[main AngularJS repo](https://github.com/angular/angular.js). | |
| 5 | +Please file issues and pull requests against that repo. | |
| 6 | + | |
| 7 | +## Install | |
| 8 | + | |
| 9 | +You can install this package either with `npm` or with `bower`. | |
| 10 | + | |
| 11 | +### npm | |
| 12 | + | |
| 13 | +```shell | |
| 14 | +npm install angular-i18n | |
| 15 | +``` | |
| 16 | + | |
| 17 | +Add a `<script>` to your `index.html`: | |
| 18 | + | |
| 19 | +```html | |
| 20 | +<script src="/node_modules/angular-i18n/angular-locale_YOUR-LOCALE.js"></script> | |
| 21 | +``` | |
| 22 | + | |
| 23 | +Note that this package is not in CommonJS format, so doing `require('angular-i18n')` will | |
| 24 | +return `undefined`. | |
| 25 | + | |
| 26 | +### bower | |
| 27 | + | |
| 28 | +```shell | |
| 29 | +bower install angular-i18n | |
| 30 | +``` | |
| 31 | + | |
| 32 | +Add a `<script>` to your `index.html`: | |
| 33 | + | |
| 34 | +```html | |
| 35 | +<script src="/bower_components/angular-i18n/angular-locale_YOUR-LOCALE.js"></script> | |
| 36 | +``` | |
| 37 | + | |
| 38 | +## Documentation | |
| 39 | + | |
| 40 | +Documentation is available on the | |
| 41 | +[AngularJS docs site](http://docs.angularjs.org/guide/i18n). | |
| 42 | + | |
| 43 | +## License | |
| 44 | + | |
| 45 | +The MIT License | |
| 46 | + | |
| 47 | +Copyright (c) 2010-2015 Google, Inc. http://angularjs.org | |
| 48 | + | |
| 49 | +Permission is hereby granted, free of charge, to any person obtaining a copy | |
| 50 | +of this software and associated documentation files (the "Software"), to deal | |
| 51 | +in the Software without restriction, including without limitation the rights | |
| 52 | +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| 53 | +copies of the Software, and to permit persons to whom the Software is | |
| 54 | +furnished to do so, subject to the following conditions: | |
| 55 | + | |
| 56 | +The above copyright notice and this permission notice shall be included in | |
| 57 | +all copies or substantial portions of the Software. | |
| 58 | + | |
| 59 | +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| 60 | +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| 61 | +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| 62 | +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| 63 | +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| 64 | +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
| 65 | +THE SOFTWARE. | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/aa-dj.js
src/main/resources/static/assets/bower_components/angular-i18n/aa-er.js
src/main/resources/static/assets/bower_components/angular-i18n/aa-et.js
src/main/resources/static/assets/bower_components/angular-i18n/aa.js
src/main/resources/static/assets/bower_components/angular-i18n/af-na.js
src/main/resources/static/assets/bower_components/angular-i18n/af-za.js
src/main/resources/static/assets/bower_components/angular-i18n/af.js
src/main/resources/static/assets/bower_components/angular-i18n/agq-cm.js
src/main/resources/static/assets/bower_components/angular-i18n/agq.js
src/main/resources/static/assets/bower_components/angular-i18n/ak-gh.js
src/main/resources/static/assets/bower_components/angular-i18n/ak.js
src/main/resources/static/assets/bower_components/angular-i18n/am-et.js
src/main/resources/static/assets/bower_components/angular-i18n/am.js
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_aa-dj.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "saaku", | |
| 26 | - "carra" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Acaada", | |
| 30 | - "Etleeni", | |
| 31 | - "Talaata", | |
| 32 | - "Arbaqa", | |
| 33 | - "Kamiisi", | |
| 34 | - "Gumqata", | |
| 35 | - "Sabti" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Yaasuusuk Duma", | |
| 39 | - "Yaasuusuk Wadir" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "Yaasuusuk Duma", | |
| 43 | - "Yaasuusuk Wadir" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 5, | |
| 46 | - "MONTH": [ | |
| 47 | - "Qunxa Garablu", | |
| 48 | - "Kudo", | |
| 49 | - "Ciggilta Kudo", | |
| 50 | - "Agda Baxis", | |
| 51 | - "Caxah Alsa", | |
| 52 | - "Qasa Dirri", | |
| 53 | - "Qado Dirri", | |
| 54 | - "Leqeeni", | |
| 55 | - "Waysu", | |
| 56 | - "Diteli", | |
| 57 | - "Ximoli", | |
| 58 | - "Kaxxa Garablu" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Aca", | |
| 62 | - "Etl", | |
| 63 | - "Tal", | |
| 64 | - "Arb", | |
| 65 | - "Kam", | |
| 66 | - "Gum", | |
| 67 | - "Sab" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "Qun", | |
| 71 | - "Nah", | |
| 72 | - "Cig", | |
| 73 | - "Agd", | |
| 74 | - "Cax", | |
| 75 | - "Qas", | |
| 76 | - "Qad", | |
| 77 | - "Leq", | |
| 78 | - "Way", | |
| 79 | - "Dit", | |
| 80 | - "Xim", | |
| 81 | - "Kax" | |
| 82 | - ], | |
| 83 | - "WEEKENDRANGE": [ | |
| 84 | - 5, | |
| 85 | - 6 | |
| 86 | - ], | |
| 87 | - "fullDate": "EEEE, MMMM dd, y", | |
| 88 | - "longDate": "dd MMMM y", | |
| 89 | - "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | - "mediumDate": "dd-MMM-y", | |
| 91 | - "mediumTime": "h:mm:ss a", | |
| 92 | - "short": "dd/MM/yy h:mm a", | |
| 93 | - "shortDate": "dd/MM/yy", | |
| 94 | - "shortTime": "h:mm a" | |
| 95 | - }, | |
| 96 | - "NUMBER_FORMATS": { | |
| 97 | - "CURRENCY_SYM": "Fdj", | |
| 98 | - "DECIMAL_SEP": ".", | |
| 99 | - "GROUP_SEP": ",", | |
| 100 | - "PATTERNS": [ | |
| 101 | - { | |
| 102 | - "gSize": 3, | |
| 103 | - "lgSize": 3, | |
| 104 | - "maxFrac": 3, | |
| 105 | - "minFrac": 0, | |
| 106 | - "minInt": 1, | |
| 107 | - "negPre": "-", | |
| 108 | - "negSuf": "", | |
| 109 | - "posPre": "", | |
| 110 | - "posSuf": "" | |
| 111 | - }, | |
| 112 | - { | |
| 113 | - "gSize": 3, | |
| 114 | - "lgSize": 3, | |
| 115 | - "maxFrac": 2, | |
| 116 | - "minFrac": 2, | |
| 117 | - "minInt": 1, | |
| 118 | - "negPre": "\u00a4-", | |
| 119 | - "negSuf": "", | |
| 120 | - "posPre": "\u00a4", | |
| 121 | - "posSuf": "" | |
| 122 | - } | |
| 123 | - ] | |
| 124 | - }, | |
| 125 | - "id": "aa-dj", | |
| 126 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | -}); | |
| 128 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "saaku", | |
| 26 | + "carra" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Acaada", | |
| 30 | + "Etleeni", | |
| 31 | + "Talaata", | |
| 32 | + "Arbaqa", | |
| 33 | + "Kamiisi", | |
| 34 | + "Gumqata", | |
| 35 | + "Sabti" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Yaasuusuk Duma", | |
| 39 | + "Yaasuusuk Wadir" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "Yaasuusuk Duma", | |
| 43 | + "Yaasuusuk Wadir" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 5, | |
| 46 | + "MONTH": [ | |
| 47 | + "Qunxa Garablu", | |
| 48 | + "Kudo", | |
| 49 | + "Ciggilta Kudo", | |
| 50 | + "Agda Baxis", | |
| 51 | + "Caxah Alsa", | |
| 52 | + "Qasa Dirri", | |
| 53 | + "Qado Dirri", | |
| 54 | + "Leqeeni", | |
| 55 | + "Waysu", | |
| 56 | + "Diteli", | |
| 57 | + "Ximoli", | |
| 58 | + "Kaxxa Garablu" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Aca", | |
| 62 | + "Etl", | |
| 63 | + "Tal", | |
| 64 | + "Arb", | |
| 65 | + "Kam", | |
| 66 | + "Gum", | |
| 67 | + "Sab" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "Qun", | |
| 71 | + "Nah", | |
| 72 | + "Cig", | |
| 73 | + "Agd", | |
| 74 | + "Cax", | |
| 75 | + "Qas", | |
| 76 | + "Qad", | |
| 77 | + "Leq", | |
| 78 | + "Way", | |
| 79 | + "Dit", | |
| 80 | + "Xim", | |
| 81 | + "Kax" | |
| 82 | + ], | |
| 83 | + "WEEKENDRANGE": [ | |
| 84 | + 5, | |
| 85 | + 6 | |
| 86 | + ], | |
| 87 | + "fullDate": "EEEE, MMMM dd, y", | |
| 88 | + "longDate": "dd MMMM y", | |
| 89 | + "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | + "mediumDate": "dd-MMM-y", | |
| 91 | + "mediumTime": "h:mm:ss a", | |
| 92 | + "short": "dd/MM/yy h:mm a", | |
| 93 | + "shortDate": "dd/MM/yy", | |
| 94 | + "shortTime": "h:mm a" | |
| 95 | + }, | |
| 96 | + "NUMBER_FORMATS": { | |
| 97 | + "CURRENCY_SYM": "Fdj", | |
| 98 | + "DECIMAL_SEP": ".", | |
| 99 | + "GROUP_SEP": ",", | |
| 100 | + "PATTERNS": [ | |
| 101 | + { | |
| 102 | + "gSize": 3, | |
| 103 | + "lgSize": 3, | |
| 104 | + "maxFrac": 3, | |
| 105 | + "minFrac": 0, | |
| 106 | + "minInt": 1, | |
| 107 | + "negPre": "-", | |
| 108 | + "negSuf": "", | |
| 109 | + "posPre": "", | |
| 110 | + "posSuf": "" | |
| 111 | + }, | |
| 112 | + { | |
| 113 | + "gSize": 3, | |
| 114 | + "lgSize": 3, | |
| 115 | + "maxFrac": 2, | |
| 116 | + "minFrac": 2, | |
| 117 | + "minInt": 1, | |
| 118 | + "negPre": "\u00a4-", | |
| 119 | + "negSuf": "", | |
| 120 | + "posPre": "\u00a4", | |
| 121 | + "posSuf": "" | |
| 122 | + } | |
| 123 | + ] | |
| 124 | + }, | |
| 125 | + "id": "aa-dj", | |
| 126 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | +}); | |
| 128 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_aa-er.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "saaku", | |
| 26 | - "carra" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Acaada", | |
| 30 | - "Etleeni", | |
| 31 | - "Talaata", | |
| 32 | - "Arbaqa", | |
| 33 | - "Kamiisi", | |
| 34 | - "Gumqata", | |
| 35 | - "Sabti" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Yaasuusuk Duma", | |
| 39 | - "Yaasuusuk Wadir" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "Yaasuusuk Duma", | |
| 43 | - "Yaasuusuk Wadir" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "Qunxa Garablu", | |
| 48 | - "Kudo", | |
| 49 | - "Ciggilta Kudo", | |
| 50 | - "Agda Baxis", | |
| 51 | - "Caxah Alsa", | |
| 52 | - "Qasa Dirri", | |
| 53 | - "Qado Dirri", | |
| 54 | - "Liiqen", | |
| 55 | - "Waysu", | |
| 56 | - "Diteli", | |
| 57 | - "Ximoli", | |
| 58 | - "Kaxxa Garablu" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Aca", | |
| 62 | - "Etl", | |
| 63 | - "Tal", | |
| 64 | - "Arb", | |
| 65 | - "Kam", | |
| 66 | - "Gum", | |
| 67 | - "Sab" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "Qun", | |
| 71 | - "Nah", | |
| 72 | - "Cig", | |
| 73 | - "Agd", | |
| 74 | - "Cax", | |
| 75 | - "Qas", | |
| 76 | - "Qad", | |
| 77 | - "Leq", | |
| 78 | - "Way", | |
| 79 | - "Dit", | |
| 80 | - "Xim", | |
| 81 | - "Kax" | |
| 82 | - ], | |
| 83 | - "WEEKENDRANGE": [ | |
| 84 | - 5, | |
| 85 | - 6 | |
| 86 | - ], | |
| 87 | - "fullDate": "EEEE, MMMM dd, y", | |
| 88 | - "longDate": "dd MMMM y", | |
| 89 | - "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | - "mediumDate": "dd-MMM-y", | |
| 91 | - "mediumTime": "h:mm:ss a", | |
| 92 | - "short": "dd/MM/yy h:mm a", | |
| 93 | - "shortDate": "dd/MM/yy", | |
| 94 | - "shortTime": "h:mm a" | |
| 95 | - }, | |
| 96 | - "NUMBER_FORMATS": { | |
| 97 | - "CURRENCY_SYM": "Nfk", | |
| 98 | - "DECIMAL_SEP": ".", | |
| 99 | - "GROUP_SEP": ",", | |
| 100 | - "PATTERNS": [ | |
| 101 | - { | |
| 102 | - "gSize": 3, | |
| 103 | - "lgSize": 3, | |
| 104 | - "maxFrac": 3, | |
| 105 | - "minFrac": 0, | |
| 106 | - "minInt": 1, | |
| 107 | - "negPre": "-", | |
| 108 | - "negSuf": "", | |
| 109 | - "posPre": "", | |
| 110 | - "posSuf": "" | |
| 111 | - }, | |
| 112 | - { | |
| 113 | - "gSize": 3, | |
| 114 | - "lgSize": 3, | |
| 115 | - "maxFrac": 2, | |
| 116 | - "minFrac": 2, | |
| 117 | - "minInt": 1, | |
| 118 | - "negPre": "\u00a4-", | |
| 119 | - "negSuf": "", | |
| 120 | - "posPre": "\u00a4", | |
| 121 | - "posSuf": "" | |
| 122 | - } | |
| 123 | - ] | |
| 124 | - }, | |
| 125 | - "id": "aa-er", | |
| 126 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | -}); | |
| 128 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "saaku", | |
| 26 | + "carra" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Acaada", | |
| 30 | + "Etleeni", | |
| 31 | + "Talaata", | |
| 32 | + "Arbaqa", | |
| 33 | + "Kamiisi", | |
| 34 | + "Gumqata", | |
| 35 | + "Sabti" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Yaasuusuk Duma", | |
| 39 | + "Yaasuusuk Wadir" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "Yaasuusuk Duma", | |
| 43 | + "Yaasuusuk Wadir" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "Qunxa Garablu", | |
| 48 | + "Kudo", | |
| 49 | + "Ciggilta Kudo", | |
| 50 | + "Agda Baxis", | |
| 51 | + "Caxah Alsa", | |
| 52 | + "Qasa Dirri", | |
| 53 | + "Qado Dirri", | |
| 54 | + "Liiqen", | |
| 55 | + "Waysu", | |
| 56 | + "Diteli", | |
| 57 | + "Ximoli", | |
| 58 | + "Kaxxa Garablu" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Aca", | |
| 62 | + "Etl", | |
| 63 | + "Tal", | |
| 64 | + "Arb", | |
| 65 | + "Kam", | |
| 66 | + "Gum", | |
| 67 | + "Sab" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "Qun", | |
| 71 | + "Nah", | |
| 72 | + "Cig", | |
| 73 | + "Agd", | |
| 74 | + "Cax", | |
| 75 | + "Qas", | |
| 76 | + "Qad", | |
| 77 | + "Leq", | |
| 78 | + "Way", | |
| 79 | + "Dit", | |
| 80 | + "Xim", | |
| 81 | + "Kax" | |
| 82 | + ], | |
| 83 | + "WEEKENDRANGE": [ | |
| 84 | + 5, | |
| 85 | + 6 | |
| 86 | + ], | |
| 87 | + "fullDate": "EEEE, MMMM dd, y", | |
| 88 | + "longDate": "dd MMMM y", | |
| 89 | + "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | + "mediumDate": "dd-MMM-y", | |
| 91 | + "mediumTime": "h:mm:ss a", | |
| 92 | + "short": "dd/MM/yy h:mm a", | |
| 93 | + "shortDate": "dd/MM/yy", | |
| 94 | + "shortTime": "h:mm a" | |
| 95 | + }, | |
| 96 | + "NUMBER_FORMATS": { | |
| 97 | + "CURRENCY_SYM": "Nfk", | |
| 98 | + "DECIMAL_SEP": ".", | |
| 99 | + "GROUP_SEP": ",", | |
| 100 | + "PATTERNS": [ | |
| 101 | + { | |
| 102 | + "gSize": 3, | |
| 103 | + "lgSize": 3, | |
| 104 | + "maxFrac": 3, | |
| 105 | + "minFrac": 0, | |
| 106 | + "minInt": 1, | |
| 107 | + "negPre": "-", | |
| 108 | + "negSuf": "", | |
| 109 | + "posPre": "", | |
| 110 | + "posSuf": "" | |
| 111 | + }, | |
| 112 | + { | |
| 113 | + "gSize": 3, | |
| 114 | + "lgSize": 3, | |
| 115 | + "maxFrac": 2, | |
| 116 | + "minFrac": 2, | |
| 117 | + "minInt": 1, | |
| 118 | + "negPre": "\u00a4-", | |
| 119 | + "negSuf": "", | |
| 120 | + "posPre": "\u00a4", | |
| 121 | + "posSuf": "" | |
| 122 | + } | |
| 123 | + ] | |
| 124 | + }, | |
| 125 | + "id": "aa-er", | |
| 126 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | +}); | |
| 128 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_aa-et.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "saaku", | |
| 26 | - "carra" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Acaada", | |
| 30 | - "Etleeni", | |
| 31 | - "Talaata", | |
| 32 | - "Arbaqa", | |
| 33 | - "Kamiisi", | |
| 34 | - "Gumqata", | |
| 35 | - "Sabti" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Yaasuusuk Duma", | |
| 39 | - "Yaasuusuk Wadir" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "Yaasuusuk Duma", | |
| 43 | - "Yaasuusuk Wadir" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "Qunxa Garablu", | |
| 48 | - "Kudo", | |
| 49 | - "Ciggilta Kudo", | |
| 50 | - "Agda Baxis", | |
| 51 | - "Caxah Alsa", | |
| 52 | - "Qasa Dirri", | |
| 53 | - "Qado Dirri", | |
| 54 | - "Liiqen", | |
| 55 | - "Waysu", | |
| 56 | - "Diteli", | |
| 57 | - "Ximoli", | |
| 58 | - "Kaxxa Garablu" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Aca", | |
| 62 | - "Etl", | |
| 63 | - "Tal", | |
| 64 | - "Arb", | |
| 65 | - "Kam", | |
| 66 | - "Gum", | |
| 67 | - "Sab" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "Qun", | |
| 71 | - "Nah", | |
| 72 | - "Cig", | |
| 73 | - "Agd", | |
| 74 | - "Cax", | |
| 75 | - "Qas", | |
| 76 | - "Qad", | |
| 77 | - "Leq", | |
| 78 | - "Way", | |
| 79 | - "Dit", | |
| 80 | - "Xim", | |
| 81 | - "Kax" | |
| 82 | - ], | |
| 83 | - "WEEKENDRANGE": [ | |
| 84 | - 5, | |
| 85 | - 6 | |
| 86 | - ], | |
| 87 | - "fullDate": "EEEE, MMMM dd, y", | |
| 88 | - "longDate": "dd MMMM y", | |
| 89 | - "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | - "mediumDate": "dd-MMM-y", | |
| 91 | - "mediumTime": "h:mm:ss a", | |
| 92 | - "short": "dd/MM/yy h:mm a", | |
| 93 | - "shortDate": "dd/MM/yy", | |
| 94 | - "shortTime": "h:mm a" | |
| 95 | - }, | |
| 96 | - "NUMBER_FORMATS": { | |
| 97 | - "CURRENCY_SYM": "Birr", | |
| 98 | - "DECIMAL_SEP": ".", | |
| 99 | - "GROUP_SEP": ",", | |
| 100 | - "PATTERNS": [ | |
| 101 | - { | |
| 102 | - "gSize": 3, | |
| 103 | - "lgSize": 3, | |
| 104 | - "maxFrac": 3, | |
| 105 | - "minFrac": 0, | |
| 106 | - "minInt": 1, | |
| 107 | - "negPre": "-", | |
| 108 | - "negSuf": "", | |
| 109 | - "posPre": "", | |
| 110 | - "posSuf": "" | |
| 111 | - }, | |
| 112 | - { | |
| 113 | - "gSize": 3, | |
| 114 | - "lgSize": 3, | |
| 115 | - "maxFrac": 2, | |
| 116 | - "minFrac": 2, | |
| 117 | - "minInt": 1, | |
| 118 | - "negPre": "\u00a4-", | |
| 119 | - "negSuf": "", | |
| 120 | - "posPre": "\u00a4", | |
| 121 | - "posSuf": "" | |
| 122 | - } | |
| 123 | - ] | |
| 124 | - }, | |
| 125 | - "id": "aa-et", | |
| 126 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | -}); | |
| 128 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "saaku", | |
| 26 | + "carra" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Acaada", | |
| 30 | + "Etleeni", | |
| 31 | + "Talaata", | |
| 32 | + "Arbaqa", | |
| 33 | + "Kamiisi", | |
| 34 | + "Gumqata", | |
| 35 | + "Sabti" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Yaasuusuk Duma", | |
| 39 | + "Yaasuusuk Wadir" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "Yaasuusuk Duma", | |
| 43 | + "Yaasuusuk Wadir" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "Qunxa Garablu", | |
| 48 | + "Kudo", | |
| 49 | + "Ciggilta Kudo", | |
| 50 | + "Agda Baxis", | |
| 51 | + "Caxah Alsa", | |
| 52 | + "Qasa Dirri", | |
| 53 | + "Qado Dirri", | |
| 54 | + "Liiqen", | |
| 55 | + "Waysu", | |
| 56 | + "Diteli", | |
| 57 | + "Ximoli", | |
| 58 | + "Kaxxa Garablu" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Aca", | |
| 62 | + "Etl", | |
| 63 | + "Tal", | |
| 64 | + "Arb", | |
| 65 | + "Kam", | |
| 66 | + "Gum", | |
| 67 | + "Sab" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "Qun", | |
| 71 | + "Nah", | |
| 72 | + "Cig", | |
| 73 | + "Agd", | |
| 74 | + "Cax", | |
| 75 | + "Qas", | |
| 76 | + "Qad", | |
| 77 | + "Leq", | |
| 78 | + "Way", | |
| 79 | + "Dit", | |
| 80 | + "Xim", | |
| 81 | + "Kax" | |
| 82 | + ], | |
| 83 | + "WEEKENDRANGE": [ | |
| 84 | + 5, | |
| 85 | + 6 | |
| 86 | + ], | |
| 87 | + "fullDate": "EEEE, MMMM dd, y", | |
| 88 | + "longDate": "dd MMMM y", | |
| 89 | + "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | + "mediumDate": "dd-MMM-y", | |
| 91 | + "mediumTime": "h:mm:ss a", | |
| 92 | + "short": "dd/MM/yy h:mm a", | |
| 93 | + "shortDate": "dd/MM/yy", | |
| 94 | + "shortTime": "h:mm a" | |
| 95 | + }, | |
| 96 | + "NUMBER_FORMATS": { | |
| 97 | + "CURRENCY_SYM": "Birr", | |
| 98 | + "DECIMAL_SEP": ".", | |
| 99 | + "GROUP_SEP": ",", | |
| 100 | + "PATTERNS": [ | |
| 101 | + { | |
| 102 | + "gSize": 3, | |
| 103 | + "lgSize": 3, | |
| 104 | + "maxFrac": 3, | |
| 105 | + "minFrac": 0, | |
| 106 | + "minInt": 1, | |
| 107 | + "negPre": "-", | |
| 108 | + "negSuf": "", | |
| 109 | + "posPre": "", | |
| 110 | + "posSuf": "" | |
| 111 | + }, | |
| 112 | + { | |
| 113 | + "gSize": 3, | |
| 114 | + "lgSize": 3, | |
| 115 | + "maxFrac": 2, | |
| 116 | + "minFrac": 2, | |
| 117 | + "minInt": 1, | |
| 118 | + "negPre": "\u00a4-", | |
| 119 | + "negSuf": "", | |
| 120 | + "posPre": "\u00a4", | |
| 121 | + "posSuf": "" | |
| 122 | + } | |
| 123 | + ] | |
| 124 | + }, | |
| 125 | + "id": "aa-et", | |
| 126 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | +}); | |
| 128 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_aa.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "saaku", | |
| 26 | - "carra" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Acaada", | |
| 30 | - "Etleeni", | |
| 31 | - "Talaata", | |
| 32 | - "Arbaqa", | |
| 33 | - "Kamiisi", | |
| 34 | - "Gumqata", | |
| 35 | - "Sabti" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Yaasuusuk Duma", | |
| 39 | - "Yaasuusuk Wadir" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "Yaasuusuk Duma", | |
| 43 | - "Yaasuusuk Wadir" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "Qunxa Garablu", | |
| 48 | - "Kudo", | |
| 49 | - "Ciggilta Kudo", | |
| 50 | - "Agda Baxis", | |
| 51 | - "Caxah Alsa", | |
| 52 | - "Qasa Dirri", | |
| 53 | - "Qado Dirri", | |
| 54 | - "Liiqen", | |
| 55 | - "Waysu", | |
| 56 | - "Diteli", | |
| 57 | - "Ximoli", | |
| 58 | - "Kaxxa Garablu" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Aca", | |
| 62 | - "Etl", | |
| 63 | - "Tal", | |
| 64 | - "Arb", | |
| 65 | - "Kam", | |
| 66 | - "Gum", | |
| 67 | - "Sab" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "Qun", | |
| 71 | - "Nah", | |
| 72 | - "Cig", | |
| 73 | - "Agd", | |
| 74 | - "Cax", | |
| 75 | - "Qas", | |
| 76 | - "Qad", | |
| 77 | - "Leq", | |
| 78 | - "Way", | |
| 79 | - "Dit", | |
| 80 | - "Xim", | |
| 81 | - "Kax" | |
| 82 | - ], | |
| 83 | - "WEEKENDRANGE": [ | |
| 84 | - 5, | |
| 85 | - 6 | |
| 86 | - ], | |
| 87 | - "fullDate": "EEEE, MMMM dd, y", | |
| 88 | - "longDate": "dd MMMM y", | |
| 89 | - "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | - "mediumDate": "dd-MMM-y", | |
| 91 | - "mediumTime": "h:mm:ss a", | |
| 92 | - "short": "dd/MM/yy h:mm a", | |
| 93 | - "shortDate": "dd/MM/yy", | |
| 94 | - "shortTime": "h:mm a" | |
| 95 | - }, | |
| 96 | - "NUMBER_FORMATS": { | |
| 97 | - "CURRENCY_SYM": "Birr", | |
| 98 | - "DECIMAL_SEP": ".", | |
| 99 | - "GROUP_SEP": ",", | |
| 100 | - "PATTERNS": [ | |
| 101 | - { | |
| 102 | - "gSize": 3, | |
| 103 | - "lgSize": 3, | |
| 104 | - "maxFrac": 3, | |
| 105 | - "minFrac": 0, | |
| 106 | - "minInt": 1, | |
| 107 | - "negPre": "-", | |
| 108 | - "negSuf": "", | |
| 109 | - "posPre": "", | |
| 110 | - "posSuf": "" | |
| 111 | - }, | |
| 112 | - { | |
| 113 | - "gSize": 3, | |
| 114 | - "lgSize": 3, | |
| 115 | - "maxFrac": 2, | |
| 116 | - "minFrac": 2, | |
| 117 | - "minInt": 1, | |
| 118 | - "negPre": "\u00a4-", | |
| 119 | - "negSuf": "", | |
| 120 | - "posPre": "\u00a4", | |
| 121 | - "posSuf": "" | |
| 122 | - } | |
| 123 | - ] | |
| 124 | - }, | |
| 125 | - "id": "aa", | |
| 126 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | -}); | |
| 128 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "saaku", | |
| 26 | + "carra" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Acaada", | |
| 30 | + "Etleeni", | |
| 31 | + "Talaata", | |
| 32 | + "Arbaqa", | |
| 33 | + "Kamiisi", | |
| 34 | + "Gumqata", | |
| 35 | + "Sabti" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Yaasuusuk Duma", | |
| 39 | + "Yaasuusuk Wadir" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "Yaasuusuk Duma", | |
| 43 | + "Yaasuusuk Wadir" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "Qunxa Garablu", | |
| 48 | + "Kudo", | |
| 49 | + "Ciggilta Kudo", | |
| 50 | + "Agda Baxis", | |
| 51 | + "Caxah Alsa", | |
| 52 | + "Qasa Dirri", | |
| 53 | + "Qado Dirri", | |
| 54 | + "Liiqen", | |
| 55 | + "Waysu", | |
| 56 | + "Diteli", | |
| 57 | + "Ximoli", | |
| 58 | + "Kaxxa Garablu" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Aca", | |
| 62 | + "Etl", | |
| 63 | + "Tal", | |
| 64 | + "Arb", | |
| 65 | + "Kam", | |
| 66 | + "Gum", | |
| 67 | + "Sab" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "Qun", | |
| 71 | + "Nah", | |
| 72 | + "Cig", | |
| 73 | + "Agd", | |
| 74 | + "Cax", | |
| 75 | + "Qas", | |
| 76 | + "Qad", | |
| 77 | + "Leq", | |
| 78 | + "Way", | |
| 79 | + "Dit", | |
| 80 | + "Xim", | |
| 81 | + "Kax" | |
| 82 | + ], | |
| 83 | + "WEEKENDRANGE": [ | |
| 84 | + 5, | |
| 85 | + 6 | |
| 86 | + ], | |
| 87 | + "fullDate": "EEEE, MMMM dd, y", | |
| 88 | + "longDate": "dd MMMM y", | |
| 89 | + "medium": "dd-MMM-y h:mm:ss a", | |
| 90 | + "mediumDate": "dd-MMM-y", | |
| 91 | + "mediumTime": "h:mm:ss a", | |
| 92 | + "short": "dd/MM/yy h:mm a", | |
| 93 | + "shortDate": "dd/MM/yy", | |
| 94 | + "shortTime": "h:mm a" | |
| 95 | + }, | |
| 96 | + "NUMBER_FORMATS": { | |
| 97 | + "CURRENCY_SYM": "Birr", | |
| 98 | + "DECIMAL_SEP": ".", | |
| 99 | + "GROUP_SEP": ",", | |
| 100 | + "PATTERNS": [ | |
| 101 | + { | |
| 102 | + "gSize": 3, | |
| 103 | + "lgSize": 3, | |
| 104 | + "maxFrac": 3, | |
| 105 | + "minFrac": 0, | |
| 106 | + "minInt": 1, | |
| 107 | + "negPre": "-", | |
| 108 | + "negSuf": "", | |
| 109 | + "posPre": "", | |
| 110 | + "posSuf": "" | |
| 111 | + }, | |
| 112 | + { | |
| 113 | + "gSize": 3, | |
| 114 | + "lgSize": 3, | |
| 115 | + "maxFrac": 2, | |
| 116 | + "minFrac": 2, | |
| 117 | + "minInt": 1, | |
| 118 | + "negPre": "\u00a4-", | |
| 119 | + "negSuf": "", | |
| 120 | + "posPre": "\u00a4", | |
| 121 | + "posSuf": "" | |
| 122 | + } | |
| 123 | + ] | |
| 124 | + }, | |
| 125 | + "id": "aa", | |
| 126 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 127 | +}); | |
| 128 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_af-na.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -$provide.value("$locale", { | |
| 5 | - "DATETIME_FORMATS": { | |
| 6 | - "AMPMS": [ | |
| 7 | - "vm.", | |
| 8 | - "nm." | |
| 9 | - ], | |
| 10 | - "DAY": [ | |
| 11 | - "Sondag", | |
| 12 | - "Maandag", | |
| 13 | - "Dinsdag", | |
| 14 | - "Woensdag", | |
| 15 | - "Donderdag", | |
| 16 | - "Vrydag", | |
| 17 | - "Saterdag" | |
| 18 | - ], | |
| 19 | - "ERANAMES": [ | |
| 20 | - "voor Christus", | |
| 21 | - "na Christus" | |
| 22 | - ], | |
| 23 | - "ERAS": [ | |
| 24 | - "v.C.", | |
| 25 | - "n.C." | |
| 26 | - ], | |
| 27 | - "FIRSTDAYOFWEEK": 0, | |
| 28 | - "MONTH": [ | |
| 29 | - "Januarie", | |
| 30 | - "Februarie", | |
| 31 | - "Maart", | |
| 32 | - "April", | |
| 33 | - "Mei", | |
| 34 | - "Junie", | |
| 35 | - "Julie", | |
| 36 | - "Augustus", | |
| 37 | - "September", | |
| 38 | - "Oktober", | |
| 39 | - "November", | |
| 40 | - "Desember" | |
| 41 | - ], | |
| 42 | - "SHORTDAY": [ | |
| 43 | - "So.", | |
| 44 | - "Ma.", | |
| 45 | - "Di.", | |
| 46 | - "Wo.", | |
| 47 | - "Do.", | |
| 48 | - "Vr.", | |
| 49 | - "Sa." | |
| 50 | - ], | |
| 51 | - "SHORTMONTH": [ | |
| 52 | - "Jan.", | |
| 53 | - "Feb.", | |
| 54 | - "Mrt.", | |
| 55 | - "Apr.", | |
| 56 | - "Mei", | |
| 57 | - "Jun.", | |
| 58 | - "Jul.", | |
| 59 | - "Aug.", | |
| 60 | - "Sep.", | |
| 61 | - "Okt.", | |
| 62 | - "Nov.", | |
| 63 | - "Des." | |
| 64 | - ], | |
| 65 | - "STANDALONEMONTH": [ | |
| 66 | - "Januarie", | |
| 67 | - "Februarie", | |
| 68 | - "Maart", | |
| 69 | - "April", | |
| 70 | - "Mei", | |
| 71 | - "Junie", | |
| 72 | - "Julie", | |
| 73 | - "Augustus", | |
| 74 | - "September", | |
| 75 | - "Oktober", | |
| 76 | - "November", | |
| 77 | - "Desember" | |
| 78 | - ], | |
| 79 | - "WEEKENDRANGE": [ | |
| 80 | - 5, | |
| 81 | - 6 | |
| 82 | - ], | |
| 83 | - "fullDate": "EEEE d MMMM y", | |
| 84 | - "longDate": "d MMMM y", | |
| 85 | - "medium": "d MMM y h:mm:ss a", | |
| 86 | - "mediumDate": "d MMM y", | |
| 87 | - "mediumTime": "h:mm:ss a", | |
| 88 | - "short": "y-MM-dd h:mm a", | |
| 89 | - "shortDate": "y-MM-dd", | |
| 90 | - "shortTime": "h:mm a" | |
| 91 | - }, | |
| 92 | - "NUMBER_FORMATS": { | |
| 93 | - "CURRENCY_SYM": "$", | |
| 94 | - "DECIMAL_SEP": ",", | |
| 95 | - "GROUP_SEP": "\u00a0", | |
| 96 | - "PATTERNS": [ | |
| 97 | - { | |
| 98 | - "gSize": 3, | |
| 99 | - "lgSize": 3, | |
| 100 | - "maxFrac": 3, | |
| 101 | - "minFrac": 0, | |
| 102 | - "minInt": 1, | |
| 103 | - "negPre": "-", | |
| 104 | - "negSuf": "", | |
| 105 | - "posPre": "", | |
| 106 | - "posSuf": "" | |
| 107 | - }, | |
| 108 | - { | |
| 109 | - "gSize": 3, | |
| 110 | - "lgSize": 3, | |
| 111 | - "maxFrac": 2, | |
| 112 | - "minFrac": 2, | |
| 113 | - "minInt": 1, | |
| 114 | - "negPre": "-\u00a4", | |
| 115 | - "negSuf": "", | |
| 116 | - "posPre": "\u00a4", | |
| 117 | - "posSuf": "" | |
| 118 | - } | |
| 119 | - ] | |
| 120 | - }, | |
| 121 | - "id": "af-na", | |
| 122 | - "localeID": "af_NA", | |
| 123 | - "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | -}); | |
| 125 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +$provide.value("$locale", { | |
| 5 | + "DATETIME_FORMATS": { | |
| 6 | + "AMPMS": [ | |
| 7 | + "vm.", | |
| 8 | + "nm." | |
| 9 | + ], | |
| 10 | + "DAY": [ | |
| 11 | + "Sondag", | |
| 12 | + "Maandag", | |
| 13 | + "Dinsdag", | |
| 14 | + "Woensdag", | |
| 15 | + "Donderdag", | |
| 16 | + "Vrydag", | |
| 17 | + "Saterdag" | |
| 18 | + ], | |
| 19 | + "ERANAMES": [ | |
| 20 | + "voor Christus", | |
| 21 | + "na Christus" | |
| 22 | + ], | |
| 23 | + "ERAS": [ | |
| 24 | + "v.C.", | |
| 25 | + "n.C." | |
| 26 | + ], | |
| 27 | + "FIRSTDAYOFWEEK": 0, | |
| 28 | + "MONTH": [ | |
| 29 | + "Januarie", | |
| 30 | + "Februarie", | |
| 31 | + "Maart", | |
| 32 | + "April", | |
| 33 | + "Mei", | |
| 34 | + "Junie", | |
| 35 | + "Julie", | |
| 36 | + "Augustus", | |
| 37 | + "September", | |
| 38 | + "Oktober", | |
| 39 | + "November", | |
| 40 | + "Desember" | |
| 41 | + ], | |
| 42 | + "SHORTDAY": [ | |
| 43 | + "So.", | |
| 44 | + "Ma.", | |
| 45 | + "Di.", | |
| 46 | + "Wo.", | |
| 47 | + "Do.", | |
| 48 | + "Vr.", | |
| 49 | + "Sa." | |
| 50 | + ], | |
| 51 | + "SHORTMONTH": [ | |
| 52 | + "Jan.", | |
| 53 | + "Feb.", | |
| 54 | + "Mrt.", | |
| 55 | + "Apr.", | |
| 56 | + "Mei", | |
| 57 | + "Jun.", | |
| 58 | + "Jul.", | |
| 59 | + "Aug.", | |
| 60 | + "Sep.", | |
| 61 | + "Okt.", | |
| 62 | + "Nov.", | |
| 63 | + "Des." | |
| 64 | + ], | |
| 65 | + "STANDALONEMONTH": [ | |
| 66 | + "Januarie", | |
| 67 | + "Februarie", | |
| 68 | + "Maart", | |
| 69 | + "April", | |
| 70 | + "Mei", | |
| 71 | + "Junie", | |
| 72 | + "Julie", | |
| 73 | + "Augustus", | |
| 74 | + "September", | |
| 75 | + "Oktober", | |
| 76 | + "November", | |
| 77 | + "Desember" | |
| 78 | + ], | |
| 79 | + "WEEKENDRANGE": [ | |
| 80 | + 5, | |
| 81 | + 6 | |
| 82 | + ], | |
| 83 | + "fullDate": "EEEE d MMMM y", | |
| 84 | + "longDate": "d MMMM y", | |
| 85 | + "medium": "d MMM y h:mm:ss a", | |
| 86 | + "mediumDate": "d MMM y", | |
| 87 | + "mediumTime": "h:mm:ss a", | |
| 88 | + "short": "y-MM-dd h:mm a", | |
| 89 | + "shortDate": "y-MM-dd", | |
| 90 | + "shortTime": "h:mm a" | |
| 91 | + }, | |
| 92 | + "NUMBER_FORMATS": { | |
| 93 | + "CURRENCY_SYM": "$", | |
| 94 | + "DECIMAL_SEP": ",", | |
| 95 | + "GROUP_SEP": "\u00a0", | |
| 96 | + "PATTERNS": [ | |
| 97 | + { | |
| 98 | + "gSize": 3, | |
| 99 | + "lgSize": 3, | |
| 100 | + "maxFrac": 3, | |
| 101 | + "minFrac": 0, | |
| 102 | + "minInt": 1, | |
| 103 | + "negPre": "-", | |
| 104 | + "negSuf": "", | |
| 105 | + "posPre": "", | |
| 106 | + "posSuf": "" | |
| 107 | + }, | |
| 108 | + { | |
| 109 | + "gSize": 3, | |
| 110 | + "lgSize": 3, | |
| 111 | + "maxFrac": 2, | |
| 112 | + "minFrac": 2, | |
| 113 | + "minInt": 1, | |
| 114 | + "negPre": "-\u00a4", | |
| 115 | + "negSuf": "", | |
| 116 | + "posPre": "\u00a4", | |
| 117 | + "posSuf": "" | |
| 118 | + } | |
| 119 | + ] | |
| 120 | + }, | |
| 121 | + "id": "af-na", | |
| 122 | + "localeID": "af_NA", | |
| 123 | + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | +}); | |
| 125 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_af-za.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -$provide.value("$locale", { | |
| 5 | - "DATETIME_FORMATS": { | |
| 6 | - "AMPMS": [ | |
| 7 | - "vm.", | |
| 8 | - "nm." | |
| 9 | - ], | |
| 10 | - "DAY": [ | |
| 11 | - "Sondag", | |
| 12 | - "Maandag", | |
| 13 | - "Dinsdag", | |
| 14 | - "Woensdag", | |
| 15 | - "Donderdag", | |
| 16 | - "Vrydag", | |
| 17 | - "Saterdag" | |
| 18 | - ], | |
| 19 | - "ERANAMES": [ | |
| 20 | - "voor Christus", | |
| 21 | - "na Christus" | |
| 22 | - ], | |
| 23 | - "ERAS": [ | |
| 24 | - "v.C.", | |
| 25 | - "n.C." | |
| 26 | - ], | |
| 27 | - "FIRSTDAYOFWEEK": 6, | |
| 28 | - "MONTH": [ | |
| 29 | - "Januarie", | |
| 30 | - "Februarie", | |
| 31 | - "Maart", | |
| 32 | - "April", | |
| 33 | - "Mei", | |
| 34 | - "Junie", | |
| 35 | - "Julie", | |
| 36 | - "Augustus", | |
| 37 | - "September", | |
| 38 | - "Oktober", | |
| 39 | - "November", | |
| 40 | - "Desember" | |
| 41 | - ], | |
| 42 | - "SHORTDAY": [ | |
| 43 | - "So.", | |
| 44 | - "Ma.", | |
| 45 | - "Di.", | |
| 46 | - "Wo.", | |
| 47 | - "Do.", | |
| 48 | - "Vr.", | |
| 49 | - "Sa." | |
| 50 | - ], | |
| 51 | - "SHORTMONTH": [ | |
| 52 | - "Jan.", | |
| 53 | - "Feb.", | |
| 54 | - "Mrt.", | |
| 55 | - "Apr.", | |
| 56 | - "Mei", | |
| 57 | - "Jun.", | |
| 58 | - "Jul.", | |
| 59 | - "Aug.", | |
| 60 | - "Sep.", | |
| 61 | - "Okt.", | |
| 62 | - "Nov.", | |
| 63 | - "Des." | |
| 64 | - ], | |
| 65 | - "STANDALONEMONTH": [ | |
| 66 | - "Januarie", | |
| 67 | - "Februarie", | |
| 68 | - "Maart", | |
| 69 | - "April", | |
| 70 | - "Mei", | |
| 71 | - "Junie", | |
| 72 | - "Julie", | |
| 73 | - "Augustus", | |
| 74 | - "September", | |
| 75 | - "Oktober", | |
| 76 | - "November", | |
| 77 | - "Desember" | |
| 78 | - ], | |
| 79 | - "WEEKENDRANGE": [ | |
| 80 | - 5, | |
| 81 | - 6 | |
| 82 | - ], | |
| 83 | - "fullDate": "EEEE, dd MMMM y", | |
| 84 | - "longDate": "dd MMMM y", | |
| 85 | - "medium": "dd MMM y h:mm:ss a", | |
| 86 | - "mediumDate": "dd MMM y", | |
| 87 | - "mediumTime": "h:mm:ss a", | |
| 88 | - "short": "y-MM-dd h:mm a", | |
| 89 | - "shortDate": "y-MM-dd", | |
| 90 | - "shortTime": "h:mm a" | |
| 91 | - }, | |
| 92 | - "NUMBER_FORMATS": { | |
| 93 | - "CURRENCY_SYM": "R", | |
| 94 | - "DECIMAL_SEP": ",", | |
| 95 | - "GROUP_SEP": "\u00a0", | |
| 96 | - "PATTERNS": [ | |
| 97 | - { | |
| 98 | - "gSize": 3, | |
| 99 | - "lgSize": 3, | |
| 100 | - "maxFrac": 3, | |
| 101 | - "minFrac": 0, | |
| 102 | - "minInt": 1, | |
| 103 | - "negPre": "-", | |
| 104 | - "negSuf": "", | |
| 105 | - "posPre": "", | |
| 106 | - "posSuf": "" | |
| 107 | - }, | |
| 108 | - { | |
| 109 | - "gSize": 3, | |
| 110 | - "lgSize": 3, | |
| 111 | - "maxFrac": 2, | |
| 112 | - "minFrac": 2, | |
| 113 | - "minInt": 1, | |
| 114 | - "negPre": "-\u00a4", | |
| 115 | - "negSuf": "", | |
| 116 | - "posPre": "\u00a4", | |
| 117 | - "posSuf": "" | |
| 118 | - } | |
| 119 | - ] | |
| 120 | - }, | |
| 121 | - "id": "af-za", | |
| 122 | - "localeID": "af_ZA", | |
| 123 | - "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | -}); | |
| 125 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +$provide.value("$locale", { | |
| 5 | + "DATETIME_FORMATS": { | |
| 6 | + "AMPMS": [ | |
| 7 | + "vm.", | |
| 8 | + "nm." | |
| 9 | + ], | |
| 10 | + "DAY": [ | |
| 11 | + "Sondag", | |
| 12 | + "Maandag", | |
| 13 | + "Dinsdag", | |
| 14 | + "Woensdag", | |
| 15 | + "Donderdag", | |
| 16 | + "Vrydag", | |
| 17 | + "Saterdag" | |
| 18 | + ], | |
| 19 | + "ERANAMES": [ | |
| 20 | + "voor Christus", | |
| 21 | + "na Christus" | |
| 22 | + ], | |
| 23 | + "ERAS": [ | |
| 24 | + "v.C.", | |
| 25 | + "n.C." | |
| 26 | + ], | |
| 27 | + "FIRSTDAYOFWEEK": 6, | |
| 28 | + "MONTH": [ | |
| 29 | + "Januarie", | |
| 30 | + "Februarie", | |
| 31 | + "Maart", | |
| 32 | + "April", | |
| 33 | + "Mei", | |
| 34 | + "Junie", | |
| 35 | + "Julie", | |
| 36 | + "Augustus", | |
| 37 | + "September", | |
| 38 | + "Oktober", | |
| 39 | + "November", | |
| 40 | + "Desember" | |
| 41 | + ], | |
| 42 | + "SHORTDAY": [ | |
| 43 | + "So.", | |
| 44 | + "Ma.", | |
| 45 | + "Di.", | |
| 46 | + "Wo.", | |
| 47 | + "Do.", | |
| 48 | + "Vr.", | |
| 49 | + "Sa." | |
| 50 | + ], | |
| 51 | + "SHORTMONTH": [ | |
| 52 | + "Jan.", | |
| 53 | + "Feb.", | |
| 54 | + "Mrt.", | |
| 55 | + "Apr.", | |
| 56 | + "Mei", | |
| 57 | + "Jun.", | |
| 58 | + "Jul.", | |
| 59 | + "Aug.", | |
| 60 | + "Sep.", | |
| 61 | + "Okt.", | |
| 62 | + "Nov.", | |
| 63 | + "Des." | |
| 64 | + ], | |
| 65 | + "STANDALONEMONTH": [ | |
| 66 | + "Januarie", | |
| 67 | + "Februarie", | |
| 68 | + "Maart", | |
| 69 | + "April", | |
| 70 | + "Mei", | |
| 71 | + "Junie", | |
| 72 | + "Julie", | |
| 73 | + "Augustus", | |
| 74 | + "September", | |
| 75 | + "Oktober", | |
| 76 | + "November", | |
| 77 | + "Desember" | |
| 78 | + ], | |
| 79 | + "WEEKENDRANGE": [ | |
| 80 | + 5, | |
| 81 | + 6 | |
| 82 | + ], | |
| 83 | + "fullDate": "EEEE, dd MMMM y", | |
| 84 | + "longDate": "dd MMMM y", | |
| 85 | + "medium": "dd MMM y h:mm:ss a", | |
| 86 | + "mediumDate": "dd MMM y", | |
| 87 | + "mediumTime": "h:mm:ss a", | |
| 88 | + "short": "y-MM-dd h:mm a", | |
| 89 | + "shortDate": "y-MM-dd", | |
| 90 | + "shortTime": "h:mm a" | |
| 91 | + }, | |
| 92 | + "NUMBER_FORMATS": { | |
| 93 | + "CURRENCY_SYM": "R", | |
| 94 | + "DECIMAL_SEP": ",", | |
| 95 | + "GROUP_SEP": "\u00a0", | |
| 96 | + "PATTERNS": [ | |
| 97 | + { | |
| 98 | + "gSize": 3, | |
| 99 | + "lgSize": 3, | |
| 100 | + "maxFrac": 3, | |
| 101 | + "minFrac": 0, | |
| 102 | + "minInt": 1, | |
| 103 | + "negPre": "-", | |
| 104 | + "negSuf": "", | |
| 105 | + "posPre": "", | |
| 106 | + "posSuf": "" | |
| 107 | + }, | |
| 108 | + { | |
| 109 | + "gSize": 3, | |
| 110 | + "lgSize": 3, | |
| 111 | + "maxFrac": 2, | |
| 112 | + "minFrac": 2, | |
| 113 | + "minInt": 1, | |
| 114 | + "negPre": "-\u00a4", | |
| 115 | + "negSuf": "", | |
| 116 | + "posPre": "\u00a4", | |
| 117 | + "posSuf": "" | |
| 118 | + } | |
| 119 | + ] | |
| 120 | + }, | |
| 121 | + "id": "af-za", | |
| 122 | + "localeID": "af_ZA", | |
| 123 | + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | +}); | |
| 125 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_af.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -$provide.value("$locale", { | |
| 5 | - "DATETIME_FORMATS": { | |
| 6 | - "AMPMS": [ | |
| 7 | - "vm.", | |
| 8 | - "nm." | |
| 9 | - ], | |
| 10 | - "DAY": [ | |
| 11 | - "Sondag", | |
| 12 | - "Maandag", | |
| 13 | - "Dinsdag", | |
| 14 | - "Woensdag", | |
| 15 | - "Donderdag", | |
| 16 | - "Vrydag", | |
| 17 | - "Saterdag" | |
| 18 | - ], | |
| 19 | - "ERANAMES": [ | |
| 20 | - "voor Christus", | |
| 21 | - "na Christus" | |
| 22 | - ], | |
| 23 | - "ERAS": [ | |
| 24 | - "v.C.", | |
| 25 | - "n.C." | |
| 26 | - ], | |
| 27 | - "FIRSTDAYOFWEEK": 6, | |
| 28 | - "MONTH": [ | |
| 29 | - "Januarie", | |
| 30 | - "Februarie", | |
| 31 | - "Maart", | |
| 32 | - "April", | |
| 33 | - "Mei", | |
| 34 | - "Junie", | |
| 35 | - "Julie", | |
| 36 | - "Augustus", | |
| 37 | - "September", | |
| 38 | - "Oktober", | |
| 39 | - "November", | |
| 40 | - "Desember" | |
| 41 | - ], | |
| 42 | - "SHORTDAY": [ | |
| 43 | - "So.", | |
| 44 | - "Ma.", | |
| 45 | - "Di.", | |
| 46 | - "Wo.", | |
| 47 | - "Do.", | |
| 48 | - "Vr.", | |
| 49 | - "Sa." | |
| 50 | - ], | |
| 51 | - "SHORTMONTH": [ | |
| 52 | - "Jan.", | |
| 53 | - "Feb.", | |
| 54 | - "Mrt.", | |
| 55 | - "Apr.", | |
| 56 | - "Mei", | |
| 57 | - "Jun.", | |
| 58 | - "Jul.", | |
| 59 | - "Aug.", | |
| 60 | - "Sep.", | |
| 61 | - "Okt.", | |
| 62 | - "Nov.", | |
| 63 | - "Des." | |
| 64 | - ], | |
| 65 | - "STANDALONEMONTH": [ | |
| 66 | - "Januarie", | |
| 67 | - "Februarie", | |
| 68 | - "Maart", | |
| 69 | - "April", | |
| 70 | - "Mei", | |
| 71 | - "Junie", | |
| 72 | - "Julie", | |
| 73 | - "Augustus", | |
| 74 | - "September", | |
| 75 | - "Oktober", | |
| 76 | - "November", | |
| 77 | - "Desember" | |
| 78 | - ], | |
| 79 | - "WEEKENDRANGE": [ | |
| 80 | - 5, | |
| 81 | - 6 | |
| 82 | - ], | |
| 83 | - "fullDate": "EEEE, dd MMMM y", | |
| 84 | - "longDate": "dd MMMM y", | |
| 85 | - "medium": "dd MMM y h:mm:ss a", | |
| 86 | - "mediumDate": "dd MMM y", | |
| 87 | - "mediumTime": "h:mm:ss a", | |
| 88 | - "short": "y-MM-dd h:mm a", | |
| 89 | - "shortDate": "y-MM-dd", | |
| 90 | - "shortTime": "h:mm a" | |
| 91 | - }, | |
| 92 | - "NUMBER_FORMATS": { | |
| 93 | - "CURRENCY_SYM": "R", | |
| 94 | - "DECIMAL_SEP": ",", | |
| 95 | - "GROUP_SEP": "\u00a0", | |
| 96 | - "PATTERNS": [ | |
| 97 | - { | |
| 98 | - "gSize": 3, | |
| 99 | - "lgSize": 3, | |
| 100 | - "maxFrac": 3, | |
| 101 | - "minFrac": 0, | |
| 102 | - "minInt": 1, | |
| 103 | - "negPre": "-", | |
| 104 | - "negSuf": "", | |
| 105 | - "posPre": "", | |
| 106 | - "posSuf": "" | |
| 107 | - }, | |
| 108 | - { | |
| 109 | - "gSize": 3, | |
| 110 | - "lgSize": 3, | |
| 111 | - "maxFrac": 2, | |
| 112 | - "minFrac": 2, | |
| 113 | - "minInt": 1, | |
| 114 | - "negPre": "-\u00a4", | |
| 115 | - "negSuf": "", | |
| 116 | - "posPre": "\u00a4", | |
| 117 | - "posSuf": "" | |
| 118 | - } | |
| 119 | - ] | |
| 120 | - }, | |
| 121 | - "id": "af", | |
| 122 | - "localeID": "af", | |
| 123 | - "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | -}); | |
| 125 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +$provide.value("$locale", { | |
| 5 | + "DATETIME_FORMATS": { | |
| 6 | + "AMPMS": [ | |
| 7 | + "vm.", | |
| 8 | + "nm." | |
| 9 | + ], | |
| 10 | + "DAY": [ | |
| 11 | + "Sondag", | |
| 12 | + "Maandag", | |
| 13 | + "Dinsdag", | |
| 14 | + "Woensdag", | |
| 15 | + "Donderdag", | |
| 16 | + "Vrydag", | |
| 17 | + "Saterdag" | |
| 18 | + ], | |
| 19 | + "ERANAMES": [ | |
| 20 | + "voor Christus", | |
| 21 | + "na Christus" | |
| 22 | + ], | |
| 23 | + "ERAS": [ | |
| 24 | + "v.C.", | |
| 25 | + "n.C." | |
| 26 | + ], | |
| 27 | + "FIRSTDAYOFWEEK": 6, | |
| 28 | + "MONTH": [ | |
| 29 | + "Januarie", | |
| 30 | + "Februarie", | |
| 31 | + "Maart", | |
| 32 | + "April", | |
| 33 | + "Mei", | |
| 34 | + "Junie", | |
| 35 | + "Julie", | |
| 36 | + "Augustus", | |
| 37 | + "September", | |
| 38 | + "Oktober", | |
| 39 | + "November", | |
| 40 | + "Desember" | |
| 41 | + ], | |
| 42 | + "SHORTDAY": [ | |
| 43 | + "So.", | |
| 44 | + "Ma.", | |
| 45 | + "Di.", | |
| 46 | + "Wo.", | |
| 47 | + "Do.", | |
| 48 | + "Vr.", | |
| 49 | + "Sa." | |
| 50 | + ], | |
| 51 | + "SHORTMONTH": [ | |
| 52 | + "Jan.", | |
| 53 | + "Feb.", | |
| 54 | + "Mrt.", | |
| 55 | + "Apr.", | |
| 56 | + "Mei", | |
| 57 | + "Jun.", | |
| 58 | + "Jul.", | |
| 59 | + "Aug.", | |
| 60 | + "Sep.", | |
| 61 | + "Okt.", | |
| 62 | + "Nov.", | |
| 63 | + "Des." | |
| 64 | + ], | |
| 65 | + "STANDALONEMONTH": [ | |
| 66 | + "Januarie", | |
| 67 | + "Februarie", | |
| 68 | + "Maart", | |
| 69 | + "April", | |
| 70 | + "Mei", | |
| 71 | + "Junie", | |
| 72 | + "Julie", | |
| 73 | + "Augustus", | |
| 74 | + "September", | |
| 75 | + "Oktober", | |
| 76 | + "November", | |
| 77 | + "Desember" | |
| 78 | + ], | |
| 79 | + "WEEKENDRANGE": [ | |
| 80 | + 5, | |
| 81 | + 6 | |
| 82 | + ], | |
| 83 | + "fullDate": "EEEE, dd MMMM y", | |
| 84 | + "longDate": "dd MMMM y", | |
| 85 | + "medium": "dd MMM y h:mm:ss a", | |
| 86 | + "mediumDate": "dd MMM y", | |
| 87 | + "mediumTime": "h:mm:ss a", | |
| 88 | + "short": "y-MM-dd h:mm a", | |
| 89 | + "shortDate": "y-MM-dd", | |
| 90 | + "shortTime": "h:mm a" | |
| 91 | + }, | |
| 92 | + "NUMBER_FORMATS": { | |
| 93 | + "CURRENCY_SYM": "R", | |
| 94 | + "DECIMAL_SEP": ",", | |
| 95 | + "GROUP_SEP": "\u00a0", | |
| 96 | + "PATTERNS": [ | |
| 97 | + { | |
| 98 | + "gSize": 3, | |
| 99 | + "lgSize": 3, | |
| 100 | + "maxFrac": 3, | |
| 101 | + "minFrac": 0, | |
| 102 | + "minInt": 1, | |
| 103 | + "negPre": "-", | |
| 104 | + "negSuf": "", | |
| 105 | + "posPre": "", | |
| 106 | + "posSuf": "" | |
| 107 | + }, | |
| 108 | + { | |
| 109 | + "gSize": 3, | |
| 110 | + "lgSize": 3, | |
| 111 | + "maxFrac": 2, | |
| 112 | + "minFrac": 2, | |
| 113 | + "minInt": 1, | |
| 114 | + "negPre": "-\u00a4", | |
| 115 | + "negSuf": "", | |
| 116 | + "posPre": "\u00a4", | |
| 117 | + "posSuf": "" | |
| 118 | + } | |
| 119 | + ] | |
| 120 | + }, | |
| 121 | + "id": "af", | |
| 122 | + "localeID": "af", | |
| 123 | + "pluralCat": function(n, opt_precision) { if (n == 1) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 124 | +}); | |
| 125 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_agq-cm.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "a.g", | |
| 26 | - "a.k" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "tsu\u0294nts\u0268", | |
| 30 | - "tsu\u0294ukp\u00e0", | |
| 31 | - "tsu\u0294ugh\u0254e", | |
| 32 | - "tsu\u0294ut\u0254\u0300ml\u00f2", | |
| 33 | - "tsu\u0294um\u00e8", | |
| 34 | - "tsu\u0294ugh\u0268\u0302m", | |
| 35 | - "tsu\u0294ndz\u0268k\u0254\u0294\u0254" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "S\u011be K\u0268\u0300lesto", | |
| 39 | - "B\u01cea K\u0268\u0300lesto" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "SK", | |
| 43 | - "BK" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 48 | - "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 49 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 50 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 51 | - "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 52 | - "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 53 | - "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 54 | - "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 55 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 56 | - "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 57 | - "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 58 | - "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "nts", | |
| 62 | - "kpa", | |
| 63 | - "gh\u0254", | |
| 64 | - "t\u0254m", | |
| 65 | - "ume", | |
| 66 | - "gh\u0268", | |
| 67 | - "dzk" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "n\u00f9m", | |
| 71 | - "k\u0268z", | |
| 72 | - "t\u0268d", | |
| 73 | - "taa", | |
| 74 | - "see", | |
| 75 | - "nzu", | |
| 76 | - "dum", | |
| 77 | - "f\u0254e", | |
| 78 | - "dzu", | |
| 79 | - "l\u0254m", | |
| 80 | - "kaa", | |
| 81 | - "fwo" | |
| 82 | - ], | |
| 83 | - "STANDALONEMONTH": [ | |
| 84 | - "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 85 | - "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 86 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 87 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 88 | - "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 89 | - "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 90 | - "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 91 | - "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 92 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 93 | - "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 94 | - "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 95 | - "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 96 | - ], | |
| 97 | - "WEEKENDRANGE": [ | |
| 98 | - 5, | |
| 99 | - 6 | |
| 100 | - ], | |
| 101 | - "fullDate": "EEEE d MMMM y", | |
| 102 | - "longDate": "d MMMM y", | |
| 103 | - "medium": "d MMM, y HH:mm:ss", | |
| 104 | - "mediumDate": "d MMM, y", | |
| 105 | - "mediumTime": "HH:mm:ss", | |
| 106 | - "short": "d/M/y HH:mm", | |
| 107 | - "shortDate": "d/M/y", | |
| 108 | - "shortTime": "HH:mm" | |
| 109 | - }, | |
| 110 | - "NUMBER_FORMATS": { | |
| 111 | - "CURRENCY_SYM": "FCFA", | |
| 112 | - "DECIMAL_SEP": ",", | |
| 113 | - "GROUP_SEP": "\u00a0", | |
| 114 | - "PATTERNS": [ | |
| 115 | - { | |
| 116 | - "gSize": 3, | |
| 117 | - "lgSize": 3, | |
| 118 | - "maxFrac": 3, | |
| 119 | - "minFrac": 0, | |
| 120 | - "minInt": 1, | |
| 121 | - "negPre": "-", | |
| 122 | - "negSuf": "", | |
| 123 | - "posPre": "", | |
| 124 | - "posSuf": "" | |
| 125 | - }, | |
| 126 | - { | |
| 127 | - "gSize": 3, | |
| 128 | - "lgSize": 3, | |
| 129 | - "maxFrac": 2, | |
| 130 | - "minFrac": 2, | |
| 131 | - "minInt": 1, | |
| 132 | - "negPre": "-", | |
| 133 | - "negSuf": "\u00a4", | |
| 134 | - "posPre": "", | |
| 135 | - "posSuf": "\u00a4" | |
| 136 | - } | |
| 137 | - ] | |
| 138 | - }, | |
| 139 | - "id": "agq-cm", | |
| 140 | - "localeID": "agq_CM", | |
| 141 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | -}); | |
| 143 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "a.g", | |
| 26 | + "a.k" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "tsu\u0294nts\u0268", | |
| 30 | + "tsu\u0294ukp\u00e0", | |
| 31 | + "tsu\u0294ugh\u0254e", | |
| 32 | + "tsu\u0294ut\u0254\u0300ml\u00f2", | |
| 33 | + "tsu\u0294um\u00e8", | |
| 34 | + "tsu\u0294ugh\u0268\u0302m", | |
| 35 | + "tsu\u0294ndz\u0268k\u0254\u0294\u0254" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "S\u011be K\u0268\u0300lesto", | |
| 39 | + "B\u01cea K\u0268\u0300lesto" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "SK", | |
| 43 | + "BK" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 48 | + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 49 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 50 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 51 | + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 52 | + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 53 | + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 54 | + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 55 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 56 | + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 57 | + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 58 | + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "nts", | |
| 62 | + "kpa", | |
| 63 | + "gh\u0254", | |
| 64 | + "t\u0254m", | |
| 65 | + "ume", | |
| 66 | + "gh\u0268", | |
| 67 | + "dzk" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "n\u00f9m", | |
| 71 | + "k\u0268z", | |
| 72 | + "t\u0268d", | |
| 73 | + "taa", | |
| 74 | + "see", | |
| 75 | + "nzu", | |
| 76 | + "dum", | |
| 77 | + "f\u0254e", | |
| 78 | + "dzu", | |
| 79 | + "l\u0254m", | |
| 80 | + "kaa", | |
| 81 | + "fwo" | |
| 82 | + ], | |
| 83 | + "STANDALONEMONTH": [ | |
| 84 | + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 85 | + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 86 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 87 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 88 | + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 89 | + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 90 | + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 91 | + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 92 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 93 | + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 94 | + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 95 | + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 96 | + ], | |
| 97 | + "WEEKENDRANGE": [ | |
| 98 | + 5, | |
| 99 | + 6 | |
| 100 | + ], | |
| 101 | + "fullDate": "EEEE d MMMM y", | |
| 102 | + "longDate": "d MMMM y", | |
| 103 | + "medium": "d MMM, y HH:mm:ss", | |
| 104 | + "mediumDate": "d MMM, y", | |
| 105 | + "mediumTime": "HH:mm:ss", | |
| 106 | + "short": "d/M/y HH:mm", | |
| 107 | + "shortDate": "d/M/y", | |
| 108 | + "shortTime": "HH:mm" | |
| 109 | + }, | |
| 110 | + "NUMBER_FORMATS": { | |
| 111 | + "CURRENCY_SYM": "FCFA", | |
| 112 | + "DECIMAL_SEP": ",", | |
| 113 | + "GROUP_SEP": "\u00a0", | |
| 114 | + "PATTERNS": [ | |
| 115 | + { | |
| 116 | + "gSize": 3, | |
| 117 | + "lgSize": 3, | |
| 118 | + "maxFrac": 3, | |
| 119 | + "minFrac": 0, | |
| 120 | + "minInt": 1, | |
| 121 | + "negPre": "-", | |
| 122 | + "negSuf": "", | |
| 123 | + "posPre": "", | |
| 124 | + "posSuf": "" | |
| 125 | + }, | |
| 126 | + { | |
| 127 | + "gSize": 3, | |
| 128 | + "lgSize": 3, | |
| 129 | + "maxFrac": 2, | |
| 130 | + "minFrac": 2, | |
| 131 | + "minInt": 1, | |
| 132 | + "negPre": "-", | |
| 133 | + "negSuf": "\u00a4", | |
| 134 | + "posPre": "", | |
| 135 | + "posSuf": "\u00a4" | |
| 136 | + } | |
| 137 | + ] | |
| 138 | + }, | |
| 139 | + "id": "agq-cm", | |
| 140 | + "localeID": "agq_CM", | |
| 141 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | +}); | |
| 143 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_agq.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "a.g", | |
| 26 | - "a.k" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "tsu\u0294nts\u0268", | |
| 30 | - "tsu\u0294ukp\u00e0", | |
| 31 | - "tsu\u0294ugh\u0254e", | |
| 32 | - "tsu\u0294ut\u0254\u0300ml\u00f2", | |
| 33 | - "tsu\u0294um\u00e8", | |
| 34 | - "tsu\u0294ugh\u0268\u0302m", | |
| 35 | - "tsu\u0294ndz\u0268k\u0254\u0294\u0254" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "S\u011be K\u0268\u0300lesto", | |
| 39 | - "B\u01cea K\u0268\u0300lesto" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "SK", | |
| 43 | - "BK" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 48 | - "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 49 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 50 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 51 | - "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 52 | - "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 53 | - "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 54 | - "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 55 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 56 | - "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 57 | - "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 58 | - "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "nts", | |
| 62 | - "kpa", | |
| 63 | - "gh\u0254", | |
| 64 | - "t\u0254m", | |
| 65 | - "ume", | |
| 66 | - "gh\u0268", | |
| 67 | - "dzk" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "n\u00f9m", | |
| 71 | - "k\u0268z", | |
| 72 | - "t\u0268d", | |
| 73 | - "taa", | |
| 74 | - "see", | |
| 75 | - "nzu", | |
| 76 | - "dum", | |
| 77 | - "f\u0254e", | |
| 78 | - "dzu", | |
| 79 | - "l\u0254m", | |
| 80 | - "kaa", | |
| 81 | - "fwo" | |
| 82 | - ], | |
| 83 | - "STANDALONEMONTH": [ | |
| 84 | - "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 85 | - "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 86 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 87 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 88 | - "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 89 | - "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 90 | - "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 91 | - "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 92 | - "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 93 | - "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 94 | - "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 95 | - "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 96 | - ], | |
| 97 | - "WEEKENDRANGE": [ | |
| 98 | - 5, | |
| 99 | - 6 | |
| 100 | - ], | |
| 101 | - "fullDate": "EEEE d MMMM y", | |
| 102 | - "longDate": "d MMMM y", | |
| 103 | - "medium": "d MMM, y HH:mm:ss", | |
| 104 | - "mediumDate": "d MMM, y", | |
| 105 | - "mediumTime": "HH:mm:ss", | |
| 106 | - "short": "d/M/y HH:mm", | |
| 107 | - "shortDate": "d/M/y", | |
| 108 | - "shortTime": "HH:mm" | |
| 109 | - }, | |
| 110 | - "NUMBER_FORMATS": { | |
| 111 | - "CURRENCY_SYM": "FCFA", | |
| 112 | - "DECIMAL_SEP": ",", | |
| 113 | - "GROUP_SEP": "\u00a0", | |
| 114 | - "PATTERNS": [ | |
| 115 | - { | |
| 116 | - "gSize": 3, | |
| 117 | - "lgSize": 3, | |
| 118 | - "maxFrac": 3, | |
| 119 | - "minFrac": 0, | |
| 120 | - "minInt": 1, | |
| 121 | - "negPre": "-", | |
| 122 | - "negSuf": "", | |
| 123 | - "posPre": "", | |
| 124 | - "posSuf": "" | |
| 125 | - }, | |
| 126 | - { | |
| 127 | - "gSize": 3, | |
| 128 | - "lgSize": 3, | |
| 129 | - "maxFrac": 2, | |
| 130 | - "minFrac": 2, | |
| 131 | - "minInt": 1, | |
| 132 | - "negPre": "-", | |
| 133 | - "negSuf": "\u00a4", | |
| 134 | - "posPre": "", | |
| 135 | - "posSuf": "\u00a4" | |
| 136 | - } | |
| 137 | - ] | |
| 138 | - }, | |
| 139 | - "id": "agq", | |
| 140 | - "localeID": "agq", | |
| 141 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | -}); | |
| 143 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "a.g", | |
| 26 | + "a.k" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "tsu\u0294nts\u0268", | |
| 30 | + "tsu\u0294ukp\u00e0", | |
| 31 | + "tsu\u0294ugh\u0254e", | |
| 32 | + "tsu\u0294ut\u0254\u0300ml\u00f2", | |
| 33 | + "tsu\u0294um\u00e8", | |
| 34 | + "tsu\u0294ugh\u0268\u0302m", | |
| 35 | + "tsu\u0294ndz\u0268k\u0254\u0294\u0254" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "S\u011be K\u0268\u0300lesto", | |
| 39 | + "B\u01cea K\u0268\u0300lesto" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "SK", | |
| 43 | + "BK" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 48 | + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 49 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 50 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 51 | + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 52 | + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 53 | + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 54 | + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 55 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 56 | + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 57 | + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 58 | + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "nts", | |
| 62 | + "kpa", | |
| 63 | + "gh\u0254", | |
| 64 | + "t\u0254m", | |
| 65 | + "ume", | |
| 66 | + "gh\u0268", | |
| 67 | + "dzk" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "n\u00f9m", | |
| 71 | + "k\u0268z", | |
| 72 | + "t\u0268d", | |
| 73 | + "taa", | |
| 74 | + "see", | |
| 75 | + "nzu", | |
| 76 | + "dum", | |
| 77 | + "f\u0254e", | |
| 78 | + "dzu", | |
| 79 | + "l\u0254m", | |
| 80 | + "kaa", | |
| 81 | + "fwo" | |
| 82 | + ], | |
| 83 | + "STANDALONEMONTH": [ | |
| 84 | + "ndz\u0254\u0300\u014b\u0254\u0300n\u00f9m", | |
| 85 | + "ndz\u0254\u0300\u014b\u0254\u0300k\u0197\u0300z\u00f9\u0294", | |
| 86 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300d\u0289\u0300gh\u00e0", | |
| 87 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u01ceaf\u0289\u0304gh\u0101", | |
| 88 | + "ndz\u0254\u0300\u014b\u00e8s\u00e8e", | |
| 89 | + "ndz\u0254\u0300\u014b\u0254\u0300nz\u00f9gh\u00f2", | |
| 90 | + "ndz\u0254\u0300\u014b\u0254\u0300d\u00f9mlo", | |
| 91 | + "ndz\u0254\u0300\u014b\u0254\u0300kw\u00eef\u0254\u0300e", | |
| 92 | + "ndz\u0254\u0300\u014b\u0254\u0300t\u0197\u0300f\u0289\u0300gh\u00e0dzugh\u00f9", | |
| 93 | + "ndz\u0254\u0300\u014b\u0254\u0300gh\u01d4uwel\u0254\u0300m", | |
| 94 | + "ndz\u0254\u0300\u014b\u0254\u0300chwa\u0294\u00e0kaa wo", | |
| 95 | + "ndz\u0254\u0300\u014b\u00e8fw\u00f2o" | |
| 96 | + ], | |
| 97 | + "WEEKENDRANGE": [ | |
| 98 | + 5, | |
| 99 | + 6 | |
| 100 | + ], | |
| 101 | + "fullDate": "EEEE d MMMM y", | |
| 102 | + "longDate": "d MMMM y", | |
| 103 | + "medium": "d MMM, y HH:mm:ss", | |
| 104 | + "mediumDate": "d MMM, y", | |
| 105 | + "mediumTime": "HH:mm:ss", | |
| 106 | + "short": "d/M/y HH:mm", | |
| 107 | + "shortDate": "d/M/y", | |
| 108 | + "shortTime": "HH:mm" | |
| 109 | + }, | |
| 110 | + "NUMBER_FORMATS": { | |
| 111 | + "CURRENCY_SYM": "FCFA", | |
| 112 | + "DECIMAL_SEP": ",", | |
| 113 | + "GROUP_SEP": "\u00a0", | |
| 114 | + "PATTERNS": [ | |
| 115 | + { | |
| 116 | + "gSize": 3, | |
| 117 | + "lgSize": 3, | |
| 118 | + "maxFrac": 3, | |
| 119 | + "minFrac": 0, | |
| 120 | + "minInt": 1, | |
| 121 | + "negPre": "-", | |
| 122 | + "negSuf": "", | |
| 123 | + "posPre": "", | |
| 124 | + "posSuf": "" | |
| 125 | + }, | |
| 126 | + { | |
| 127 | + "gSize": 3, | |
| 128 | + "lgSize": 3, | |
| 129 | + "maxFrac": 2, | |
| 130 | + "minFrac": 2, | |
| 131 | + "minInt": 1, | |
| 132 | + "negPre": "-", | |
| 133 | + "negSuf": "\u00a4", | |
| 134 | + "posPre": "", | |
| 135 | + "posSuf": "\u00a4" | |
| 136 | + } | |
| 137 | + ] | |
| 138 | + }, | |
| 139 | + "id": "agq", | |
| 140 | + "localeID": "agq", | |
| 141 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | +}); | |
| 143 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_ak-gh.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "AN", | |
| 26 | - "EW" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Kwesida", | |
| 30 | - "Dwowda", | |
| 31 | - "Benada", | |
| 32 | - "Wukuda", | |
| 33 | - "Yawda", | |
| 34 | - "Fida", | |
| 35 | - "Memeneda" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Ansa Kristo", | |
| 39 | - "Kristo Ekyiri" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "AK", | |
| 43 | - "KE" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "Sanda-\u0186p\u025bp\u0254n", | |
| 48 | - "Kwakwar-\u0186gyefuo", | |
| 49 | - "Eb\u0254w-\u0186benem", | |
| 50 | - "Eb\u0254bira-Oforisuo", | |
| 51 | - "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 52 | - "Obirade-Ay\u025bwohomumu", | |
| 53 | - "Ay\u025bwoho-Kitawonsa", | |
| 54 | - "Difuu-\u0186sandaa", | |
| 55 | - "Fankwa-\u0190b\u0254", | |
| 56 | - "\u0186b\u025bs\u025b-Ahinime", | |
| 57 | - "\u0186ber\u025bf\u025bw-Obubuo", | |
| 58 | - "Mumu-\u0186p\u025bnimba" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Kwe", | |
| 62 | - "Dwo", | |
| 63 | - "Ben", | |
| 64 | - "Wuk", | |
| 65 | - "Yaw", | |
| 66 | - "Fia", | |
| 67 | - "Mem" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "S-\u0186", | |
| 71 | - "K-\u0186", | |
| 72 | - "E-\u0186", | |
| 73 | - "E-O", | |
| 74 | - "E-K", | |
| 75 | - "O-A", | |
| 76 | - "A-K", | |
| 77 | - "D-\u0186", | |
| 78 | - "F-\u0190", | |
| 79 | - "\u0186-A", | |
| 80 | - "\u0186-O", | |
| 81 | - "M-\u0186" | |
| 82 | - ], | |
| 83 | - "STANDALONEMONTH": [ | |
| 84 | - "Sanda-\u0186p\u025bp\u0254n", | |
| 85 | - "Kwakwar-\u0186gyefuo", | |
| 86 | - "Eb\u0254w-\u0186benem", | |
| 87 | - "Eb\u0254bira-Oforisuo", | |
| 88 | - "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 89 | - "Obirade-Ay\u025bwohomumu", | |
| 90 | - "Ay\u025bwoho-Kitawonsa", | |
| 91 | - "Difuu-\u0186sandaa", | |
| 92 | - "Fankwa-\u0190b\u0254", | |
| 93 | - "\u0186b\u025bs\u025b-Ahinime", | |
| 94 | - "\u0186ber\u025bf\u025bw-Obubuo", | |
| 95 | - "Mumu-\u0186p\u025bnimba" | |
| 96 | - ], | |
| 97 | - "WEEKENDRANGE": [ | |
| 98 | - 5, | |
| 99 | - 6 | |
| 100 | - ], | |
| 101 | - "fullDate": "EEEE, y MMMM dd", | |
| 102 | - "longDate": "y MMMM d", | |
| 103 | - "medium": "y MMM d h:mm:ss a", | |
| 104 | - "mediumDate": "y MMM d", | |
| 105 | - "mediumTime": "h:mm:ss a", | |
| 106 | - "short": "yy/MM/dd h:mm a", | |
| 107 | - "shortDate": "yy/MM/dd", | |
| 108 | - "shortTime": "h:mm a" | |
| 109 | - }, | |
| 110 | - "NUMBER_FORMATS": { | |
| 111 | - "CURRENCY_SYM": "GHS", | |
| 112 | - "DECIMAL_SEP": ".", | |
| 113 | - "GROUP_SEP": ",", | |
| 114 | - "PATTERNS": [ | |
| 115 | - { | |
| 116 | - "gSize": 3, | |
| 117 | - "lgSize": 3, | |
| 118 | - "maxFrac": 3, | |
| 119 | - "minFrac": 0, | |
| 120 | - "minInt": 1, | |
| 121 | - "negPre": "-", | |
| 122 | - "negSuf": "", | |
| 123 | - "posPre": "", | |
| 124 | - "posSuf": "" | |
| 125 | - }, | |
| 126 | - { | |
| 127 | - "gSize": 3, | |
| 128 | - "lgSize": 3, | |
| 129 | - "maxFrac": 2, | |
| 130 | - "minFrac": 2, | |
| 131 | - "minInt": 1, | |
| 132 | - "negPre": "-\u00a4", | |
| 133 | - "negSuf": "", | |
| 134 | - "posPre": "\u00a4", | |
| 135 | - "posSuf": "" | |
| 136 | - } | |
| 137 | - ] | |
| 138 | - }, | |
| 139 | - "id": "ak-gh", | |
| 140 | - "localeID": "ak_GH", | |
| 141 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | -}); | |
| 143 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "AN", | |
| 26 | + "EW" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Kwesida", | |
| 30 | + "Dwowda", | |
| 31 | + "Benada", | |
| 32 | + "Wukuda", | |
| 33 | + "Yawda", | |
| 34 | + "Fida", | |
| 35 | + "Memeneda" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Ansa Kristo", | |
| 39 | + "Kristo Ekyiri" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "AK", | |
| 43 | + "KE" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "Sanda-\u0186p\u025bp\u0254n", | |
| 48 | + "Kwakwar-\u0186gyefuo", | |
| 49 | + "Eb\u0254w-\u0186benem", | |
| 50 | + "Eb\u0254bira-Oforisuo", | |
| 51 | + "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 52 | + "Obirade-Ay\u025bwohomumu", | |
| 53 | + "Ay\u025bwoho-Kitawonsa", | |
| 54 | + "Difuu-\u0186sandaa", | |
| 55 | + "Fankwa-\u0190b\u0254", | |
| 56 | + "\u0186b\u025bs\u025b-Ahinime", | |
| 57 | + "\u0186ber\u025bf\u025bw-Obubuo", | |
| 58 | + "Mumu-\u0186p\u025bnimba" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Kwe", | |
| 62 | + "Dwo", | |
| 63 | + "Ben", | |
| 64 | + "Wuk", | |
| 65 | + "Yaw", | |
| 66 | + "Fia", | |
| 67 | + "Mem" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "S-\u0186", | |
| 71 | + "K-\u0186", | |
| 72 | + "E-\u0186", | |
| 73 | + "E-O", | |
| 74 | + "E-K", | |
| 75 | + "O-A", | |
| 76 | + "A-K", | |
| 77 | + "D-\u0186", | |
| 78 | + "F-\u0190", | |
| 79 | + "\u0186-A", | |
| 80 | + "\u0186-O", | |
| 81 | + "M-\u0186" | |
| 82 | + ], | |
| 83 | + "STANDALONEMONTH": [ | |
| 84 | + "Sanda-\u0186p\u025bp\u0254n", | |
| 85 | + "Kwakwar-\u0186gyefuo", | |
| 86 | + "Eb\u0254w-\u0186benem", | |
| 87 | + "Eb\u0254bira-Oforisuo", | |
| 88 | + "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 89 | + "Obirade-Ay\u025bwohomumu", | |
| 90 | + "Ay\u025bwoho-Kitawonsa", | |
| 91 | + "Difuu-\u0186sandaa", | |
| 92 | + "Fankwa-\u0190b\u0254", | |
| 93 | + "\u0186b\u025bs\u025b-Ahinime", | |
| 94 | + "\u0186ber\u025bf\u025bw-Obubuo", | |
| 95 | + "Mumu-\u0186p\u025bnimba" | |
| 96 | + ], | |
| 97 | + "WEEKENDRANGE": [ | |
| 98 | + 5, | |
| 99 | + 6 | |
| 100 | + ], | |
| 101 | + "fullDate": "EEEE, y MMMM dd", | |
| 102 | + "longDate": "y MMMM d", | |
| 103 | + "medium": "y MMM d h:mm:ss a", | |
| 104 | + "mediumDate": "y MMM d", | |
| 105 | + "mediumTime": "h:mm:ss a", | |
| 106 | + "short": "yy/MM/dd h:mm a", | |
| 107 | + "shortDate": "yy/MM/dd", | |
| 108 | + "shortTime": "h:mm a" | |
| 109 | + }, | |
| 110 | + "NUMBER_FORMATS": { | |
| 111 | + "CURRENCY_SYM": "GHS", | |
| 112 | + "DECIMAL_SEP": ".", | |
| 113 | + "GROUP_SEP": ",", | |
| 114 | + "PATTERNS": [ | |
| 115 | + { | |
| 116 | + "gSize": 3, | |
| 117 | + "lgSize": 3, | |
| 118 | + "maxFrac": 3, | |
| 119 | + "minFrac": 0, | |
| 120 | + "minInt": 1, | |
| 121 | + "negPre": "-", | |
| 122 | + "negSuf": "", | |
| 123 | + "posPre": "", | |
| 124 | + "posSuf": "" | |
| 125 | + }, | |
| 126 | + { | |
| 127 | + "gSize": 3, | |
| 128 | + "lgSize": 3, | |
| 129 | + "maxFrac": 2, | |
| 130 | + "minFrac": 2, | |
| 131 | + "minInt": 1, | |
| 132 | + "negPre": "-\u00a4", | |
| 133 | + "negSuf": "", | |
| 134 | + "posPre": "\u00a4", | |
| 135 | + "posSuf": "" | |
| 136 | + } | |
| 137 | + ] | |
| 138 | + }, | |
| 139 | + "id": "ak-gh", | |
| 140 | + "localeID": "ak_GH", | |
| 141 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | +}); | |
| 143 | +}]); | ... | ... |
src/main/resources/static/assets/bower_components/angular-i18n/angular-locale_ak.js
| 1 | -'use strict'; | |
| 2 | -angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | -var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | -function getDecimals(n) { | |
| 5 | - n = n + ''; | |
| 6 | - var i = n.indexOf('.'); | |
| 7 | - return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | -} | |
| 9 | - | |
| 10 | -function getVF(n, opt_precision) { | |
| 11 | - var v = opt_precision; | |
| 12 | - | |
| 13 | - if (undefined === v) { | |
| 14 | - v = Math.min(getDecimals(n), 3); | |
| 15 | - } | |
| 16 | - | |
| 17 | - var base = Math.pow(10, v); | |
| 18 | - var f = ((n * base) | 0) % base; | |
| 19 | - return {v: v, f: f}; | |
| 20 | -} | |
| 21 | - | |
| 22 | -$provide.value("$locale", { | |
| 23 | - "DATETIME_FORMATS": { | |
| 24 | - "AMPMS": [ | |
| 25 | - "AN", | |
| 26 | - "EW" | |
| 27 | - ], | |
| 28 | - "DAY": [ | |
| 29 | - "Kwesida", | |
| 30 | - "Dwowda", | |
| 31 | - "Benada", | |
| 32 | - "Wukuda", | |
| 33 | - "Yawda", | |
| 34 | - "Fida", | |
| 35 | - "Memeneda" | |
| 36 | - ], | |
| 37 | - "ERANAMES": [ | |
| 38 | - "Ansa Kristo", | |
| 39 | - "Kristo Ekyiri" | |
| 40 | - ], | |
| 41 | - "ERAS": [ | |
| 42 | - "AK", | |
| 43 | - "KE" | |
| 44 | - ], | |
| 45 | - "FIRSTDAYOFWEEK": 0, | |
| 46 | - "MONTH": [ | |
| 47 | - "Sanda-\u0186p\u025bp\u0254n", | |
| 48 | - "Kwakwar-\u0186gyefuo", | |
| 49 | - "Eb\u0254w-\u0186benem", | |
| 50 | - "Eb\u0254bira-Oforisuo", | |
| 51 | - "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 52 | - "Obirade-Ay\u025bwohomumu", | |
| 53 | - "Ay\u025bwoho-Kitawonsa", | |
| 54 | - "Difuu-\u0186sandaa", | |
| 55 | - "Fankwa-\u0190b\u0254", | |
| 56 | - "\u0186b\u025bs\u025b-Ahinime", | |
| 57 | - "\u0186ber\u025bf\u025bw-Obubuo", | |
| 58 | - "Mumu-\u0186p\u025bnimba" | |
| 59 | - ], | |
| 60 | - "SHORTDAY": [ | |
| 61 | - "Kwe", | |
| 62 | - "Dwo", | |
| 63 | - "Ben", | |
| 64 | - "Wuk", | |
| 65 | - "Yaw", | |
| 66 | - "Fia", | |
| 67 | - "Mem" | |
| 68 | - ], | |
| 69 | - "SHORTMONTH": [ | |
| 70 | - "S-\u0186", | |
| 71 | - "K-\u0186", | |
| 72 | - "E-\u0186", | |
| 73 | - "E-O", | |
| 74 | - "E-K", | |
| 75 | - "O-A", | |
| 76 | - "A-K", | |
| 77 | - "D-\u0186", | |
| 78 | - "F-\u0190", | |
| 79 | - "\u0186-A", | |
| 80 | - "\u0186-O", | |
| 81 | - "M-\u0186" | |
| 82 | - ], | |
| 83 | - "STANDALONEMONTH": [ | |
| 84 | - "Sanda-\u0186p\u025bp\u0254n", | |
| 85 | - "Kwakwar-\u0186gyefuo", | |
| 86 | - "Eb\u0254w-\u0186benem", | |
| 87 | - "Eb\u0254bira-Oforisuo", | |
| 88 | - "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 89 | - "Obirade-Ay\u025bwohomumu", | |
| 90 | - "Ay\u025bwoho-Kitawonsa", | |
| 91 | - "Difuu-\u0186sandaa", | |
| 92 | - "Fankwa-\u0190b\u0254", | |
| 93 | - "\u0186b\u025bs\u025b-Ahinime", | |
| 94 | - "\u0186ber\u025bf\u025bw-Obubuo", | |
| 95 | - "Mumu-\u0186p\u025bnimba" | |
| 96 | - ], | |
| 97 | - "WEEKENDRANGE": [ | |
| 98 | - 5, | |
| 99 | - 6 | |
| 100 | - ], | |
| 101 | - "fullDate": "EEEE, y MMMM dd", | |
| 102 | - "longDate": "y MMMM d", | |
| 103 | - "medium": "y MMM d h:mm:ss a", | |
| 104 | - "mediumDate": "y MMM d", | |
| 105 | - "mediumTime": "h:mm:ss a", | |
| 106 | - "short": "yy/MM/dd h:mm a", | |
| 107 | - "shortDate": "yy/MM/dd", | |
| 108 | - "shortTime": "h:mm a" | |
| 109 | - }, | |
| 110 | - "NUMBER_FORMATS": { | |
| 111 | - "CURRENCY_SYM": "GHS", | |
| 112 | - "DECIMAL_SEP": ".", | |
| 113 | - "GROUP_SEP": ",", | |
| 114 | - "PATTERNS": [ | |
| 115 | - { | |
| 116 | - "gSize": 3, | |
| 117 | - "lgSize": 3, | |
| 118 | - "maxFrac": 3, | |
| 119 | - "minFrac": 0, | |
| 120 | - "minInt": 1, | |
| 121 | - "negPre": "-", | |
| 122 | - "negSuf": "", | |
| 123 | - "posPre": "", | |
| 124 | - "posSuf": "" | |
| 125 | - }, | |
| 126 | - { | |
| 127 | - "gSize": 3, | |
| 128 | - "lgSize": 3, | |
| 129 | - "maxFrac": 2, | |
| 130 | - "minFrac": 2, | |
| 131 | - "minInt": 1, | |
| 132 | - "negPre": "-\u00a4", | |
| 133 | - "negSuf": "", | |
| 134 | - "posPre": "\u00a4", | |
| 135 | - "posSuf": "" | |
| 136 | - } | |
| 137 | - ] | |
| 138 | - }, | |
| 139 | - "id": "ak", | |
| 140 | - "localeID": "ak", | |
| 141 | - "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | -}); | |
| 143 | -}]); | |
| 1 | +'use strict'; | |
| 2 | +angular.module("ngLocale", [], ["$provide", function($provide) { | |
| 3 | +var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; | |
| 4 | +function getDecimals(n) { | |
| 5 | + n = n + ''; | |
| 6 | + var i = n.indexOf('.'); | |
| 7 | + return (i == -1) ? 0 : n.length - i - 1; | |
| 8 | +} | |
| 9 | + | |
| 10 | +function getVF(n, opt_precision) { | |
| 11 | + var v = opt_precision; | |
| 12 | + | |
| 13 | + if (undefined === v) { | |
| 14 | + v = Math.min(getDecimals(n), 3); | |
| 15 | + } | |
| 16 | + | |
| 17 | + var base = Math.pow(10, v); | |
| 18 | + var f = ((n * base) | 0) % base; | |
| 19 | + return {v: v, f: f}; | |
| 20 | +} | |
| 21 | + | |
| 22 | +$provide.value("$locale", { | |
| 23 | + "DATETIME_FORMATS": { | |
| 24 | + "AMPMS": [ | |
| 25 | + "AN", | |
| 26 | + "EW" | |
| 27 | + ], | |
| 28 | + "DAY": [ | |
| 29 | + "Kwesida", | |
| 30 | + "Dwowda", | |
| 31 | + "Benada", | |
| 32 | + "Wukuda", | |
| 33 | + "Yawda", | |
| 34 | + "Fida", | |
| 35 | + "Memeneda" | |
| 36 | + ], | |
| 37 | + "ERANAMES": [ | |
| 38 | + "Ansa Kristo", | |
| 39 | + "Kristo Ekyiri" | |
| 40 | + ], | |
| 41 | + "ERAS": [ | |
| 42 | + "AK", | |
| 43 | + "KE" | |
| 44 | + ], | |
| 45 | + "FIRSTDAYOFWEEK": 0, | |
| 46 | + "MONTH": [ | |
| 47 | + "Sanda-\u0186p\u025bp\u0254n", | |
| 48 | + "Kwakwar-\u0186gyefuo", | |
| 49 | + "Eb\u0254w-\u0186benem", | |
| 50 | + "Eb\u0254bira-Oforisuo", | |
| 51 | + "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 52 | + "Obirade-Ay\u025bwohomumu", | |
| 53 | + "Ay\u025bwoho-Kitawonsa", | |
| 54 | + "Difuu-\u0186sandaa", | |
| 55 | + "Fankwa-\u0190b\u0254", | |
| 56 | + "\u0186b\u025bs\u025b-Ahinime", | |
| 57 | + "\u0186ber\u025bf\u025bw-Obubuo", | |
| 58 | + "Mumu-\u0186p\u025bnimba" | |
| 59 | + ], | |
| 60 | + "SHORTDAY": [ | |
| 61 | + "Kwe", | |
| 62 | + "Dwo", | |
| 63 | + "Ben", | |
| 64 | + "Wuk", | |
| 65 | + "Yaw", | |
| 66 | + "Fia", | |
| 67 | + "Mem" | |
| 68 | + ], | |
| 69 | + "SHORTMONTH": [ | |
| 70 | + "S-\u0186", | |
| 71 | + "K-\u0186", | |
| 72 | + "E-\u0186", | |
| 73 | + "E-O", | |
| 74 | + "E-K", | |
| 75 | + "O-A", | |
| 76 | + "A-K", | |
| 77 | + "D-\u0186", | |
| 78 | + "F-\u0190", | |
| 79 | + "\u0186-A", | |
| 80 | + "\u0186-O", | |
| 81 | + "M-\u0186" | |
| 82 | + ], | |
| 83 | + "STANDALONEMONTH": [ | |
| 84 | + "Sanda-\u0186p\u025bp\u0254n", | |
| 85 | + "Kwakwar-\u0186gyefuo", | |
| 86 | + "Eb\u0254w-\u0186benem", | |
| 87 | + "Eb\u0254bira-Oforisuo", | |
| 88 | + "Esusow Aketseaba-K\u0254t\u0254nimba", | |
| 89 | + "Obirade-Ay\u025bwohomumu", | |
| 90 | + "Ay\u025bwoho-Kitawonsa", | |
| 91 | + "Difuu-\u0186sandaa", | |
| 92 | + "Fankwa-\u0190b\u0254", | |
| 93 | + "\u0186b\u025bs\u025b-Ahinime", | |
| 94 | + "\u0186ber\u025bf\u025bw-Obubuo", | |
| 95 | + "Mumu-\u0186p\u025bnimba" | |
| 96 | + ], | |
| 97 | + "WEEKENDRANGE": [ | |
| 98 | + 5, | |
| 99 | + 6 | |
| 100 | + ], | |
| 101 | + "fullDate": "EEEE, y MMMM dd", | |
| 102 | + "longDate": "y MMMM d", | |
| 103 | + "medium": "y MMM d h:mm:ss a", | |
| 104 | + "mediumDate": "y MMM d", | |
| 105 | + "mediumTime": "h:mm:ss a", | |
| 106 | + "short": "yy/MM/dd h:mm a", | |
| 107 | + "shortDate": "yy/MM/dd", | |
| 108 | + "shortTime": "h:mm a" | |
| 109 | + }, | |
| 110 | + "NUMBER_FORMATS": { | |
| 111 | + "CURRENCY_SYM": "GHS", | |
| 112 | + "DECIMAL_SEP": ".", | |
| 113 | + "GROUP_SEP": ",", | |
| 114 | + "PATTERNS": [ | |
| 115 | + { | |
| 116 | + "gSize": 3, | |
| 117 | + "lgSize": 3, | |
| 118 | + "maxFrac": 3, | |
| 119 | + "minFrac": 0, | |
| 120 | + "minInt": 1, | |
| 121 | + "negPre": "-", | |
| 122 | + "negSuf": "", | |
| 123 | + "posPre": "", | |
| 124 | + "posSuf": "" | |
| 125 | + }, | |
| 126 | + { | |
| 127 | + "gSize": 3, | |
| 128 | + "lgSize": 3, | |
| 129 | + "maxFrac": 2, | |
| 130 | + "minFrac": 2, | |
| 131 | + "minInt": 1, | |
| 132 | + "negPre": "-\u00a4", | |
| 133 | + "negSuf": "", | |
| 134 | + "posPre": "\u00a4", | |
| 135 | + "posSuf": "" | |
| 136 | + } | |
| 137 | + ] | |
| 138 | + }, | |
| 139 | + "id": "ak", | |
| 140 | + "localeID": "ak", | |
| 141 | + "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} | |
| 142 | +}); | |
| 143 | +}]); | ... | ... |