@smartbit4all/ng-client 1.1.46 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/esm2020/lib/session/api/api/session.service.mjs +4 -4
  2. package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +4 -4
  3. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +4 -4
  4. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +4 -4
  5. package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +4 -4
  6. package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +7 -7
  7. package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +7 -7
  8. package/esm2020/lib/session/smart-error-catching.interceptor.mjs +4 -4
  9. package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +4 -4
  10. package/esm2020/lib/session/smart-session.module.mjs +5 -5
  11. package/esm2020/lib/session/smart-session.service.mjs +4 -4
  12. package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +4 -4
  13. package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +4 -4
  14. package/esm2020/lib/smart-client/smart-authentication.service.mjs +4 -4
  15. package/esm2020/lib/smart-client/smart-component-api-client.mjs +1 -34
  16. package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +4 -4
  17. package/esm2020/lib/smart-client/smart.component.mjs +4 -4
  18. package/esm2020/lib/smart-client/smart.service.mjs +4 -4
  19. package/esm2020/lib/smart-ng-client.module.mjs +9 -27
  20. package/esm2020/lib/smart-ng-client.service.mjs +4 -4
  21. package/esm2020/lib/view-context/api/api/view.service.mjs +4 -4
  22. package/esm2020/lib/view-context/api/api.module.mjs +5 -5
  23. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +4 -4
  24. package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +4 -4
  25. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +4 -4
  26. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +4 -4
  27. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +4 -4
  28. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +4 -4
  29. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +4 -4
  30. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +4 -4
  31. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +4 -4
  32. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +4 -4
  33. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +4 -4
  34. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +4 -4
  35. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +4 -4
  36. package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +4 -4
  37. package/esm2020/lib/view-context/smart-view-context.module.mjs +5 -5
  38. package/esm2020/lib/view-context/smart-view-context.service.mjs +7 -7
  39. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +4 -4
  40. package/esm2020/lib/view-context/value-api/api/value.service.mjs +4 -4
  41. package/esm2020/lib/view-context/value-api/api.module.mjs +5 -5
  42. package/esm2020/projects.mjs +1 -3
  43. package/fesm2015/smartbit4all-ng-client.mjs +161 -667
  44. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  45. package/fesm2020/smartbit4all-ng-client.mjs +161 -657
  46. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  47. package/lib/smart-client/smart-component-api-client.d.ts +0 -4
  48. package/lib/smart-ng-client.module.d.ts +7 -10
  49. package/package.json +1 -5
  50. package/projects.d.ts +0 -2
  51. package/smartbit4all-ng-client-1.2.1.tgz +0 -0
  52. package/esm2020/lib/smart-client/api/api/api.mjs +0 -4
  53. package/esm2020/lib/smart-client/api/api/default.service.mjs +0 -133
  54. package/esm2020/lib/smart-client/api/api.module.mjs +0 -40
  55. package/esm2020/lib/smart-client/api/configuration.mjs +0 -91
  56. package/esm2020/lib/smart-client/api/encoder.mjs +0 -19
  57. package/esm2020/lib/smart-client/api/index.mjs +0 -7
  58. package/esm2020/lib/smart-client/api/model/componentType.mjs +0 -17
  59. package/esm2020/lib/smart-client/api/model/componentWidgetType.mjs +0 -17
  60. package/esm2020/lib/smart-client/api/model/layoutDirection.mjs +0 -16
  61. package/esm2020/lib/smart-client/api/model/models.mjs +0 -6
  62. package/esm2020/lib/smart-client/api/model/smartComponentLayoutDefinition.mjs +0 -2
  63. package/esm2020/lib/smart-client/api/model/smartComponentWidgetDefinition.mjs +0 -2
  64. package/esm2020/lib/smart-client/api/param.mjs +0 -2
  65. package/esm2020/lib/smart-client/api/variables.mjs +0 -9
  66. package/esm2020/lib/smart-client/smart-component-layout/smart-component-layout.component.mjs +0 -126
  67. package/lib/smart-client/api/api/api.d.ts +0 -3
  68. package/lib/smart-client/api/api/default.service.d.ts +0 -33
  69. package/lib/smart-client/api/api.module.d.ts +0 -11
  70. package/lib/smart-client/api/configuration.d.ts +0 -104
  71. package/lib/smart-client/api/encoder.d.ts +0 -11
  72. package/lib/smart-client/api/index.d.ts +0 -6
  73. package/lib/smart-client/api/model/componentType.d.ts +0 -17
  74. package/lib/smart-client/api/model/componentWidgetType.d.ts +0 -17
  75. package/lib/smart-client/api/model/layoutDirection.d.ts +0 -16
  76. package/lib/smart-client/api/model/models.d.ts +0 -5
  77. package/lib/smart-client/api/model/smartComponentLayoutDefinition.d.ts +0 -29
  78. package/lib/smart-client/api/model/smartComponentWidgetDefinition.d.ts +0 -20
  79. package/lib/smart-client/api/param.d.ts +0 -37
  80. package/lib/smart-client/api/variables.d.ts +0 -8
  81. package/lib/smart-client/smart-component-layout/smart-component-layout.component.d.ts +0 -32
  82. package/schematics/collection.json +0 -11
  83. package/schematics/smart-component/index.ts +0 -26
  84. package/schematics/smart-component/schema.json +0 -20
  85. package/schematics/smart-component/smart-component.schema.ts +0 -4
  86. package/schematics/smart-component/templates/__name@dasherize__.component.css.template +0 -0
  87. package/schematics/smart-component/templates/__name@dasherize__.component.html.template +0 -3
  88. package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +0 -26
  89. package/smartbit4all-ng-client-1.1.46.tgz +0 -0
  90. package/src/lib/smart-client/api/README.md +0 -226
@@ -1,126 +0,0 @@
1
- import { Component, Input, ViewChild } from '@angular/core';
2
- import { SmartFormWidgetDirection, } from '@smartbit4all/form';
3
- import { GridUiActionType, SmartLayoutDef, } from '@smartbit4all/grid';
4
- import { ComponentType, ComponentWidgetType } from '../api';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@smartbit4all/form";
7
- import * as i2 from "@smartbit4all/expandable-section";
8
- import * as i3 from "@smartbit4all/grid";
9
- import * as i4 from "@smartbit4all/tree";
10
- import * as i5 from "@angular/common";
11
- // import { SmartFilter, SmartFilterComponent } from '@smartbit4all/filter';
12
- export class SmartComponentLayoutComponent {
13
- constructor(layoutService) {
14
- this.layoutService = layoutService;
15
- }
16
- ngOnInit() {
17
- if (this.smartComponentLayout) {
18
- this.setUp();
19
- }
20
- }
21
- ngOnChanges(changes) {
22
- this.smartComponentLayout = changes['smartComponentLayout'].currentValue;
23
- if (this.smartComponentLayout) {
24
- this.setUp();
25
- }
26
- }
27
- setUp() {
28
- this.parent = this.smartComponentLayout?.parentComponent;
29
- this.uuid = this.parent.uuid;
30
- this.treeService = this.parent.smartTreeService;
31
- if (this.smartComponentLayout?.expandable) {
32
- this.constructExpandableSection();
33
- }
34
- else if (this.smartComponentLayout?.type === ComponentType.Form) {
35
- this.constructForm();
36
- }
37
- else if (this.smartComponentLayout?.type === ComponentType.Widget) {
38
- if (this.smartComponentLayout.widget?.type === ComponentWidgetType.Grid) {
39
- this.constructGrid();
40
- }
41
- else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.Filter) {
42
- this.constructFilter();
43
- }
44
- else if (this.smartComponentLayout.widget?.type === ComponentWidgetType.Tree) {
45
- this.constructTree();
46
- }
47
- }
48
- }
49
- type() {
50
- return ComponentType;
51
- }
52
- constructExpandableSection() {
53
- let data = { ...this.smartComponentLayout };
54
- data.expandable = false;
55
- this.expandableSection = {
56
- title: this.smartComponentLayout?.expandableSectionLabel ?? '',
57
- data,
58
- inputName: 'smartComponentLayout',
59
- customComponent: SmartComponentLayoutComponent,
60
- };
61
- }
62
- constructForm() {
63
- const widgets = this.layoutService.render({
64
- layoutDefinitions: this.smartComponentLayout?.form,
65
- });
66
- this.smartForm = {
67
- direction: SmartFormWidgetDirection.COL,
68
- model: this.parent?.model,
69
- constraints: this.parent?.model?.constraints,
70
- widgets,
71
- };
72
- this.parent?.addForm(
73
- // unique identifier for the form
74
- `form_${this.makeid(5)}`, this.smartForm, this.formChild);
75
- }
76
- makeid(length) {
77
- let result = '';
78
- const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
79
- const charactersLength = characters.length;
80
- let counter = 0;
81
- while (counter < length) {
82
- result += characters.charAt(Math.floor(Math.random() * charactersLength));
83
- counter += 1;
84
- }
85
- return result;
86
- }
87
- constructGrid() {
88
- this.smartGrid = {
89
- gridIdentifier: this.smartComponentLayout?.widget?.gridIdentifier,
90
- gridModel: {
91
- page: {},
92
- },
93
- layoutDef: SmartLayoutDef.TABLE,
94
- };
95
- this.smartGrid = this.parent?.addGrid(this.smartGrid, {
96
- rowUiActionType: GridUiActionType.POPUP_MENU,
97
- }, false, this.gridChild);
98
- }
99
- constructFilter() {
100
- // this.smartFilter = (this.smartComponentLayout!.parentComponent as any).addFilter(
101
- // `filter_${this.makeid(5)}`,
102
- // this.smartComponentLayout?.widget?.filterExpressionFieldList,
103
- // this.smartComponentLayout?.widget?.filterType,
104
- // this.filterChild
105
- // );
106
- }
107
- constructTree() {
108
- this.parent.setUpDefaultTree(this.smartComponentLayout?.widget?.treeIdentifier);
109
- this.treeService?.initialize();
110
- }
111
- }
112
- SmartComponentLayoutComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartComponentLayoutComponent, deps: [{ token: i1.SmartformLayoutDefinitionService }], target: i0.ɵɵFactoryTarget.Component });
113
- SmartComponentLayoutComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: SmartComponentLayoutComponent, selector: "smart-component-layout", inputs: { smartComponentLayout: "smartComponentLayout" }, viewQueries: [{ propertyName: "formChild", first: true, predicate: ["form"], descendants: true }, { propertyName: "gridChild", first: true, predicate: ["grid"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div *ngIf=\"smartComponentLayout?.expandable; then expandable; else normal\"> </div>\r\n\r\n<ng-template #expandable>\r\n <smart-expandable-section\r\n *ngIf=\"expandableSection\"\r\n [data]=\"expandableSection\"\r\n ></smart-expandable-section>\r\n</ng-template>\r\n\r\n<ng-template #normal>\r\n <div\r\n *ngIf=\"smartComponentLayout?.type === type().Container\"\r\n [ngClass]=\"smartComponentLayout?.direction ?? 'vertical'\"\r\n >\r\n <smart-component-layout\r\n [smartComponentLayout]=\"layout\"\r\n *ngFor=\"let layout of smartComponentLayout?.components\"\r\n ></smart-component-layout>\r\n </div>\r\n <smartform #form [smartForm]=\"smartForm\"></smartform>\r\n <smart-grid #grid [smartGrid]=\"smartGrid\" [uuid]=\"uuid!\"></smart-grid>\r\n <!-- <smart-filter #filter [filter]=\"smartFilter\"></smart-filter> -->\r\n <smart-tree [treeService]=\"treeService!\"></smart-tree>\r\n</ng-template>\r\n", styles: [".horizontal{display:flex;flex-direction:row}.vertical{display:flex;flex-direction:column}\n"], components: [{ type: i2.ExpandableSectionComponent, selector: "smart-expandable-section", inputs: ["data", "index"] }, { type: SmartComponentLayoutComponent, selector: "smart-component-layout", inputs: ["smartComponentLayout"] }, { type: i1.SmartformComponent, selector: "smartform", inputs: ["smartForm"] }, { type: i3.SmartGridComponent, selector: "smart-grid", inputs: ["smartGrid", "uuid", "dev"] }, { type: i4.SmartTreeComponent, selector: "smart-tree", inputs: ["treeStyle", "treeService"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
114
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SmartComponentLayoutComponent, decorators: [{
115
- type: Component,
116
- args: [{ selector: 'smart-component-layout', template: "<div *ngIf=\"smartComponentLayout?.expandable; then expandable; else normal\"> </div>\r\n\r\n<ng-template #expandable>\r\n <smart-expandable-section\r\n *ngIf=\"expandableSection\"\r\n [data]=\"expandableSection\"\r\n ></smart-expandable-section>\r\n</ng-template>\r\n\r\n<ng-template #normal>\r\n <div\r\n *ngIf=\"smartComponentLayout?.type === type().Container\"\r\n [ngClass]=\"smartComponentLayout?.direction ?? 'vertical'\"\r\n >\r\n <smart-component-layout\r\n [smartComponentLayout]=\"layout\"\r\n *ngFor=\"let layout of smartComponentLayout?.components\"\r\n ></smart-component-layout>\r\n </div>\r\n <smartform #form [smartForm]=\"smartForm\"></smartform>\r\n <smart-grid #grid [smartGrid]=\"smartGrid\" [uuid]=\"uuid!\"></smart-grid>\r\n <!-- <smart-filter #filter [filter]=\"smartFilter\"></smart-filter> -->\r\n <smart-tree [treeService]=\"treeService!\"></smart-tree>\r\n</ng-template>\r\n", styles: [".horizontal{display:flex;flex-direction:row}.vertical{display:flex;flex-direction:column}\n"] }]
117
- }], ctorParameters: function () { return [{ type: i1.SmartformLayoutDefinitionService }]; }, propDecorators: { smartComponentLayout: [{
118
- type: Input
119
- }], formChild: [{
120
- type: ViewChild,
121
- args: ['form']
122
- }], gridChild: [{
123
- type: ViewChild,
124
- args: ['grid']
125
- }] } });
126
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtY29tcG9uZW50LWxheW91dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9zbWFydC1uZy1jbGllbnQvc3JjL2xpYi9zbWFydC1jbGllbnQvc21hcnQtY29tcG9uZW50LWxheW91dC9zbWFydC1jb21wb25lbnQtbGF5b3V0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NtYXJ0LW5nLWNsaWVudC9zcmMvbGliL3NtYXJ0LWNsaWVudC9zbWFydC1jb21wb25lbnQtbGF5b3V0L3NtYXJ0LWNvbXBvbmVudC1sYXlvdXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQW9DLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU5RixPQUFPLEVBRUwsd0JBQXdCLEdBR3pCLE1BQU0sb0JBQW9CLENBQUM7QUFDNUIsT0FBTyxFQUNMLGdCQUFnQixFQUdoQixjQUFjLEdBQ2YsTUFBTSxvQkFBb0IsQ0FBQztBQUM1QixPQUFPLEVBQUUsYUFBYSxFQUFFLG1CQUFtQixFQUFrQyxNQUFNLFFBQVEsQ0FBQzs7Ozs7OztBQUc1Riw0RUFBNEU7QUFPNUUsTUFBTSxPQUFPLDZCQUE2QjtJQW1Ce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bWFydEdyaWRdPVwic21hcnRHcmlkXCIgW3V1aWRdPVwidXVpZCFcIj48L3NtYXJ0LWdyaWQ+XHJcbiAgPCEtLSA8c21hcnQtZmlsdGVyICNmaWx0ZXIgW2ZpbHRlcl09XCJzbWFydEZpbHRlclwiPjwvc21hcnQtZmlsdGVyPiAtLT5cclxuICA8c21hcnQtdHJlZSBbdHJlZVNlcnZpY2VdPVwidHJlZVNlcnZpY2UhXCI+PC9zbWFydC10cmVlPlxyXG48L25nLXRlbXBsYXRlPlxyXG4iXX0=
@@ -1,3 +0,0 @@
1
- export * from './default.service';
2
- import { DefaultService } from './default.service';
3
- export declare const APIS: (typeof DefaultService)[];
@@ -1,33 +0,0 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { Configuration } from '../configuration';
4
- import * as i0 from "@angular/core";
5
- export declare class DefaultService {
6
- protected httpClient: HttpClient;
7
- protected basePath: string;
8
- defaultHeaders: HttpHeaders;
9
- configuration: Configuration;
10
- encoder: HttpParameterCodec;
11
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
12
- private addToHttpParams;
13
- private addToHttpParamsRecursive;
14
- /**
15
- * Placeholder for generation
16
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
17
- * @param reportProgress flag to report request and response progress.
18
- */
19
- nopePost(observe?: 'body', reportProgress?: boolean, options?: {
20
- httpHeaderAccept?: undefined;
21
- context?: HttpContext;
22
- }): Observable<any>;
23
- nopePost(observe?: 'response', reportProgress?: boolean, options?: {
24
- httpHeaderAccept?: undefined;
25
- context?: HttpContext;
26
- }): Observable<HttpResponse<any>>;
27
- nopePost(observe?: 'events', reportProgress?: boolean, options?: {
28
- httpHeaderAccept?: undefined;
29
- context?: HttpContext;
30
- }): Observable<HttpEvent<any>>;
31
- static ɵfac: i0.ɵɵFactoryDeclaration<DefaultService, [null, { optional: true; }, { optional: true; }]>;
32
- static ɵprov: i0.ɵɵInjectableDeclaration<DefaultService>;
33
- }
@@ -1,11 +0,0 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Configuration } from './configuration';
3
- import { HttpClient } from '@angular/common/http';
4
- import * as i0 from "@angular/core";
5
- export declare class ApiModule {
6
- static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
- constructor(parentModule: ApiModule, http: HttpClient);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
- }
@@ -1,104 +0,0 @@
1
- import { HttpParameterCodec } from '@angular/common/http';
2
- import { Param } from './param';
3
- export interface ConfigurationParameters {
4
- /**
5
- * @deprecated Since 5.0. Use credentials instead
6
- */
7
- apiKeys?: {
8
- [key: string]: string;
9
- };
10
- username?: string;
11
- password?: string;
12
- /**
13
- * @deprecated Since 5.0. Use credentials instead
14
- */
15
- accessToken?: string | (() => string);
16
- basePath?: string;
17
- withCredentials?: boolean;
18
- /**
19
- * Takes care of encoding query- and form-parameters.
20
- */
21
- encoder?: HttpParameterCodec;
22
- /**
23
- * Override the default method for encoding path parameters in various
24
- * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
25
- * <p>
26
- * See {@link README.md} for more details
27
- * </p>
28
- */
29
- encodeParam?: (param: Param) => string;
30
- /**
31
- * The keys are the names in the securitySchemes section of the OpenAPI
32
- * document. They should map to the value used for authentication
33
- * minus any standard prefixes such as 'Basic' or 'Bearer'.
34
- */
35
- credentials?: {
36
- [key: string]: string | (() => string | undefined);
37
- };
38
- }
39
- export declare class Configuration {
40
- /**
41
- * @deprecated Since 5.0. Use credentials instead
42
- */
43
- apiKeys?: {
44
- [key: string]: string;
45
- };
46
- username?: string;
47
- password?: string;
48
- /**
49
- * @deprecated Since 5.0. Use credentials instead
50
- */
51
- accessToken?: string | (() => string);
52
- basePath?: string;
53
- withCredentials?: boolean;
54
- /**
55
- * Takes care of encoding query- and form-parameters.
56
- */
57
- encoder?: HttpParameterCodec;
58
- /**
59
- * Encoding of various path parameter
60
- * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
61
- * <p>
62
- * See {@link README.md} for more details
63
- * </p>
64
- */
65
- encodeParam: (param: Param) => string;
66
- /**
67
- * The keys are the names in the securitySchemes section of the OpenAPI
68
- * document. They should map to the value used for authentication
69
- * minus any standard prefixes such as 'Basic' or 'Bearer'.
70
- */
71
- credentials: {
72
- [key: string]: string | (() => string | undefined);
73
- };
74
- constructor(configurationParameters?: ConfigurationParameters);
75
- /**
76
- * Select the correct content-type to use for a request.
77
- * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
78
- * If no content type is found return the first found type if the contentTypes is not empty
79
- * @param contentTypes - the array of content types that are available for selection
80
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
81
- */
82
- selectHeaderContentType(contentTypes: string[]): string | undefined;
83
- /**
84
- * Select the correct accept content-type to use for a request.
85
- * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
86
- * If no content type is found return the first found type if the contentTypes is not empty
87
- * @param accepts - the array of content types that are available for selection.
88
- * @returns the selected content-type or <code>undefined</code> if no selection could be made.
89
- */
90
- selectHeaderAccept(accepts: string[]): string | undefined;
91
- /**
92
- * Check if the given MIME is a JSON MIME.
93
- * JSON MIME examples:
94
- * application/json
95
- * application/json; charset=UTF8
96
- * APPLICATION/JSON
97
- * application/vnd.company+json
98
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
99
- * @return True if the given MIME is JSON, false otherwise.
100
- */
101
- isJsonMime(mime: string): boolean;
102
- lookupCredential(key: string): string | undefined;
103
- private defaultEncodeParam;
104
- }
@@ -1,11 +0,0 @@
1
- import { HttpParameterCodec } from '@angular/common/http';
2
- /**
3
- * Custom HttpParameterCodec
4
- * Workaround for https://github.com/angular/angular/issues/18261
5
- */
6
- export declare class CustomHttpParameterCodec implements HttpParameterCodec {
7
- encodeKey(k: string): string;
8
- encodeValue(v: string): string;
9
- decodeKey(k: string): string;
10
- decodeValue(v: string): string;
11
- }
@@ -1,6 +0,0 @@
1
- export * from './api/api';
2
- export * from './model/models';
3
- export * from './variables';
4
- export * from './configuration';
5
- export * from './api.module';
6
- export * from './param';
@@ -1,17 +0,0 @@
1
- /**
2
- * Form layout definition
3
- * Contains form layout definition objects.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare type ComponentType = 'container' | 'form' | 'widget';
13
- export declare const ComponentType: {
14
- Container: ComponentType;
15
- Form: ComponentType;
16
- Widget: ComponentType;
17
- };
@@ -1,17 +0,0 @@
1
- /**
2
- * Form layout definition
3
- * Contains form layout definition objects.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare type ComponentWidgetType = 'grid' | 'filter' | 'tree';
13
- export declare const ComponentWidgetType: {
14
- Grid: ComponentWidgetType;
15
- Filter: ComponentWidgetType;
16
- Tree: ComponentWidgetType;
17
- };
@@ -1,16 +0,0 @@
1
- /**
2
- * Form layout definition
3
- * Contains form layout definition objects.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- export declare type LayoutDirection = 'horizontal' | 'vertical';
13
- export declare const LayoutDirection: {
14
- Horizontal: LayoutDirection;
15
- Vertical: LayoutDirection;
16
- };
@@ -1,5 +0,0 @@
1
- export * from './componentType';
2
- export * from './componentWidgetType';
3
- export * from './layoutDirection';
4
- export * from './smartComponentLayoutDefinition';
5
- export * from './smartComponentWidgetDefinition';
@@ -1,29 +0,0 @@
1
- /**
2
- * Form layout definition
3
- * Contains form layout definition objects.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ComponentType } from './componentType';
13
- import { LayoutDirection } from './layoutDirection';
14
- import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
15
- export interface SmartComponentLayoutDefinition {
16
- type: ComponentType;
17
- expandable?: boolean;
18
- expandableSectionLabel?: string;
19
- direction?: LayoutDirection;
20
- /**
21
- * This is a placeholder for SmartComponentApiClient. You might want to describe this further.
22
- */
23
- parentComponent?: object;
24
- components?: Array<SmartComponentLayoutDefinition>;
25
- widget?: SmartComponentWidgetDefinition;
26
- form?: Array<any>;
27
- }
28
- export declare namespace SmartComponentLayoutDefinition {
29
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * Form layout definition
3
- * Contains form layout definition objects.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: info@it4all.hu
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { ComponentWidgetType } from './componentWidgetType';
13
- export interface SmartComponentWidgetDefinition {
14
- type: ComponentWidgetType;
15
- gridIdentifier?: string;
16
- treeIdentifier?: string;
17
- filterExpressionFieldList?: any;
18
- filterType?: any;
19
- }
20
- export declare namespace SmartComponentWidgetDefinition { }
@@ -1,37 +0,0 @@
1
- /**
2
- * Standard parameter styles defined by OpenAPI spec
3
- */
4
- export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
5
- /**
6
- * The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
7
- */
8
- export declare type ParamStyle = StandardParamStyle | string;
9
- /**
10
- * Standard parameter locations defined by OpenAPI spec
11
- */
12
- export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
13
- /**
14
- * Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
15
- */
16
- export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
17
- /**
18
- * Standard {@link DataType}s plus your own types/classes.
19
- */
20
- export declare type DataType = StandardDataType | string;
21
- /**
22
- * Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
23
- */
24
- export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
25
- export declare type DataFormat = StandardDataFormat | string;
26
- /**
27
- * The parameter to encode.
28
- */
29
- export interface Param {
30
- name: string;
31
- value: unknown;
32
- in: ParamLocation;
33
- style: ParamStyle;
34
- explode: boolean;
35
- dataType: DataType;
36
- dataFormat: DataFormat | undefined;
37
- }
@@ -1,8 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const BASE_PATH: InjectionToken<string>;
3
- export declare const COLLECTION_FORMATS: {
4
- csv: string;
5
- tsv: string;
6
- ssv: string;
7
- pipes: string;
8
- };
@@ -1,32 +0,0 @@
1
- import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
2
- import { SmartForm, SmartformComponent, SmartformLayoutDefinitionService } from '@smartbit4all/form';
3
- import { SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
4
- import { ComponentType, SmartComponentLayoutDefinition } from '../api';
5
- import { ExpandableSection } from '@smartbit4all/expandable-section';
6
- import { SmarttreeGenericService } from '@smartbit4all/tree';
7
- import * as i0 from "@angular/core";
8
- export declare class SmartComponentLayoutComponent implements OnInit, OnChanges {
9
- private layoutService;
10
- smartComponentLayout?: SmartComponentLayoutDefinition;
11
- uuid?: string;
12
- formChild?: SmartformComponent;
13
- smartForm?: SmartForm;
14
- gridChild?: SmartGridComponent;
15
- smartGrid?: SmartGrid;
16
- parent?: any;
17
- treeService?: SmarttreeGenericService;
18
- expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
19
- constructor(layoutService: SmartformLayoutDefinitionService);
20
- ngOnInit(): void;
21
- ngOnChanges(changes: SimpleChanges): void;
22
- private setUp;
23
- type(): typeof ComponentType;
24
- constructExpandableSection(): void;
25
- constructForm(): void;
26
- makeid(length: number): string;
27
- constructGrid(): void;
28
- constructFilter(): void;
29
- constructTree(): void;
30
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
32
- }
@@ -1,11 +0,0 @@
1
- {
2
- "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {
4
- "smart-component": {
5
- "description": "This schematic generates a component that extends SmartComponent.",
6
- "factory": "./smart-component/index#smartComponentGenerator",
7
- "schema": "./smart-component/schema.json",
8
- "aliases": ["sc"]
9
- }
10
- }
11
- }
@@ -1,26 +0,0 @@
1
- import {
2
- Rule,
3
- apply,
4
- applyTemplates,
5
- chain,
6
- mergeWith,
7
- move,
8
- url,
9
- } from "@angular-devkit/schematics";
10
- import { SmartComponentSchema } from "./smart-component.schema";
11
- import { normalize, strings } from "@angular-devkit/core";
12
-
13
- export function smartComponentGenerator(options: SmartComponentSchema): Rule {
14
- return () => {
15
- const templateSource = apply(url("./templates"), [
16
- applyTemplates({
17
- classify: strings.classify,
18
- dasherize: strings.dasherize,
19
- name: options.name,
20
- }),
21
- move(normalize(`/${options.path}/${strings.dasherize(options.name)}`)),
22
- ]);
23
-
24
- return chain([mergeWith(templateSource)]);
25
- };
26
- }
@@ -1,20 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/schema",
3
- "$id": "smart-component",
4
- "title": "Smart Ng Client Schema",
5
- "type": "object",
6
- "properties": {
7
- "name": {
8
- "description": "The name of the component",
9
- "type": "string"
10
- },
11
- "path": {
12
- "description": "Where should be created the file",
13
- "type": "string",
14
- "format": "path",
15
- "x-prompt": "Where should be created the file?",
16
- "default": "src/app"
17
- }
18
- },
19
- "required": []
20
- }
@@ -1,4 +0,0 @@
1
- export interface SmartComponentSchema {
2
- name: string;
3
- path: string;
4
- }
@@ -1,3 +0,0 @@
1
- <p>
2
- <%= dasherize(name) %> works!
3
- </p>
@@ -1,26 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { SmartComponent, SmartViewContextService, UiActionModel } from '@smartbit4all/ng-client';
3
- import { AuthenticationService } from 'src/app/services/authentication.service';
4
- import { Pages } from 'src/app/viewcontext/view-context.pages';
5
-
6
- @Component({
7
- selector: 'app-<%= dasherize(name) %>',
8
- templateUrl: './<%= dasherize(name) %>.component.html',
9
- styleUrls: ['./<%= dasherize(name) %>.component.css']
10
- })
11
- export class <%= classify(name) %>Component extends SmartComponent<any> {
12
- // TODO: set the proper type for SmartComponent<any>
13
-
14
- uiActionModels: UiActionModel[] = [];
15
-
16
- constructor(auth: AuthenticationService, viewContext: SmartViewContextService) {
17
- super(auth, viewContext, Pages.<%= classify(name) %>);
18
- this.modelChanged.subscribe(() => {
19
- this.loaded();
20
- });
21
- }
22
-
23
- loaded(): void {
24
- throw new Error('loaded method not implemented');
25
- }
26
- }
Binary file