@codetectonics/mantle 0.0.5 → 0.0.7
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/bundles/codetectonics-mantle.umd.js +316 -316
- package/bundles/codetectonics-mantle.umd.js.map +1 -1
- package/esm2015/lib/components/dashboard/containers/dynamic-dashboard-container/dynamic-dashboard-container.component.js +4 -4
- package/esm2015/lib/components/dashboard/containers/plain-dashboard-container/plain-dashboard-container.component.js +4 -4
- package/esm2015/lib/components/dashboard/dashboard-card/dashboard-card.component.js +4 -6
- package/esm2015/lib/components/dashboard/dashboard-card-search-menu/dashboard-card-search-menu.component.js +5 -6
- package/esm2015/lib/components/dashboard/dynamic-dashboard/dynamic-dashboard.component.js +4 -4
- package/esm2015/lib/components/dashboard/sections/dashboard-section/dashboard-section.component.js +4 -6
- package/esm2015/lib/components/dashboard/widgets/dashboard-info-card/dashboard-info-card.component.js +4 -4
- package/esm2015/lib/components/dashboard/widgets/dashboard-table/dashboard-table.component.js +4 -5
- package/esm2015/lib/components/dashboard/widgets/dynamic-chart/dynamic-chart.component.js +4 -5
- package/esm2015/lib/components/dashboard/widgets/dynamic-widget-display/dynamic-widget-display.component.js +4 -4
- package/esm2015/lib/components/details/containers/accordion-details-container/accordion-details-container.component.js +4 -4
- package/esm2015/lib/components/details/containers/dynamic-details-container/dynamic-details-container.component.js +4 -4
- package/esm2015/lib/components/details/containers/plain-details-container/plain-details-container.component.js +4 -4
- package/esm2015/lib/components/details/dialog-details/dialog-details.component.js +6 -7
- package/esm2015/lib/components/details/dialog-nested-details/dialog-nested-details.component.js +5 -5
- package/esm2015/lib/components/details/dynamic-details/dynamic-details.component.js +4 -4
- package/esm2015/lib/components/details/fields/actions-attribute-display/actions-attribute-display.component.js +4 -4
- package/esm2015/lib/components/details/fields/chip-attribute-display/chip-attribute-display.component.js +4 -4
- package/esm2015/lib/components/details/fields/dynamic-attribute-display/dynamic-attribute-display.component.js +4 -5
- package/esm2015/lib/components/details/fields/file-attribute-display/file-attribute-display.component.js +5 -5
- package/esm2015/lib/components/details/fields/image-attribute-display/image-attribute-display.component.js +5 -5
- package/esm2015/lib/components/details/fields/link-attribute-display/link-attribute-display.component.js +4 -5
- package/esm2015/lib/components/details/fields/markdown-attribute-display/markdown-attribute-display.component.js +4 -4
- package/esm2015/lib/components/details/fields/thumbnail-display/thumbnail-display.component.js +4 -4
- package/esm2015/lib/components/details/sections/dynamic-details-section/dynamic-details-section.component.js +4 -4
- package/esm2015/lib/components/details/sections/grid-details-section/grid-details-section.component.js +4 -5
- package/esm2015/lib/components/details/sections/markdown-details-section/markdown-details-section.component.js +4 -4
- package/esm2015/lib/components/details/sections/table-details-section/table-details-section.component.js +5 -5
- package/esm2015/lib/components/form/containers/accordion-form-container/accordion-form-container.component.js +4 -5
- package/esm2015/lib/components/form/containers/dynamic-form-container/dynamic-form-container.component.js +4 -5
- package/esm2015/lib/components/form/containers/plain-form-container/plain-form-container.component.js +4 -5
- package/esm2015/lib/components/form/dialog-form/dialog-form.component.js +6 -8
- package/esm2015/lib/components/form/dialog-nested-form/dialog-nested-form.component.js +6 -7
- package/esm2015/lib/components/form/dynamic-form/dynamic-form.component.js +5 -6
- package/esm2015/lib/components/form/fields/autocomplete-input/autocomplete-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/chip-input/chip-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/datepicker/datepicker.component.js +4 -4
- package/esm2015/lib/components/form/fields/datetimepicker/datetimepicker.component.js +4 -4
- package/esm2015/lib/components/form/fields/dropdown/dropdown.component.js +4 -4
- package/esm2015/lib/components/form/fields/dynamic-form-field/dynamic-form-field.component.js +4 -6
- package/esm2015/lib/components/form/fields/filepicker/filepicker.component.js +5 -6
- package/esm2015/lib/components/form/fields/image-cropper/image-cropper.component.js +5 -5
- package/esm2015/lib/components/form/fields/imagepicker/imagepicker.component.js +5 -7
- package/esm2015/lib/components/form/fields/markdown-input/markdown-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/number-input/number-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/password-input/password-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/text-input/text-input.component.js +4 -4
- package/esm2015/lib/components/form/fields/textarea/textarea.component.js +4 -4
- package/esm2015/lib/components/form/sections/dynamic-form-section/dynamic-form-section.component.js +4 -5
- package/esm2015/lib/components/form/sections/grid-form-section/grid-form-section.component.js +4 -6
- package/esm2015/lib/components/form/sections/table-form-section/table-form-section.component.js +5 -7
- package/esm2015/lib/components/layout-editor/containers/accordion-layout-editor-container/accordion-layout-editor-container.component.js +4 -4
- package/esm2015/lib/components/layout-editor/containers/dynamic-layout-editor-container/dynamic-layout-editor-container.component.js +4 -4
- package/esm2015/lib/components/layout-editor/containers/plain-layout-editor-container/plain-layout-editor-container.component.js +4 -4
- package/esm2015/lib/components/layout-editor/dynamic-layout-editor/dynamic-layout-editor.component.js +4 -4
- package/esm2015/lib/components/layout-editor/elements/dynamic-layout-editor-element/dynamic-layout-editor-element.component.js +4 -4
- package/esm2015/lib/components/layout-editor/elements/layout-editor-field-element/layout-editor-field-element.component.js +5 -5
- package/esm2015/lib/components/layout-editor/elements/layout-editor-table-column-element/layout-editor-table-column-element.component.js +5 -5
- package/esm2015/lib/components/layout-editor/elements/layout-editor-widget-element/layout-editor-widget-element.component.js +4 -4
- package/esm2015/lib/components/layout-editor/sections/dashboard-layout-editor-section/dashboard-layout-editor-section.component.js +4 -4
- package/esm2015/lib/components/layout-editor/sections/dynamic-layout-editor-section/dynamic-layout-editor-section.component.js +4 -4
- package/esm2015/lib/components/layout-editor/sections/grid-layout-editor-section/grid-layout-editor-section.component.js +5 -7
- package/esm2015/lib/components/layout-editor/sections/markdown-layout-editor-section/markdown-layout-editor-section.component.js +4 -4
- package/esm2015/lib/components/layout-editor/sections/table-layout-editor-section/table-layout-editor-section.component.js +5 -6
- package/esm2015/lib/components/navigation/nav-tree/nav-tree.component.js +4 -4
- package/esm2015/lib/components/navigation/reroute/reroute.component.js +5 -6
- package/esm2015/lib/components/pages/dashboard-page/dashboard-page.component.js +5 -6
- package/esm2015/lib/components/pages/detail-page/detail-page.component.js +5 -7
- package/esm2015/lib/components/pages/documents-page/documents-page.component.js +5 -9
- package/esm2015/lib/components/pages/export-page/export-page.component.js +5 -8
- package/esm2015/lib/components/pages/form-page/form-page.component.js +5 -8
- package/esm2015/lib/components/pages/layout-editor-page/layout-editor-page.component.js +5 -7
- package/esm2015/lib/components/pages/list-page/list-page.component.js +5 -8
- package/esm2015/lib/components/pages/tabbed-page/tabbed-page.component.js +5 -6
- package/esm2015/lib/components/titles/content-title/content-title.component.js +4 -4
- package/esm2015/lib/components/titles/page-title/page-title.component.js +4 -5
- package/esm2015/lib/components/titles/section-title/section-title.component.js +4 -4
- package/esm2015/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.js +5 -5
- package/esm2015/lib/components/widgets/dynamic-table/dynamic-table-datasource.js +1 -1
- package/esm2015/lib/components/widgets/dynamic-table/dynamic-table.component.js +4 -5
- package/esm2015/lib/components/widgets/file-preview-dialog/file-preview-dialog.component.js +5 -6
- package/esm2015/lib/components/widgets/loader/loader.component.js +4 -4
- package/esm2015/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.js +5 -5
- package/esm2015/lib/components/widgets/search-panel/search-panel.component.js +4 -6
- package/esm2015/lib/components/widgets/snackbar/snackbar.component.js +5 -5
- package/esm2015/lib/data-structures/dynamic-layout.structure.js +1 -1
- package/esm2015/lib/directives/click-stop-propagation.directive.js +4 -4
- package/esm2015/lib/directives/file-dropzone.directive.js +4 -4
- package/esm2015/lib/guards/feature.guard.js +5 -8
- package/esm2015/lib/guards/password-check.guard.js +4 -5
- package/esm2015/lib/guards/session.guard.js +4 -5
- package/esm2015/lib/mantle.module.js +5 -5
- package/esm2015/lib/material.module.js +5 -5
- package/esm2015/lib/pipes/dynamic.pipe.js +4 -4
- package/esm2015/lib/pipes/secure-image.pipe.js +4 -5
- package/esm2015/lib/services/announcement.service.js +4 -5
- package/esm2015/lib/services/array.service.js +4 -5
- package/esm2015/lib/services/chart.service.js +4 -5
- package/esm2015/lib/services/confirmation.service.js +5 -5
- package/esm2015/lib/services/current-user.service.js +4 -7
- package/esm2015/lib/services/dynamic-form.service.js +4 -4
- package/esm2015/lib/services/object.service.js +4 -4
- package/esm2015/lib/services/password-check.service.js +5 -8
- package/esm2015/lib/services/screen-size.service.js +5 -5
- package/esm2015/lib/services/web-api.service.js +5 -7
- package/esm2015/lib/services/websocket.service.js +5 -6
- package/fesm2015/codetectonics-mantle.js +317 -317
- package/fesm2015/codetectonics-mantle.js.map +1 -1
- package/lib/components/details/fields/dynamic-attribute-display/dynamic-attribute-display.component.d.ts +1 -1
- package/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.d.ts +5 -4
- package/lib/components/widgets/dynamic-table/dynamic-table-datasource.d.ts +1 -1
- package/lib/components/widgets/dynamic-table/dynamic-table.component.d.ts +1 -6
- package/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.d.ts +5 -4
- package/lib/data-structures/dynamic-layout.structure.d.ts +6 -1
- package/package.json +3 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ArrayService } from '../../../../services/array.service';
|
|
2
2
|
import type { DynamicFormField } from '../../../../services/dynamic-form.service';
|
|
3
|
-
import type { DynamicTableColumn } from '../../../../
|
|
3
|
+
import type { DynamicTableColumn } from '../../../../data-structures/dynamic-layout.structure';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class DynamicAttributeDisplayComponent {
|
|
6
6
|
private arrayService;
|
package/lib/components/widgets/delete-confirmation-dialog/delete-confirmation-dialog.component.d.ts
CHANGED
|
@@ -4,15 +4,16 @@ export interface DeleteConfirmationDialogButton {
|
|
|
4
4
|
label: string;
|
|
5
5
|
onClick: (id: string) => void;
|
|
6
6
|
}
|
|
7
|
+
export interface DeleteConfirmationDialogParams {
|
|
8
|
+
message: string;
|
|
9
|
+
buttons: DeleteConfirmationDialogButton[];
|
|
10
|
+
}
|
|
7
11
|
export declare class DeleteConfirmationDialogComponent {
|
|
8
12
|
private dialogRef;
|
|
9
13
|
private params;
|
|
10
14
|
message?: string;
|
|
11
15
|
buttons: DeleteConfirmationDialogButton[];
|
|
12
|
-
constructor(dialogRef: MatDialogRef<DeleteConfirmationDialogComponent>, params:
|
|
13
|
-
message: string;
|
|
14
|
-
buttons: DeleteConfirmationDialogButton[];
|
|
15
|
-
});
|
|
16
|
+
constructor(dialogRef: MatDialogRef<DeleteConfirmationDialogComponent>, params: DeleteConfirmationDialogParams);
|
|
16
17
|
onDeleteClicked(deletionAction: (id: string) => void): void;
|
|
17
18
|
onCancel(): void;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteConfirmationDialogComponent, never>;
|
|
@@ -3,7 +3,7 @@ import { MatPaginator } from '@angular/material/paginator';
|
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
4
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
5
|
import { ArrayService } from '../../../services/array.service';
|
|
6
|
-
import { DynamicTableColumn } from '../../../
|
|
6
|
+
import { DynamicTableColumn } from '../../../data-structures/dynamic-layout.structure';
|
|
7
7
|
/**
|
|
8
8
|
* Data source for the List Page view. This class should
|
|
9
9
|
* encapsulate all logic for fetching and manipulating the displayed data
|
|
@@ -3,13 +3,8 @@ import { MatPaginator } from '@angular/material/paginator';
|
|
|
3
3
|
import { MatSort } from '@angular/material/sort';
|
|
4
4
|
import { MatTable } from '@angular/material/table';
|
|
5
5
|
import { ArrayService } from '../../../services/array.service';
|
|
6
|
+
import { DynamicTableColumn } from '../../../data-structures/dynamic-layout.structure';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
|
-
export interface DynamicTableColumn {
|
|
8
|
-
header: string;
|
|
9
|
-
attr: string;
|
|
10
|
-
type: string;
|
|
11
|
-
options: any;
|
|
12
|
-
}
|
|
13
8
|
export declare class DynamicTableComponent implements AfterViewInit, OnChanges {
|
|
14
9
|
private arrayService;
|
|
15
10
|
paginator: MatPaginator;
|
package/lib/components/widgets/save-confirmation-dialog/save-confirmation-dialog.component.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { MatDialogRef } from "@angular/material/dialog";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export interface SaveConfirmationDialogParams {
|
|
4
|
+
noun: string;
|
|
5
|
+
message?: string;
|
|
6
|
+
}
|
|
3
7
|
export declare class SaveConfirmationDialogComponent {
|
|
4
8
|
private dialogRef;
|
|
5
9
|
private params;
|
|
6
10
|
noun: string;
|
|
7
11
|
message?: string;
|
|
8
|
-
constructor(dialogRef: MatDialogRef<SaveConfirmationDialogComponent>, params:
|
|
9
|
-
noun: string;
|
|
10
|
-
message?: string;
|
|
11
|
-
});
|
|
12
|
+
constructor(dialogRef: MatDialogRef<SaveConfirmationDialogComponent>, params: SaveConfirmationDialogParams);
|
|
12
13
|
onSaveClicked(): void;
|
|
13
14
|
onCancel(): void;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SaveConfirmationDialogComponent, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DynamicFormField } from '../services/dynamic-form.service';
|
|
2
|
-
import { DynamicTableColumn } from '../components/widgets/dynamic-table/dynamic-table.component';
|
|
3
2
|
export interface DynamicDetailsContent {
|
|
4
3
|
data: any;
|
|
5
4
|
containers: DynamicLayoutContainer[];
|
|
@@ -155,6 +154,12 @@ export interface DynamicLayoutEditorTableColumn {
|
|
|
155
154
|
user_specified: boolean;
|
|
156
155
|
_destroy: boolean;
|
|
157
156
|
}
|
|
157
|
+
export interface DynamicTableColumn {
|
|
158
|
+
header: string;
|
|
159
|
+
attr: string;
|
|
160
|
+
type: string;
|
|
161
|
+
options: any;
|
|
162
|
+
}
|
|
158
163
|
export interface DashboardCardSearchMenuContent {
|
|
159
164
|
data: any;
|
|
160
165
|
elements: DynamicFormField[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codetectonics/mantle",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"dependencies": {
|
|
5
5
|
"@angular-material-components/datetime-picker": "^6.0.3",
|
|
6
6
|
"@angular-material-components/moment-adapter": "^6.0.0",
|
|
7
7
|
"@angular/animations": "^12.1.3",
|
|
@@ -26,11 +26,9 @@
|
|
|
26
26
|
"ngx-image-cropper": "^4.0.1",
|
|
27
27
|
"ngx-markdown": "^12.1.0",
|
|
28
28
|
"rxjs": "~6.6.0",
|
|
29
|
+
"tslib": "^2.2.0",
|
|
29
30
|
"zone.js": "~0.11.4"
|
|
30
31
|
},
|
|
31
|
-
"dependencies": {
|
|
32
|
-
"tslib": "^2.2.0"
|
|
33
|
-
},
|
|
34
32
|
"main": "bundles/codetectonics-mantle.umd.js",
|
|
35
33
|
"module": "fesm2015/codetectonics-mantle.js",
|
|
36
34
|
"es2015": "fesm2015/codetectonics-mantle.js",
|