@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.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/components/drawer/index.d.ts +1 -0
- package/components/drawer/src/drawer-content.directive.d.ts +9 -0
- package/components/drawer/src/drawer-options.d.ts +41 -0
- package/components/drawer/src/drawer-ref.d.ts +27 -0
- package/components/drawer/src/drawer.component.d.ts +120 -0
- package/components/drawer/src/drawer.module.d.ts +8 -0
- package/components/drawer/src/drawer.service.d.ts +22 -0
- package/components/drawer/src/public_api.d.ts +6 -0
- package/components/empty/index.d.ts +1 -0
- package/components/empty/src/default/index.d.ts +13 -0
- package/components/empty/src/index.module.d.ts +7 -0
- package/components/empty/src/public_api.d.ts +2 -0
- package/components/index.d.ts +2 -0
- package/fesm2022/components.drawer.mjs +706 -0
- package/fesm2022/components.drawer.mjs.map +1 -0
- package/fesm2022/components.empty.mjs +54 -0
- package/fesm2022/components.empty.mjs.map +1 -0
- package/fesm2022/components.mjs +750 -0
- package/fesm2022/components.mjs.map +1 -0
- package/fesm2022/config.content.mjs +4464 -0
- package/fesm2022/config.content.mjs.map +1 -0
- package/fesm2022/config.form.mjs +2190 -0
- package/fesm2022/config.form.mjs.map +1 -0
- package/fesm2022/config.header.mjs +2736 -0
- package/fesm2022/config.header.mjs.map +1 -0
- package/fesm2022/config.list.mjs +7192 -0
- package/fesm2022/config.list.mjs.map +1 -0
- package/fesm2022/config.page-dialog.mjs +639 -0
- package/fesm2022/config.page-dialog.mjs.map +1 -0
- package/fesm2022/config.page.mjs +53 -0
- package/fesm2022/config.page.mjs.map +1 -0
- package/fesm2022/ebuilding-base.mjs +11 -0
- package/fesm2022/ebuilding-base.mjs.map +1 -0
- package/fesm2022/pipe.builtin.mjs +36 -0
- package/fesm2022/pipe.builtin.mjs.map +1 -0
- package/fesm2022/pipe.category.mjs +43 -0
- package/fesm2022/pipe.category.mjs.map +1 -0
- package/fesm2022/pipe.datatype.mjs +38 -0
- package/fesm2022/pipe.datatype.mjs.map +1 -0
- package/fesm2022/pipe.date.format.mjs +46 -0
- package/fesm2022/pipe.date.format.mjs.map +1 -0
- package/fesm2022/pipe.disabled.mjs +38 -0
- package/fesm2022/pipe.disabled.mjs.map +1 -0
- package/fesm2022/pipe.email.state.mjs +36 -0
- package/fesm2022/pipe.email.state.mjs.map +1 -0
- package/fesm2022/pipe.empty.mjs +35 -0
- package/fesm2022/pipe.empty.mjs.map +1 -0
- package/fesm2022/pipe.eval.mjs +43 -0
- package/fesm2022/pipe.eval.mjs.map +1 -0
- package/fesm2022/pipe.flow.eval.mjs +36 -0
- package/fesm2022/pipe.flow.eval.mjs.map +1 -0
- package/fesm2022/pipe.flow.mjs +45 -0
- package/fesm2022/pipe.flow.mjs.map +1 -0
- package/fesm2022/pipe.flow.node.mjs +28 -0
- package/fesm2022/pipe.flow.node.mjs.map +1 -0
- package/fesm2022/pipe.flow.operation.mjs +52 -0
- package/fesm2022/pipe.flow.operation.mjs.map +1 -0
- package/fesm2022/pipe.flow.state.mjs +36 -0
- package/fesm2022/pipe.flow.state.mjs.map +1 -0
- package/fesm2022/pipe.flow.type.mjs +36 -0
- package/fesm2022/pipe.flow.type.mjs.map +1 -0
- package/fesm2022/pipe.formType.mjs +35 -0
- package/fesm2022/pipe.formType.mjs.map +1 -0
- package/fesm2022/pipe.grade.type.mjs +38 -0
- package/fesm2022/pipe.grade.type.mjs.map +1 -0
- package/fesm2022/pipe.indicator.mjs +43 -0
- package/fesm2022/pipe.indicator.mjs.map +1 -0
- package/fesm2022/pipe.item.mjs +38 -0
- package/fesm2022/pipe.item.mjs.map +1 -0
- package/fesm2022/pipe.moment.mjs +37 -0
- package/fesm2022/pipe.moment.mjs.map +1 -0
- package/fesm2022/pipe.msg.type.mjs +55 -0
- package/fesm2022/pipe.msg.type.mjs.map +1 -0
- package/fesm2022/pipe.number.mjs +34 -0
- package/fesm2022/pipe.number.mjs.map +1 -0
- package/fesm2022/pipe.objtype.mjs +37 -0
- package/fesm2022/pipe.objtype.mjs.map +1 -0
- package/fesm2022/pipe.okr.plan.mjs +46 -0
- package/fesm2022/pipe.okr.plan.mjs.map +1 -0
- package/fesm2022/pipe.okr.unit.mjs +38 -0
- package/fesm2022/pipe.okr.unit.mjs.map +1 -0
- package/fesm2022/pipe.operation.mjs +41 -0
- package/fesm2022/pipe.operation.mjs.map +1 -0
- package/fesm2022/pipe.period.emp.mjs +43 -0
- package/fesm2022/pipe.period.emp.mjs.map +1 -0
- package/fesm2022/pipe.period.state.mjs +43 -0
- package/fesm2022/pipe.period.state.mjs.map +1 -0
- package/fesm2022/pipe.plan.state.mjs +46 -0
- package/fesm2022/pipe.plan.state.mjs.map +1 -0
- package/fesm2022/pipe.range.mjs +25 -0
- package/fesm2022/pipe.range.mjs.map +1 -0
- package/fesm2022/pipe.removehtml.mjs +26 -0
- package/fesm2022/pipe.removehtml.mjs.map +1 -0
- package/fesm2022/pipe.result.mjs +56 -0
- package/fesm2022/pipe.result.mjs.map +1 -0
- package/fesm2022/pipe.safehtml.mjs +34 -0
- package/fesm2022/pipe.safehtml.mjs.map +1 -0
- package/fesm2022/pipe.state.mjs +55 -0
- package/fesm2022/pipe.state.mjs.map +1 -0
- package/fesm2022/pipe.table.type.mjs +38 -0
- package/fesm2022/pipe.table.type.mjs.map +1 -0
- package/fesm2022/pipe.task.state.mjs +43 -0
- package/fesm2022/pipe.task.state.mjs.map +1 -0
- package/fesm2022/pipe.templatetype.mjs +35 -0
- package/fesm2022/pipe.templatetype.mjs.map +1 -0
- package/fesm2022/pipe.valid.mjs +36 -0
- package/fesm2022/pipe.valid.mjs.map +1 -0
- package/fesm2022/pipe.value.method.mjs +46 -0
- package/fesm2022/pipe.value.method.mjs.map +1 -0
- package/fesm2022/pipe.write.state.mjs +45 -0
- package/fesm2022/pipe.write.state.mjs.map +1 -0
- package/fesm2022/pipe.yesNo.mjs +52 -0
- package/fesm2022/pipe.yesNo.mjs.map +1 -0
- package/fesm2022/shared.config.mjs +2190 -0
- package/fesm2022/shared.config.mjs.map +1 -0
- package/fesm2022/shared.srv.mjs +2853 -0
- package/fesm2022/shared.srv.mjs.map +1 -0
- package/fesm2022/shared.util.mjs +4676 -0
- package/fesm2022/shared.util.mjs.map +1 -0
- package/fesm2022/shared.var.mjs +597 -0
- package/fesm2022/shared.var.mjs.map +1 -0
- package/fesm2022/sharedPipe.mjs +1387 -0
- package/fesm2022/sharedPipe.mjs.map +1 -0
- package/fesm2022/srv.base-dialog.service.mjs +272 -0
- package/fesm2022/srv.base-dialog.service.mjs.map +1 -0
- package/fesm2022/srv.base-list.service.mjs +124 -0
- package/fesm2022/srv.base-list.service.mjs.map +1 -0
- package/fesm2022/srv.base-table.service.mjs +271 -0
- package/fesm2022/srv.base-table.service.mjs.map +1 -0
- package/fesm2022/srv.base-title.service.mjs +52 -0
- package/fesm2022/srv.base-title.service.mjs.map +1 -0
- package/fesm2022/srv.base-tree.service.mjs +53 -0
- package/fesm2022/srv.base-tree.service.mjs.map +1 -0
- package/fesm2022/srv.basePage.mjs +71 -0
- package/fesm2022/srv.basePage.mjs.map +1 -0
- package/fesm2022/srv.commApi.service.mjs +626 -0
- package/fesm2022/srv.commApi.service.mjs.map +1 -0
- package/fesm2022/srv.deon.util.mjs +272 -0
- package/fesm2022/srv.deon.util.mjs.map +1 -0
- package/fesm2022/srv.deon2.util.mjs +190 -0
- package/fesm2022/srv.deon2.util.mjs.map +1 -0
- package/fesm2022/srv.dialog.token.mjs +10 -0
- package/fesm2022/srv.dialog.token.mjs.map +1 -0
- package/fesm2022/srv.field-source.service.mjs +454 -0
- package/fesm2022/srv.field-source.service.mjs.map +1 -0
- package/fesm2022/srv.field.init.mjs +697 -0
- package/fesm2022/srv.field.init.mjs.map +1 -0
- package/fesm2022/srv.global.event.mjs +50 -0
- package/fesm2022/srv.global.event.mjs.map +1 -0
- package/fesm2022/srv.layout-detail.service.mjs +60 -0
- package/fesm2022/srv.layout-detail.service.mjs.map +1 -0
- package/fesm2022/srv.layout.service.mjs +65 -0
- package/fesm2022/srv.layout.service.mjs.map +1 -0
- package/fesm2022/srv.listService.mjs +319 -0
- package/fesm2022/srv.listService.mjs.map +1 -0
- package/fesm2022/srv.window.service.mjs +34 -0
- package/fesm2022/srv.window.service.mjs.map +1 -0
- package/fesm2022/util.base64.mjs +85 -0
- package/fesm2022/util.base64.mjs.map +1 -0
- package/fesm2022/util.comm.attendance.mjs +207 -0
- package/fesm2022/util.comm.attendance.mjs.map +1 -0
- package/fesm2022/util.comm.ckeditor.mjs +32 -0
- package/fesm2022/util.comm.ckeditor.mjs.map +1 -0
- package/fesm2022/util.comm.colors.mjs +21 -0
- package/fesm2022/util.comm.colors.mjs.map +1 -0
- package/fesm2022/util.comm.eca.mjs +89 -0
- package/fesm2022/util.comm.eca.mjs.map +1 -0
- package/fesm2022/util.comm.fly.mjs +210 -0
- package/fesm2022/util.comm.fly.mjs.map +1 -0
- package/fesm2022/util.comm.kpi.mjs +118 -0
- package/fesm2022/util.comm.kpi.mjs.map +1 -0
- package/fesm2022/util.comm.leave.mjs +271 -0
- package/fesm2022/util.comm.leave.mjs.map +1 -0
- package/fesm2022/util.comm.menu.mjs +132 -0
- package/fesm2022/util.comm.menu.mjs.map +1 -0
- package/fesm2022/util.comm.okr.mjs +204 -0
- package/fesm2022/util.comm.okr.mjs.map +1 -0
- package/fesm2022/util.comm.overtime.mjs +69 -0
- package/fesm2022/util.comm.overtime.mjs.map +1 -0
- package/fesm2022/util.comm.setting.mjs +211 -0
- package/fesm2022/util.comm.setting.mjs.map +1 -0
- package/fesm2022/util.comm.shebao.mjs +57 -0
- package/fesm2022/util.comm.shebao.mjs.map +1 -0
- package/fesm2022/util.comm.workflow.mjs +178 -0
- package/fesm2022/util.comm.workflow.mjs.map +1 -0
- package/fesm2022/util.common.mjs +637 -0
- package/fesm2022/util.common.mjs.map +1 -0
- package/fesm2022/util.encryption.mjs +49 -0
- package/fesm2022/util.encryption.mjs.map +1 -0
- package/fesm2022/util.guid.mjs +57 -0
- package/fesm2022/util.guid.mjs.map +1 -0
- package/fesm2022/util.guid.number.mjs +68 -0
- package/fesm2022/util.guid.number.mjs.map +1 -0
- package/fesm2022/util.menus.mjs +33 -0
- package/fesm2022/util.menus.mjs.map +1 -0
- package/fesm2022/util.operation.mjs +193 -0
- package/fesm2022/util.operation.mjs.map +1 -0
- package/fesm2022/util.static.mjs +1542 -0
- package/fesm2022/util.static.mjs.map +1 -0
- package/fesm2022/util.tool.mjs +46 -0
- package/fesm2022/util.tool.mjs.map +1 -0
- package/fesm2022/util.validation.mjs +67 -0
- package/fesm2022/util.validation.mjs.map +1 -0
- package/fesm2022/util.workflow.mjs +128 -0
- package/fesm2022/util.workflow.mjs.map +1 -0
- package/fesm2022/util.yuan.mjs +18 -0
- package/fesm2022/util.yuan.mjs.map +1 -0
- package/fesm2022/var.comm.constant.mjs +37 -0
- package/fesm2022/var.comm.constant.mjs.map +1 -0
- package/fesm2022/var.shared.constant.mjs +237 -0
- package/fesm2022/var.shared.constant.mjs.map +1 -0
- package/fesm2022/var.shared.interface.mjs +51 -0
- package/fesm2022/var.shared.interface.mjs.map +1 -0
- package/fesm2022/var.shared.variable.mjs +168 -0
- package/fesm2022/var.shared.variable.mjs.map +1 -0
- package/index.d.ts +6 -0
- package/package.json +420 -0
- package/shared.config/form/admin/attendance.d.ts +1 -0
- package/shared.config/form/admin/personnel.d.ts +1 -0
- package/shared.config/form/admin/system.d.ts +1 -0
- package/shared.config/form/gram/kpi.d.ts +1 -0
- package/shared.config/form/index.d.ts +2 -0
- package/shared.config/form/paas/module.d.ts +1 -0
- package/shared.config/form/payroll/shebao.d.ts +1 -0
- package/shared.config/index.d.ts +1 -0
- package/shared.config/list/content/admin/system.code.d.ts +1 -0
- package/shared.config/list/content/admin/system.log.d.ts +1 -0
- package/shared.config/list/content/admin/system.role.d.ts +1 -0
- package/shared.config/list/content/admin/system.source.d.ts +1 -0
- package/shared.config/list/content/admin/system.tenant.d.ts +1 -0
- package/shared.config/list/content/admin/system.user.d.ts +1 -0
- package/shared.config/list/content/fly/admin/device.d.ts +1 -0
- package/shared.config/list/content/fly/admin/dock.d.ts +1 -0
- package/shared.config/list/content/fly/admin/healthy.d.ts +1 -0
- package/shared.config/list/content/fly/admin/system.d.ts +1 -0
- package/shared.config/list/content/fly/admin/user.d.ts +1 -0
- package/shared.config/list/content/fly/work/ai.d.ts +1 -0
- package/shared.config/list/content/fly/work/history.d.ts +1 -0
- package/shared.config/list/content/fly/work/order.d.ts +1 -0
- package/shared.config/list/content/fly/work/product.d.ts +1 -0
- package/shared.config/list/content/fly/work/task.d.ts +1 -0
- package/shared.config/list/content/index.d.ts +38 -0
- package/shared.config/list/content/paas/card.d.ts +1 -0
- package/shared.config/list/content/paas/module.d.ts +1 -0
- package/shared.config/list/content/paas/permission.d.ts +1 -0
- package/shared.config/list/content/paas/rule.d.ts +1 -0
- package/shared.config/list/content/paas/setting.d.ts +1 -0
- package/shared.config/list/content/personnel/position.d.ts +1 -0
- package/shared.config/list/content/workflow/workflow.d.ts +1 -0
- package/shared.config/list/header/admin/system.d.ts +1 -0
- package/shared.config/list/header/dialog/default.d.ts +1 -0
- package/shared.config/list/header/fly/admin/device.d.ts +1 -0
- package/shared.config/list/header/fly/admin/dock.d.ts +1 -0
- package/shared.config/list/header/fly/admin/healthy.d.ts +1 -0
- package/shared.config/list/header/fly/admin/system.d.ts +1 -0
- package/shared.config/list/header/fly/admin/user.d.ts +1 -0
- package/shared.config/list/header/fly/work/ai.d.ts +1 -0
- package/shared.config/list/header/fly/work/history.d.ts +1 -0
- package/shared.config/list/header/fly/work/order.d.ts +1 -0
- package/shared.config/list/header/fly/work/product.d.ts +1 -0
- package/shared.config/list/header/fly/work/task.d.ts +1 -0
- package/shared.config/list/header/index.d.ts +1 -0
- package/shared.config/list/header/paas.d.ts +1 -0
- package/shared.config/list/header/personnel/position.d.ts +1 -0
- package/shared.config/list/header/wk/workflow.d.ts +1 -0
- package/shared.config/list/index.d.ts +2 -0
- package/shared.config/page/README.md +3 -0
- package/shared.config/page/admin/index.d.ts +1 -0
- package/shared.config/page/admin/system.source.d.ts +1 -0
- package/shared.config/page/index.d.ts +1 -0
- package/shared.config/page-dialog/admin/index.d.ts +1 -0
- package/shared.config/page-dialog/admin/system.d.ts +1 -0
- package/shared.config/page-dialog/index.d.ts +3 -0
- package/shared.config/page-dialog/paas/index.d.ts +1 -0
- package/shared.config/page-dialog/paas/module.d.ts +1 -0
- package/shared.config/page-dialog/payroll/index.d.ts +1 -0
- package/shared.config/page-dialog/payroll/main.d.ts +1 -0
- package/shared.pipe/builtin/builtin.pipe.d.ts +8 -0
- package/shared.pipe/builtin/index.d.ts +1 -0
- package/shared.pipe/category/category.pipe.d.ts +8 -0
- package/shared.pipe/category/index.d.ts +1 -0
- package/shared.pipe/datatype/datatype.pipe.d.ts +8 -0
- package/shared.pipe/datatype/index.d.ts +1 -0
- package/shared.pipe/date.format/date.pipe.d.ts +8 -0
- package/shared.pipe/date.format/index.d.ts +1 -0
- package/shared.pipe/disabled/disabled.pipe.d.ts +8 -0
- package/shared.pipe/disabled/index.d.ts +1 -0
- package/shared.pipe/email.state/email.pipe.d.ts +8 -0
- package/shared.pipe/email.state/index.d.ts +1 -0
- package/shared.pipe/empty/empty.pipe.d.ts +8 -0
- package/shared.pipe/empty/index.d.ts +1 -0
- package/shared.pipe/eval/eval.pipe.d.ts +8 -0
- package/shared.pipe/eval/index.d.ts +1 -0
- package/shared.pipe/flow/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow/index.d.ts +1 -0
- package/shared.pipe/flow.eval/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow.eval/index.d.ts +1 -0
- package/shared.pipe/flow.node/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow.node/index.d.ts +1 -0
- package/shared.pipe/flow.operation/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow.operation/index.d.ts +1 -0
- package/shared.pipe/flow.state/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow.state/index.d.ts +1 -0
- package/shared.pipe/flow.type/flow.pipe.d.ts +8 -0
- package/shared.pipe/flow.type/index.d.ts +1 -0
- package/shared.pipe/formType/form.pipe.d.ts +8 -0
- package/shared.pipe/formType/index.d.ts +1 -0
- package/shared.pipe/grade.type/grade.pipe.d.ts +8 -0
- package/shared.pipe/grade.type/index.d.ts +1 -0
- package/shared.pipe/index.d.ts +41 -0
- package/shared.pipe/index.module.d.ts +47 -0
- package/shared.pipe/indicator/index.d.ts +1 -0
- package/shared.pipe/indicator/indicator.pipe.d.ts +8 -0
- package/shared.pipe/item/index.d.ts +1 -0
- package/shared.pipe/item/item.pipe.d.ts +8 -0
- package/shared.pipe/moment/index.d.ts +1 -0
- package/shared.pipe/moment/moment.pipe.d.ts +16 -0
- package/shared.pipe/msg.type/index.d.ts +1 -0
- package/shared.pipe/msg.type/msg.pipe.d.ts +8 -0
- package/shared.pipe/number/index.d.ts +1 -0
- package/shared.pipe/number/number.pipe.d.ts +8 -0
- package/shared.pipe/objtype/index.d.ts +1 -0
- package/shared.pipe/objtype/obj.pipe.d.ts +8 -0
- package/shared.pipe/okr.plan/index.d.ts +1 -0
- package/shared.pipe/okr.plan/okr.pipe.d.ts +8 -0
- package/shared.pipe/okr.unit/index.d.ts +1 -0
- package/shared.pipe/okr.unit/okr.pipe.d.ts +8 -0
- package/shared.pipe/operation/index.d.ts +1 -0
- package/shared.pipe/operation/operation.pipe.d.ts +8 -0
- package/shared.pipe/period.emp/index.d.ts +1 -0
- package/shared.pipe/period.emp/period.pipe.d.ts +8 -0
- package/shared.pipe/period.state/index.d.ts +1 -0
- package/shared.pipe/period.state/period.pipe.d.ts +8 -0
- package/shared.pipe/plan.state/index.d.ts +1 -0
- package/shared.pipe/plan.state/plan.pipe.d.ts +8 -0
- package/shared.pipe/range/index.d.ts +1 -0
- package/shared.pipe/range/range.pipe.d.ts +8 -0
- package/shared.pipe/removehtml/index.d.ts +1 -0
- package/shared.pipe/removehtml/removehtml.pipe.d.ts +8 -0
- package/shared.pipe/result/index.d.ts +1 -0
- package/shared.pipe/result/result.pipe.d.ts +8 -0
- package/shared.pipe/safehtml/index.d.ts +1 -0
- package/shared.pipe/safehtml/safehtml.pipe.d.ts +10 -0
- package/shared.pipe/state/index.d.ts +1 -0
- package/shared.pipe/state/state.pipe.d.ts +8 -0
- package/shared.pipe/table.type/index.d.ts +1 -0
- package/shared.pipe/table.type/table.pipe.d.ts +8 -0
- package/shared.pipe/task.state/index.d.ts +1 -0
- package/shared.pipe/task.state/task.pipe.d.ts +8 -0
- package/shared.pipe/templatetype/index.d.ts +1 -0
- package/shared.pipe/templatetype/template.pipe.d.ts +8 -0
- package/shared.pipe/valid/index.d.ts +1 -0
- package/shared.pipe/valid/valid.pipe.d.ts +8 -0
- package/shared.pipe/value.method/index.d.ts +1 -0
- package/shared.pipe/value.method/value.pipe.d.ts +8 -0
- package/shared.pipe/write.state/index.d.ts +1 -0
- package/shared.pipe/write.state/write.pipe.d.ts +9 -0
- package/shared.pipe/yesNo/index.d.ts +1 -0
- package/shared.pipe/yesNo/yesNo.pipe.d.ts +8 -0
- package/shared.srv/base-dialog.service/index.d.ts +39 -0
- package/shared.srv/base-list.service/index.d.ts +49 -0
- package/shared.srv/base-table.service/index.d.ts +77 -0
- package/shared.srv/base-title.service/index.d.ts +16 -0
- package/shared.srv/base-tree.service/index.d.ts +30 -0
- package/shared.srv/basePage/index.d.ts +33 -0
- package/shared.srv/commApi.service/index.d.ts +124 -0
- package/shared.srv/deon.util/index.d.ts +25 -0
- package/shared.srv/deon2.util/index.d.ts +14 -0
- package/shared.srv/dialog.token/index.d.ts +5 -0
- package/shared.srv/field-source.service/index.d.ts +67 -0
- package/shared.srv/field.init/index.d.ts +36 -0
- package/shared.srv/global.event/index.d.ts +13 -0
- package/shared.srv/index.d.ts +16 -0
- package/shared.srv/layout-detail.service/index.d.ts +23 -0
- package/shared.srv/layout.service/index.d.ts +28 -0
- package/shared.srv/listService/index.d.ts +38 -0
- package/shared.srv/window.service/index.d.ts +8 -0
- package/shared.util/base64/index.d.ts +6 -0
- package/shared.util/comm.attendance/index.d.ts +74 -0
- package/shared.util/comm.ckeditor/index.d.ts +9 -0
- package/shared.util/comm.colors/index.d.ts +1 -0
- package/shared.util/comm.eca/index.d.ts +16 -0
- package/shared.util/comm.fly/index.d.ts +60 -0
- package/shared.util/comm.kpi/index.d.ts +21 -0
- package/shared.util/comm.leave/index.d.ts +79 -0
- package/shared.util/comm.menu/index.d.ts +4 -0
- package/shared.util/comm.okr/index.d.ts +61 -0
- package/shared.util/comm.overtime/index.d.ts +25 -0
- package/shared.util/comm.setting/index.d.ts +54 -0
- package/shared.util/comm.shebao/index.d.ts +16 -0
- package/shared.util/comm.workflow/index.d.ts +24 -0
- package/shared.util/common/index.d.ts +60 -0
- package/shared.util/encryption/index.d.ts +12 -0
- package/shared.util/guid/index.d.ts +16 -0
- package/shared.util/guid.number/index.d.ts +16 -0
- package/shared.util/index.d.ts +25 -0
- package/shared.util/menus/index.d.ts +1 -0
- package/shared.util/operation/index.d.ts +13 -0
- package/shared.util/static/index.d.ts +284 -0
- package/shared.util/tool/index.d.ts +6 -0
- package/shared.util/validation/index.d.ts +40 -0
- package/shared.util/workflow/index.d.ts +12 -0
- package/shared.util/yuan/index.d.ts +6 -0
- package/shared.var/comm.constant/index.d.ts +24 -0
- package/shared.var/index.d.ts +4 -0
- package/shared.var/shared.constant/index.d.ts +151 -0
- package/shared.var/shared.interface/index.d.ts +58 -0
- package/shared.var/shared.variable/index.d.ts +116 -0
- package/style/variable.less +238 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class PeriodEmpPipe {
|
|
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 'DRAFT':
|
|
14
|
+
res = '未引用计划';
|
|
15
|
+
break;
|
|
16
|
+
case 'RUNNING':
|
|
17
|
+
res = '评估进行中';
|
|
18
|
+
break;
|
|
19
|
+
case 'FINISHED':
|
|
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: PeriodEmpPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
28
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: PeriodEmpPipe, isStandalone: true, name: "periodEmp" });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PeriodEmpPipe, decorators: [{
|
|
31
|
+
type: Pipe,
|
|
32
|
+
args: [{
|
|
33
|
+
name: 'periodEmp',
|
|
34
|
+
standalone: true,
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: () => [] });
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated bundle index. Do not edit.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
export { PeriodEmpPipe };
|
|
43
|
+
//# sourceMappingURL=pipe.period.emp.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.period.emp.mjs","sources":["../../../../packages/base/shared.pipe/period.emp/period.pipe.ts","../../../../packages/base/shared.pipe/period.emp/pipe.period.emp.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'periodEmp',\n standalone: true,\n})\nexport class PeriodEmpPipe 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 'DRAFT':\n res = '未引用计划';\n break;\n case 'RUNNING':\n res = '评估进行中';\n break;\n case 'FINISHED':\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,aAAa,CAAA;AACxB,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,OAAO;gBACV,GAAG,GAAG,OAAO;gBACb;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,OAAO;gBACb;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,OAAO;gBACb;AACF,YAAA;gBACE;;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;;;ACJD;;AAEG;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class PeriodStatePipe {
|
|
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 'DRAFT':
|
|
14
|
+
res = '未启动';
|
|
15
|
+
break;
|
|
16
|
+
case 'RUNNING':
|
|
17
|
+
res = '已启动';
|
|
18
|
+
break;
|
|
19
|
+
case 'FINISHED':
|
|
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: PeriodStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
28
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: PeriodStatePipe, isStandalone: true, name: "period" });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PeriodStatePipe, decorators: [{
|
|
31
|
+
type: Pipe,
|
|
32
|
+
args: [{
|
|
33
|
+
name: 'period',
|
|
34
|
+
standalone: true,
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: () => [] });
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated bundle index. Do not edit.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
export { PeriodStatePipe };
|
|
43
|
+
//# sourceMappingURL=pipe.period.state.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.period.state.mjs","sources":["../../../../packages/base/shared.pipe/period.state/period.pipe.ts","../../../../packages/base/shared.pipe/period.state/pipe.period.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n@Pipe({\n name: 'period',\n standalone: true,\n})\nexport class PeriodStatePipe 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 'DRAFT':\n res = '未启动';\n break;\n case 'RUNNING':\n res = '已启动';\n break;\n case 'FINISHED':\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,eAAe,CAAA;AAC1B,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,OAAO;gBACV,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,UAAU;gBACb,GAAG,GAAG,KAAK;gBACX;AACF,YAAA;gBACE;;AAEJ,QAAA,OAAO,GAAG;;wGArBD,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,QAAA,EAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,QAAQ;AACd,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACJD;;AAEG;;;;"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class PlanStatePipe {
|
|
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: PlanStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
31
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: PlanStatePipe, isStandalone: true, name: "planstate" });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PlanStatePipe, decorators: [{
|
|
34
|
+
type: Pipe,
|
|
35
|
+
args: [{
|
|
36
|
+
name: 'planstate',
|
|
37
|
+
standalone: true,
|
|
38
|
+
}]
|
|
39
|
+
}], ctorParameters: () => [] });
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Generated bundle index. Do not edit.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
export { PlanStatePipe };
|
|
46
|
+
//# sourceMappingURL=pipe.plan.state.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.plan.state.mjs","sources":["../../../../packages/base/shared.pipe/plan.state/plan.pipe.ts","../../../../packages/base/shared.pipe/plan.state/pipe.plan.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'planstate',\n standalone: true,\n})\nexport class PlanStatePipe 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,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,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,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,25 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class RangePipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(value) {
|
|
7
|
+
return Array.from({ length: value }, (_, i) => i + 1);
|
|
8
|
+
}
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
10
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: RangePipe, isStandalone: true, name: "range" });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RangePipe, decorators: [{
|
|
13
|
+
type: Pipe,
|
|
14
|
+
args: [{
|
|
15
|
+
name: 'range',
|
|
16
|
+
standalone: true,
|
|
17
|
+
}]
|
|
18
|
+
}], ctorParameters: () => [] });
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Generated bundle index. Do not edit.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
export { RangePipe };
|
|
25
|
+
//# sourceMappingURL=pipe.range.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.range.mjs","sources":["../../../../packages/base/shared.pipe/range/range.pipe.ts","../../../../packages/base/shared.pipe/range/pipe.range.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'range',\n standalone: true,\n})\nexport class RangePipe implements PipeTransform {\n constructor() { }\n transform(value: number): number[] {\n return Array.from({ length: value }, (_, i) => i + 1);\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;AACA,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;;wGAH5C,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,26 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class RemoveHtmlPipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(value) {
|
|
7
|
+
if (value) {
|
|
8
|
+
value = value.replace(/<\/?[^>]*>/g, '');
|
|
9
|
+
value = value.replace(/[ | ]*\n/g, '\n');
|
|
10
|
+
}
|
|
11
|
+
return value;
|
|
12
|
+
}
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RemoveHtmlPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
14
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: RemoveHtmlPipe, isStandalone: true, name: "removeHtml" });
|
|
15
|
+
}
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: RemoveHtmlPipe, decorators: [{
|
|
17
|
+
type: Pipe,
|
|
18
|
+
args: [{ name: 'removeHtml' }]
|
|
19
|
+
}], ctorParameters: () => [] });
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Generated bundle index. Do not edit.
|
|
23
|
+
*/
|
|
24
|
+
|
|
25
|
+
export { RemoveHtmlPipe };
|
|
26
|
+
//# sourceMappingURL=pipe.removehtml.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.removehtml.mjs","sources":["../../../../packages/base/shared.pipe/removehtml/removehtml.pipe.ts","../../../../packages/base/shared.pipe/removehtml/pipe.removehtml.ts"],"sourcesContent":["import { PipeTransform, Pipe } from '@angular/core';\n\n@Pipe({ name: 'removeHtml' })\nexport class RemoveHtmlPipe implements PipeTransform {\n constructor() { }\n transform(value: string) {\n if (value) {\n value = value.replace(/<\\/?[^>]*>/g, '');\n value = value.replace(/[ | ]*\\n/g, '\\n');\n }\n return value;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAGa,cAAc,CAAA;AACzB,IAAA,WAAA,GAAA;AACA,IAAA,SAAS,CAAC,KAAa,EAAA;QACrB,IAAI,KAAK,EAAE;YACT,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,aAAa,EAAE,EAAE,CAAC;YACxC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;;AAE1C,QAAA,OAAO,KAAK;;wGAPH,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;kBAD1B,IAAI;mBAAC,EAAE,IAAI,EAAE,YAAY,EAAE;;;ACF5B;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ResultPipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(d, args) {
|
|
7
|
+
let res = '';
|
|
8
|
+
if (args) {
|
|
9
|
+
if (args == 'success') {
|
|
10
|
+
switch (d) {
|
|
11
|
+
case '0':
|
|
12
|
+
case 0:
|
|
13
|
+
case true:
|
|
14
|
+
res = '<span class="yes_sucess">成功</span>';
|
|
15
|
+
break;
|
|
16
|
+
case '1':
|
|
17
|
+
case 1:
|
|
18
|
+
case false:
|
|
19
|
+
res = '<span class="yes_error">失败</span>';
|
|
20
|
+
break;
|
|
21
|
+
default:
|
|
22
|
+
break;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
else if (args == 'ok') {
|
|
26
|
+
switch (d) {
|
|
27
|
+
case 0:
|
|
28
|
+
res = '<span class="yes_sucess">正常</span>';
|
|
29
|
+
break;
|
|
30
|
+
case 1:
|
|
31
|
+
res = '<span class="yes_error">暂停</span>';
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return res;
|
|
39
|
+
}
|
|
40
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ResultPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
41
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ResultPipe, isStandalone: true, name: "result" });
|
|
42
|
+
}
|
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ResultPipe, decorators: [{
|
|
44
|
+
type: Pipe,
|
|
45
|
+
args: [{
|
|
46
|
+
name: 'result',
|
|
47
|
+
standalone: true,
|
|
48
|
+
}]
|
|
49
|
+
}], ctorParameters: () => [] });
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { ResultPipe };
|
|
56
|
+
//# sourceMappingURL=pipe.result.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.result.mjs","sources":["../../../../packages/base/shared.pipe/result/result.pipe.ts","../../../../packages/base/shared.pipe/result/pipe.result.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'result',\n standalone: true,\n})\nexport class ResultPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any): string {\n let res = '';\n if (args!!) {\n if (args == 'success') {\n switch (d) {\n case '0':\n case 0:\n case true:\n res = '<span class=\"yes_sucess\">成功</span>';\n break;\n case '1':\n case 1:\n case false:\n res = '<span class=\"yes_error\">失败</span>';\n break;\n default:\n break;\n }\n } else if (args == 'ok') {\n switch (d) {\n case 0:\n res = '<span class=\"yes_sucess\">正常</span>';\n break;\n case 1:\n res = '<span class=\"yes_error\">暂停</span>';\n break;\n default:\n break;\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,UAAU,CAAA;AACrB,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAU,EAAA;QAC1B,IAAI,GAAG,GAAG,EAAE;QACZ,IAAI,IAAM,EAAE;AACV,YAAA,IAAI,IAAI,IAAI,SAAS,EAAE;gBACrB,QAAQ,CAAC;AACP,oBAAA,KAAK,GAAG;AACR,oBAAA,KAAK,CAAC;AACN,oBAAA,KAAK,IAAI;wBACP,GAAG,GAAG,oCAAoC;wBAC1C;AACF,oBAAA,KAAK,GAAG;AACR,oBAAA,KAAK,CAAC;AACN,oBAAA,KAAK,KAAK;wBACR,GAAG,GAAG,mCAAmC;wBACzC;AACF,oBAAA;wBACE;;;AAEC,iBAAA,IAAI,IAAI,IAAI,IAAI,EAAE;gBACvB,QAAQ,CAAC;AACP,oBAAA,KAAK,CAAC;wBACJ,GAAG,GAAG,oCAAoC;wBAC1C;AACF,oBAAA,KAAK,CAAC;wBACJ,GAAG,GAAG,mCAAmC;wBACzC;AACF,oBAAA;wBACE;;;;AAIR,QAAA,OAAO,GAAG;;wGAjCD,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,34 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/platform-browser';
|
|
4
|
+
|
|
5
|
+
class SafeHtmlPipe {
|
|
6
|
+
sanitized;
|
|
7
|
+
constructor(sanitized) {
|
|
8
|
+
this.sanitized = sanitized;
|
|
9
|
+
}
|
|
10
|
+
transform(value) {
|
|
11
|
+
if (value === undefined || value === null || value === '' || value === 'null') {
|
|
12
|
+
return '';
|
|
13
|
+
}
|
|
14
|
+
else if (value === 0 || value === '0') {
|
|
15
|
+
return value;
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
return this.sanitized.bypassSecurityTrustHtml(value);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SafeHtmlPipe, deps: [{ token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe });
|
|
22
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SafeHtmlPipe, isStandalone: true, name: "safeHtml" });
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SafeHtmlPipe, decorators: [{
|
|
25
|
+
type: Pipe,
|
|
26
|
+
args: [{ name: 'safeHtml' }]
|
|
27
|
+
}], ctorParameters: () => [{ type: i1.DomSanitizer }] });
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Generated bundle index. Do not edit.
|
|
31
|
+
*/
|
|
32
|
+
|
|
33
|
+
export { SafeHtmlPipe };
|
|
34
|
+
//# sourceMappingURL=pipe.safehtml.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.safehtml.mjs","sources":["../../../../packages/base/shared.pipe/safehtml/safehtml.pipe.ts","../../../../packages/base/shared.pipe/safehtml/pipe.safehtml.ts"],"sourcesContent":["import { PipeTransform, Pipe } from '@angular/core';\nimport { DomSanitizer } from '@angular/platform-browser';\n\n@Pipe({ name: 'safeHtml' })\nexport class SafeHtmlPipe implements PipeTransform {\n constructor(private sanitized: DomSanitizer) {}\n transform(value: any) {\n if (value === undefined || value === null || value === '' || value === 'null') {\n return '';\n } else if (value === 0 || value === '0') {\n return value;\n } else {\n return this.sanitized.bypassSecurityTrustHtml(value);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAIa,YAAY,CAAA;AACH,IAAA,SAAA;AAApB,IAAA,WAAA,CAAoB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS;;AAC7B,IAAA,SAAS,CAAC,KAAU,EAAA;AAClB,QAAA,IAAI,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,EAAE,IAAI,KAAK,KAAK,MAAM,EAAE;AAC7E,YAAA,OAAO,EAAE;;aACJ,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,GAAG,EAAE;AACvC,YAAA,OAAO,KAAK;;aACP;YACL,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,KAAK,CAAC;;;wGAR7C,YAAY,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,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;kBADxB,IAAI;mBAAC,EAAE,IAAI,EAAE,UAAU,EAAE;;;ACH1B;;AAEG;;;;"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class StatePipe {
|
|
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 'start':
|
|
17
|
+
res = '已启动';
|
|
18
|
+
break;
|
|
19
|
+
case 'default':
|
|
20
|
+
res = '未开始';
|
|
21
|
+
break;
|
|
22
|
+
case 'inprogress':
|
|
23
|
+
res = '进行中';
|
|
24
|
+
break;
|
|
25
|
+
case 'running':
|
|
26
|
+
res = '进行中';
|
|
27
|
+
break;
|
|
28
|
+
case 'stop':
|
|
29
|
+
res = '已暂停';
|
|
30
|
+
break;
|
|
31
|
+
case 'finished':
|
|
32
|
+
res = '已完成';
|
|
33
|
+
break;
|
|
34
|
+
default:
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
return res;
|
|
38
|
+
}
|
|
39
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: StatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
40
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: StatePipe, isStandalone: true, name: "state" });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: StatePipe, decorators: [{
|
|
43
|
+
type: Pipe,
|
|
44
|
+
args: [{
|
|
45
|
+
name: 'state',
|
|
46
|
+
standalone: true,
|
|
47
|
+
}]
|
|
48
|
+
}], ctorParameters: () => [] });
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Generated bundle index. Do not edit.
|
|
52
|
+
*/
|
|
53
|
+
|
|
54
|
+
export { StatePipe };
|
|
55
|
+
//# sourceMappingURL=pipe.state.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.state.mjs","sources":["../../../../packages/base/shared.pipe/state/state.pipe.ts","../../../../packages/base/shared.pipe/state/pipe.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'state',\n standalone: true,\n})\nexport class StatePipe 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 'start':\n res = '已启动';\n break;\n case 'default':\n res = '未开始';\n break;\n case 'inprogress':\n res = '进行中';\n break;\n case 'running':\n res = '进行中';\n break;\n case 'stop':\n res = '已暂停';\n break;\n case 'finished':\n res = '已完成';\n break;\n default:\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,SAAS,CAAA;AACpB,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,IAAI;gBACV;AACF,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,SAAS;gBACZ,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,YAAY;gBACf,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,UAAU;gBACb,GAAG,GAAG,KAAK;gBACX;AACF,YAAA;gBACE;;AAGJ,QAAA,OAAO,GAAG;;wGAlCD,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,38 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
import { TableType } from '@ebuilding/base/shared.util/static';
|
|
4
|
+
|
|
5
|
+
class TableTypePipe {
|
|
6
|
+
constructor() { }
|
|
7
|
+
transform(d, args) {
|
|
8
|
+
let res = '';
|
|
9
|
+
if (d) {
|
|
10
|
+
d = d.toLocaleLowerCase();
|
|
11
|
+
let list = TableType().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: TableTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
23
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TableTypePipe, isStandalone: true, name: "tableType" });
|
|
24
|
+
}
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TableTypePipe, decorators: [{
|
|
26
|
+
type: Pipe,
|
|
27
|
+
args: [{
|
|
28
|
+
name: 'tableType',
|
|
29
|
+
standalone: true,
|
|
30
|
+
}]
|
|
31
|
+
}], ctorParameters: () => [] });
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Generated bundle index. Do not edit.
|
|
35
|
+
*/
|
|
36
|
+
|
|
37
|
+
export { TableTypePipe };
|
|
38
|
+
//# sourceMappingURL=pipe.table.type.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.table.type.mjs","sources":["../../../../packages/base/shared.pipe/table.type/table.pipe.ts","../../../../packages/base/shared.pipe/table.type/pipe.table.type.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { TableType } from '@ebuilding/base/shared.util/static';\n\n@Pipe({\n name: 'tableType',\n standalone: true,\n})\nexport class TableTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let res = '';\n if (d!!) {\n d = d.toLocaleLowerCase();\n let list = TableType().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,aAAa,CAAA;AACxB,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,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;;;ACND;;AAEG;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class TaskStatePipe {
|
|
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 'finish':
|
|
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: TaskStatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
28
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TaskStatePipe, isStandalone: true, name: "task" });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TaskStatePipe, decorators: [{
|
|
31
|
+
type: Pipe,
|
|
32
|
+
args: [{
|
|
33
|
+
name: 'task',
|
|
34
|
+
standalone: true,
|
|
35
|
+
}]
|
|
36
|
+
}], ctorParameters: () => [] });
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Generated bundle index. Do not edit.
|
|
40
|
+
*/
|
|
41
|
+
|
|
42
|
+
export { TaskStatePipe };
|
|
43
|
+
//# sourceMappingURL=pipe.task.state.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.task.state.mjs","sources":["../../../../packages/base/shared.pipe/task.state/task.pipe.ts","../../../../packages/base/shared.pipe/task.state/pipe.task.state.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'task',\n standalone: true,\n})\nexport class TaskStatePipe 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 'finish':\n res = '已完成';\n break;\n default:\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,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,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,QAAQ;gBACX,GAAG,GAAG,KAAK;gBACX;AACF,YAAA;gBACE;;AAGJ,QAAA,OAAO,GAAG;;wGAtBD,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAb,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA;;4FAAb,aAAa,EAAA,UAAA,EAAA,CAAA;kBAJzB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,MAAM;AACZ,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 TemplateTypePipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(d, args) {
|
|
7
|
+
let status = '';
|
|
8
|
+
d = JSON.stringify(d).toLocaleLowerCase();
|
|
9
|
+
switch (d) {
|
|
10
|
+
case 'msg':
|
|
11
|
+
status = '短信';
|
|
12
|
+
break;
|
|
13
|
+
case 'email':
|
|
14
|
+
status = '邮件';
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
return status;
|
|
18
|
+
}
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TemplateTypePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
20
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TemplateTypePipe, isStandalone: true, name: "templateType" });
|
|
21
|
+
}
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TemplateTypePipe, decorators: [{
|
|
23
|
+
type: Pipe,
|
|
24
|
+
args: [{
|
|
25
|
+
name: 'templateType',
|
|
26
|
+
standalone: true,
|
|
27
|
+
}]
|
|
28
|
+
}], ctorParameters: () => [] });
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Generated bundle index. Do not edit.
|
|
32
|
+
*/
|
|
33
|
+
|
|
34
|
+
export { TemplateTypePipe };
|
|
35
|
+
//# sourceMappingURL=pipe.templatetype.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.templatetype.mjs","sources":["../../../../packages/base/shared.pipe/templatetype/template.pipe.ts","../../../../packages/base/shared.pipe/templatetype/pipe.templatetype.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'templateType',\n standalone: true,\n})\nexport class TemplateTypePipe implements PipeTransform {\n constructor() { }\n transform(d: string, args?: any[]): string {\n let status = '';\n d = JSON.stringify(d).toLocaleLowerCase();\n switch (d) {\n case 'msg':\n status = '短信';\n break;\n case 'email':\n status = '邮件';\n break;\n }\n return status;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,gBAAgB,CAAA;AAC3B,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAS,EAAE,IAAY,EAAA;QAC/B,IAAI,MAAM,GAAG,EAAE;QACf,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE;QACzC,QAAQ,CAAC;AACP,YAAA,KAAK,KAAK;gBACR,MAAM,GAAG,IAAI;gBACb;AACF,YAAA,KAAK,OAAO;gBACV,MAAM,GAAG,IAAI;gBACb;;AAEJ,QAAA,OAAO,MAAM;;wGAbJ,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,cAAc;AACpB,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
|
+
|
|
4
|
+
class ValidPipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(d, args) {
|
|
7
|
+
let res = '';
|
|
8
|
+
switch (d) {
|
|
9
|
+
case true:
|
|
10
|
+
case 'true':
|
|
11
|
+
res = '<span class="valid_yes">有效</span>';
|
|
12
|
+
break;
|
|
13
|
+
case false:
|
|
14
|
+
case 'false':
|
|
15
|
+
res = '<span class="valid_no">无效</span>';
|
|
16
|
+
break;
|
|
17
|
+
}
|
|
18
|
+
return res;
|
|
19
|
+
}
|
|
20
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
21
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ValidPipe, isStandalone: true, name: "valid" });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValidPipe, decorators: [{
|
|
24
|
+
type: Pipe,
|
|
25
|
+
args: [{
|
|
26
|
+
name: 'valid',
|
|
27
|
+
standalone: true,
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: () => [] });
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Generated bundle index. Do not edit.
|
|
33
|
+
*/
|
|
34
|
+
|
|
35
|
+
export { ValidPipe };
|
|
36
|
+
//# sourceMappingURL=pipe.valid.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.valid.mjs","sources":["../../../../packages/base/shared.pipe/valid/valid.pipe.ts","../../../../packages/base/shared.pipe/valid/pipe.valid.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'valid',\n standalone: true,\n})\nexport class ValidPipe 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 = '<span class=\"valid_yes\">有效</span>';\n break;\n case false:\n case 'false':\n res = '<span class=\"valid_no\">无效</span>';\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,SAAS,CAAA;AACpB,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,mCAAmC;gBACzC;AACF,YAAA,KAAK,KAAK;AACV,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,kCAAkC;gBACxC;;AAEJ,QAAA,OAAO,GAAG;;wGAdD,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,46 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Pipe } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
class ValueMethodPipe {
|
|
5
|
+
constructor() { }
|
|
6
|
+
transform(d, args) {
|
|
7
|
+
let res = '';
|
|
8
|
+
switch (d) {
|
|
9
|
+
case 'COUNT':
|
|
10
|
+
res = '计数';
|
|
11
|
+
break;
|
|
12
|
+
case 'COUNT_DISTINCT':
|
|
13
|
+
res = '去重计数';
|
|
14
|
+
break;
|
|
15
|
+
case 'SUM':
|
|
16
|
+
res = '求和';
|
|
17
|
+
break;
|
|
18
|
+
case 'AVG':
|
|
19
|
+
res = '平均值';
|
|
20
|
+
break;
|
|
21
|
+
case 'MAX':
|
|
22
|
+
res = '最大值';
|
|
23
|
+
break;
|
|
24
|
+
case 'MIN':
|
|
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: ValueMethodPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
|
|
31
|
+
static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: ValueMethodPipe, isStandalone: true, name: "valueMethod" });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ValueMethodPipe, decorators: [{
|
|
34
|
+
type: Pipe,
|
|
35
|
+
args: [{
|
|
36
|
+
name: 'valueMethod',
|
|
37
|
+
standalone: true,
|
|
38
|
+
}]
|
|
39
|
+
}], ctorParameters: () => [] });
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Generated bundle index. Do not edit.
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
export { ValueMethodPipe };
|
|
46
|
+
//# sourceMappingURL=pipe.value.method.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pipe.value.method.mjs","sources":["../../../../packages/base/shared.pipe/value.method/value.pipe.ts","../../../../packages/base/shared.pipe/value.method/pipe.value.method.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n name: 'valueMethod',\n standalone: true,\n})\nexport class ValueMethodPipe implements PipeTransform {\n constructor() { }\n transform(d: any, args?: any[]): string {\n let res = '';\n switch (d) {\n case 'COUNT':\n res = '计数';\n break;\n case 'COUNT_DISTINCT':\n res = '去重计数';\n break;\n case 'SUM':\n res = '求和';\n break;\n case 'AVG':\n res = '平均值';\n break;\n case 'MAX':\n res = '最大值';\n break;\n case 'MIN':\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,eAAe,CAAA;AAC1B,IAAA,WAAA,GAAA;IACA,SAAS,CAAC,CAAM,EAAE,IAAY,EAAA;QAC5B,IAAI,GAAG,GAAG,EAAE;QACZ,QAAQ,CAAC;AACP,YAAA,KAAK,OAAO;gBACV,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,gBAAgB;gBACnB,GAAG,GAAG,MAAM;gBACZ;AACF,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,IAAI;gBACV;AACF,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,KAAK;gBACX;AACF,YAAA,KAAK,KAAK;gBACR,GAAG,GAAG,KAAK;gBACX;;AAEJ,QAAA,OAAO,GAAG;;wGAxBD,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,aAAa;AACnB,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACLD;;AAEG;;;;"}
|