@ebuilding/abc 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/button/index.d.ts +1 -0
- package/button/src/default/index.d.ts +15 -0
- package/button/src/index.module.d.ts +9 -0
- package/button/src/inner/index.d.ts +10 -0
- package/button/src/main/index.d.ts +16 -0
- package/button/src/public_api.d.ts +4 -0
- package/card/index.d.ts +1 -0
- package/card/src/card.service.d.ts +19 -0
- package/card/src/column-default/index.d.ts +22 -0
- package/card/src/column-img/index.d.ts +22 -0
- package/card/src/column-img1/index.d.ts +13 -0
- package/card/src/column-img2/index.d.ts +13 -0
- package/card/src/column-img3/index.d.ts +13 -0
- package/card/src/default/index.d.ts +45 -0
- package/card/src/design/index.d.ts +10 -0
- package/card/src/design-text/index.d.ts +10 -0
- package/card/src/index.module.d.ts +11 -0
- package/card/src/item-group/index.d.ts +16 -0
- package/card/src/item-text/index.d.ts +15 -0
- package/card/src/item.service.d.ts +20 -0
- package/card/src/public_api.d.ts +6 -0
- package/card-assess/index.d.ts +1 -0
- package/card-assess/src/default/index.d.ts +19 -0
- package/card-assess/src/index.module.d.ts +7 -0
- package/card-assess/src/public_api.d.ts +2 -0
- package/card-emp/index.d.ts +1 -0
- package/card-emp/src/default/index.d.ts +10 -0
- package/card-emp/src/emp-okr/index.d.ts +12 -0
- package/card-emp/src/index.module.d.ts +8 -0
- package/card-emp/src/public_api.d.ts +3 -0
- package/card-list/index.d.ts +1 -0
- package/card-list/src/default/index.d.ts +14 -0
- package/card-list/src/index.module.d.ts +7 -0
- package/card-list/src/public_api.d.ts +2 -0
- package/card-okr/index.d.ts +1 -0
- package/card-okr/src/default/index.d.ts +22 -0
- package/card-okr/src/index.module.d.ts +17 -0
- package/card-okr/src/kpi-stats1/index.d.ts +15 -0
- package/card-okr/src/kpi-stats2/index.d.ts +14 -0
- package/card-okr/src/kpi-stats3/index.d.ts +16 -0
- package/card-okr/src/objective/index.d.ts +14 -0
- package/card-okr/src/objective-dl/index.d.ts +16 -0
- package/card-okr/src/objective-dx/index.d.ts +16 -0
- package/card-okr/src/public_api.d.ts +11 -0
- package/card-okr/src/stats-default/index.d.ts +14 -0
- package/card-okr/src/stats-objective/index.d.ts +14 -0
- package/card-okr/src/stats-progress/index.d.ts +12 -0
- package/card-plan-kpi/index.d.ts +1 -0
- package/card-plan-kpi/src/default/index.d.ts +22 -0
- package/card-plan-kpi/src/index.module.d.ts +7 -0
- package/card-plan-kpi/src/public_api.d.ts +2 -0
- package/card-result/index.d.ts +1 -0
- package/card-result/src/default/index.d.ts +45 -0
- package/card-result/src/index.module.d.ts +8 -0
- package/card-result/src/public_api.d.ts +2 -0
- package/card-score/index.d.ts +1 -0
- package/card-score/src/default/index.d.ts +9 -0
- package/card-score/src/index.module.d.ts +8 -0
- package/card-score/src/public_api.d.ts +2 -0
- package/card-user/index.d.ts +1 -0
- package/card-user/src/default/index.d.ts +11 -0
- package/card-user/src/index.module.d.ts +7 -0
- package/card-user/src/public_api.d.ts +2 -0
- package/card2/index.d.ts +1 -0
- package/card2/src/default/index.d.ts +90 -0
- package/card2/src/index.module.d.ts +7 -0
- package/card2/src/public_api.d.ts +2 -0
- package/codemirror/index.d.ts +1 -0
- package/codemirror/src/default/index.d.ts +10 -0
- package/codemirror/src/index.module.d.ts +7 -0
- package/codemirror/src/public_api.d.ts +5 -0
- package/collect/index.d.ts +1 -0
- package/collect/src/default/index.d.ts +11 -0
- package/collect/src/index.module.d.ts +7 -0
- package/collect/src/public_api.d.ts +2 -0
- package/developing/index.d.ts +1 -0
- package/developing/src/default/index.d.ts +8 -0
- package/developing/src/index.module.d.ts +10 -0
- package/developing/src/public_api.d.ts +2 -0
- package/empty/index.d.ts +1 -0
- package/empty/src/default/index.d.ts +13 -0
- package/empty/src/index.module.d.ts +7 -0
- package/empty/src/public_api.d.ts +2 -0
- package/fesm2022/codemirror.mjs +806 -0
- package/fesm2022/codemirror.mjs.map +1 -0
- package/fesm2022/components.button.mjs +121 -0
- package/fesm2022/components.button.mjs.map +1 -0
- package/fesm2022/components.card-assess.mjs +68 -0
- package/fesm2022/components.card-assess.mjs.map +1 -0
- package/fesm2022/components.card-emp.mjs +65 -0
- package/fesm2022/components.card-emp.mjs.map +1 -0
- package/fesm2022/components.card-list.mjs +53 -0
- package/fesm2022/components.card-list.mjs.map +1 -0
- package/fesm2022/components.card-okr.mjs +370 -0
- package/fesm2022/components.card-okr.mjs.map +1 -0
- package/fesm2022/components.card-plan-kpi.mjs +68 -0
- package/fesm2022/components.card-plan-kpi.mjs.map +1 -0
- package/fesm2022/components.card-result.mjs +137 -0
- package/fesm2022/components.card-result.mjs.map +1 -0
- package/fesm2022/components.card-score.mjs +47 -0
- package/fesm2022/components.card-score.mjs.map +1 -0
- package/fesm2022/components.card-user.mjs +56 -0
- package/fesm2022/components.card-user.mjs.map +1 -0
- package/fesm2022/components.card.mjs +670 -0
- package/fesm2022/components.card.mjs.map +1 -0
- package/fesm2022/components.card2.mjs +463 -0
- package/fesm2022/components.card2.mjs.map +1 -0
- package/fesm2022/components.collect.mjs +57 -0
- package/fesm2022/components.collect.mjs.map +1 -0
- package/fesm2022/components.developing.mjs +38 -0
- package/fesm2022/components.developing.mjs.map +1 -0
- package/fesm2022/components.empty.mjs +54 -0
- package/fesm2022/components.empty.mjs.map +1 -0
- package/fesm2022/components.flow-button.mjs +89 -0
- package/fesm2022/components.flow-button.mjs.map +1 -0
- package/fesm2022/components.header-user.mjs +261 -0
- package/fesm2022/components.header-user.mjs.map +1 -0
- package/fesm2022/components.header.mjs +81 -0
- package/fesm2022/components.header.mjs.map +1 -0
- package/fesm2022/components.line.mjs +44 -0
- package/fesm2022/components.line.mjs.map +1 -0
- package/fesm2022/components.no-role.mjs +37 -0
- package/fesm2022/components.no-role.mjs.map +1 -0
- package/fesm2022/components.nz-table-tree.mjs +407 -0
- package/fesm2022/components.nz-table-tree.mjs.map +1 -0
- package/fesm2022/components.nz-table.mjs +463 -0
- package/fesm2022/components.nz-table.mjs.map +1 -0
- package/fesm2022/components.plan-item.mjs +249 -0
- package/fesm2022/components.plan-item.mjs.map +1 -0
- package/fesm2022/components.principal.mjs +59 -0
- package/fesm2022/components.principal.mjs.map +1 -0
- package/fesm2022/components.python.mjs +140 -0
- package/fesm2022/components.python.mjs.map +1 -0
- package/fesm2022/components.quick.mjs +158 -0
- package/fesm2022/components.quick.mjs.map +1 -0
- package/fesm2022/components.record.mjs +106 -0
- package/fesm2022/components.record.mjs.map +1 -0
- package/fesm2022/components.step-entry.mjs +50 -0
- package/fesm2022/components.step-entry.mjs.map +1 -0
- package/fesm2022/components.target-value.mjs +83 -0
- package/fesm2022/components.target-value.mjs.map +1 -0
- package/fesm2022/components.text.mjs +444 -0
- package/fesm2022/components.text.mjs.map +1 -0
- package/fesm2022/components.tree.mjs +203 -0
- package/fesm2022/components.tree.mjs.map +1 -0
- package/fesm2022/ebuilding-abc.mjs +121 -0
- package/fesm2022/ebuilding-abc.mjs.map +1 -0
- package/flow-button/index.d.ts +1 -0
- package/flow-button/src/default/index.d.ts +14 -0
- package/flow-button/src/index.module.d.ts +7 -0
- package/flow-button/src/public_api.d.ts +2 -0
- package/header/index.d.ts +1 -0
- package/header/src/default/index.d.ts +16 -0
- package/header/src/index.module.d.ts +10 -0
- package/header/src/public_api.d.ts +2 -0
- package/header-user/index.d.ts +1 -0
- package/header-user/src/default/index.d.ts +57 -0
- package/header-user/src/index.module.d.ts +7 -0
- package/header-user/src/public_api.d.ts +2 -0
- package/index.d.ts +1 -0
- package/line/index.d.ts +1 -0
- package/line/src/default/index.d.ts +9 -0
- package/line/src/index.module.d.ts +10 -0
- package/line/src/public_api.d.ts +2 -0
- package/no-role/index.d.ts +1 -0
- package/no-role/src/default/index.d.ts +9 -0
- package/no-role/src/index.module.d.ts +8 -0
- package/no-role/src/public_api.d.ts +2 -0
- package/nz-table/index.d.ts +1 -0
- package/nz-table/src/default/index.d.ts +90 -0
- package/nz-table/src/index.module.d.ts +7 -0
- package/nz-table/src/public_api.d.ts +2 -0
- package/nz-table-tree/index.d.ts +1 -0
- package/nz-table-tree/src/default/index.d.ts +98 -0
- package/nz-table-tree/src/index.module.d.ts +8 -0
- package/nz-table-tree/src/operation/index.d.ts +12 -0
- package/nz-table-tree/src/public_api.d.ts +2 -0
- package/package.json +144 -0
- package/plan-item/index.d.ts +1 -0
- package/plan-item/src/default/index.d.ts +45 -0
- package/plan-item/src/index.module.d.ts +7 -0
- package/plan-item/src/public_api.d.ts +2 -0
- package/principal/index.d.ts +1 -0
- package/principal/src/default/index.d.ts +15 -0
- package/principal/src/index.module.d.ts +7 -0
- package/principal/src/public_api.d.ts +2 -0
- package/python/index.d.ts +1 -0
- package/python/src/default/index.d.ts +8 -0
- package/python/src/index.module.d.ts +8 -0
- package/python/src/public_api.d.ts +2 -0
- package/quick/index.d.ts +1 -0
- package/quick/src/datetime/index.d.ts +12 -0
- package/quick/src/default/index.d.ts +14 -0
- package/quick/src/index.module.d.ts +10 -0
- package/quick/src/public_api.d.ts +2 -0
- package/record/index.d.ts +1 -0
- package/record/src/default/index.d.ts +12 -0
- package/record/src/index.module.d.ts +8 -0
- package/record/src/main/index.d.ts +12 -0
- package/record/src/public_api.d.ts +3 -0
- package/step-entry/index.d.ts +1 -0
- package/step-entry/src/default/index.d.ts +12 -0
- package/step-entry/src/index.module.d.ts +9 -0
- package/step-entry/src/public_api.d.ts +2 -0
- package/target-value/index.d.ts +1 -0
- package/target-value/src/default/index.d.ts +17 -0
- package/target-value/src/index.module.d.ts +8 -0
- package/target-value/src/public_api.d.ts +2 -0
- package/text/index.d.ts +1 -0
- package/text/src/default/index.d.ts +25 -0
- package/text/src/index.module.d.ts +9 -0
- package/text/src/public_api.d.ts +2 -0
- package/text/src/text.service.d.ts +57 -0
- package/tree/index.d.ts +1 -0
- package/tree/src/default/index.d.ts +39 -0
- package/tree/src/index.module.d.ts +9 -0
- package/tree/src/public_api.d.ts +2 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.header-user.mjs","sources":["../../../../packages/abc/header-user/src/default/index.ts","../../../../packages/abc/header-user/src/default/index.html","../../../../packages/abc/header-user/src/index.module.ts","../../../../packages/abc/header-user/components.header-user.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, Inject, OnInit, ChangeDetectorRef } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\nimport { NzFormModule } from 'ng-zorro-antd/form';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzAvatarModule } from 'ng-zorro-antd/avatar';\nimport { NzDropDownModule } from 'ng-zorro-antd/dropdown';\nimport { NzSelectModule } from 'ng-zorro-antd/select';\nimport { NzInputModule } from 'ng-zorro-antd/input';\n\nimport { Router } from '@angular/router';\nimport { FormsModule, ReactiveFormsModule, FormBuilder, FormControl, FormGroup, Validators } from '@angular/forms';\nimport { NzModalService } from 'ng-zorro-antd/modal';\nimport { NzMessageService } from 'ng-zorro-antd/message';\nimport { NzFormTooltipIcon } from 'ng-zorro-antd/form';\nimport { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth';\nimport { SettingsService, User, _HttpClient } from '@delon/theme';\nimport { GramGlobalService } from '@ebuilding/base/shared.srv/global.event';\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';\nimport { AppCustomerId, AppSetId, AppSetName, AppSetData } from '@ebuilding/base/shared.var/shared.variable';\nimport screenfull from 'screenfull';\n\n@Component({\n selector: 'gram-header-user',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzModalModule,\n NzFormModule,\n NzAvatarModule,\n NzDropDownModule,\n NzSelectModule,\n NzInputModule,\n NzButtonModule,\n NzIconModule\n ]\n})\nexport class GramHeaderUserComponent implements OnInit {\n get user(): User {\n return this.settings.user;\n }\n\n get customerId() {\n return this.settings.getData(AppCustomerId);\n }\n\n avatar: any = null;\n\n listEId: any[] = [];\n defaultEName: any = null;\n\n setIdIsVisible: boolean = false;\n setIdIsOkLoading: boolean = false;\n validateEIdForm!: FormGroup;\n\n myIsVisible: boolean = false;\n\n constructor(\n public modalService: NzModalService,\n private settings: SettingsService,\n private router: Router,\n public http: _HttpClient,\n public modal: NzModalService,\n public msg: NzMessageService,\n private fb: FormBuilder,\n @Inject(DA_SERVICE_TOKEN) private tokenService: ITokenService,\n public globalSrv: GramGlobalService,\n private cdr: ChangeDetectorRef,\n ) {\n this.avatar = this.user?.avatar;\n if (this.avatar == null) {\n this.avatar = '/assets/images/employee.png';\n }\n this.globalSrv.subscribe('reload-header-user', (res: any) => {\n this.avatar = this.user?.avatar;\n this.cdr.detectChanges();\n });\n\n let tmpEIds: any[] = this.settings.getData(AppSetData);\n if (tmpEIds!! && tmpEIds.length > 0) {\n this.listEId = tmpEIds;\n }\n this.defaultEName = this.settings.getData(AppSetName);\n }\n\n validateForm!: FormGroup;\n captchaTooltipIcon: NzFormTooltipIcon = {\n type: 'info-circle',\n theme: 'twotone',\n };\n\n submitForm(): void {\n Object.values(this.validateForm.controls).forEach((control) => {\n if (control.invalid) {\n control.markAsDirty();\n control.updateValueAndValidity({ onlySelf: true });\n }\n });\n if (this.validateForm.valid) {\n this.isOkLoading = true;\n this.http\n .post(`${ModuleAPI.system}/sys/user/updatePwd`, {\n oldPwd: this.validateForm.controls?.[\"password\"]?.value,\n newPwd: this.validateForm.controls?.[\"newPassword\"]?.value,\n })\n .subscribe((res: any) => {\n if (res.success) {\n this.isOkLoading = false;\n this.isVisible = true;\n this.msg.success('密码修改成功,请重新登录');\n this.tokenService.clear();\n this.router.navigateByUrl(this.tokenService.login_url!);\n }\n });\n }\n }\n\n updateConfirmValidator(): void {\n Promise.resolve().then(() => this.validateForm.controls?.[\"confirmPassword\"]?.updateValueAndValidity());\n }\n\n confirmationValidator = (control: FormControl): { [s: string]: boolean } => {\n if (!control.value) {\n return { required: true };\n } else if (control.value !== this.validateForm.controls?.[\"newPassword\"]?.value) {\n return { confirm: true, error: true };\n }\n return {};\n };\n\n getCaptcha(e: MouseEvent): void {\n e.preventDefault();\n }\n\n ngOnInit(): void {\n this.validateForm = this.fb.group({\n password: [null, [Validators.required]],\n newPassword: [null, [Validators.required]],\n confirmPassword: [null, [Validators.required, this.confirmationValidator]],\n });\n this.validateEIdForm = this.fb.group({\n eId: [null, [Validators.required]],\n });\n }\n\n logout(): void {\n this.modal.confirm({\n nzTitle: '提示',\n nzContent: `您确定需要退出吗?`,\n nzOnOk: () => {\n this.http.post(`${ModuleAPI.system}/auth/logout`, {}).subscribe((res: any) => {\n this.tokenService.clear();\n this.router.navigateByUrl(this.tokenService.login_url!);\n });\n },\n });\n }\n nzFooter: any = null;\n isVisible = false;\n isOkLoading = false;\n\n showModal(): void {\n this.validateForm.reset();\n this.isVisible = true;\n }\n\n showAdmin(): void {\n window.open(`/admin/home`, '_blank');\n }\n\n showSettings() {\n this.myIsVisible = true;\n }\n\n myCancel() {\n this.myIsVisible = false;\n }\n\n setScreenfull() {\n if (screenfull.isEnabled) {\n screenfull.toggle();\n }\n }\n\n handleOk(): void {\n this.isOkLoading = true;\n setTimeout(() => {\n this.isVisible = false;\n this.isOkLoading = false;\n }, 3000);\n }\n\n handleCancel(): void {\n this.validateForm.reset();\n this.isVisible = false;\n }\n\n goToChangeSetId() {\n this.setIdIsVisible = true;\n }\n\n setIdCancel() {\n this.validateEIdForm.reset();\n this.setIdIsVisible = false;\n }\n\n submitSetIdForm() {\n Object.values(this.validateEIdForm.controls).forEach((control) => {\n if (control.invalid) {\n control.markAsDirty();\n control.updateValueAndValidity({ onlySelf: true });\n }\n });\n if (this.validateEIdForm.valid) {\n let id = this.validateEIdForm.controls?.[\"eId\"]?.value;\n this.setIdIsOkLoading = true;\n this.http.post(`${ModuleAPI.system}/sys/user/changeEId/${id}`).subscribe((res: any) => {\n this.setIdIsOkLoading = false;\n if (res.success) {\n this.setIdIsVisible = false;\n this.listEId.forEach((item: any) => {\n if (item.id == id) {\n this.settings.setData(AppSetId, id);\n this.settings.setData(AppSetName, item.name);\n }\n });\n this.msg.success('切换成功');\n this.router.navigateByUrl('/home');\n }\n });\n }\n }\n}\n","<div class=\"alain-default__nav-item d-flex align-items-center px-sm\" nz-dropdown nzPlacement=\"bottomRight\"\n nzTrigger=\"click\" [nzDropdownMenu]=\"userMenu\">\n <nz-avatar [nzSrc]=\"avatar\" nzSize=\"small\" class=\"mr-sm\"></nz-avatar>\n {{ user?.name }}\n</div>\n<nz-dropdown-menu #userMenu=\"nzDropdownMenu\">\n <div nz-menu class=\"width-sm menu-user-dropdown\">\n <ng-container *ngIf=\"listEId!! && listEId.length > 1\">\n <div nz-menu-item (click)=\"goToChangeSetId()\">\n <span nz-icon nzType=\"idcard\"></span>\n 身份切换\n </div>\n <div nz-menu-divider></div>\n </ng-container>\n <div nz-menu-item (click)=\"setScreenfull()\">\n <i nz-icon nzType=\"fullscreen\" class=\"mr-sm\"></i>\n 全屏显示\n </div>\n <div nz-menu-item (click)=\"showAdmin()\">\n <i nz-icon nzType=\"setting\" class=\"mr-sm\"></i>\n 后台设置\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item (click)=\"showModal()\">\n <i nz-icon nzType=\"eye\" class=\"mr-sm\"></i>\n 密码修改\n </div>\n <div nz-menu-item (click)=\"logout()\">\n <i nz-icon nzType=\"logout\" class=\"mr-sm\"></i>\n 退出系统\n </div>\n <div nz-menu-divider></div>\n <div nz-menu-item (click)=\"showSettings()\">\n <i nz-icon nzType=\"project\" class=\"mr-sm\"></i>\n 关于我们\n </div>\n <div nz-menu-item>\n <i nz-icon nzType=\"number\" class=\"mr-sm\"></i>\n <label class=\"customerId\">企业ID</label>{{ customerId }}\n </div>\n </div>\n</nz-dropdown-menu>\n\n<nz-modal [(nzVisible)]=\"isVisible\" nzTitle=\"密码修改\" (nzOnCancel)=\"handleCancel()\" [nzFooter]=\"nzFooter\"\n nzClassName=\"modalPwd\">\n <form nz-form [formGroup]=\"validateForm\" (ngSubmit)=\"submitForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"password\" nzRequired>密码</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"请输入密码\">\n <input nz-input type=\"password\" id=\"password\" formControlName=\"password\" maxlength=\"50\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"newPassword\" nzRequired>新密码</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"请输入新密码\">\n <input nz-input type=\"password\" id=\"newPassword\" formControlName=\"newPassword\" maxlength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"confirmPassword\" nzRequired>确认密码</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" [nzErrorTip]=\"errorTpl\">\n <input nz-input type=\"password\" formControlName=\"confirmPassword\" id=\"confirmPassword\" maxlength=\"50\"\n (ngModelChange)=\"updateConfirmValidator()\" />\n <ng-template #errorTpl let-control>\n <ng-container *ngIf=\"control.hasError('required')\">请输入确认密码</ng-container>\n <ng-container *ngIf=\"control.hasError('confirm')\"> 您俩次输入的密码不一致 </ng-container>\n </ng-template>\n </nz-form-control>\n </nz-form-item>\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"handleCancel()\" type=\"button\">取消</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"isOkLoading\">确定</button>\n </div>\n </div>\n </form>\n</nz-modal>\n\n<nz-modal [(nzVisible)]=\"setIdIsVisible\" nzTitle=\"身份切换\" (nzOnCancel)=\"setIdCancel()\" nzClassName=\"modalPwd\"\n [nzFooter]=\"nzFooter\">\n <form nz-form [formGroup]=\"validateEIdForm\" (ngSubmit)=\"submitSetIdForm()\" class=\"frmPwd\">\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\">当前身份</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\"> {{ defaultEName }} </nz-form-control>\n </nz-form-item>\n <nz-form-item>\n <nz-form-label [nzSm]=\"6\" [nzXs]=\"24\" nzFor=\"setId\" nzRequired>切换身份</nz-form-label>\n <nz-form-control [nzSm]=\"14\" [nzXs]=\"24\" nzErrorTip=\"请选择身份\">\n <nz-select id=\"eId\" formControlName=\"eId\" nzPlaceHolder=\"请选择身份\">\n <ng-container *ngFor=\"let item of listEId\">\n <nz-option [nzValue]=\"item.id\" [nzLabel]=\"item.name\"></nz-option>\n </ng-container>\n </nz-select>\n </nz-form-control>\n </nz-form-item>\n\n <div class=\"button-box\">\n <div>\n <button nz-button nzType=\"default\" (click)=\"setIdCancel()\" type=\"button\">取消</button>\n <button nz-button nzType=\"primary\" type=\"submit\" [nzLoading]=\"setIdIsOkLoading\">确定</button>\n </div>\n </div>\n </form>\n</nz-modal>\n\n<nz-modal [(nzVisible)]=\"myIsVisible\" nzTitle=\"关于我们\" (nzOnCancel)=\"myCancel()\" nzClassName=\"modalMe\">\n <div *nzModalContent>\n <p>\n <label class=\"title\">版本号</label>\n <label>2.1.0</label>\n </p>\n <p>\n <label class=\"title\">联系人</label>\n <label>Jack Ren</label>\n </p>\n <p>\n <label class=\"title\">联系邮箱</label>\n <label>jackren0913@gmail.com</label>\n </p>\n <p>\n <label class=\"title\">企业名称</label>\n <label>西安莘墨科技有限公司</label>\n </p>\n </div>\n <div *nzModalFooter>\n <button nz-button nzType=\"default\" (click)=\"myCancel()\">关闭</button>\n </div>\n</nz-modal>","\nimport { NgModule } from '@angular/core';\nimport { GramHeaderUserComponent } from './default/index';\nconst components: any[] = [GramHeaderUserComponent];\n@NgModule({\n imports: [\n ...components\n ],\n exports: [...components],\n})\nexport class GramDeonHeaderUserModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0Ca,uBAAuB,CAAA;AAqBzB,IAAA,YAAA;AACC,IAAA,QAAA;AACA,IAAA,MAAA;AACD,IAAA,IAAA;AACA,IAAA,KAAA;AACA,IAAA,GAAA;AACC,IAAA,EAAA;AAC0B,IAAA,YAAA;AAC3B,IAAA,SAAA;AACC,IAAA,GAAA;AA7BV,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI;;AAG3B,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,aAAa,CAAC;;IAG7C,MAAM,GAAQ,IAAI;IAElB,OAAO,GAAU,EAAE;IACnB,YAAY,GAAQ,IAAI;IAExB,cAAc,GAAY,KAAK;IAC/B,gBAAgB,GAAY,KAAK;AACjC,IAAA,eAAe;IAEf,WAAW,GAAY,KAAK;AAE5B,IAAA,WAAA,CACS,YAA4B,EAC3B,QAAyB,EACzB,MAAc,EACf,IAAiB,EACjB,KAAqB,EACrB,GAAqB,EACpB,EAAe,EACW,YAA2B,EACtD,SAA4B,EAC3B,GAAsB,EAAA;QATvB,IAAY,CAAA,YAAA,GAAZ,YAAY;QACX,IAAQ,CAAA,QAAA,GAAR,QAAQ;QACR,IAAM,CAAA,MAAA,GAAN,MAAM;QACP,IAAI,CAAA,IAAA,GAAJ,IAAI;QACJ,IAAK,CAAA,KAAA,GAAL,KAAK;QACL,IAAG,CAAA,GAAA,GAAH,GAAG;QACF,IAAE,CAAA,EAAA,GAAF,EAAE;QACwB,IAAY,CAAA,YAAA,GAAZ,YAAY;QACvC,IAAS,CAAA,SAAA,GAAT,SAAS;QACR,IAAG,CAAA,GAAA,GAAH,GAAG;QAE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
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import * as i2 from 'ng-zorro-antd/button';
|
|
6
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
|
7
|
+
import * as i5 from 'ng-zorro-antd/icon';
|
|
8
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
9
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
10
|
+
import * as i3 from 'ng-zorro-antd/core/transition-patch';
|
|
11
|
+
import * as i4 from 'ng-zorro-antd/core/wave';
|
|
12
|
+
|
|
13
|
+
class GramDeonHeaderComponent {
|
|
14
|
+
isTitle = true;
|
|
15
|
+
isTitleClick = false;
|
|
16
|
+
isBack = true;
|
|
17
|
+
title = '';
|
|
18
|
+
/*
|
|
19
|
+
标题点击事件
|
|
20
|
+
*/
|
|
21
|
+
titleClick = new EventEmitter();
|
|
22
|
+
/*
|
|
23
|
+
按钮点击事件
|
|
24
|
+
*/
|
|
25
|
+
btnBackClick = new EventEmitter();
|
|
26
|
+
constructor() { }
|
|
27
|
+
ngOnInit() { }
|
|
28
|
+
btnClick() {
|
|
29
|
+
this.btnBackClick.emit();
|
|
30
|
+
}
|
|
31
|
+
titleNameClick() {
|
|
32
|
+
this.titleClick.emit();
|
|
33
|
+
}
|
|
34
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonHeaderComponent, isStandalone: true, selector: "gram-header", inputs: { isTitle: "isTitle", isTitleClick: "isTitleClick", isBack: "isBack", title: "title" }, outputs: { titleClick: "titleClick", btnBackClick: "btnBackClick" }, ngImport: i0, template: "<div class=\"left\">\n <div class=\"title\" *ngIf=\"isTitle\">\n <i nz-icon nzType=\"tag\"></i>\n <ng-container *ngIf=\"isTitleClick==true;else tmpTitle\">\n <a (click)=\"titleNameClick()\">{{title}}</a>\n </ng-container>\n <ng-template #tmpTitle> {{title}} </ng-template>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=right-content]\"></ng-content>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=button-content]\"></ng-content>\n <ng-container *ngIf=\"isBack\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnClick()\"><i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE</button>\n </ng-container>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:row;width:100%;min-height:53px;padding:10px 15px;background-color:#fff;border-bottom:1px solid #eaeaea}:host ::ng-deep .left{display:flex;flex:1;flex-direction:row;align-items:center;margin:auto;font-size:12px;text-align:left}:host ::ng-deep .left .title{padding:0 8px 0 0}:host ::ng-deep .left .title i{margin-right:8px;font-size:16px;vertical-align:-.2em}:host ::ng-deep .left .content label:after{padding:0 5px 0 3px;content:\"\\ff1a\"}:host ::ng-deep .left .content nz-select{min-width:260px}:host ::ng-deep .right{display:flex;flex-direction:row;align-items:center;padding:0 0 0 8px}:host ::ng-deep .right .button-box{padding:0 8px 0 0}:host ::ng-deep div[name=other-button]{padding:0 8px 0 0}:host ::ng-deep div[name=other-box] ul{display:flex;flex-direction:row;margin:0;padding:0}:host ::ng-deep div[name=other-box] ul li{display:flex;align-items:center;margin:0;padding:0 0 0 15px}:host ::ng-deep div[name=other-box] ul li span:nth-child(1):after{padding:0 0 0 2px;content:\"\\ff1a\"}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i5.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
|
|
36
|
+
}
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderComponent, decorators: [{
|
|
38
|
+
type: Component,
|
|
39
|
+
args: [{ selector: 'gram-header', imports: [
|
|
40
|
+
CommonModule,
|
|
41
|
+
FormsModule,
|
|
42
|
+
ReactiveFormsModule,
|
|
43
|
+
NzButtonModule,
|
|
44
|
+
NzIconModule
|
|
45
|
+
], template: "<div class=\"left\">\n <div class=\"title\" *ngIf=\"isTitle\">\n <i nz-icon nzType=\"tag\"></i>\n <ng-container *ngIf=\"isTitleClick==true;else tmpTitle\">\n <a (click)=\"titleNameClick()\">{{title}}</a>\n </ng-container>\n <ng-template #tmpTitle> {{title}} </ng-template>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=right-content]\"></ng-content>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=button-content]\"></ng-content>\n <ng-container *ngIf=\"isBack\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnClick()\"><i nz-icon nzType=\"rollback\"></i>\u8FD4\u56DE</button>\n </ng-container>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:row;width:100%;min-height:53px;padding:10px 15px;background-color:#fff;border-bottom:1px solid #eaeaea}:host ::ng-deep .left{display:flex;flex:1;flex-direction:row;align-items:center;margin:auto;font-size:12px;text-align:left}:host ::ng-deep .left .title{padding:0 8px 0 0}:host ::ng-deep .left .title i{margin-right:8px;font-size:16px;vertical-align:-.2em}:host ::ng-deep .left .content label:after{padding:0 5px 0 3px;content:\"\\ff1a\"}:host ::ng-deep .left .content nz-select{min-width:260px}:host ::ng-deep .right{display:flex;flex-direction:row;align-items:center;padding:0 0 0 8px}:host ::ng-deep .right .button-box{padding:0 8px 0 0}:host ::ng-deep div[name=other-button]{padding:0 8px 0 0}:host ::ng-deep div[name=other-box] ul{display:flex;flex-direction:row;margin:0;padding:0}:host ::ng-deep div[name=other-box] ul li{display:flex;align-items:center;margin:0;padding:0 0 0 15px}:host ::ng-deep div[name=other-box] ul li span:nth-child(1):after{padding:0 0 0 2px;content:\"\\ff1a\"}\n"] }]
|
|
46
|
+
}], ctorParameters: () => [], propDecorators: { isTitle: [{
|
|
47
|
+
type: Input
|
|
48
|
+
}], isTitleClick: [{
|
|
49
|
+
type: Input
|
|
50
|
+
}], isBack: [{
|
|
51
|
+
type: Input
|
|
52
|
+
}], title: [{
|
|
53
|
+
type: Input
|
|
54
|
+
}], titleClick: [{
|
|
55
|
+
type: Output
|
|
56
|
+
}], btnBackClick: [{
|
|
57
|
+
type: Output
|
|
58
|
+
}] } });
|
|
59
|
+
|
|
60
|
+
const components = [GramDeonHeaderComponent];
|
|
61
|
+
class GramDeonHeaderModule {
|
|
62
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
63
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderModule, imports: [CommonModule, NzButtonModule, NzIconModule, GramDeonHeaderComponent], exports: [GramDeonHeaderComponent] });
|
|
64
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderModule, imports: [CommonModule, NzButtonModule, NzIconModule, components] });
|
|
65
|
+
}
|
|
66
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonHeaderModule, decorators: [{
|
|
67
|
+
type: NgModule,
|
|
68
|
+
args: [{
|
|
69
|
+
imports: [CommonModule, NzButtonModule, NzIconModule,
|
|
70
|
+
...components],
|
|
71
|
+
exports: [...components],
|
|
72
|
+
schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA],
|
|
73
|
+
}]
|
|
74
|
+
}] });
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Generated bundle index. Do not edit.
|
|
78
|
+
*/
|
|
79
|
+
|
|
80
|
+
export { GramDeonHeaderComponent, GramDeonHeaderModule };
|
|
81
|
+
//# sourceMappingURL=components.header.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.header.mjs","sources":["../../../../packages/abc/header/src/default/index.ts","../../../../packages/abc/header/src/default/index.html","../../../../packages/abc/header/src/index.module.ts","../../../../packages/abc/header/components.header.ts"],"sourcesContent":["import { Component, OnInit, EventEmitter, Input, Output } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\n\n@Component({\n selector: 'gram-header',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n NzButtonModule,\n NzIconModule\n ]\n})\nexport class GramDeonHeaderComponent implements OnInit {\n @Input() isTitle: boolean = true;\n @Input() isTitleClick: boolean = false;\n\n @Input() isBack: boolean = true;\n\n @Input() title = '';\n\n /*\n 标题点击事件\n */\n @Output() titleClick: EventEmitter<any> = new EventEmitter();\n\n /*\n 按钮点击事件\n */\n @Output() btnBackClick: EventEmitter<any> = new EventEmitter();\n\n constructor() { }\n ngOnInit() { }\n\n btnClick() {\n this.btnBackClick.emit();\n }\n\n titleNameClick() {\n this.titleClick.emit();\n }\n}\n","<div class=\"left\">\n <div class=\"title\" *ngIf=\"isTitle\">\n <i nz-icon nzType=\"tag\"></i>\n <ng-container *ngIf=\"isTitleClick==true;else tmpTitle\">\n <a (click)=\"titleNameClick()\">{{title}}</a>\n </ng-container>\n <ng-template #tmpTitle> {{title}} </ng-template>\n </div>\n <div class=\"content\">\n <ng-content></ng-content>\n </div>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=right-content]\"></ng-content>\n</div>\n<div class=\"right\">\n <ng-content select=\"[name=button-content]\"></ng-content>\n <ng-container *ngIf=\"isBack\">\n <button type=\"button\" nz-button nzType=\"default\" (click)=\"btnClick()\"><i nz-icon nzType=\"rollback\"></i>返回</button>\n </ng-container>\n</div>\n","import { NgModule, NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { GramDeonHeaderComponent } from './default/index';\nconst components: any[] = [GramDeonHeaderComponent];\n@NgModule({\n imports: [CommonModule, NzButtonModule, NzIconModule,\n ...components],\n exports: [...components],\n schemas: [NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA],\n})\nexport class GramDeonHeaderModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;MAkBa,uBAAuB,CAAA;IACzB,OAAO,GAAY,IAAI;IACvB,YAAY,GAAY,KAAK;IAE7B,MAAM,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Q,KAAK,EAAA,CAAA;sBAAb;gBAKS,UAAU,EAAA,CAAA;sBAAnB;gBAKS,YAAY,EAAA,CAAA;sBAArB;;;AE7BH,MAAM,UAAU,GAAU,CAAC,uBAAuB,CAAC;MAOtC,oBAAoB,CAAA;wGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;yGAApB,oBAAoB,EAAA,OAAA,EAAA,CALrB,YAAY,EAAE,cAAc,EAAE,YAAY,EAF3B,uBAAuB,CAAA,EAAA,OAAA,EAAA,CAAvB,uBAAuB,CAAA,EAAA,CAAA;AAOrC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,oBAAoB,YALrB,YAAY,EAAE,cAAc,EAAE,YAAY,EAC/C,UAAU,CAAA,EAAA,CAAA;;4FAIJ,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,cAAc,EAAE,YAAY;AAClD,wBAAA,GAAG,UAAU,CAAC;AAChB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACxB,oBAAA,OAAO,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;AACpD,iBAAA;;;ACXD;;AAEG;;;;"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
+
import { NzAvatarModule } from 'ng-zorro-antd/avatar';
|
|
7
|
+
|
|
8
|
+
class GramDeonLineComponent {
|
|
9
|
+
title = '';
|
|
10
|
+
constructor() { }
|
|
11
|
+
ngOnInit() { }
|
|
12
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonLineComponent, isStandalone: true, selector: "gram-line", inputs: { title: "title" }, ngImport: i0, template: "<div class=\"panel-header\">\n <div class=\"title\" *ngIf=\"title && title!=null && title !=''\">{{title}}</div>\n\n <ng-content select=\"[name=custom]\"></ng-content>\n\n <div class=\"button\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"[name=second]\"></ng-content>\n", styles: [":host ::ng-deep{display:inline-block;width:100%;padding:12px 0 10px}:host ::ng-deep div[name=custom]{padding:0 0 0 20px}:host ::ng-deep div[name=custom] i{margin:0 5px 0 0}:host ::ng-deep .panel-header{display:flex;flex-direction:row;align-items:center;width:100%}:host ::ng-deep .panel-header .title{padding-right:15px;font-size:14px}:host ::ng-deep .panel-header .title:before{padding-right:8px;border-left:4px solid #ffbf00;border-radius:2px;content:\" \"}:host ::ng-deep .panel-header .button{flex:1;padding-right:15px;text-align:right}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineComponent, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{ selector: 'gram-line', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
18
|
+
CommonModule
|
|
19
|
+
], template: "<div class=\"panel-header\">\n <div class=\"title\" *ngIf=\"title && title!=null && title !=''\">{{title}}</div>\n\n <ng-content select=\"[name=custom]\"></ng-content>\n\n <div class=\"button\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"[name=second]\"></ng-content>\n", styles: [":host ::ng-deep{display:inline-block;width:100%;padding:12px 0 10px}:host ::ng-deep div[name=custom]{padding:0 0 0 20px}:host ::ng-deep div[name=custom] i{margin:0 5px 0 0}:host ::ng-deep .panel-header{display:flex;flex-direction:row;align-items:center;width:100%}:host ::ng-deep .panel-header .title{padding-right:15px;font-size:14px}:host ::ng-deep .panel-header .title:before{padding-right:8px;border-left:4px solid #ffbf00;border-radius:2px;content:\" \"}:host ::ng-deep .panel-header .button{flex:1;padding-right:15px;text-align:right}\n"] }]
|
|
20
|
+
}], ctorParameters: () => [], propDecorators: { title: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}] } });
|
|
23
|
+
|
|
24
|
+
const components = [GramDeonLineComponent];
|
|
25
|
+
class GramDeonLineModule {
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, GramDeonLineComponent], exports: [GramDeonLineComponent] });
|
|
28
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, components] });
|
|
29
|
+
}
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonLineModule, decorators: [{
|
|
31
|
+
type: NgModule,
|
|
32
|
+
args: [{
|
|
33
|
+
imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule,
|
|
34
|
+
...components],
|
|
35
|
+
exports: [...components],
|
|
36
|
+
}]
|
|
37
|
+
}] });
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Generated bundle index. Do not edit.
|
|
41
|
+
*/
|
|
42
|
+
|
|
43
|
+
export { GramDeonLineComponent, GramDeonLineModule };
|
|
44
|
+
//# sourceMappingURL=components.line.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.line.mjs","sources":["../../../../packages/abc/line/src/default/index.ts","../../../../packages/abc/line/src/default/index.html","../../../../packages/abc/line/src/index.module.ts","../../../../packages/abc/line/components.line.ts"],"sourcesContent":["import { Component, OnInit, Input, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from \"@angular/common\";\n\n@Component({\n selector: 'gram-line',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule\n ]\n})\nexport class GramDeonLineComponent implements OnInit {\n @Input() title = '';\n\n constructor() { }\n ngOnInit() { }\n}\n","<div class=\"panel-header\">\n <div class=\"title\" *ngIf=\"title && title!=null && title !=''\">{{title}}</div>\n\n <ng-content select=\"[name=custom]\"></ng-content>\n\n <div class=\"button\">\n <ng-content></ng-content>\n </div>\n</div>\n\n<ng-content select=\"[name=second]\"></ng-content>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { NzAvatarModule } from 'ng-zorro-antd/avatar';\n\nimport { GramDeonLineComponent } from './default/index';\n\nconst components: any[] = [GramDeonLineComponent];\n\n@NgModule({\n imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule,\n ...components],\n exports: [...components],\n})\nexport class GramDeonLineModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAYa,qBAAqB,CAAA;IACvB,KAAK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EAAA,CAArB,qBAAqB,CAAA,EAAA,CAAA;yGAOnC,kBAAkB,EAAA,OAAA,EAAA,CAJnB,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc,EACnE,UAAU,CAAA,EAAA,CAAA;;4FAGJ,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAL9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc;AACtE,wBAAA,GAAG,UAAU,CAAC;AAChB,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule } from '@angular/core';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
class GramDeonNoRoleComponent {
|
|
6
|
+
ngOnInit() { }
|
|
7
|
+
ngAfterViewInit() { }
|
|
8
|
+
constructor() { }
|
|
9
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonNoRoleComponent, isStandalone: true, selector: "gram-no-role", ngImport: i0, template: "<div class=\"no-role\">\n <div class=\"image\"><img src=\"assets/images/default/empty4.png\" /></div>\n <div class=\"desc\"><span>\u6682\u65E0\u6743\u9650</span></div>\n</div>\n", styles: [":host ::ng-deep{display:inline-block;width:180px;margin:auto;text-align:center}:host ::ng-deep .image{width:150px;display:flex;margin:auto}:host ::ng-deep img{width:100%;margin:auto;text-align:center}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11
|
+
}
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleComponent, decorators: [{
|
|
13
|
+
type: Component,
|
|
14
|
+
args: [{ selector: 'gram-no-role', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"no-role\">\n <div class=\"image\"><img src=\"assets/images/default/empty4.png\" /></div>\n <div class=\"desc\"><span>\u6682\u65E0\u6743\u9650</span></div>\n</div>\n", styles: [":host ::ng-deep{display:inline-block;width:180px;margin:auto;text-align:center}:host ::ng-deep .image{width:150px;display:flex;margin:auto}:host ::ng-deep img{width:100%;margin:auto;text-align:center}\n"] }]
|
|
15
|
+
}], ctorParameters: () => [] });
|
|
16
|
+
|
|
17
|
+
const components = [GramDeonNoRoleComponent];
|
|
18
|
+
class GramDeonNoRoleModule {
|
|
19
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
20
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleModule, imports: [CommonModule, GramDeonNoRoleComponent], exports: [GramDeonNoRoleComponent] });
|
|
21
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleModule, imports: [CommonModule] });
|
|
22
|
+
}
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonNoRoleModule, decorators: [{
|
|
24
|
+
type: NgModule,
|
|
25
|
+
args: [{
|
|
26
|
+
imports: [CommonModule,
|
|
27
|
+
...components],
|
|
28
|
+
exports: [...components],
|
|
29
|
+
}]
|
|
30
|
+
}] });
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Generated bundle index. Do not edit.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
export { GramDeonNoRoleComponent, GramDeonNoRoleModule };
|
|
37
|
+
//# sourceMappingURL=components.no-role.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.no-role.mjs","sources":["../../../../packages/abc/no-role/src/default/index.ts","../../../../packages/abc/no-role/src/default/index.html","../../../../packages/abc/no-role/src/index.module.ts","../../../../packages/abc/no-role/components.no-role.ts"],"sourcesContent":["import { Component, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\n\n@Component({\n selector: 'gram-no-role',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GramDeonNoRoleComponent implements OnInit, AfterViewInit {\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n constructor() { }\n}\n","<div class=\"no-role\">\n <div class=\"image\"><img src=\"assets/images/default/empty4.png\" /></div>\n <div class=\"desc\"><span>暂无权限</span></div>\n</div>\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { GramDeonNoRoleComponent } from './default/index';\n\nconst components: any[] = [GramDeonNoRoleComponent];\n\n@NgModule({\n\n imports: [CommonModule,\n ...components],\n exports: [...components],\n})\nexport class GramDeonNoRoleModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,uBAAuB,CAAA;AAClC,IAAA,QAAQ;AAER,IAAA,eAAe;AAEf,IAAA,WAAA,GAAA;wGALW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,uBAAuB,wECRpC,qLAIA,EAAA,MAAA,EAAA,CAAA,4MAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAA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