@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,53 @@
1
+ import { Content_Admin_System_Source } from '@ebuilding/base/shared.config/list/content';
2
+
3
+ const Admin_System_Source = {
4
+ base: {
5
+ breadcrumb: {
6
+ show: true,
7
+ title: '',
8
+ data: [
9
+ {
10
+ title: '应用中心',
11
+ },
12
+ {
13
+ title: '基础设置',
14
+ },
15
+ ],
16
+ },
17
+ layout: {
18
+ type: 'tabset',
19
+ tabset: {
20
+ type: 'LinkRouter',
21
+ },
22
+ },
23
+ },
24
+ pages: [
25
+ {
26
+ base: {
27
+ acl: '',
28
+ id: 'apaas.setting.table',
29
+ title: '数据字典',
30
+ icon: 'table',
31
+ tab: 'table',
32
+ },
33
+ config: Content_Admin_System_Source.table,
34
+ },
35
+ {
36
+ base: {
37
+ acl: '',
38
+ id: 'apaas.setting.item',
39
+ title: '选项参数',
40
+ icon: 'appstore',
41
+ tab: 'item',
42
+ },
43
+ config: Content_Admin_System_Source.item,
44
+ },
45
+ ],
46
+ };
47
+
48
+ /**
49
+ * Generated bundle index. Do not edit.
50
+ */
51
+
52
+ export { Admin_System_Source };
53
+ //# sourceMappingURL=config.page.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.page.mjs","sources":["../../../../packages/base/shared.config/page/admin/system.source.ts","../../../../packages/base/shared.config/page/config.page.ts"],"sourcesContent":["import { Content_Admin_System_Source } from '@ebuilding/base/shared.config/list/content';\nexport const Admin_System_Source: any = {\n base: {\n breadcrumb: {\n show: true,\n title: '',\n data: [\n {\n title: '应用中心',\n },\n {\n title: '基础设置',\n },\n ],\n },\n layout: {\n type: 'tabset',\n tabset: {\n type: 'LinkRouter',\n },\n },\n },\n pages: [\n {\n base: {\n acl: '',\n id: 'apaas.setting.table',\n title: '数据字典',\n icon: 'table',\n tab: 'table',\n },\n config: Content_Admin_System_Source.table,\n },\n {\n base: {\n acl: '',\n id: 'apaas.setting.item',\n title: '选项参数',\n icon: 'appstore',\n tab: 'item',\n },\n config: Content_Admin_System_Source.item,\n },\n ],\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AACa,MAAA,mBAAmB,GAAQ;AACtC,IAAA,IAAI,EAAE;AACJ,QAAA,UAAU,EAAE;AACV,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,EAAE;AACT,YAAA,IAAI,EAAE;AACJ,gBAAA;AACE,oBAAA,KAAK,EAAE,MAAM;AACd,iBAAA;AACD,gBAAA;AACE,oBAAA,KAAK,EAAE,MAAM;AACd,iBAAA;AACF,aAAA;AACF,SAAA;AACD,QAAA,MAAM,EAAE;AACN,YAAA,IAAI,EAAE,QAAQ;AACd,YAAA,MAAM,EAAE;AACN,gBAAA,IAAI,EAAE,YAAY;AACnB,aAAA;AACF,SAAA;AACF,KAAA;AACD,IAAA,KAAK,EAAE;AACL,QAAA;AACE,YAAA,IAAI,EAAE;AACJ,gBAAA,GAAG,EAAE,EAAE;AACP,gBAAA,EAAE,EAAE,qBAAqB;AACzB,gBAAA,KAAK,EAAE,MAAM;AACb,gBAAA,IAAI,EAAE,OAAO;AACb,gBAAA,GAAG,EAAE,OAAO;AACb,aAAA;YACD,MAAM,EAAE,2BAA2B,CAAC,KAAK;AAC1C,SAAA;AACD,QAAA;AACE,YAAA,IAAI,EAAE;AACJ,gBAAA,GAAG,EAAE,EAAE;AACP,gBAAA,EAAE,EAAE,oBAAoB;AACxB,gBAAA,KAAK,EAAE,MAAM;AACb,gBAAA,IAAI,EAAE,UAAU;AAChB,gBAAA,GAAG,EAAE,MAAM;AACZ,aAAA;YACD,MAAM,EAAE,2BAA2B,CAAC,IAAI;AACzC,SAAA;AACF,KAAA;;;AC3CH;;AAEG;;;;"}
@@ -0,0 +1,11 @@
1
+ export * from '@ebuilding/base/shared.var';
2
+ export * from '@ebuilding/base/shared.util';
3
+ export * from '@ebuilding/base/shared.srv';
4
+ export * from '@ebuilding/base/shared.config';
5
+ export * from '@ebuilding/base/shared.pipe';
6
+ export * from '@ebuilding/base/components';
7
+
8
+ /**
9
+ * Generated bundle index. Do not edit.
10
+ */
11
+ //# sourceMappingURL=ebuilding-base.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ebuilding-base.mjs","sources":["../../../../packages/base/ebuilding-base.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;AAEG"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class BuiltinPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ switch (d) {
9
+ case true:
10
+ case 'true':
11
+ res = '内置';
12
+ break;
13
+ case false:
14
+ case 'false':
15
+ res = '自定义';
16
+ break;
17
+ }
18
+ return res;
19
+ }
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BuiltinPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: BuiltinPipe, isStandalone: true, name: "builtin" });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BuiltinPipe, decorators: [{
24
+ type: Pipe,
25
+ args: [{
26
+ name: 'builtin',
27
+ standalone: true,
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { BuiltinPipe };
36
+ //# sourceMappingURL=pipe.builtin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.builtin.mjs","sources":["../../../../packages/base/shared.pipe/builtin/builtin.pipe.ts","../../../../packages/base/shared.pipe/builtin/pipe.builtin.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'builtin',\n standalone: true,\n})\nexport class BuiltinPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n switch (d) {\n case true:\n case 'true':\n res = '内置';\n break;\n case false:\n case 'false':\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,WAAW,CAAA;AACtB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;QACZ,QAAQ,CAAC;AACP,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,MAAM;gBACT,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,KAAK;AACV,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,KAAK;gBACX;;AAEJ,QAAA,OAAO,GAAG;;wGAdD,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;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,43 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class CategoryPipe {
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 'str':
14
+ res = '战略';
15
+ break;
16
+ case 'team':
17
+ res = '团队';
18
+ break;
19
+ case 'personal':
20
+ res = '个人';
21
+ break;
22
+ default:
23
+ break;
24
+ }
25
+ return res;
26
+ }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CategoryPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
28
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: CategoryPipe, isStandalone: true, name: "category" });
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: CategoryPipe, decorators: [{
31
+ type: Pipe,
32
+ args: [{
33
+ name: 'category',
34
+ standalone: true,
35
+ }]
36
+ }], ctorParameters: () => [] });
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { CategoryPipe };
43
+ //# sourceMappingURL=pipe.category.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.category.mjs","sources":["../../../../packages/base/shared.pipe/category/category.pipe.ts","../../../../packages/base/shared.pipe/category/pipe.category.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'category',\n standalone: true,\n})\nexport class CategoryPipe 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 'str':\n res = '战略';\n break;\n case 'team':\n res = '团队';\n break;\n case 'personal':\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,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;QACzB,QAAQ,CAAC;AACP,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,MAAM;gBACT,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,IAAI;gBACV;AACF,YAAA;gBACE;;AAEJ,QAAA,OAAO,GAAG;;wGArBD,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,38 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { FieldType } from '@ebuilding/base/shared.util/static';
4
+
5
+ class DataTypePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d) {
10
+ d = d.toLocaleLowerCase();
11
+ let list = FieldType().filter((item) => {
12
+ if (item.value.toLocaleLowerCase() == 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: DataTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
23
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DataTypePipe, isStandalone: true, name: "dateType" });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DataTypePipe, decorators: [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'dateType',
29
+ standalone: true,
30
+ }]
31
+ }], ctorParameters: () => [] });
32
+
33
+ /**
34
+ * Generated bundle index. Do not edit.
35
+ */
36
+
37
+ export { DataTypePipe };
38
+ //# sourceMappingURL=pipe.datatype.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.datatype.mjs","sources":["../../../../packages/base/shared.pipe/datatype/datatype.pipe.ts","../../../../packages/base/shared.pipe/datatype/pipe.datatype.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { FieldType } from '@ebuilding/base/shared.util/static';\n\n@Pipe({\n name: 'dateType',\n standalone: true,\n})\nexport class DataTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d!!) {\n d = d.toLocaleLowerCase();\n let list = FieldType().filter((item: any) => {\n if (item.value.toLocaleLowerCase() == 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,YAAY,CAAA;AACvB,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,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC,IAAS,KAAI;gBAC1C,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,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,46 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class DateFormatPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ switch (d) {
9
+ case 'YYYY':
10
+ res = '年';
11
+ break;
12
+ case 'YYYYMM':
13
+ res = '年月';
14
+ break;
15
+ case 'YYYYMMDD':
16
+ res = '年月日';
17
+ break;
18
+ case 'YYYYMMDDHH':
19
+ res = '年月日时';
20
+ break;
21
+ case 'YYYYMMDDHHMM':
22
+ res = '年月日时分';
23
+ break;
24
+ case 'YYYYMMDDHHMMSS':
25
+ res = '年月日时分秒';
26
+ break;
27
+ }
28
+ return res;
29
+ }
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DateFormatPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
31
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DateFormatPipe, isStandalone: true, name: "dateFormat" });
32
+ }
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DateFormatPipe, decorators: [{
34
+ type: Pipe,
35
+ args: [{
36
+ name: 'dateFormat',
37
+ standalone: true,
38
+ }]
39
+ }], ctorParameters: () => [] });
40
+
41
+ /**
42
+ * Generated bundle index. Do not edit.
43
+ */
44
+
45
+ export { DateFormatPipe };
46
+ //# sourceMappingURL=pipe.date.format.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.date.format.mjs","sources":["../../../../packages/base/shared.pipe/date.format/date.pipe.ts","../../../../packages/base/shared.pipe/date.format/pipe.date.format.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'dateFormat',\n standalone: true,\n})\nexport class DateFormatPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n switch (d) {\n case 'YYYY':\n res = '年';\n break;\n case 'YYYYMM':\n res = '年月';\n break;\n case 'YYYYMMDD':\n res = '年月日';\n break;\n case 'YYYYMMDDHH':\n res = '年月日时';\n break;\n case 'YYYYMMDDHHMM':\n res = '年月日时分';\n break;\n case 'YYYYMMDDHHMMSS':\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,cAAc,CAAA;AACzB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;QACZ,QAAQ,CAAC;AACP,YAAA,KAAK,MAAM;gBACT,GAAG,GAAG,GAAG;gBACT;AACF,YAAA,KAAK,QAAQ;gBACX,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,YAAY;gBACf,GAAG,GAAG,MAAM;gBACZ;AACF,YAAA,KAAK,cAAc;gBACjB,GAAG,GAAG,OAAO;gBACb;AACF,YAAA,KAAK,gBAAgB;gBACnB,GAAG,GAAG,QAAQ;gBACd;;AAEJ,QAAA,OAAO,GAAG;;wGAxBD,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,YAAY;AAClB,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
+
4
+ class DisabledPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ switch (d) {
9
+ case true:
10
+ case 1:
11
+ case "1":
12
+ res = '禁用';
13
+ break;
14
+ case false:
15
+ case 0:
16
+ case "0":
17
+ res = '启用';
18
+ break;
19
+ }
20
+ return res;
21
+ }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DisabledPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
23
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: DisabledPipe, isStandalone: true, name: "disabled" });
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: DisabledPipe, decorators: [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'disabled',
29
+ standalone: true,
30
+ }]
31
+ }], ctorParameters: () => [] });
32
+
33
+ /**
34
+ * Generated bundle index. Do not edit.
35
+ */
36
+
37
+ export { DisabledPipe };
38
+ //# sourceMappingURL=pipe.disabled.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.disabled.mjs","sources":["../../../../packages/base/shared.pipe/disabled/disabled.pipe.ts","../../../../packages/base/shared.pipe/disabled/pipe.disabled.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'disabled',\n standalone: true,\n})\nexport class DisabledPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n\n switch (d) {\n case true:\n case 1:\n case \"1\":\n res = '禁用';\n break;\n case false:\n case 0:\n case \"0\":\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,YAAY,CAAA;AACvB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;QAEZ,QAAQ,CAAC;AACP,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,CAAC;AACN,YAAA,KAAK,GAAG;gBACN,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,KAAK;AACV,YAAA,KAAK,CAAC;AACN,YAAA,KAAK,GAAG;gBACN,GAAG,GAAG,IAAI;gBACV;;AAEJ,QAAA,OAAO,GAAG;;wGAjBD,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,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { EmailState } from '@ebuilding/base/shared.util/static';
4
+
5
+ class EmailStatePipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null) {
10
+ return res;
11
+ }
12
+ let data = EmailState();
13
+ data.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: EmailStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EmailStatePipe, isStandalone: true, name: "email" });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EmailStatePipe, decorators: [{
24
+ type: Pipe,
25
+ args: [{
26
+ name: 'email',
27
+ standalone: true,
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { EmailStatePipe };
36
+ //# sourceMappingURL=pipe.email.state.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.email.state.mjs","sources":["../../../../packages/base/shared.pipe/email.state/email.pipe.ts","../../../../packages/base/shared.pipe/email.state/pipe.email.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { EmailState } from '@ebuilding/base/shared.util/static';\n@Pipe({\n name: 'email',\n standalone: true,\n})\nexport class EmailStatePipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n if (d == null) {\n return res;\n }\n let data: any[] = EmailState();\n data.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,cAAc,CAAA;AACzB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;AACZ,QAAA,IAAI,CAAC,IAAI,IAAI,EAAE;AACb,YAAA,OAAO,GAAG;;AAEZ,QAAA,IAAI,IAAI,GAAU,UAAU,EAAE;AAC9B,QAAA,IAAI,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;AACtB,YAAA,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,EAAE;AAChB,gBAAA,GAAG,GAAG,CAAC,CAAC,KAAK;;AAEjB,SAAC,CAAC;AACF,QAAA,OAAO,GAAG;;wGAbD,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,OAAO;AACb,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
+
4
+ class EmptyPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ if (d != undefined && d != null && d != '') {
8
+ return d;
9
+ }
10
+ else {
11
+ if (args) {
12
+ return args;
13
+ }
14
+ else {
15
+ return '/';
16
+ }
17
+ }
18
+ }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EmptyPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
20
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EmptyPipe, isStandalone: true, name: "empty" });
21
+ }
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EmptyPipe, decorators: [{
23
+ type: Pipe,
24
+ args: [{
25
+ name: 'empty',
26
+ standalone: true,
27
+ }]
28
+ }], ctorParameters: () => [] });
29
+
30
+ /**
31
+ * Generated bundle index. Do not edit.
32
+ */
33
+
34
+ export { EmptyPipe };
35
+ //# sourceMappingURL=pipe.empty.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.empty.mjs","sources":["../../../../packages/base/shared.pipe/empty/empty.pipe.ts","../../../../packages/base/shared.pipe/empty/pipe.empty.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'empty',\n standalone: true,\n})\nexport class EmptyPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any): string {\n if (d != undefined && d != null && d != '') {\n return d;\n } else {\n if (args!!) {\n return args;\n } else {\n return '/';\n }\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,SAAS,CAAA;AACpB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAU,EAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,SAAS,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE;AAC1C,YAAA,OAAO,CAAC;;aACH;YACL,IAAI,IAAM,EAAE;AACV,gBAAA,OAAO,IAAI;;iBACN;AACL,gBAAA,OAAO,GAAG;;;;wGATL,SAAS,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,OAAA,EAAA,CAAA;;4FAAT,SAAS,EAAA,UAAA,EAAA,CAAA;kBAJrB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,OAAO;AACb,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 EvalPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ if (d == null || d == '') {
9
+ return res;
10
+ }
11
+ switch (d) {
12
+ case 'SCORE':
13
+ res = '输入评估分数';
14
+ break;
15
+ case 'MATRIX':
16
+ res = '评估量表';
17
+ break;
18
+ case 'FORMULA':
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: EvalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
28
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: EvalPipe, isStandalone: true, name: "eval" });
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: EvalPipe, decorators: [{
31
+ type: Pipe,
32
+ args: [{
33
+ name: 'eval',
34
+ standalone: true,
35
+ }]
36
+ }], ctorParameters: () => [] });
37
+
38
+ /**
39
+ * Generated bundle index. Do not edit.
40
+ */
41
+
42
+ export { EvalPipe };
43
+ //# sourceMappingURL=pipe.eval.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.eval.mjs","sources":["../../../../packages/base/shared.pipe/eval/eval.pipe.ts","../../../../packages/base/shared.pipe/eval/pipe.eval.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'eval',\n standalone: true,\n})\nexport class EvalPipe 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 'SCORE':\n res = '输入评估分数';\n break;\n case 'MATRIX':\n res = '评估量表';\n break;\n case 'FORMULA':\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,QAAQ,CAAA;AACnB,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,OAAO;gBACV,GAAG,GAAG,QAAQ;gBACd;AACF,YAAA,KAAK,QAAQ;gBACX,GAAG,GAAG,MAAM;gBACZ;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,MAAM;gBACZ;AACF,YAAA;gBACE,GAAG,GAAG,IAAI;gBACV;;AAEJ,QAAA,OAAO,GAAG;;wGArBD,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;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,36 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+ import { EvalState } from '@ebuilding/base/shared.util/workflow';
4
+
5
+ class FlowEvalPipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null || d == '') {
10
+ return '--';
11
+ }
12
+ d = d.toLocaleUpperCase();
13
+ EvalState().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: FlowEvalPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
21
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowEvalPipe, isStandalone: true, name: "flowEval" });
22
+ }
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowEvalPipe, decorators: [{
24
+ type: Pipe,
25
+ args: [{
26
+ name: 'flowEval',
27
+ standalone: true,
28
+ }]
29
+ }], ctorParameters: () => [] });
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { FlowEvalPipe };
36
+ //# sourceMappingURL=pipe.flow.eval.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.eval.mjs","sources":["../../../../packages/base/shared.pipe/flow.eval/flow.pipe.ts","../../../../packages/base/shared.pipe/flow.eval/pipe.flow.eval.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { EvalState } from '@ebuilding/base/shared.util/workflow';\n@Pipe({\n name: 'flowEval',\n standalone: true,\n})\nexport class FlowEvalPipe 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 EvalState().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,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,IAAI;;AAEb,QAAA,CAAC,GAAG,CAAC,CAAC,iBAAiB,EAAE;AACzB,QAAA,SAAS,EAAE,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;AAC7B,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,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,45 @@
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 FlowPipe {
6
+ constructor() { }
7
+ transform(d, args) {
8
+ let res = '';
9
+ if (d == null) {
10
+ return res;
11
+ }
12
+ if (d.workflowDisabled == true) {
13
+ res = '--';
14
+ }
15
+ else {
16
+ let data = WorkFlowState();
17
+ data.unshift({
18
+ label: '未填写',
19
+ value: null,
20
+ });
21
+ data.forEach((e) => {
22
+ if (e.value == d.workflowState) {
23
+ res = e.label;
24
+ }
25
+ });
26
+ }
27
+ return res;
28
+ }
29
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
30
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowPipe, isStandalone: true, name: "flow" });
31
+ }
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowPipe, decorators: [{
33
+ type: Pipe,
34
+ args: [{
35
+ name: 'flow',
36
+ standalone: true,
37
+ }]
38
+ }], ctorParameters: () => [] });
39
+
40
+ /**
41
+ * Generated bundle index. Do not edit.
42
+ */
43
+
44
+ export { FlowPipe };
45
+ //# sourceMappingURL=pipe.flow.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.mjs","sources":["../../../../packages/base/shared.pipe/flow/flow.pipe.ts","../../../../packages/base/shared.pipe/flow/pipe.flow.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { WorkFlowState } from '@ebuilding/base/shared.util/workflow';\n@Pipe({\n name: 'flow',\n standalone: true,\n})\nexport class FlowPipe implements PipeTransform {\n constructor() { }\n\n transform(d: any, args?: any[]): string {\n let res = '';\n if (d == null) {\n return res;\n }\n if (d.workflowDisabled == true) {\n res = '--';\n } else {\n let data: any[] = WorkFlowState();\n data.unshift({\n label: '未填写',\n value: null,\n });\n\n data.forEach((e: any) => {\n if (e.value == d.workflowState) {\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":";;;;MAMa,QAAQ,CAAA;AACnB,IAAA,WAAA,GAAA;IAEA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;AACZ,QAAA,IAAI,CAAC,IAAI,IAAI,EAAE;AACb,YAAA,OAAO,GAAG;;AAEZ,QAAA,IAAI,CAAC,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC9B,GAAG,GAAG,IAAI;;aACL;AACL,YAAA,IAAI,IAAI,GAAU,aAAa,EAAE;YACjC,IAAI,CAAC,OAAO,CAAC;AACX,gBAAA,KAAK,EAAE,KAAK;AACZ,gBAAA,KAAK,EAAE,IAAI;AACZ,aAAA,CAAC;AAEF,YAAA,IAAI,CAAC,OAAO,CAAC,CAAC,CAAM,KAAI;gBACtB,IAAI,CAAC,CAAC,KAAK,IAAI,CAAC,CAAC,aAAa,EAAE;AAC9B,oBAAA,GAAG,GAAG,CAAC,CAAC,KAAK;;AAEjB,aAAC,CAAC;;AAEJ,QAAA,OAAO,GAAG;;wGAvBD,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;;;ACLD;;AAEG;;;;"}
@@ -0,0 +1,28 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class FlowNodePipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ if (d == true) {
8
+ return '已完成';
9
+ }
10
+ return '待处理';
11
+ }
12
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowNodePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
13
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowNodePipe, isStandalone: true, name: "flowNode" });
14
+ }
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowNodePipe, decorators: [{
16
+ type: Pipe,
17
+ args: [{
18
+ name: 'flowNode',
19
+ standalone: true,
20
+ }]
21
+ }], ctorParameters: () => [] });
22
+
23
+ /**
24
+ * Generated bundle index. Do not edit.
25
+ */
26
+
27
+ export { FlowNodePipe };
28
+ //# sourceMappingURL=pipe.flow.node.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.node.mjs","sources":["../../../../packages/base/shared.pipe/flow.node/flow.pipe.ts","../../../../packages/base/shared.pipe/flow.node/pipe.flow.node.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'flowNode',\n standalone: true,\n})\nexport class FlowNodePipe implements PipeTransform {\n constructor() { }\n transform(d: boolean, args?: any[]): string {\n if (d == true) {\n return '已完成';\n }\n return '待处理';\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAKa,YAAY,CAAA;AACvB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAU,EAAE,IAAY,EAAA;AAChC,QAAA,IAAI,CAAC,IAAI,IAAI,EAAE;AACb,YAAA,OAAO,KAAK;;AAEd,QAAA,OAAO,KAAK;;wGANH,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;;;ACJD;;AAEG;;;;"}
@@ -0,0 +1,52 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Pipe } from '@angular/core';
3
+
4
+ class FlowOperationPipe {
5
+ constructor() { }
6
+ transform(d, args) {
7
+ let res = '';
8
+ if (d == null || d == '') {
9
+ return res;
10
+ }
11
+ d = d.toLocaleUpperCase();
12
+ switch (d) {
13
+ case 'SUBMIT':
14
+ res = '提交';
15
+ break;
16
+ case 'REVOKE':
17
+ res = '撤销';
18
+ break;
19
+ case 'RETURN':
20
+ res = '退回';
21
+ break;
22
+ case 'STOP':
23
+ res = '终止';
24
+ break;
25
+ case 'APPROVED':
26
+ res = '通过';
27
+ break;
28
+ case 'REJECTED':
29
+ res = '拒绝';
30
+ break;
31
+ default:
32
+ break;
33
+ }
34
+ return res;
35
+ }
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowOperationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
37
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: FlowOperationPipe, isStandalone: true, name: "flowOperation" });
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlowOperationPipe, decorators: [{
40
+ type: Pipe,
41
+ args: [{
42
+ name: 'flowOperation',
43
+ standalone: true,
44
+ }]
45
+ }], ctorParameters: () => [] });
46
+
47
+ /**
48
+ * Generated bundle index. Do not edit.
49
+ */
50
+
51
+ export { FlowOperationPipe };
52
+ //# sourceMappingURL=pipe.flow.operation.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pipe.flow.operation.mjs","sources":["../../../../packages/base/shared.pipe/flow.operation/flow.pipe.ts","../../../../packages/base/shared.pipe/flow.operation/pipe.flow.operation.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'flowOperation',\n standalone: true,\n})\nexport class FlowOperationPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n if (d == null || d == '') {\n return res;\n }\n d = d.toLocaleUpperCase();\n switch (d) {\n case 'SUBMIT':\n res = '提交';\n break;\n case 'REVOKE':\n res = '撤销';\n break;\n case 'RETURN':\n res = '退回';\n break;\n case 'STOP':\n res = '终止';\n break;\n case 'APPROVED':\n res = '通过';\n break;\n case 'REJECTED':\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":";;;MAKa,iBAAiB,CAAA;AAC5B,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,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,QAAQ;gBACX,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,QAAQ;gBACX,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,QAAQ;gBACX,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,MAAM;gBACT,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,IAAI;gBACV;AACF,YAAA;gBACE;;AAEJ,QAAA,OAAO,GAAG;;wGA9BD,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,eAAe;AACrB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACJD;;AAEG;;;;"}