cat-qw-lib 0.0.2 → 0.0.3
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/fesm2022/cat-qw-lib.mjs +2033 -0
- package/fesm2022/cat-qw-lib.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/admin/action-admin/action-admin.module.d.ts +9 -0
- package/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.d.ts +5 -0
- package/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.d.ts +12 -0
- package/lib/admin/action-admin/models/action.model.d.ts +9 -0
- package/lib/admin/action-admin/state/action.service.d.ts +13 -0
- package/lib/admin/action-admin/state/action.store.d.ts +8 -0
- package/lib/admin/api-admin/api-admin.module.d.ts +18 -0
- package/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.d.ts +30 -0
- package/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.d.ts +10 -0
- package/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.d.ts +14 -0
- package/lib/admin/api-admin/models/api-admin.model.d.ts +15 -0
- package/lib/admin/api-admin/models/credentials.model.d.ts +4 -0
- package/lib/admin/api-admin/state/api-admin.service.d.ts +16 -0
- package/lib/admin/api-admin/state/api-admin.store.d.ts +8 -0
- package/lib/shared/_base/base-control/base-control.component.d.ts +22 -0
- package/lib/shared/_base/base-form/base-form.component.d.ts +27 -0
- package/lib/shared/_base/base-list/base-list.component.d.ts +16 -0
- package/lib/shared/components/form-container/form-container.component.d.ts +26 -0
- package/lib/shared/components/sidebar/sidebar.component.d.ts +13 -0
- package/lib/shared/constant/CSS.d.ts +11 -0
- package/lib/shared/constant/DATASOURCES.d.ts +10 -0
- package/lib/shared/constant/ERROR.d.ts +3 -0
- package/lib/shared/constant/HEADERS.d.ts +4 -0
- package/lib/shared/constant/LIST-CONFIG.d.ts +8 -0
- package/lib/shared/constant/LOOKUPS.d.ts +3 -0
- package/lib/shared/constant/ROUTES.d.ts +12 -0
- package/lib/shared/constant/SHARED.d.ts +565 -0
- package/lib/shared/constant/URLS.d.ts +3 -0
- package/lib/shared/controls/button/button.component.d.ts +6 -0
- package/lib/shared/controls/check-box/check-box.component.d.ts +6 -0
- package/lib/shared/controls/date/date.component.d.ts +12 -0
- package/lib/shared/controls/dropdown/dropdown.component.d.ts +19 -0
- package/lib/shared/controls/file-upload/file-upload.component.d.ts +7 -0
- package/lib/shared/controls/password/password.component.d.ts +9 -0
- package/lib/shared/controls/text-area/text-area.component.d.ts +8 -0
- package/lib/shared/controls/text-box/text-box.component.d.ts +7 -0
- package/lib/shared/controls/username/username.component.d.ts +6 -0
- package/{src/lib/shared/index.ts → lib/shared/index.d.ts} +30 -35
- package/lib/shared/models/attribute.model.d.ts +41 -0
- package/lib/shared/models/base.model.d.ts +3 -0
- package/lib/shared/models/list.model.d.ts +11 -0
- package/lib/shared/pipe/capitalize-words.pipe.d.ts +7 -0
- package/lib/shared/services/app-config.service.d.ts +12 -0
- package/lib/shared/services/auth/auth.guard.d.ts +12 -0
- package/lib/shared/services/date-parser.service.d.ts +7 -0
- package/lib/shared/services/list.service.d.ts +13 -0
- package/lib/shared/services/session.service.d.ts +13 -0
- package/lib/shared/services/table.builder.d.ts +11 -0
- package/lib/shared/services/validator.service.d.ts +7 -0
- package/lib/shared/shared.module.d.ts +32 -0
- package/lib/shared/state/base.query.d.ts +19 -0
- package/lib/shared/state/base.service.d.ts +27 -0
- package/lib/shared/state/base.state.d.ts +4 -0
- package/lib/shared/state/base.store.d.ts +24 -0
- package/lib/shared/table-primary/components/table-primary.component.d.ts +26 -0
- package/lib/shared/table-primary/models/table-primary-header.model.d.ts +6 -0
- package/lib/shared/table-primary/models/table-primary.model.d.ts +5 -0
- package/package.json +25 -16
- package/{src/public-api.ts → public-api.d.ts} +6 -11
- package/ng-package.json +0 -10
- package/src/lib/admin/action-admin/action-admin.module.ts +0 -16
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.html +0 -1
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.scss +0 -0
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.spec.ts +0 -23
- package/src/lib/admin/action-admin/components/admin-action-form/admin-action-form.component.ts +0 -11
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.html +0 -5
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.scss +0 -0
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.spec.ts +0 -23
- package/src/lib/admin/action-admin/components/admin-action-list/admin-action-list.component.ts +0 -24
- package/src/lib/admin/action-admin/models/action.model.ts +0 -12
- package/src/lib/admin/action-admin/state/action.query.ts +0 -11
- package/src/lib/admin/action-admin/state/action.service.ts +0 -18
- package/src/lib/admin/action-admin/state/action.state.ts +0 -14
- package/src/lib/admin/action-admin/state/action.store.ts +0 -14
- package/src/lib/admin/admin.module.ts +0 -22
- package/src/lib/admin/api-admin/api-admin.module.ts +0 -39
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.html +0 -96
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.scss +0 -6
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/api-admin/components/api-admin-form/api-admin-form.component.ts +0 -94
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.html +0 -6
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.scss +0 -0
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/api-admin/components/api-admin-list/api-admin-list.component.ts +0 -17
- package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.html +0 -29
- package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.scss +0 -0
- package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.spec.ts +0 -21
- package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.ts +0 -25
- package/src/lib/admin/api-admin/models/api-admin.model.ts +0 -16
- package/src/lib/admin/api-admin/models/credentials.model.ts +0 -4
- package/src/lib/admin/api-admin/state/api-admin.query.ts +0 -14
- package/src/lib/admin/api-admin/state/api-admin.service.ts +0 -31
- package/src/lib/admin/api-admin/state/api-admin.state.ts +0 -14
- package/src/lib/admin/api-admin/state/api-admin.store.ts +0 -13
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.css +0 -0
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.html +0 -1
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/dd-admin/components/dd-admin-form/dd-admin-form.component.ts +0 -11
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.css +0 -0
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.html +0 -1
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/dd-admin/components/dd-admin-list/dd-admin-list.component.ts +0 -11
- package/src/lib/admin/dd-admin/dd-admin.module.ts +0 -12
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.css +0 -0
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.html +0 -1
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.ts +0 -11
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.css +0 -0
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.html +0 -1
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/queue-admin/components/queue-admin-list/queue-admin-list.component.ts +0 -11
- package/src/lib/admin/queue-admin/queue-admin.module.ts +0 -12
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.css +0 -0
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.html +0 -1
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.spec.ts +0 -23
- package/src/lib/admin/widget-admin/components/widget-admin-form/widget-admin-form.component.ts +0 -11
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.css +0 -0
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.html +0 -1
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.spec.ts +0 -23
- package/src/lib/admin/widget-admin/components/widget-admin-list/widget-admin-list.component.ts +0 -11
- package/src/lib/admin/widget-admin/widget-admin.module.ts +0 -12
- package/src/lib/shared/_base/base-control/base-control.component.html +0 -1
- package/src/lib/shared/_base/base-control/base-control.component.scss +0 -0
- package/src/lib/shared/_base/base-control/base-control.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-control/base-control.component.ts +0 -55
- package/src/lib/shared/_base/base-form/base-form.component.html +0 -1
- package/src/lib/shared/_base/base-form/base-form.component.scss +0 -0
- package/src/lib/shared/_base/base-form/base-form.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-form/base-form.component.ts +0 -81
- package/src/lib/shared/_base/base-list/base-list.component.html +0 -1
- package/src/lib/shared/_base/base-list/base-list.component.scss +0 -0
- package/src/lib/shared/_base/base-list/base-list.component.spec.ts +0 -21
- package/src/lib/shared/_base/base-list/base-list.component.ts +0 -31
- package/src/lib/shared/components/form-container/form-container.component.html +0 -55
- package/src/lib/shared/components/form-container/form-container.component.scss +0 -108
- package/src/lib/shared/components/form-container/form-container.component.spec.ts +0 -21
- package/src/lib/shared/components/form-container/form-container.component.ts +0 -55
- package/src/lib/shared/components/sidebar/sidebar.component.html +0 -13
- package/src/lib/shared/components/sidebar/sidebar.component.scss +0 -45
- package/src/lib/shared/components/sidebar/sidebar.component.spec.ts +0 -21
- package/src/lib/shared/components/sidebar/sidebar.component.ts +0 -26
- package/src/lib/shared/constant/CSS.ts +0 -9
- package/src/lib/shared/constant/DATASOURCES.ts +0 -10
- package/src/lib/shared/constant/ERROR.ts +0 -3
- package/src/lib/shared/constant/HEADERS.ts +0 -4
- package/src/lib/shared/constant/LIST-CONFIG.ts +0 -10
- package/src/lib/shared/constant/LOOKUPS.ts +0 -3
- package/src/lib/shared/constant/ROUTES.ts +0 -12
- package/src/lib/shared/constant/SHARED.ts +0 -603
- package/src/lib/shared/constant/URLS.ts +0 -3
- package/src/lib/shared/controls/button/button.component.html +0 -25
- package/src/lib/shared/controls/button/button.component.scss +0 -0
- package/src/lib/shared/controls/button/button.component.spec.ts +0 -21
- package/src/lib/shared/controls/button/button.component.ts +0 -15
- package/src/lib/shared/controls/check-box/check-box.component.html +0 -22
- package/src/lib/shared/controls/check-box/check-box.component.scss +0 -32
- package/src/lib/shared/controls/check-box/check-box.component.spec.ts +0 -26
- package/src/lib/shared/controls/check-box/check-box.component.ts +0 -16
- package/src/lib/shared/controls/date/date.component.html +0 -43
- package/src/lib/shared/controls/date/date.component.scss +0 -0
- package/src/lib/shared/controls/date/date.component.spec.ts +0 -21
- package/src/lib/shared/controls/date/date.component.ts +0 -42
- package/src/lib/shared/controls/dropdown/dropdown.component.html +0 -28
- package/src/lib/shared/controls/dropdown/dropdown.component.scss +0 -12
- package/src/lib/shared/controls/dropdown/dropdown.component.ts +0 -71
- package/src/lib/shared/controls/file-upload/file-upload.component.html +0 -18
- package/src/lib/shared/controls/file-upload/file-upload.component.scss +0 -0
- package/src/lib/shared/controls/file-upload/file-upload.component.spec.ts +0 -21
- package/src/lib/shared/controls/file-upload/file-upload.component.ts +0 -19
- package/src/lib/shared/controls/number-feild/number-feild.component.html +0 -39
- package/src/lib/shared/controls/number-feild/number-feild.component.scss +0 -13
- package/src/lib/shared/controls/number-feild/number-feild.component.spec.ts +0 -21
- package/src/lib/shared/controls/number-feild/number-feild.component.ts +0 -35
- package/src/lib/shared/controls/password/password.component.html +0 -22
- package/src/lib/shared/controls/password/password.component.scss +0 -0
- package/src/lib/shared/controls/password/password.component.spec.ts +0 -28
- package/src/lib/shared/controls/password/password.component.ts +0 -24
- package/src/lib/shared/controls/text-area/text-area.component.html +0 -36
- package/src/lib/shared/controls/text-area/text-area.component.scss +0 -22
- package/src/lib/shared/controls/text-area/text-area.component.spec.ts +0 -23
- package/src/lib/shared/controls/text-area/text-area.component.ts +0 -25
- package/src/lib/shared/controls/text-box/text-box.component.html +0 -44
- package/src/lib/shared/controls/text-box/text-box.component.scss +0 -25
- package/src/lib/shared/controls/text-box/text-box.component.spec.ts +0 -30
- package/src/lib/shared/controls/text-box/text-box.component.ts +0 -26
- package/src/lib/shared/controls/username/username.component.html +0 -16
- package/src/lib/shared/controls/username/username.component.scss +0 -0
- package/src/lib/shared/controls/username/username.component.spec.ts +0 -29
- package/src/lib/shared/controls/username/username.component.ts +0 -17
- package/src/lib/shared/models/attribute.model.ts +0 -42
- package/src/lib/shared/models/base.model.ts +0 -3
- package/src/lib/shared/models/list.model.ts +0 -27
- package/src/lib/shared/models/message.model.ts +0 -4
- package/src/lib/shared/pipe/capitalize-words.pipe.spec.ts +0 -8
- package/src/lib/shared/pipe/capitalize-words.pipe.ts +0 -17
- package/src/lib/shared/services/app-config.service.spec.ts +0 -16
- package/src/lib/shared/services/app-config.service.ts +0 -25
- package/src/lib/shared/services/auth/auth.guard.spec.ts +0 -17
- package/src/lib/shared/services/auth/auth.guard.ts +0 -25
- package/src/lib/shared/services/data-transformer.service.spec.ts +0 -16
- package/src/lib/shared/services/data-transformer.service.ts +0 -41
- package/src/lib/shared/services/date-parser.service.spec.ts +0 -16
- package/src/lib/shared/services/date-parser.service.ts +0 -54
- package/src/lib/shared/services/list.service.spec.ts +0 -16
- package/src/lib/shared/services/list.service.ts +0 -53
- package/src/lib/shared/services/session.service.spec.ts +0 -16
- package/src/lib/shared/services/session.service.ts +0 -37
- package/src/lib/shared/services/table.builder.ts +0 -38
- package/src/lib/shared/services/validator.service.spec.ts +0 -16
- package/src/lib/shared/services/validator.service.ts +0 -13
- package/src/lib/shared/shared.module.ts +0 -62
- package/src/lib/shared/state/base.query.ts +0 -48
- package/src/lib/shared/state/base.service.ts +0 -69
- package/src/lib/shared/state/base.state.ts +0 -6
- package/src/lib/shared/state/base.store.ts +0 -56
- package/src/lib/shared/table-primary/components/table-primary.component.html +0 -56
- package/src/lib/shared/table-primary/components/table-primary.component.scss +0 -187
- package/src/lib/shared/table-primary/components/table-primary.component.spec.ts +0 -21
- package/src/lib/shared/table-primary/components/table-primary.component.ts +0 -71
- package/src/lib/shared/table-primary/models/table-primary-header.model.ts +0 -7
- package/src/lib/shared/table-primary/models/table-primary.model.ts +0 -6
- package/src/lib/widget/components/widget-body/widget-body.component.html +0 -1
- package/src/lib/widget/components/widget-body/widget-body.component.scss +0 -0
- package/src/lib/widget/components/widget-body/widget-body.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-body/widget-body.component.ts +0 -11
- package/src/lib/widget/components/widget-container/widget-container.component.css +0 -0
- package/src/lib/widget/components/widget-container/widget-container.component.html +0 -1
- package/src/lib/widget/components/widget-container/widget-container.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-container/widget-container.component.ts +0 -11
- package/src/lib/widget/components/widget-footer/widget-footer.component.css +0 -0
- package/src/lib/widget/components/widget-footer/widget-footer.component.html +0 -1
- package/src/lib/widget/components/widget-footer/widget-footer.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-footer/widget-footer.component.ts +0 -11
- package/src/lib/widget/components/widget-header/widget-header.component.css +0 -0
- package/src/lib/widget/components/widget-header/widget-header.component.html +0 -1
- package/src/lib/widget/components/widget-header/widget-header.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-header/widget-header.component.ts +0 -11
- package/src/lib/widget/components/widget-item/widget-item.component.css +0 -0
- package/src/lib/widget/components/widget-item/widget-item.component.html +0 -1
- package/src/lib/widget/components/widget-item/widget-item.component.spec.ts +0 -23
- package/src/lib/widget/components/widget-item/widget-item.component.ts +0 -11
- package/src/lib/widget/widget.module.ts +0 -12
- package/tsconfig.lib.json +0 -15
- package/tsconfig.lib.prod.json +0 -11
- package/tsconfig.spec.json +0 -15
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { StoreConfig } from '@datorama/akita';
|
|
3
|
-
import { BaseStore } from '../../../shared/state/base.store';
|
|
4
|
-
import { ActionModel } from '../models/action.model';
|
|
5
|
-
|
|
6
|
-
@Injectable({ providedIn: 'root' })
|
|
7
|
-
@StoreConfig({ name: 'action' })
|
|
8
|
-
export class ActionStore extends BaseStore<ActionModel> {
|
|
9
|
-
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { AppConfigService } from '../shared';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@NgModule({
|
|
8
|
-
declarations: [],
|
|
9
|
-
imports: [
|
|
10
|
-
CommonModule
|
|
11
|
-
],
|
|
12
|
-
providers: [
|
|
13
|
-
{
|
|
14
|
-
provide: APP_INITIALIZER,
|
|
15
|
-
useFactory: (configService: AppConfigService) => () =>
|
|
16
|
-
configService.loadAppConfig(),
|
|
17
|
-
deps: [AppConfigService],
|
|
18
|
-
multi: true,
|
|
19
|
-
},
|
|
20
|
-
],
|
|
21
|
-
})
|
|
22
|
-
export class AdminModule { }
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { APP_INITIALIZER, NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { ApiAdminFormComponent } from './components/api-admin-form/api-admin-form.component';
|
|
4
|
-
import { ApiAdminListComponent } from './components/api-admin-list/api-admin-list.component';
|
|
5
|
-
import { FormsModule } from '@angular/forms';
|
|
6
|
-
import { AppConfigService, PasswordComponent, SharedModule, TablePrimaryComponent, UsernameComponent } from '../../shared';
|
|
7
|
-
import { HttpClientModule } from '@angular/common/http';
|
|
8
|
-
import { ButtonModule } from 'primeng/button';
|
|
9
|
-
import { ApiCredentialFormComponent } from './components/api-credential-form/api-credential-form.component';
|
|
10
|
-
import { TextAreaComponent } from '../../shared/controls/text-area/text-area.component';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
@NgModule({
|
|
14
|
-
declarations: [ApiAdminFormComponent,ApiCredentialFormComponent ,ApiAdminListComponent],
|
|
15
|
-
imports: [
|
|
16
|
-
CommonModule,
|
|
17
|
-
FormsModule,
|
|
18
|
-
SharedModule,
|
|
19
|
-
HttpClientModule,
|
|
20
|
-
ButtonModule,
|
|
21
|
-
UsernameComponent,
|
|
22
|
-
PasswordComponent,
|
|
23
|
-
TextAreaComponent,
|
|
24
|
-
TablePrimaryComponent
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
],
|
|
28
|
-
exports : [ApiAdminFormComponent, ApiAdminListComponent],
|
|
29
|
-
providers: [
|
|
30
|
-
{
|
|
31
|
-
provide: APP_INITIALIZER,
|
|
32
|
-
useFactory: (configService: AppConfigService) => () =>
|
|
33
|
-
configService.loadAppConfig(),
|
|
34
|
-
deps: [AppConfigService],
|
|
35
|
-
multi: true,
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
})
|
|
39
|
-
export class ApiAdminModule { }
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
<form-container
|
|
2
|
-
[headerText]="'Queue / Api Management Form'"
|
|
3
|
-
[messages]="messages"
|
|
4
|
-
(onSave)="handleSubmit()"
|
|
5
|
-
[showSave]="true"
|
|
6
|
-
>
|
|
7
|
-
<div class="card p-fluid p-formgrid grid ">
|
|
8
|
-
<h4 class="font-bold col-12 md:col-12">Api Management Form</h4>
|
|
9
|
-
<div class="col-12 md:col-6">
|
|
10
|
-
<text-box
|
|
11
|
-
[store]="apiAdminStore"
|
|
12
|
-
[record]="record"
|
|
13
|
-
[attributeModel]="{
|
|
14
|
-
readonly: false,
|
|
15
|
-
name: 'name',
|
|
16
|
-
isRequired: true,
|
|
17
|
-
displayText: 'Name',
|
|
18
|
-
placeholder: 'Enter Name'
|
|
19
|
-
}"
|
|
20
|
-
></text-box>
|
|
21
|
-
</div>
|
|
22
|
-
<div class="col-12 md:col-6">
|
|
23
|
-
<text-box
|
|
24
|
-
[store]="apiAdminStore"
|
|
25
|
-
[record]="record"
|
|
26
|
-
[attributeModel]="{
|
|
27
|
-
readonly: false,
|
|
28
|
-
name: 'path',
|
|
29
|
-
isRequired: true,
|
|
30
|
-
displayText: 'Path',
|
|
31
|
-
placeholder: 'Enter Path'
|
|
32
|
-
}"
|
|
33
|
-
></text-box>
|
|
34
|
-
</div>
|
|
35
|
-
|
|
36
|
-
<div class="col-12 md:col-2">
|
|
37
|
-
<button
|
|
38
|
-
pButton
|
|
39
|
-
pRipple
|
|
40
|
-
type="button"
|
|
41
|
-
label="Validate"
|
|
42
|
-
(click)="hanldeValidateApi()"
|
|
43
|
-
class="p-button-raised"
|
|
44
|
-
></button>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div class="card p-fluid p-formgrid grid ">
|
|
48
|
-
<h4 class="font-bold">Other Details</h4>
|
|
49
|
-
<div class="col-12 md:col-12 p-0 m-0">
|
|
50
|
-
<api-credential-form [record]="record"></api-credential-form>
|
|
51
|
-
</div>
|
|
52
|
-
<div class="col-12 md:col-6">
|
|
53
|
-
<dropdown
|
|
54
|
-
[store]="apiAdminStore"
|
|
55
|
-
[record]="record"
|
|
56
|
-
[attributeModel]="{
|
|
57
|
-
name: 'parentApiConfigID',
|
|
58
|
-
dataSource: 'apiConfig',
|
|
59
|
-
listLabelProperty: 'name',
|
|
60
|
-
listValueProperty: '_id',
|
|
61
|
-
displayText: 'Select Parent',
|
|
62
|
-
placeholder: 'Select Parent API',
|
|
63
|
-
childListName: 'parentKey',
|
|
64
|
-
childListKey: 'name'
|
|
65
|
-
}"
|
|
66
|
-
(onInput)="handleModelChange($event)"
|
|
67
|
-
></dropdown>
|
|
68
|
-
|
|
69
|
-
</div>
|
|
70
|
-
<div class="col-12 md:col-6">
|
|
71
|
-
<dropdown
|
|
72
|
-
[store]="apiAdminStore"
|
|
73
|
-
[record]="record"
|
|
74
|
-
[attributeModel]="{
|
|
75
|
-
name:'parentKey',
|
|
76
|
-
displayText : 'Property',
|
|
77
|
-
placeholder: 'Select Property',
|
|
78
|
-
options: apiPropertyList
|
|
79
|
-
}"></dropdown>
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
<div class="col-12 md:col-12">
|
|
83
|
-
<text-area
|
|
84
|
-
[store]="apiAdminStore"
|
|
85
|
-
[record]="record"
|
|
86
|
-
[attributeModel]="{
|
|
87
|
-
readonly: false,
|
|
88
|
-
name: 'description',
|
|
89
|
-
isRequired: false,
|
|
90
|
-
displayText: 'Description',
|
|
91
|
-
placeholder: 'Enter Description'
|
|
92
|
-
}"
|
|
93
|
-
></text-area>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</form-container>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { ApiAdminFormComponent } from './api-admin-form.component';
|
|
4
|
-
|
|
5
|
-
describe('ApiAdminFormComponent', () => {
|
|
6
|
-
let component: ApiAdminFormComponent;
|
|
7
|
-
let fixture: ComponentFixture<ApiAdminFormComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [ApiAdminFormComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(ApiAdminFormComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { Component, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
-
import { Message, SelectItem } from 'primeng/api';
|
|
4
|
-
import { BaseFormComponent, SHARED } from '../../../../shared';
|
|
5
|
-
import { ValidatorService } from '../../../../shared/services/validator.service';
|
|
6
|
-
import { Credentials } from '../../models/credentials.model';
|
|
7
|
-
import { ROUTES } from '../../../../shared/constant/ROUTES';
|
|
8
|
-
import { ApiAdminService } from '../../state/api-admin.service';
|
|
9
|
-
import { ApiAdminStore } from '../../state/api-admin.store';
|
|
10
|
-
import { ApiAdminModel } from '../../models/api-admin.model';
|
|
11
|
-
import { Subscription } from 'rxjs';
|
|
12
|
-
@Component({
|
|
13
|
-
selector: 'lib-api-admin-form',
|
|
14
|
-
templateUrl: './api-admin-form.component.html',
|
|
15
|
-
styleUrl: './api-admin-form.component.scss',
|
|
16
|
-
standalone: false
|
|
17
|
-
})
|
|
18
|
-
export class ApiAdminFormComponent extends BaseFormComponent<ApiAdminModel> implements OnInit , OnDestroy{
|
|
19
|
-
|
|
20
|
-
messages: Message[] = SHARED.EMPTYARRAY;
|
|
21
|
-
name: string = SHARED.EMPTY;
|
|
22
|
-
selectedParentId!: string;
|
|
23
|
-
filteredRecords: string[] = SHARED.EMPTYARRAY;
|
|
24
|
-
dropdownOptions: any[] = SHARED.EMPTYARRAY;
|
|
25
|
-
apiPropertyList!: SelectItem[];
|
|
26
|
-
private recordChangeSubscription: Subscription | null = null;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
constructor(public apiAdminService: ApiAdminService, override validatorService: ValidatorService, override router: Router, override activatedRoute: ActivatedRoute, public apiAdminStore: ApiAdminStore) {
|
|
30
|
-
super(apiAdminService, validatorService, router, activatedRoute)
|
|
31
|
-
this.record.credentials = new Credentials();
|
|
32
|
-
this.record.isActive = true;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
override ngOnInit(): void {
|
|
36
|
-
super.ngOnInit();
|
|
37
|
-
this.recordChangeSubscription = this.recordChange.subscribe((res) => {
|
|
38
|
-
if (this.record && this.record.parentApiConfigID) {
|
|
39
|
-
this.apiPropertyList = [{
|
|
40
|
-
label: this.record.parentKey,
|
|
41
|
-
value: this.record.parentKey
|
|
42
|
-
}]
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
hanldeValidateApi() {
|
|
48
|
-
const payload = {
|
|
49
|
-
apiPath: this.record.path,
|
|
50
|
-
credentials: SHARED.token
|
|
51
|
-
}
|
|
52
|
-
if (this.record.path) {
|
|
53
|
-
this.apiAdminService.checkApiByPathName(ROUTES.VALIDATEAPI, payload).subscribe({
|
|
54
|
-
next: (res: any) => {
|
|
55
|
-
if (res) {
|
|
56
|
-
this.messages = [{ severity: SHARED.SUCCESS, detail: res.message }];
|
|
57
|
-
setTimeout(() => {
|
|
58
|
-
this.messages = SHARED.EMPTYARRAY
|
|
59
|
-
}, 3000);
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
error: (error: any) => {
|
|
63
|
-
this.messages = [{ severity: SHARED.ERROR, detail: error.error.message }];
|
|
64
|
-
setTimeout(() => {
|
|
65
|
-
this.messages = SHARED.EMPTYARRAY;
|
|
66
|
-
}, 3000);
|
|
67
|
-
},
|
|
68
|
-
});
|
|
69
|
-
} else {
|
|
70
|
-
this.messages = [{ severity: SHARED.ERROR, detail: SHARED.INVALID_API_PATH }];
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
handleModelChange(event: string) {
|
|
75
|
-
if (event) {
|
|
76
|
-
this.apiAdminService.getById(event).subscribe((res: any) => {
|
|
77
|
-
this.apiPropertyList = res.properties.map((property: string) => ({
|
|
78
|
-
label: property,
|
|
79
|
-
value: property
|
|
80
|
-
}));
|
|
81
|
-
})
|
|
82
|
-
} else {
|
|
83
|
-
this.record.parentKey = SHARED.EMPTY;
|
|
84
|
-
this.apiPropertyList = SHARED.EMPTYARRAY;
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
ngOnDestroy(): void {
|
|
89
|
-
if (this.recordChangeSubscription) {
|
|
90
|
-
this.recordChangeSubscription.unsubscribe();
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
File without changes
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { ApiAdminListComponent } from './api-admin-list.component';
|
|
4
|
-
|
|
5
|
-
describe('ApiAdminListComponent', () => {
|
|
6
|
-
let component: ApiAdminListComponent;
|
|
7
|
-
let fixture: ComponentFixture<ApiAdminListComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [ApiAdminListComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(ApiAdminListComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { BaseListComponent, TableBuilder, apiHiddenHeaderList } from '../../../../shared';
|
|
3
|
-
import { ApiAdminModel } from '../../models/api-admin.model';
|
|
4
|
-
import { ApiAdminService } from '../../state/api-admin.service';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'lib-api-admin-list',
|
|
8
|
-
templateUrl: './api-admin-list.component.html',
|
|
9
|
-
styleUrl: './api-admin-list.component.scss',
|
|
10
|
-
standalone : false
|
|
11
|
-
})
|
|
12
|
-
export class ApiAdminListComponent extends BaseListComponent<ApiAdminModel> {
|
|
13
|
-
constructor(apiAdminService : ApiAdminService, private tableBuilder : TableBuilder ){
|
|
14
|
-
super(apiAdminService, tableBuilder)
|
|
15
|
-
this.tableBuilder.hiddenHeaders = apiHiddenHeaderList;
|
|
16
|
-
}
|
|
17
|
-
}
|
package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<div class="col-12 flex md:col-12">
|
|
2
|
-
|
|
3
|
-
<div class="col-12 md:col-6">
|
|
4
|
-
<username
|
|
5
|
-
[store]="apiAdminStore"
|
|
6
|
-
[record]="credentials"
|
|
7
|
-
[attributeModel]="{
|
|
8
|
-
readonly: false,
|
|
9
|
-
name: 'email',
|
|
10
|
-
isRequired: true,
|
|
11
|
-
displayText: 'Email',
|
|
12
|
-
placeholder: 'Enter Email'
|
|
13
|
-
}"
|
|
14
|
-
></username>
|
|
15
|
-
</div>
|
|
16
|
-
<div class="col-12 md:col-6">
|
|
17
|
-
<password
|
|
18
|
-
[store]="apiAdminStore"
|
|
19
|
-
[record]="credentials"
|
|
20
|
-
[attributeModel]="{
|
|
21
|
-
readonly: false,
|
|
22
|
-
name: 'password',
|
|
23
|
-
isRequired: true,
|
|
24
|
-
displayText: 'password',
|
|
25
|
-
placeholder: 'Enter Password'
|
|
26
|
-
}"
|
|
27
|
-
></password>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.scss
DELETED
|
File without changes
|
package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.spec.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
import { ApiCredentialFormComponent } from './api-credential-form.component';
|
|
3
|
-
|
|
4
|
-
describe('ApiCredentialFormComponent', () => {
|
|
5
|
-
let component: ApiCredentialFormComponent;
|
|
6
|
-
let fixture: ComponentFixture<ApiCredentialFormComponent>;
|
|
7
|
-
|
|
8
|
-
beforeEach(async () => {
|
|
9
|
-
await TestBed.configureTestingModule({
|
|
10
|
-
imports: [ApiCredentialFormComponent],
|
|
11
|
-
}).compileComponents();
|
|
12
|
-
|
|
13
|
-
fixture = TestBed.createComponent(ApiCredentialFormComponent);
|
|
14
|
-
component = fixture.componentInstance;
|
|
15
|
-
fixture.detectChanges();
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
it('should create', () => {
|
|
19
|
-
expect(component).toBeTruthy();
|
|
20
|
-
});
|
|
21
|
-
});
|
package/src/lib/admin/api-admin/components/api-credential-form/api-credential-form.component.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component, Input, OnChanges } from '@angular/core';
|
|
2
|
-
import { Credentials } from '../../models/credentials.model';
|
|
3
|
-
import { ApiAdminStore } from '../../state/api-admin.store';
|
|
4
|
-
import { ApiAdminModel } from '../../models/api-admin.model';
|
|
5
|
-
|
|
6
|
-
@Component({
|
|
7
|
-
selector: 'api-credential-form',
|
|
8
|
-
templateUrl: './api-credential-form.component.html',
|
|
9
|
-
styleUrl: './api-credential-form.component.scss',
|
|
10
|
-
standalone : false
|
|
11
|
-
})
|
|
12
|
-
export class ApiCredentialFormComponent implements OnChanges {
|
|
13
|
-
|
|
14
|
-
@Input() record!: ApiAdminModel;
|
|
15
|
-
|
|
16
|
-
credentials!: Credentials;
|
|
17
|
-
|
|
18
|
-
constructor(public apiAdminStore: ApiAdminStore) {
|
|
19
|
-
this.credentials = new Credentials();
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
ngOnChanges(): void {
|
|
23
|
-
this.credentials = this.record.credentials || new Credentials();
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from "../../../shared";
|
|
2
|
-
import { Credentials } from "./credentials.model";
|
|
3
|
-
|
|
4
|
-
export class ApiAdminModel extends BaseModel{
|
|
5
|
-
name ?: string;
|
|
6
|
-
path?: string;
|
|
7
|
-
credentials!: Credentials;
|
|
8
|
-
isActive!: boolean;
|
|
9
|
-
parentApiConfigID!: string;
|
|
10
|
-
parentKey!: string;
|
|
11
|
-
childApiId?: string;
|
|
12
|
-
childApiKey?: string;
|
|
13
|
-
parentList?:any;
|
|
14
|
-
apiProperty?:any;
|
|
15
|
-
description?:string;
|
|
16
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { ApiAdminModel } from '../models/api-admin.model';
|
|
3
|
-
import { BaseQuery } from '../../../shared';
|
|
4
|
-
import { ApiAdminStore } from './api-admin.store';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@Injectable({ providedIn: 'root' })
|
|
8
|
-
export class ApiAdminQuery extends BaseQuery<ApiAdminModel> {
|
|
9
|
-
constructor(protected override store: ApiAdminStore) {
|
|
10
|
-
super(store);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
getQueues$ = this.selectAll();
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { HttpClient } from '@angular/common/http';
|
|
4
|
-
import { ApiAdminStore } from './api-admin.store';
|
|
5
|
-
import { Observable, tap } from 'rxjs';
|
|
6
|
-
import { AppConfigService, BaseService, DATASOURCES } from '../../../shared';
|
|
7
|
-
import { ListService } from '../../../shared/services/list.service';
|
|
8
|
-
import { ApiAdminModel } from '../models/api-admin.model';
|
|
9
|
-
import { LISTCONFIG } from '../../../shared/constant/LIST-CONFIG';
|
|
10
|
-
|
|
11
|
-
@Injectable({ providedIn: 'root' })
|
|
12
|
-
export class ApiAdminService extends BaseService<ApiAdminModel> {
|
|
13
|
-
|
|
14
|
-
constructor(
|
|
15
|
-
http: HttpClient,
|
|
16
|
-
protected apiManagementStore: ApiAdminStore,
|
|
17
|
-
private configService: AppConfigService,
|
|
18
|
-
listService: ListService
|
|
19
|
-
) {
|
|
20
|
-
super(http, apiManagementStore, configService, listService);
|
|
21
|
-
this._pathName = DATASOURCES.APIMANAGEMENT;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
protected override list : any= LISTCONFIG.APICONFIG
|
|
25
|
-
|
|
26
|
-
checkApiByPathName(name:string, record:any): Observable<ApiAdminModel[]> {
|
|
27
|
-
return this.http.post<ApiAdminModel[]>(this.apiUrl+name, record).pipe(
|
|
28
|
-
tap((entities: ApiAdminModel[]) => this.apiManagementStore.set(entities))
|
|
29
|
-
);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BaseState } from "../../../shared/state/base.state";
|
|
2
|
-
import { ApiAdminModel } from "../models/api-admin.model";
|
|
3
|
-
|
|
4
|
-
export class ApiAdminState extends BaseState{
|
|
5
|
-
apis!: ApiAdminModel[];
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export function createInitialState(): ApiAdminState {
|
|
9
|
-
return {
|
|
10
|
-
apis: [],
|
|
11
|
-
records : [],
|
|
12
|
-
lists : []
|
|
13
|
-
};
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { StoreConfig } from '@datorama/akita';
|
|
3
|
-
import { BaseStore } from '../../../shared';
|
|
4
|
-
import { ApiAdminModel } from '../models/api-admin.model';
|
|
5
|
-
|
|
6
|
-
@Injectable({ providedIn: 'root' })
|
|
7
|
-
@StoreConfig({ name: 'apiManagementStore' })
|
|
8
|
-
|
|
9
|
-
export class ApiAdminStore extends BaseStore<ApiAdminModel> {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
}
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<p>dd-admin-form works!</p>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { DdAdminFormComponent } from './dd-admin-form.component';
|
|
4
|
-
|
|
5
|
-
describe('DdAdminFormComponent', () => {
|
|
6
|
-
let component: DdAdminFormComponent;
|
|
7
|
-
let fixture: ComponentFixture<DdAdminFormComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [DdAdminFormComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(DdAdminFormComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<p>dd-admin-list works!</p>
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { DdAdminListComponent } from './dd-admin-list.component';
|
|
4
|
-
|
|
5
|
-
describe('DdAdminListComponent', () => {
|
|
6
|
-
let component: DdAdminListComponent;
|
|
7
|
-
let fixture: ComponentFixture<DdAdminListComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [DdAdminListComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(DdAdminListComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|
package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.css
DELETED
|
File without changes
|
package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.html
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<p>queue-admin-form works!</p>
|
package/src/lib/admin/queue-admin/components/queue-admin-form/queue-admin-form.component.spec.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { QueueAdminFormComponent } from './queue-admin-form.component';
|
|
4
|
-
|
|
5
|
-
describe('QueueAdminFormComponent', () => {
|
|
6
|
-
let component: QueueAdminFormComponent;
|
|
7
|
-
let fixture: ComponentFixture<QueueAdminFormComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
imports: [QueueAdminFormComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
|
|
15
|
-
fixture = TestBed.createComponent(QueueAdminFormComponent);
|
|
16
|
-
component = fixture.componentInstance;
|
|
17
|
-
fixture.detectChanges();
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it('should create', () => {
|
|
21
|
-
expect(component).toBeTruthy();
|
|
22
|
-
});
|
|
23
|
-
});
|