@ebuilding/base 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/components/drawer/index.d.ts +1 -0
  4. package/components/drawer/src/drawer-content.directive.d.ts +9 -0
  5. package/components/drawer/src/drawer-options.d.ts +41 -0
  6. package/components/drawer/src/drawer-ref.d.ts +27 -0
  7. package/components/drawer/src/drawer.component.d.ts +120 -0
  8. package/components/drawer/src/drawer.module.d.ts +8 -0
  9. package/components/drawer/src/drawer.service.d.ts +22 -0
  10. package/components/drawer/src/public_api.d.ts +6 -0
  11. package/components/empty/index.d.ts +1 -0
  12. package/components/empty/src/default/index.d.ts +13 -0
  13. package/components/empty/src/index.module.d.ts +7 -0
  14. package/components/empty/src/public_api.d.ts +2 -0
  15. package/components/index.d.ts +2 -0
  16. package/fesm2022/components.drawer.mjs +706 -0
  17. package/fesm2022/components.drawer.mjs.map +1 -0
  18. package/fesm2022/components.empty.mjs +54 -0
  19. package/fesm2022/components.empty.mjs.map +1 -0
  20. package/fesm2022/components.mjs +750 -0
  21. package/fesm2022/components.mjs.map +1 -0
  22. package/fesm2022/config.content.mjs +4464 -0
  23. package/fesm2022/config.content.mjs.map +1 -0
  24. package/fesm2022/config.form.mjs +2190 -0
  25. package/fesm2022/config.form.mjs.map +1 -0
  26. package/fesm2022/config.header.mjs +2736 -0
  27. package/fesm2022/config.header.mjs.map +1 -0
  28. package/fesm2022/config.list.mjs +7192 -0
  29. package/fesm2022/config.list.mjs.map +1 -0
  30. package/fesm2022/config.page-dialog.mjs +639 -0
  31. package/fesm2022/config.page-dialog.mjs.map +1 -0
  32. package/fesm2022/config.page.mjs +53 -0
  33. package/fesm2022/config.page.mjs.map +1 -0
  34. package/fesm2022/ebuilding-base.mjs +11 -0
  35. package/fesm2022/ebuilding-base.mjs.map +1 -0
  36. package/fesm2022/pipe.builtin.mjs +36 -0
  37. package/fesm2022/pipe.builtin.mjs.map +1 -0
  38. package/fesm2022/pipe.category.mjs +43 -0
  39. package/fesm2022/pipe.category.mjs.map +1 -0
  40. package/fesm2022/pipe.datatype.mjs +38 -0
  41. package/fesm2022/pipe.datatype.mjs.map +1 -0
  42. package/fesm2022/pipe.date.format.mjs +46 -0
  43. package/fesm2022/pipe.date.format.mjs.map +1 -0
  44. package/fesm2022/pipe.disabled.mjs +38 -0
  45. package/fesm2022/pipe.disabled.mjs.map +1 -0
  46. package/fesm2022/pipe.email.state.mjs +36 -0
  47. package/fesm2022/pipe.email.state.mjs.map +1 -0
  48. package/fesm2022/pipe.empty.mjs +35 -0
  49. package/fesm2022/pipe.empty.mjs.map +1 -0
  50. package/fesm2022/pipe.eval.mjs +43 -0
  51. package/fesm2022/pipe.eval.mjs.map +1 -0
  52. package/fesm2022/pipe.flow.eval.mjs +36 -0
  53. package/fesm2022/pipe.flow.eval.mjs.map +1 -0
  54. package/fesm2022/pipe.flow.mjs +45 -0
  55. package/fesm2022/pipe.flow.mjs.map +1 -0
  56. package/fesm2022/pipe.flow.node.mjs +28 -0
  57. package/fesm2022/pipe.flow.node.mjs.map +1 -0
  58. package/fesm2022/pipe.flow.operation.mjs +52 -0
  59. package/fesm2022/pipe.flow.operation.mjs.map +1 -0
  60. package/fesm2022/pipe.flow.state.mjs +36 -0
  61. package/fesm2022/pipe.flow.state.mjs.map +1 -0
  62. package/fesm2022/pipe.flow.type.mjs +36 -0
  63. package/fesm2022/pipe.flow.type.mjs.map +1 -0
  64. package/fesm2022/pipe.formType.mjs +35 -0
  65. package/fesm2022/pipe.formType.mjs.map +1 -0
  66. package/fesm2022/pipe.grade.type.mjs +38 -0
  67. package/fesm2022/pipe.grade.type.mjs.map +1 -0
  68. package/fesm2022/pipe.indicator.mjs +43 -0
  69. package/fesm2022/pipe.indicator.mjs.map +1 -0
  70. package/fesm2022/pipe.item.mjs +38 -0
  71. package/fesm2022/pipe.item.mjs.map +1 -0
  72. package/fesm2022/pipe.moment.mjs +37 -0
  73. package/fesm2022/pipe.moment.mjs.map +1 -0
  74. package/fesm2022/pipe.msg.type.mjs +55 -0
  75. package/fesm2022/pipe.msg.type.mjs.map +1 -0
  76. package/fesm2022/pipe.number.mjs +34 -0
  77. package/fesm2022/pipe.number.mjs.map +1 -0
  78. package/fesm2022/pipe.objtype.mjs +37 -0
  79. package/fesm2022/pipe.objtype.mjs.map +1 -0
  80. package/fesm2022/pipe.okr.plan.mjs +46 -0
  81. package/fesm2022/pipe.okr.plan.mjs.map +1 -0
  82. package/fesm2022/pipe.okr.unit.mjs +38 -0
  83. package/fesm2022/pipe.okr.unit.mjs.map +1 -0
  84. package/fesm2022/pipe.operation.mjs +41 -0
  85. package/fesm2022/pipe.operation.mjs.map +1 -0
  86. package/fesm2022/pipe.period.emp.mjs +43 -0
  87. package/fesm2022/pipe.period.emp.mjs.map +1 -0
  88. package/fesm2022/pipe.period.state.mjs +43 -0
  89. package/fesm2022/pipe.period.state.mjs.map +1 -0
  90. package/fesm2022/pipe.plan.state.mjs +46 -0
  91. package/fesm2022/pipe.plan.state.mjs.map +1 -0
  92. package/fesm2022/pipe.range.mjs +25 -0
  93. package/fesm2022/pipe.range.mjs.map +1 -0
  94. package/fesm2022/pipe.removehtml.mjs +26 -0
  95. package/fesm2022/pipe.removehtml.mjs.map +1 -0
  96. package/fesm2022/pipe.result.mjs +56 -0
  97. package/fesm2022/pipe.result.mjs.map +1 -0
  98. package/fesm2022/pipe.safehtml.mjs +34 -0
  99. package/fesm2022/pipe.safehtml.mjs.map +1 -0
  100. package/fesm2022/pipe.state.mjs +55 -0
  101. package/fesm2022/pipe.state.mjs.map +1 -0
  102. package/fesm2022/pipe.table.type.mjs +38 -0
  103. package/fesm2022/pipe.table.type.mjs.map +1 -0
  104. package/fesm2022/pipe.task.state.mjs +43 -0
  105. package/fesm2022/pipe.task.state.mjs.map +1 -0
  106. package/fesm2022/pipe.templatetype.mjs +35 -0
  107. package/fesm2022/pipe.templatetype.mjs.map +1 -0
  108. package/fesm2022/pipe.valid.mjs +36 -0
  109. package/fesm2022/pipe.valid.mjs.map +1 -0
  110. package/fesm2022/pipe.value.method.mjs +46 -0
  111. package/fesm2022/pipe.value.method.mjs.map +1 -0
  112. package/fesm2022/pipe.write.state.mjs +45 -0
  113. package/fesm2022/pipe.write.state.mjs.map +1 -0
  114. package/fesm2022/pipe.yesNo.mjs +52 -0
  115. package/fesm2022/pipe.yesNo.mjs.map +1 -0
  116. package/fesm2022/shared.config.mjs +2190 -0
  117. package/fesm2022/shared.config.mjs.map +1 -0
  118. package/fesm2022/shared.srv.mjs +2853 -0
  119. package/fesm2022/shared.srv.mjs.map +1 -0
  120. package/fesm2022/shared.util.mjs +4676 -0
  121. package/fesm2022/shared.util.mjs.map +1 -0
  122. package/fesm2022/shared.var.mjs +597 -0
  123. package/fesm2022/shared.var.mjs.map +1 -0
  124. package/fesm2022/sharedPipe.mjs +1387 -0
  125. package/fesm2022/sharedPipe.mjs.map +1 -0
  126. package/fesm2022/srv.base-dialog.service.mjs +272 -0
  127. package/fesm2022/srv.base-dialog.service.mjs.map +1 -0
  128. package/fesm2022/srv.base-list.service.mjs +124 -0
  129. package/fesm2022/srv.base-list.service.mjs.map +1 -0
  130. package/fesm2022/srv.base-table.service.mjs +271 -0
  131. package/fesm2022/srv.base-table.service.mjs.map +1 -0
  132. package/fesm2022/srv.base-title.service.mjs +52 -0
  133. package/fesm2022/srv.base-title.service.mjs.map +1 -0
  134. package/fesm2022/srv.base-tree.service.mjs +53 -0
  135. package/fesm2022/srv.base-tree.service.mjs.map +1 -0
  136. package/fesm2022/srv.basePage.mjs +71 -0
  137. package/fesm2022/srv.basePage.mjs.map +1 -0
  138. package/fesm2022/srv.commApi.service.mjs +626 -0
  139. package/fesm2022/srv.commApi.service.mjs.map +1 -0
  140. package/fesm2022/srv.deon.util.mjs +272 -0
  141. package/fesm2022/srv.deon.util.mjs.map +1 -0
  142. package/fesm2022/srv.deon2.util.mjs +190 -0
  143. package/fesm2022/srv.deon2.util.mjs.map +1 -0
  144. package/fesm2022/srv.dialog.token.mjs +10 -0
  145. package/fesm2022/srv.dialog.token.mjs.map +1 -0
  146. package/fesm2022/srv.field-source.service.mjs +454 -0
  147. package/fesm2022/srv.field-source.service.mjs.map +1 -0
  148. package/fesm2022/srv.field.init.mjs +697 -0
  149. package/fesm2022/srv.field.init.mjs.map +1 -0
  150. package/fesm2022/srv.global.event.mjs +50 -0
  151. package/fesm2022/srv.global.event.mjs.map +1 -0
  152. package/fesm2022/srv.layout-detail.service.mjs +60 -0
  153. package/fesm2022/srv.layout-detail.service.mjs.map +1 -0
  154. package/fesm2022/srv.layout.service.mjs +65 -0
  155. package/fesm2022/srv.layout.service.mjs.map +1 -0
  156. package/fesm2022/srv.listService.mjs +319 -0
  157. package/fesm2022/srv.listService.mjs.map +1 -0
  158. package/fesm2022/srv.window.service.mjs +34 -0
  159. package/fesm2022/srv.window.service.mjs.map +1 -0
  160. package/fesm2022/util.base64.mjs +85 -0
  161. package/fesm2022/util.base64.mjs.map +1 -0
  162. package/fesm2022/util.comm.attendance.mjs +207 -0
  163. package/fesm2022/util.comm.attendance.mjs.map +1 -0
  164. package/fesm2022/util.comm.ckeditor.mjs +32 -0
  165. package/fesm2022/util.comm.ckeditor.mjs.map +1 -0
  166. package/fesm2022/util.comm.colors.mjs +21 -0
  167. package/fesm2022/util.comm.colors.mjs.map +1 -0
  168. package/fesm2022/util.comm.eca.mjs +89 -0
  169. package/fesm2022/util.comm.eca.mjs.map +1 -0
  170. package/fesm2022/util.comm.fly.mjs +210 -0
  171. package/fesm2022/util.comm.fly.mjs.map +1 -0
  172. package/fesm2022/util.comm.kpi.mjs +118 -0
  173. package/fesm2022/util.comm.kpi.mjs.map +1 -0
  174. package/fesm2022/util.comm.leave.mjs +271 -0
  175. package/fesm2022/util.comm.leave.mjs.map +1 -0
  176. package/fesm2022/util.comm.menu.mjs +132 -0
  177. package/fesm2022/util.comm.menu.mjs.map +1 -0
  178. package/fesm2022/util.comm.okr.mjs +204 -0
  179. package/fesm2022/util.comm.okr.mjs.map +1 -0
  180. package/fesm2022/util.comm.overtime.mjs +69 -0
  181. package/fesm2022/util.comm.overtime.mjs.map +1 -0
  182. package/fesm2022/util.comm.setting.mjs +211 -0
  183. package/fesm2022/util.comm.setting.mjs.map +1 -0
  184. package/fesm2022/util.comm.shebao.mjs +57 -0
  185. package/fesm2022/util.comm.shebao.mjs.map +1 -0
  186. package/fesm2022/util.comm.workflow.mjs +178 -0
  187. package/fesm2022/util.comm.workflow.mjs.map +1 -0
  188. package/fesm2022/util.common.mjs +637 -0
  189. package/fesm2022/util.common.mjs.map +1 -0
  190. package/fesm2022/util.encryption.mjs +49 -0
  191. package/fesm2022/util.encryption.mjs.map +1 -0
  192. package/fesm2022/util.guid.mjs +57 -0
  193. package/fesm2022/util.guid.mjs.map +1 -0
  194. package/fesm2022/util.guid.number.mjs +68 -0
  195. package/fesm2022/util.guid.number.mjs.map +1 -0
  196. package/fesm2022/util.menus.mjs +33 -0
  197. package/fesm2022/util.menus.mjs.map +1 -0
  198. package/fesm2022/util.operation.mjs +193 -0
  199. package/fesm2022/util.operation.mjs.map +1 -0
  200. package/fesm2022/util.static.mjs +1542 -0
  201. package/fesm2022/util.static.mjs.map +1 -0
  202. package/fesm2022/util.tool.mjs +46 -0
  203. package/fesm2022/util.tool.mjs.map +1 -0
  204. package/fesm2022/util.validation.mjs +67 -0
  205. package/fesm2022/util.validation.mjs.map +1 -0
  206. package/fesm2022/util.workflow.mjs +128 -0
  207. package/fesm2022/util.workflow.mjs.map +1 -0
  208. package/fesm2022/util.yuan.mjs +18 -0
  209. package/fesm2022/util.yuan.mjs.map +1 -0
  210. package/fesm2022/var.comm.constant.mjs +37 -0
  211. package/fesm2022/var.comm.constant.mjs.map +1 -0
  212. package/fesm2022/var.shared.constant.mjs +237 -0
  213. package/fesm2022/var.shared.constant.mjs.map +1 -0
  214. package/fesm2022/var.shared.interface.mjs +51 -0
  215. package/fesm2022/var.shared.interface.mjs.map +1 -0
  216. package/fesm2022/var.shared.variable.mjs +168 -0
  217. package/fesm2022/var.shared.variable.mjs.map +1 -0
  218. package/index.d.ts +6 -0
  219. package/package.json +420 -0
  220. package/shared.config/form/admin/attendance.d.ts +1 -0
  221. package/shared.config/form/admin/personnel.d.ts +1 -0
  222. package/shared.config/form/admin/system.d.ts +1 -0
  223. package/shared.config/form/gram/kpi.d.ts +1 -0
  224. package/shared.config/form/index.d.ts +2 -0
  225. package/shared.config/form/paas/module.d.ts +1 -0
  226. package/shared.config/form/payroll/shebao.d.ts +1 -0
  227. package/shared.config/index.d.ts +1 -0
  228. package/shared.config/list/content/admin/system.code.d.ts +1 -0
  229. package/shared.config/list/content/admin/system.log.d.ts +1 -0
  230. package/shared.config/list/content/admin/system.role.d.ts +1 -0
  231. package/shared.config/list/content/admin/system.source.d.ts +1 -0
  232. package/shared.config/list/content/admin/system.tenant.d.ts +1 -0
  233. package/shared.config/list/content/admin/system.user.d.ts +1 -0
  234. package/shared.config/list/content/fly/admin/device.d.ts +1 -0
  235. package/shared.config/list/content/fly/admin/dock.d.ts +1 -0
  236. package/shared.config/list/content/fly/admin/healthy.d.ts +1 -0
  237. package/shared.config/list/content/fly/admin/system.d.ts +1 -0
  238. package/shared.config/list/content/fly/admin/user.d.ts +1 -0
  239. package/shared.config/list/content/fly/work/ai.d.ts +1 -0
  240. package/shared.config/list/content/fly/work/history.d.ts +1 -0
  241. package/shared.config/list/content/fly/work/order.d.ts +1 -0
  242. package/shared.config/list/content/fly/work/product.d.ts +1 -0
  243. package/shared.config/list/content/fly/work/task.d.ts +1 -0
  244. package/shared.config/list/content/index.d.ts +38 -0
  245. package/shared.config/list/content/paas/card.d.ts +1 -0
  246. package/shared.config/list/content/paas/module.d.ts +1 -0
  247. package/shared.config/list/content/paas/permission.d.ts +1 -0
  248. package/shared.config/list/content/paas/rule.d.ts +1 -0
  249. package/shared.config/list/content/paas/setting.d.ts +1 -0
  250. package/shared.config/list/content/personnel/position.d.ts +1 -0
  251. package/shared.config/list/content/workflow/workflow.d.ts +1 -0
  252. package/shared.config/list/header/admin/system.d.ts +1 -0
  253. package/shared.config/list/header/dialog/default.d.ts +1 -0
  254. package/shared.config/list/header/fly/admin/device.d.ts +1 -0
  255. package/shared.config/list/header/fly/admin/dock.d.ts +1 -0
  256. package/shared.config/list/header/fly/admin/healthy.d.ts +1 -0
  257. package/shared.config/list/header/fly/admin/system.d.ts +1 -0
  258. package/shared.config/list/header/fly/admin/user.d.ts +1 -0
  259. package/shared.config/list/header/fly/work/ai.d.ts +1 -0
  260. package/shared.config/list/header/fly/work/history.d.ts +1 -0
  261. package/shared.config/list/header/fly/work/order.d.ts +1 -0
  262. package/shared.config/list/header/fly/work/product.d.ts +1 -0
  263. package/shared.config/list/header/fly/work/task.d.ts +1 -0
  264. package/shared.config/list/header/index.d.ts +1 -0
  265. package/shared.config/list/header/paas.d.ts +1 -0
  266. package/shared.config/list/header/personnel/position.d.ts +1 -0
  267. package/shared.config/list/header/wk/workflow.d.ts +1 -0
  268. package/shared.config/list/index.d.ts +2 -0
  269. package/shared.config/page/README.md +3 -0
  270. package/shared.config/page/admin/index.d.ts +1 -0
  271. package/shared.config/page/admin/system.source.d.ts +1 -0
  272. package/shared.config/page/index.d.ts +1 -0
  273. package/shared.config/page-dialog/admin/index.d.ts +1 -0
  274. package/shared.config/page-dialog/admin/system.d.ts +1 -0
  275. package/shared.config/page-dialog/index.d.ts +3 -0
  276. package/shared.config/page-dialog/paas/index.d.ts +1 -0
  277. package/shared.config/page-dialog/paas/module.d.ts +1 -0
  278. package/shared.config/page-dialog/payroll/index.d.ts +1 -0
  279. package/shared.config/page-dialog/payroll/main.d.ts +1 -0
  280. package/shared.pipe/builtin/builtin.pipe.d.ts +8 -0
  281. package/shared.pipe/builtin/index.d.ts +1 -0
  282. package/shared.pipe/category/category.pipe.d.ts +8 -0
  283. package/shared.pipe/category/index.d.ts +1 -0
  284. package/shared.pipe/datatype/datatype.pipe.d.ts +8 -0
  285. package/shared.pipe/datatype/index.d.ts +1 -0
  286. package/shared.pipe/date.format/date.pipe.d.ts +8 -0
  287. package/shared.pipe/date.format/index.d.ts +1 -0
  288. package/shared.pipe/disabled/disabled.pipe.d.ts +8 -0
  289. package/shared.pipe/disabled/index.d.ts +1 -0
  290. package/shared.pipe/email.state/email.pipe.d.ts +8 -0
  291. package/shared.pipe/email.state/index.d.ts +1 -0
  292. package/shared.pipe/empty/empty.pipe.d.ts +8 -0
  293. package/shared.pipe/empty/index.d.ts +1 -0
  294. package/shared.pipe/eval/eval.pipe.d.ts +8 -0
  295. package/shared.pipe/eval/index.d.ts +1 -0
  296. package/shared.pipe/flow/flow.pipe.d.ts +8 -0
  297. package/shared.pipe/flow/index.d.ts +1 -0
  298. package/shared.pipe/flow.eval/flow.pipe.d.ts +8 -0
  299. package/shared.pipe/flow.eval/index.d.ts +1 -0
  300. package/shared.pipe/flow.node/flow.pipe.d.ts +8 -0
  301. package/shared.pipe/flow.node/index.d.ts +1 -0
  302. package/shared.pipe/flow.operation/flow.pipe.d.ts +8 -0
  303. package/shared.pipe/flow.operation/index.d.ts +1 -0
  304. package/shared.pipe/flow.state/flow.pipe.d.ts +8 -0
  305. package/shared.pipe/flow.state/index.d.ts +1 -0
  306. package/shared.pipe/flow.type/flow.pipe.d.ts +8 -0
  307. package/shared.pipe/flow.type/index.d.ts +1 -0
  308. package/shared.pipe/formType/form.pipe.d.ts +8 -0
  309. package/shared.pipe/formType/index.d.ts +1 -0
  310. package/shared.pipe/grade.type/grade.pipe.d.ts +8 -0
  311. package/shared.pipe/grade.type/index.d.ts +1 -0
  312. package/shared.pipe/index.d.ts +41 -0
  313. package/shared.pipe/index.module.d.ts +47 -0
  314. package/shared.pipe/indicator/index.d.ts +1 -0
  315. package/shared.pipe/indicator/indicator.pipe.d.ts +8 -0
  316. package/shared.pipe/item/index.d.ts +1 -0
  317. package/shared.pipe/item/item.pipe.d.ts +8 -0
  318. package/shared.pipe/moment/index.d.ts +1 -0
  319. package/shared.pipe/moment/moment.pipe.d.ts +16 -0
  320. package/shared.pipe/msg.type/index.d.ts +1 -0
  321. package/shared.pipe/msg.type/msg.pipe.d.ts +8 -0
  322. package/shared.pipe/number/index.d.ts +1 -0
  323. package/shared.pipe/number/number.pipe.d.ts +8 -0
  324. package/shared.pipe/objtype/index.d.ts +1 -0
  325. package/shared.pipe/objtype/obj.pipe.d.ts +8 -0
  326. package/shared.pipe/okr.plan/index.d.ts +1 -0
  327. package/shared.pipe/okr.plan/okr.pipe.d.ts +8 -0
  328. package/shared.pipe/okr.unit/index.d.ts +1 -0
  329. package/shared.pipe/okr.unit/okr.pipe.d.ts +8 -0
  330. package/shared.pipe/operation/index.d.ts +1 -0
  331. package/shared.pipe/operation/operation.pipe.d.ts +8 -0
  332. package/shared.pipe/period.emp/index.d.ts +1 -0
  333. package/shared.pipe/period.emp/period.pipe.d.ts +8 -0
  334. package/shared.pipe/period.state/index.d.ts +1 -0
  335. package/shared.pipe/period.state/period.pipe.d.ts +8 -0
  336. package/shared.pipe/plan.state/index.d.ts +1 -0
  337. package/shared.pipe/plan.state/plan.pipe.d.ts +8 -0
  338. package/shared.pipe/range/index.d.ts +1 -0
  339. package/shared.pipe/range/range.pipe.d.ts +8 -0
  340. package/shared.pipe/removehtml/index.d.ts +1 -0
  341. package/shared.pipe/removehtml/removehtml.pipe.d.ts +8 -0
  342. package/shared.pipe/result/index.d.ts +1 -0
  343. package/shared.pipe/result/result.pipe.d.ts +8 -0
  344. package/shared.pipe/safehtml/index.d.ts +1 -0
  345. package/shared.pipe/safehtml/safehtml.pipe.d.ts +10 -0
  346. package/shared.pipe/state/index.d.ts +1 -0
  347. package/shared.pipe/state/state.pipe.d.ts +8 -0
  348. package/shared.pipe/table.type/index.d.ts +1 -0
  349. package/shared.pipe/table.type/table.pipe.d.ts +8 -0
  350. package/shared.pipe/task.state/index.d.ts +1 -0
  351. package/shared.pipe/task.state/task.pipe.d.ts +8 -0
  352. package/shared.pipe/templatetype/index.d.ts +1 -0
  353. package/shared.pipe/templatetype/template.pipe.d.ts +8 -0
  354. package/shared.pipe/valid/index.d.ts +1 -0
  355. package/shared.pipe/valid/valid.pipe.d.ts +8 -0
  356. package/shared.pipe/value.method/index.d.ts +1 -0
  357. package/shared.pipe/value.method/value.pipe.d.ts +8 -0
  358. package/shared.pipe/write.state/index.d.ts +1 -0
  359. package/shared.pipe/write.state/write.pipe.d.ts +9 -0
  360. package/shared.pipe/yesNo/index.d.ts +1 -0
  361. package/shared.pipe/yesNo/yesNo.pipe.d.ts +8 -0
  362. package/shared.srv/base-dialog.service/index.d.ts +39 -0
  363. package/shared.srv/base-list.service/index.d.ts +49 -0
  364. package/shared.srv/base-table.service/index.d.ts +77 -0
  365. package/shared.srv/base-title.service/index.d.ts +16 -0
  366. package/shared.srv/base-tree.service/index.d.ts +30 -0
  367. package/shared.srv/basePage/index.d.ts +33 -0
  368. package/shared.srv/commApi.service/index.d.ts +124 -0
  369. package/shared.srv/deon.util/index.d.ts +25 -0
  370. package/shared.srv/deon2.util/index.d.ts +14 -0
  371. package/shared.srv/dialog.token/index.d.ts +5 -0
  372. package/shared.srv/field-source.service/index.d.ts +67 -0
  373. package/shared.srv/field.init/index.d.ts +36 -0
  374. package/shared.srv/global.event/index.d.ts +13 -0
  375. package/shared.srv/index.d.ts +16 -0
  376. package/shared.srv/layout-detail.service/index.d.ts +23 -0
  377. package/shared.srv/layout.service/index.d.ts +28 -0
  378. package/shared.srv/listService/index.d.ts +38 -0
  379. package/shared.srv/window.service/index.d.ts +8 -0
  380. package/shared.util/base64/index.d.ts +6 -0
  381. package/shared.util/comm.attendance/index.d.ts +74 -0
  382. package/shared.util/comm.ckeditor/index.d.ts +9 -0
  383. package/shared.util/comm.colors/index.d.ts +1 -0
  384. package/shared.util/comm.eca/index.d.ts +16 -0
  385. package/shared.util/comm.fly/index.d.ts +60 -0
  386. package/shared.util/comm.kpi/index.d.ts +21 -0
  387. package/shared.util/comm.leave/index.d.ts +79 -0
  388. package/shared.util/comm.menu/index.d.ts +4 -0
  389. package/shared.util/comm.okr/index.d.ts +61 -0
  390. package/shared.util/comm.overtime/index.d.ts +25 -0
  391. package/shared.util/comm.setting/index.d.ts +54 -0
  392. package/shared.util/comm.shebao/index.d.ts +16 -0
  393. package/shared.util/comm.workflow/index.d.ts +24 -0
  394. package/shared.util/common/index.d.ts +60 -0
  395. package/shared.util/encryption/index.d.ts +12 -0
  396. package/shared.util/guid/index.d.ts +16 -0
  397. package/shared.util/guid.number/index.d.ts +16 -0
  398. package/shared.util/index.d.ts +25 -0
  399. package/shared.util/menus/index.d.ts +1 -0
  400. package/shared.util/operation/index.d.ts +13 -0
  401. package/shared.util/static/index.d.ts +284 -0
  402. package/shared.util/tool/index.d.ts +6 -0
  403. package/shared.util/validation/index.d.ts +40 -0
  404. package/shared.util/workflow/index.d.ts +12 -0
  405. package/shared.util/yuan/index.d.ts +6 -0
  406. package/shared.var/comm.constant/index.d.ts +24 -0
  407. package/shared.var/index.d.ts +4 -0
  408. package/shared.var/shared.constant/index.d.ts +151 -0
  409. package/shared.var/shared.interface/index.d.ts +58 -0
  410. package/shared.var/shared.variable/index.d.ts +116 -0
  411. package/style/variable.less +238 -0
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { WorkFlowState } from '@ebuilding/base/shared.util/workflow';
4
+
5
+ class FlowStatePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null || d == '') {
10
+ return '--';
11
+ }
12
+ d = d.toLocaleUpperCase();
13
+ WorkFlowState().forEach((e) => {
14
+ if (e.value == d) {
15
+ res = `<label class="flow_${e.value}">${e.label}</label>`;
16
+ }
17
+ });
18
+ return res;
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowStatePipe, isStandalone: true, name: "flowState" });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowStatePipe, decorators: [{
24
+ type: Pipe,
25
+ args: [{
26
+ name: 'flowState',
27
+ standalone: true,
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { FlowStatePipe };
36
+ //# sourceMappingURL=pipe.flow.state.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.state.mjs","sources":["../../../../packages/base/shared.pipe/flow.state/flow.pipe.ts","../../../../packages/base/shared.pipe/flow.state/pipe.flow.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { WorkFlowState } from '@ebuilding/base/shared.util/workflow';\n@Pipe({\n name: 'flowState',\n standalone: true,\n})\nexport class FlowStatePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return '--';\n }\n d = d.toLocaleUpperCase();\n WorkFlowState().forEach((e: any) => {\n if (e.value == d) {\n res = `<label class=\"flow_${e.value}\">${e.label}</label>`;\n }\n });\n\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,IAAI;;AAEb,QAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;AACzB,QAAA,aAAa,EAAE,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;AACjC,YAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;gBAChB,GAAG,GAAG,CAAsB,mBAAA,EAAA,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,CAAA,QAAA,CAAU;;AAE7D,SAAC,CAAC;AAEF,QAAA,OAAO,GAAG;;wGAdD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { WorkFlowType } from '@ebuilding/base/shared.util/workflow';
4
+
5
+ class FlowTypePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null || d == '') {
10
+ return res;
11
+ }
12
+ d = d.toLocaleUpperCase();
13
+ WorkFlowType().forEach((e) => {
14
+ if (e.value == d) {
15
+ res = e.label;
16
+ }
17
+ });
18
+ return res;
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowTypePipe, isStandalone: true, name: "flowType" });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowTypePipe, decorators: [{
24
+ type: Pipe,
25
+ args: [{
26
+ name: 'flowType',
27
+ standalone: true,
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { FlowTypePipe };
36
+ //# sourceMappingURL=pipe.flow.type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.type.mjs","sources":["../../../../packages/base/shared.pipe/flow.type/flow.pipe.ts","../../../../packages/base/shared.pipe/flow.type/pipe.flow.type.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { WorkFlowType } from '@ebuilding/base/shared.util/workflow';\n@Pipe({\n name: 'flowType',\n standalone: true,\n})\nexport class FlowTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n d = d.toLocaleUpperCase();\n WorkFlowType().forEach((e: any) => {\n if (e.value == d) {\n res = e.label;\n }\n });\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,YAAY,CAAA;AACvB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,GAAG;;AAEZ,QAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;AACzB,QAAA,YAAY,EAAE,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;AAChC,YAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;AAChB,gBAAA,GAAG,GAAG,CAAC,CAAC,KAAK;;AAEjB,SAAC,CAAC;AACF,QAAA,OAAO,GAAG;;wGAbD,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,35 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { FormType } from '@ebuilding/base/shared.util/static';
4
+
5
+ class FormTypePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null || d == '') {
10
+ return res;
11
+ }
12
+ FormType().forEach((e) => {
13
+ if (e.value == d) {
14
+ res = e.label;
15
+ }
16
+ });
17
+ return res;
18
+ }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
20
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FormTypePipe, isStandalone: true, name: "formType" });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FormTypePipe, decorators: [{
23
+ type: Pipe,
24
+ args: [{
25
+ name: 'formType',
26
+ standalone: true,
27
+ }]
28
+ }], ctorParameters: () => [] });
29
+
30
+ /**
31
+ * Generated bundle index. Do not edit.
32
+ */
33
+
34
+ export { FormTypePipe };
35
+ //# sourceMappingURL=pipe.formType.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.formType.mjs","sources":["../../../../packages/base/shared.pipe/formType/form.pipe.ts","../../../../packages/base/shared.pipe/formType/pipe.formType.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FormType } from '@ebuilding/base/shared.util/static';\n\n@Pipe({\n name: 'formType',\n standalone: true,\n})\nexport class FormTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n FormType().forEach((e: any) => {\n if (e.value == d) {\n res = e.label;\n }\n });\n\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,YAAY,CAAA;AACvB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,GAAG;;AAEZ,QAAA,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;AAC5B,YAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;AAChB,gBAAA,GAAG,GAAG,CAAC,CAAC,KAAK;;AAEjB,SAAC,CAAC;AAEF,QAAA,OAAO,GAAG;;wGAbD,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -0,0 +1,38 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { ResultRating } from '@ebuilding/base/shared.util/static';
4
+
5
+ class GradeTypePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null || d == '') {
10
+ return res;
11
+ }
12
+ let list = ResultRating();
13
+ if (list) {
14
+ list.forEach((item) => {
15
+ if (item.value == d) {
16
+ res = item.label;
17
+ }
18
+ });
19
+ }
20
+ return res;
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GradeTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
23
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GradeTypePipe, isStandalone: true, name: "gradeType" });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GradeTypePipe, decorators: [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'gradeType',
29
+ standalone: true,
30
+ }]
31
+ }], ctorParameters: () => [] });
32
+
33
+ /**
34
+ * Generated bundle index. Do not edit.
35
+ */
36
+
37
+ export { GradeTypePipe };
38
+ //# sourceMappingURL=pipe.grade.type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.grade.type.mjs","sources":["../../../../packages/base/shared.pipe/grade.type/grade.pipe.ts","../../../../packages/base/shared.pipe/grade.type/pipe.grade.type.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { ResultRating } from '@ebuilding/base/shared.util/static';\n@Pipe({\n name: 'gradeType',\n standalone: true,\n})\nexport class GradeTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n let list: any = ResultRating();\n if (list!!) {\n list.forEach((item: any) => {\n if (item.value == d) {\n res = item.label;\n }\n });\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,GAAG;;AAEZ,QAAA,IAAI,IAAI,GAAQ,YAAY,EAAE;QAC9B,IAAI,IAAM,EAAE;AACV,YAAA,IAAI,CAAC,OAAO,CAAC,CAAC,IAAS,KAAI;AACzB,gBAAA,IAAI,IAAI,CAAC,KAAK,IAAI,CAAC,EAAE;AACnB,oBAAA,GAAG,GAAG,IAAI,CAAC,KAAK;;AAEpB,aAAC,CAAC;;AAEJ,QAAA,OAAO,GAAG;;wGAfD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class IndicatorPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ if (d == null || d == '') {
9
+ return res;
10
+ }
11
+ switch (d) {
12
+ case 'KPI':
13
+ res = '考核指标';
14
+ break;
15
+ case 'BONUS':
16
+ res = '关键事项(加分)';
17
+ break;
18
+ case 'MINUS':
19
+ res = '关键事项(减分)';
20
+ break;
21
+ default:
22
+ res = '--';
23
+ break;
24
+ }
25
+ return res;
26
+ }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IndicatorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
28
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: IndicatorPipe, isStandalone: true, name: "indicator" });
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: IndicatorPipe, decorators: [{
31
+ type: Pipe,
32
+ args: [{
33
+ name: 'indicator',
34
+ standalone: true,
35
+ }]
36
+ }], ctorParameters: () => [] });
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { IndicatorPipe };
43
+ //# sourceMappingURL=pipe.indicator.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.indicator.mjs","sources":["../../../../packages/base/shared.pipe/indicator/indicator.pipe.ts","../../../../packages/base/shared.pipe/indicator/pipe.indicator.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'indicator',\n standalone: true,\n})\nexport class IndicatorPipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n switch (d) {\n case 'KPI':\n res = '考核指标';\n break;\n case 'BONUS':\n res = '关键事项(加分)';\n break;\n case 'MINUS':\n res = '关键事项(减分)';\n break;\n default:\n res = '--';\n break;\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,GAAG;;QAEZ,QAAQ,CAAC;AACP,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,MAAM;gBACZ;AACF,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,UAAU;gBAChB;AACF,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,UAAU;gBAChB;AACF,YAAA;gBACE,GAAG,GAAG,IAAI;gBACV;;AAEJ,QAAA,OAAO,GAAG;;wGArBD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,38 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { AttributeItem } from '@ebuilding/base/shared.util/static';
4
+
5
+ class ItemPipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d) {
10
+ d = d.toLocaleUpperCase();
11
+ let list = AttributeItem().filter((item) => {
12
+ if (item.value.toLocaleUpperCase() == d) {
13
+ return item;
14
+ }
15
+ });
16
+ if (list != null && list.length > 0) {
17
+ res = list[0]['label'];
18
+ }
19
+ }
20
+ return res;
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
23
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ItemPipe, isStandalone: true, name: "item" });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemPipe, decorators: [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'item',
29
+ standalone: true,
30
+ }]
31
+ }], ctorParameters: () => [] });
32
+
33
+ /**
34
+ * Generated bundle index. Do not edit.
35
+ */
36
+
37
+ export { ItemPipe };
38
+ //# sourceMappingURL=pipe.item.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.item.mjs","sources":["../../../../packages/base/shared.pipe/item/item.pipe.ts","../../../../packages/base/shared.pipe/item/pipe.item.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { AttributeItem } from '@ebuilding/base/shared.util/static';\n\n@Pipe({\n name: 'item',\n standalone: true,\n})\nexport class ItemPipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d!!) {\n d = d.toLocaleUpperCase();\n let list = AttributeItem().filter((item: any) => {\n if (item.value.toLocaleUpperCase() == d) {\n return item;\n }\n });\n if (list != null && list.length > 0) {\n res = list[0]['label'];\n }\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,QAAQ,CAAA;AACnB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAG,EAAE;AACP,YAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;YACzB,IAAI,IAAI,GAAG,aAAa,EAAE,CAAC,MAAM,CAAC,CAAC,IAAS,KAAI;gBAC9C,IAAI,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,IAAI,CAAC,EAAE;AACvC,oBAAA,OAAO,IAAI;;AAEf,aAAC,CAAC;YACF,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;gBACnC,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;;;AAG1B,QAAA,OAAO,GAAG;;wGAfD,QAAQ,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAR,QAAQ,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA;;4FAAR,QAAQ,EAAA,UAAA,EAAA,CAAA;kBAJpB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,MAAM;AACZ,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -0,0 +1,37 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import moment from 'moment';
4
+
5
+ /**
6
+ * 格式化日期
7
+ *
8
+ * {{ item.applyDate | moment: ['YYYY/MM/DD'] }}
9
+ * @export
10
+ * @class MomentPipe
11
+ * @implements {PipeTransform}
12
+ */
13
+ class MomentPipe {
14
+ transform(d, args) {
15
+ // utc add 8 hours into beijing
16
+ if (d == '' || d == null)
17
+ return '';
18
+ let rv = moment(d).format(args[0]);
19
+ return rv;
20
+ }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MomentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
22
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: MomentPipe, isStandalone: true, name: "moment" });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MomentPipe, decorators: [{
25
+ type: Pipe,
26
+ args: [{
27
+ name: 'moment',
28
+ standalone: true
29
+ }]
30
+ }] });
31
+
32
+ /**
33
+ * Generated bundle index. Do not edit.
34
+ */
35
+
36
+ export { MomentPipe };
37
+ //# sourceMappingURL=pipe.moment.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.moment.mjs","sources":["../../../../packages/base/shared.pipe/moment/moment.pipe.ts","../../../../packages/base/shared.pipe/moment/pipe.moment.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport moment from 'moment';\n\n/**\n * 格式化日期\n *\n * {{ item.applyDate | moment: ['YYYY/MM/DD'] }}\n * @export\n * @class MomentPipe\n * @implements {PipeTransform}\n */\n@Pipe({\n name: 'moment',\n standalone: true\n})\nexport class MomentPipe implements PipeTransform {\n transform(d: Date | moment.Moment | string, args: any[]): string {\n // utc add 8 hours into beijing\n if (d == '' || d == null) return '';\n let rv = moment(d).format(args[0]);\n return rv;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;;;;AAOG;MAKU,UAAU,CAAA;IACrB,SAAS,CAAC,CAAgC,EAAE,IAAW,EAAA;;AAErD,QAAA,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI;AAAE,YAAA,OAAO,EAAE;AACnC,QAAA,IAAI,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,OAAO,EAAE;;wGALA,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACd,oBAAA,UAAU,EAAE;AACb,iBAAA;;;ACdD;;AAEG;;;;"}
@@ -0,0 +1,55 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class MsgTypePipe {
5
+ constructor() { }
6
+ transform(d, arg) {
7
+ let res = '';
8
+ let className = '';
9
+ d = d.toLocaleUpperCase();
10
+ switch (d) {
11
+ case 'OBJECTIVE_GIVE':
12
+ res = '点赞目标';
13
+ className = 'message_give';
14
+ break;
15
+ case 'OBJECTIVE_COMMENT':
16
+ res = '评论目标';
17
+ className = 'message_comment';
18
+ break;
19
+ case 'OBJECTIVE_FOLLOW':
20
+ res = '跟进目标提醒';
21
+ className = 'message_follow';
22
+ break;
23
+ case 'OBJECTIVE_PUSH':
24
+ res = '催办对齐目标';
25
+ className = 'message_push';
26
+ break;
27
+ case 'OBJECTIVE_OWNER':
28
+ res = '调整目标负责人';
29
+ className = 'message_owner';
30
+ break;
31
+ default:
32
+ break;
33
+ }
34
+ if (arg && arg == 'tag') {
35
+ res = `<div class="${className}">${res}</div>`;
36
+ }
37
+ return res;
38
+ }
39
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MsgTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
40
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: MsgTypePipe, isStandalone: true, name: "msgType" });
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MsgTypePipe, decorators: [{
43
+ type: Pipe,
44
+ args: [{
45
+ name: 'msgType',
46
+ standalone: true,
47
+ }]
48
+ }], ctorParameters: () => [] });
49
+
50
+ /**
51
+ * Generated bundle index. Do not edit.
52
+ */
53
+
54
+ export { MsgTypePipe };
55
+ //# sourceMappingURL=pipe.msg.type.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.msg.type.mjs","sources":["../../../../packages/base/shared.pipe/msg.type/msg.pipe.ts","../../../../packages/base/shared.pipe/msg.type/pipe.msg.type.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'msgType',\n standalone: true,\n})\nexport class MsgTypePipe implements PipeTransform {\n constructor() { }\n transform(d: any, arg?: any): string {\n let res: any = '';\n let className: any = '';\n d = d.toLocaleUpperCase();\n\n switch (d) {\n case 'OBJECTIVE_GIVE':\n res = '点赞目标';\n className = 'message_give';\n break;\n case 'OBJECTIVE_COMMENT':\n res = '评论目标';\n className = 'message_comment';\n break;\n case 'OBJECTIVE_FOLLOW':\n res = '跟进目标提醒';\n className = 'message_follow';\n break;\n case 'OBJECTIVE_PUSH':\n res = '催办对齐目标';\n className = 'message_push';\n break;\n case 'OBJECTIVE_OWNER':\n res = '调整目标负责人';\n className = 'message_owner';\n break;\n default:\n break;\n }\n\n if (arg!! && arg == 'tag') {\n res = `<div class=\"${className}\">${res}</div>`;\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,WAAW,CAAA;AACtB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,GAAS,EAAA;QACzB,IAAI,GAAG,GAAQ,EAAE;QACjB,IAAI,SAAS,GAAQ,EAAE;AACvB,QAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;QAEzB,QAAQ,CAAC;AACP,YAAA,KAAK,gBAAgB;gBACnB,GAAG,GAAG,MAAM;gBACZ,SAAS,GAAG,cAAc;gBAC1B;AACF,YAAA,KAAK,mBAAmB;gBACtB,GAAG,GAAG,MAAM;gBACZ,SAAS,GAAG,iBAAiB;gBAC7B;AACF,YAAA,KAAK,kBAAkB;gBACrB,GAAG,GAAG,QAAQ;gBACd,SAAS,GAAG,gBAAgB;gBAC5B;AACF,YAAA,KAAK,gBAAgB;gBACnB,GAAG,GAAG,QAAQ;gBACd,SAAS,GAAG,cAAc;gBAC1B;AACF,YAAA,KAAK,iBAAiB;gBACpB,GAAG,GAAG,SAAS;gBACf,SAAS,GAAG,eAAe;gBAC3B;AACF,YAAA;gBACE;;AAGJ,QAAA,IAAI,GAAK,IAAI,GAAG,IAAI,KAAK,EAAE;AACzB,YAAA,GAAG,GAAG,CAAe,YAAA,EAAA,SAAS,CAAK,EAAA,EAAA,GAAG,QAAQ;;AAEhD,QAAA,OAAO,GAAG;;wGAnCD,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,SAAS;AACf,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACJD;;AAEG;;;;"}
@@ -0,0 +1,34 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class NumberPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = null;
8
+ if (d) {
9
+ if (d > 0) {
10
+ res = `<span class="number_plus">+${d}</span>`;
11
+ }
12
+ else {
13
+ res = `<span class="number_minus">${d}</span>`;
14
+ }
15
+ }
16
+ return res;
17
+ }
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
19
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: NumberPipe, isStandalone: true, name: "number" });
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: NumberPipe, decorators: [{
22
+ type: Pipe,
23
+ args: [{
24
+ name: 'number',
25
+ standalone: true,
26
+ }]
27
+ }], ctorParameters: () => [] });
28
+
29
+ /**
30
+ * Generated bundle index. Do not edit.
31
+ */
32
+
33
+ export { NumberPipe };
34
+ //# sourceMappingURL=pipe.number.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.number.mjs","sources":["../../../../packages/base/shared.pipe/number/number.pipe.ts","../../../../packages/base/shared.pipe/number/pipe.number.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'number',\n standalone: true,\n})\nexport class NumberPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res: any = null;\n if (d!!) {\n if (d > 0) {\n res = `<span class=\"number_plus\">+${d}</span>`;\n } else {\n res = `<span class=\"number_minus\">${d}</span>`;\n }\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,UAAU,CAAA;AACrB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAQ,IAAI;QACnB,IAAI,CAAG,EAAE;AACP,YAAA,IAAI,CAAC,GAAG,CAAC,EAAE;AACT,gBAAA,GAAG,GAAG,CAAA,2BAAA,EAA8B,CAAC,CAAA,OAAA,CAAS;;iBACzC;AACL,gBAAA,GAAG,GAAG,CAAA,2BAAA,EAA8B,CAAC,CAAA,OAAA,CAAS;;;AAGlD,QAAA,OAAO,GAAG;;wGAXD,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACd,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,37 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class ObjectiveTypePipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ if (d) {
9
+ d = d.toLocaleUpperCase();
10
+ switch (d) {
11
+ case 'QUANTITATIVE':
12
+ res = '定量目标';
13
+ break;
14
+ case 'QUALITATIVE':
15
+ res = '定性目标';
16
+ break;
17
+ }
18
+ }
19
+ return res;
20
+ }
21
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ObjectiveTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
22
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ObjectiveTypePipe, isStandalone: true, name: "objType" });
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ObjectiveTypePipe, decorators: [{
25
+ type: Pipe,
26
+ args: [{
27
+ name: 'objType',
28
+ standalone: true,
29
+ }]
30
+ }], ctorParameters: () => [] });
31
+
32
+ /**
33
+ * Generated bundle index. Do not edit.
34
+ */
35
+
36
+ export { ObjectiveTypePipe };
37
+ //# sourceMappingURL=pipe.objtype.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.objtype.mjs","sources":["../../../../packages/base/shared.pipe/objtype/obj.pipe.ts","../../../../packages/base/shared.pipe/objtype/pipe.objtype.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'objType',\n standalone: true,\n})\nexport class ObjectiveTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d!!) {\n d = d.toLocaleUpperCase();\n switch (d) {\n case 'QUANTITATIVE':\n res = '定量目标';\n break;\n case 'QUALITATIVE':\n res = '定性目标';\n break;\n }\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,iBAAiB,CAAA;AAC5B,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAG,EAAE;AACP,YAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;YACzB,QAAQ,CAAC;AACP,gBAAA,KAAK,cAAc;oBACjB,GAAG,GAAG,MAAM;oBACZ;AACF,gBAAA,KAAK,aAAa;oBAChB,GAAG,GAAG,MAAM;oBACZ;;;AAGN,QAAA,OAAO,GAAG;;wGAfD,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,SAAS;AACf,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,46 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class OkrPlanPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ if (d == null || d == '') {
9
+ return res;
10
+ }
11
+ d = d.toLocaleLowerCase();
12
+ switch (d) {
13
+ case 'draft':
14
+ res = '未启动';
15
+ break;
16
+ case 'running':
17
+ res = '进行中';
18
+ break;
19
+ case 'stop':
20
+ res = '已暂停';
21
+ break;
22
+ case 'finish':
23
+ res = '已完成';
24
+ break;
25
+ default:
26
+ break;
27
+ }
28
+ return res;
29
+ }
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OkrPlanPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
31
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: OkrPlanPipe, isStandalone: true, name: "okr_plan" });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OkrPlanPipe, decorators: [{
34
+ type: Pipe,
35
+ args: [{
36
+ name: 'okr_plan',
37
+ standalone: true,
38
+ }]
39
+ }], ctorParameters: () => [] });
40
+
41
+ /**
42
+ * Generated bundle index. Do not edit.
43
+ */
44
+
45
+ export { OkrPlanPipe };
46
+ //# sourceMappingURL=pipe.okr.plan.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.okr.plan.mjs","sources":["../../../../packages/base/shared.pipe/okr.plan/okr.pipe.ts","../../../../packages/base/shared.pipe/okr.plan/pipe.okr.plan.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'okr_plan',\n standalone: true,\n})\nexport class OkrPlanPipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n d = d.toLocaleLowerCase();\n switch (d) {\n case 'draft':\n res = '未启动';\n break;\n case 'running':\n res = '进行中';\n break;\n case 'stop':\n res = '已暂停';\n break;\n case 'finish':\n res = '已完成';\n break;\n default:\n break;\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,WAAW,CAAA;AACtB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AACxB,YAAA,OAAO,GAAG;;AAEZ,QAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;QACzB,QAAQ,CAAC;AACP,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,MAAM;gBACT,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,QAAQ;gBACX,GAAG,GAAG,KAAK;gBACX;AACF,YAAA;gBACE;;AAEJ,QAAA,OAAO,GAAG;;wGAxBD,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,38 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { UnitData } from '@ebuilding/base/shared.util/static';
4
+
5
+ class OkrUnitPipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d) {
10
+ d = d.toLocaleUpperCase();
11
+ let list = UnitData().filter((item) => {
12
+ if (item.value.toLocaleUpperCase() == d) {
13
+ return item;
14
+ }
15
+ });
16
+ if (list != null && list.length > 0) {
17
+ res = list[0]['label'];
18
+ }
19
+ }
20
+ return res;
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OkrUnitPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
23
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: OkrUnitPipe, isStandalone: true, name: "okr_unit" });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OkrUnitPipe, decorators: [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'okr_unit',
29
+ standalone: true,
30
+ }]
31
+ }], ctorParameters: () => [] });
32
+
33
+ /**
34
+ * Generated bundle index. Do not edit.
35
+ */
36
+
37
+ export { OkrUnitPipe };
38
+ //# sourceMappingURL=pipe.okr.unit.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.okr.unit.mjs","sources":["../../../../packages/base/shared.pipe/okr.unit/okr.pipe.ts","../../../../packages/base/shared.pipe/okr.unit/pipe.okr.unit.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { UnitData } from '@ebuilding/base/shared.util/static';\n\n@Pipe({\n name: 'okr_unit',\n standalone: true,\n})\nexport class OkrUnitPipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d!!) {\n d = d.toLocaleUpperCase();\n let list = UnitData().filter((item: any) => {\n if (item.value.toLocaleUpperCase() == d) {\n return item;\n }\n });\n if (list != null && list.length > 0) {\n res = list[0]['label'];\n }\n }\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,WAAW,CAAA;AACpB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC7B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,CAAG,EAAE;AACL,YAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;YACzB,IAAI,IAAI,GAAG,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAC,IAAS,KAAI;gBACvC,IAAI,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,IAAI,CAAC,EAAE;AACrC,oBAAA,OAAO,IAAI;;AAEnB,aAAC,CAAC;YACF,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,GAAG,CAAC,EAAE;gBACjC,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC;;;AAG9B,QAAA,OAAO,GAAG;;wGAfL,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,IAAI,EAAE,UAAU;AAChB,oBAAA,UAAU,EAAE,IAAI;AACnB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -0,0 +1,41 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { getOperationText } from '@ebuilding/base/shared.util/operation';
4
+
5
+ class OperationPipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ if (args) {
9
+ switch (args) {
10
+ case 'okr':
11
+ if (d == 'follow' || d == 'adjust' || d == 'owner') {
12
+ d = `${args}_${d}`;
13
+ }
14
+ break;
15
+ case 'task':
16
+ d = `${args}_${d}`;
17
+ break;
18
+ default:
19
+ break;
20
+ }
21
+ }
22
+ let res = getOperationText(d);
23
+ return res;
24
+ }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OperationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
26
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: OperationPipe, isStandalone: true, name: "operation" });
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: OperationPipe, decorators: [{
29
+ type: Pipe,
30
+ args: [{
31
+ name: 'operation',
32
+ standalone: true,
33
+ }]
34
+ }], ctorParameters: () => [] });
35
+
36
+ /**
37
+ * Generated bundle index. Do not edit.
38
+ */
39
+
40
+ export { OperationPipe };
41
+ //# sourceMappingURL=pipe.operation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.operation.mjs","sources":["../../../../packages/base/shared.pipe/operation/operation.pipe.ts","../../../../packages/base/shared.pipe/operation/pipe.operation.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { getOperationText } from '@ebuilding/base/shared.util/operation';\n@Pipe({\n name: 'operation',\n standalone: true,\n})\nexport class OperationPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any): string {\n if (args!!) {\n switch (args) {\n case 'okr':\n if (d == 'follow' || d == 'adjust' || d == 'owner') {\n d = `${args}_${d}`;\n }\n break;\n case 'task':\n d = `${args}_${d}`;\n break;\n default:\n break;\n }\n }\n let res: any = getOperationText(d);\n return res;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAMa,aAAa,CAAA;AACxB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAU,EAAA;QAC1B,IAAI,IAAM,EAAE;YACV,QAAQ,IAAI;AACV,gBAAA,KAAK,KAAK;AACR,oBAAA,IAAI,CAAC,IAAI,QAAQ,IAAI,CAAC,IAAI,QAAQ,IAAI,CAAC,IAAI,OAAO,EAAE;AAClD,wBAAA,CAAC,GAAG,CAAG,EAAA,IAAI,CAAI,CAAA,EAAA,CAAC,EAAE;;oBAEpB;AACF,gBAAA,KAAK,MAAM;AACT,oBAAA,CAAC,GAAG,CAAG,EAAA,IAAI,CAAI,CAAA,EAAA,CAAC,EAAE;oBAClB;AACF,gBAAA;oBACE;;;AAGN,QAAA,IAAI,GAAG,GAAQ,gBAAgB,CAAC,CAAC,CAAC;AAClC,QAAA,OAAO,GAAG;;wGAlBD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,WAAW;AACjB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}