@valtimo/components 12.0.0 → 12.1.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/assets/css/carbon.scss +3 -0
- package/assets/css/compatibility.scss +22 -0
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.mjs +2 -2
- package/esm2022/lib/components/breadcrumb-navigation/breadcrumb.service.mjs +11 -2
- package/esm2022/lib/components/carbon-list/carbon-list.component.mjs +132 -39
- package/esm2022/lib/components/carbon-list/carbon-list.module.mjs +7 -3
- package/esm2022/lib/components/carbon-list/no-results/carbon-no-results.component.mjs +37 -5
- package/esm2022/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.mjs +165 -0
- package/esm2022/lib/components/carbon-list/services/index.mjs +17 -0
- package/esm2022/lib/components/date-picker/date-picker.component.mjs +1 -1
- package/esm2022/lib/components/form-io/form-io-builder.component.mjs +2 -2
- package/esm2022/lib/components/input/input.component.mjs +1 -1
- package/esm2022/lib/components/input-label/input-label.component.mjs +6 -3
- package/esm2022/lib/components/list/list.module.mjs +22 -4
- package/esm2022/lib/components/multi-input/carbon-multi-input.component.mjs +1 -1
- package/esm2022/lib/components/multi-input-form/multi-input-form.component.mjs +3 -3
- package/esm2022/lib/components/page-header/page-header.component.mjs +2 -2
- package/esm2022/lib/components/radio/radio.component.mjs +1 -1
- package/esm2022/lib/components/right-sidebar/right-sidebar.component.mjs +92 -75
- package/esm2022/lib/components/search-fields/search-fields.component.mjs +23 -13
- package/esm2022/lib/components/select/select.component.mjs +1 -1
- package/esm2022/lib/components/stepper/stepper-footer-step/stepper-footer-step.component.mjs +4 -4
- package/esm2022/lib/components/stepper/stepper.module.mjs +5 -4
- package/esm2022/lib/components/tooltip-icon/tooltip-icon.component.mjs +2 -2
- package/esm2022/lib/components/view-content/type-converters/booleanTypeConverter.mjs +13 -17
- package/esm2022/lib/components/view-content/type-converters/currencyTypeConverter.mjs +37 -0
- package/esm2022/lib/components/view-content/type-converters/dateTimeTypeConverter.mjs +31 -0
- package/esm2022/lib/components/view-content/type-converters/dateTypeConverter.mjs +5 -3
- package/esm2022/lib/components/view-content/type-converters/enumTypeConverter.mjs +2 -2
- package/esm2022/lib/components/view-content/type-converters/numberTypeConverter.mjs +37 -0
- package/esm2022/lib/components/view-content/type-converters/percentTypeConverter.mjs +37 -0
- package/esm2022/lib/components/view-content/type-converters/relatedFilesTypeConverter.mjs +1 -1
- package/esm2022/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.mjs +1 -1
- package/esm2022/lib/components/view-content/type-converters/stringTypeConverter.mjs +1 -1
- package/esm2022/lib/components/view-content/type-converters/type-converters.model.mjs +60 -17
- package/esm2022/lib/components/view-content/view-content.module.mjs +33 -0
- package/esm2022/lib/components/view-content/view-content.service.mjs +11 -22
- package/esm2022/lib/components/widget/widget.component.mjs +2 -2
- package/esm2022/lib/constants/carbon.constants.mjs +2 -1
- package/esm2022/lib/directives/fit-page/fit-page.directive.mjs +2 -2
- package/esm2022/lib/models/carbon-list.model.mjs +5 -2
- package/esm2022/lib/models/carbon-tag.model.mjs +2 -2
- package/esm2022/lib/models/modal.model.mjs +1 -1
- package/esm2022/lib/services/index.mjs +2 -1
- package/esm2022/lib/services/key-generator.service.mjs +50 -0
- package/esm2022/lib/services/key-state.service.mjs +33 -0
- package/fesm2022/valtimo-components.mjs +816 -195
- package/fesm2022/valtimo-components.mjs.map +1 -1
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts +3 -0
- package/lib/components/breadcrumb-navigation/breadcrumb.service.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.component.d.ts +28 -9
- package/lib/components/carbon-list/carbon-list.component.d.ts.map +1 -1
- package/lib/components/carbon-list/carbon-list.module.d.ts +2 -1
- package/lib/components/carbon-list/carbon-list.module.d.ts.map +1 -1
- package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts +13 -3
- package/lib/components/carbon-list/no-results/carbon-no-results.component.d.ts.map +1 -1
- package/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.d.ts +40 -0
- package/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.d.ts.map +1 -0
- package/lib/components/carbon-list/services/index.d.ts +2 -0
- package/lib/components/carbon-list/services/index.d.ts.map +1 -0
- package/lib/components/form-io/form-io-builder.component.d.ts.map +1 -1
- package/lib/components/input-label/input-label.component.d.ts +2 -1
- package/lib/components/input-label/input-label.component.d.ts.map +1 -1
- package/lib/components/list/list.module.d.ts +2 -1
- package/lib/components/list/list.module.d.ts.map +1 -1
- package/lib/components/right-sidebar/right-sidebar.component.d.ts +17 -20
- package/lib/components/right-sidebar/right-sidebar.component.d.ts.map +1 -1
- package/lib/components/search-fields/search-fields.component.d.ts +4 -4
- package/lib/components/search-fields/search-fields.component.d.ts.map +1 -1
- package/lib/components/stepper/stepper.module.d.ts +2 -1
- package/lib/components/stepper/stepper.module.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/booleanTypeConverter.d.ts +6 -0
- package/lib/components/view-content/type-converters/booleanTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/currencyTypeConverter.d.ts +7 -0
- package/lib/components/view-content/type-converters/currencyTypeConverter.d.ts.map +1 -0
- package/lib/components/view-content/type-converters/dateTimeTypeConverter.d.ts +6 -0
- package/lib/components/view-content/type-converters/dateTimeTypeConverter.d.ts.map +1 -0
- package/lib/components/view-content/type-converters/dateTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/enumTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/numberTypeConverter.d.ts +7 -0
- package/lib/components/view-content/type-converters/numberTypeConverter.d.ts.map +1 -0
- package/lib/components/view-content/type-converters/percentTypeConverter.d.ts +7 -0
- package/lib/components/view-content/type-converters/percentTypeConverter.d.ts.map +1 -0
- package/lib/components/view-content/type-converters/relatedFilesTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/stringTypeConverter.d.ts.map +1 -1
- package/lib/components/view-content/type-converters/type-converters.model.d.ts +13 -1
- package/lib/components/view-content/type-converters/type-converters.model.d.ts.map +1 -1
- package/lib/components/view-content/view-content.module.d.ts +8 -0
- package/lib/components/view-content/view-content.module.d.ts.map +1 -0
- package/lib/components/view-content/view-content.service.d.ts +1 -5
- package/lib/components/view-content/view-content.service.d.ts.map +1 -1
- package/lib/constants/carbon.constants.d.ts +1 -0
- package/lib/constants/carbon.constants.d.ts.map +1 -1
- package/lib/models/carbon-list.model.d.ts +15 -3
- package/lib/models/carbon-list.model.d.ts.map +1 -1
- package/lib/models/carbon-tag.model.d.ts +2 -0
- package/lib/models/carbon-tag.model.d.ts.map +1 -1
- package/lib/models/modal.model.d.ts +2 -1
- package/lib/models/modal.model.d.ts.map +1 -1
- package/lib/services/index.d.ts +1 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/key-generator.service.d.ts +8 -0
- package/lib/services/key-generator.service.d.ts.map +1 -0
- package/lib/services/key-state.service.d.ts +12 -0
- package/lib/services/key-state.service.d.ts.map +1 -0
- package/package.json +4 -2
|
@@ -14,11 +14,14 @@ export declare class BreadcrumbService {
|
|
|
14
14
|
private readonly serializer;
|
|
15
15
|
private _cachedQueryParams;
|
|
16
16
|
private readonly _manualSecondBreadcrumb$;
|
|
17
|
+
private readonly _manualThirdBreadcrumb$;
|
|
17
18
|
private readonly _breadcrumbItems$;
|
|
18
19
|
get breadcrumbItems$(): Observable<Array<BreadcrumbItem>>;
|
|
19
20
|
constructor(router: Router, route: ActivatedRoute, configService: ConfigService, menuService: MenuService, translateService: TranslateService, serializer: UrlSerializer);
|
|
20
21
|
setSecondBreadcrumb(breadcrumb: BreadcrumbItem): void;
|
|
21
22
|
clearSecondBreadcrumb(): void;
|
|
23
|
+
setThirdBreadcrumb(breadcrumb: BreadcrumbItem): void;
|
|
24
|
+
clearThirdBreadcrumb(): void;
|
|
22
25
|
cacheQueryParams(routeMatchString: string, params: Params): void;
|
|
23
26
|
private getSecondBreadcrumb;
|
|
24
27
|
private matchCachedQueryParams;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"breadcrumb.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/breadcrumb-navigation/breadcrumb.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAiC,UAAU,EAAY,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAGa,iBAAiB;
|
|
1
|
+
{"version":3,"file":"breadcrumb.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/breadcrumb-navigation/breadcrumb.service.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAiC,UAAU,EAAY,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAC,cAAc,EAAC,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAC,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBAGa,iBAAiB;IAwC1B,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB,OAAO,CAAC,QAAQ,CAAC,KAAK;IACtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,UAAU;IA5C7B,OAAO,CAAC,kBAAkB,CAA4C;IACtE,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAoD;IAC7F,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAoD;IAC5F,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CA6BhC;IAEF,IAAI,gBAAgB,IAAI,UAAU,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAExD;gBAGkB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,cAAc,EACrB,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,gBAAgB,EAAE,gBAAgB,EAClC,UAAU,EAAE,aAAa;IAG5C,mBAAmB,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAIrD,qBAAqB,IAAI,IAAI;IAI7B,kBAAkB,CAAC,UAAU,EAAE,cAAc,GAAG,IAAI;IAIpD,oBAAoB,IAAI,IAAI;IAI5B,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAMhE,OAAO,CAAC,mBAAmB;IAwB3B,OAAO,CAAC,sBAAsB;IA4B9B,OAAO,CAAC,kBAAkB;yCA1Hf,iBAAiB;6CAAjB,iBAAiB;CA6H7B"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { FormControl } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { SortState } from '@valtimo/document';
|
|
5
|
-
import { IconService, OverflowMenu, PaginationModel, PaginationTranslations, TableHeaderItem,
|
|
5
|
+
import { IconService, OverflowMenu, PaginationModel, PaginationTranslations, TableHeaderItem, TableModel } from 'carbon-components-angular';
|
|
6
6
|
import { NGXLogger } from 'ngx-logger';
|
|
7
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
8
8
|
import { ActionItem, CarbonListBatchText, CarbonListItem, CarbonListTranslations, CarbonPaginatorConfig, CarbonTag, ColumnConfig, MoveRowEvent, Pagination, ViewType } from '../../models';
|
|
9
|
+
import { KeyStateService } from '../../services/key-state.service';
|
|
9
10
|
import { ViewContentService } from '../view-content/view-content.service';
|
|
10
11
|
import { CarbonListFilterPipe } from './CarbonListFilterPipe.directive';
|
|
12
|
+
import { CarbonListDragAndDropService } from './services';
|
|
11
13
|
import * as i0 from "@angular/core";
|
|
12
14
|
export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
13
15
|
private readonly filterPipe;
|
|
@@ -15,20 +17,24 @@ export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDes
|
|
|
15
17
|
private readonly logger;
|
|
16
18
|
private readonly translateService;
|
|
17
19
|
private readonly viewContentService;
|
|
20
|
+
private readonly keyStateService;
|
|
21
|
+
private readonly dragAndDropService;
|
|
22
|
+
private readonly elementRef;
|
|
18
23
|
actionsMenuTemplate: TemplateRef<OverflowMenu>;
|
|
19
24
|
actionTemplate: TemplateRef<any>;
|
|
20
25
|
booleanTemplate: TemplateRef<any>;
|
|
21
26
|
moveRowsTemplate: TemplateRef<any>;
|
|
27
|
+
dragAndDropTemplate: TemplateRef<any>;
|
|
22
28
|
rowDisabled: TemplateRef<any>;
|
|
23
29
|
tagTemplate: TemplateRef<any>;
|
|
30
|
+
defaultTemplate: TemplateRef<any>;
|
|
24
31
|
private _table;
|
|
25
32
|
private _completeDataSource;
|
|
26
33
|
private readonly _items$;
|
|
27
|
-
private _items;
|
|
28
|
-
items$: BehaviorSubject<TableItem[][]>;
|
|
29
|
-
currentOpenActionId: string | null;
|
|
30
|
-
set items(value: CarbonListItem[]);
|
|
34
|
+
private get _items();
|
|
31
35
|
get items(): CarbonListItem[];
|
|
36
|
+
set items(value: CarbonListItem[]);
|
|
37
|
+
currentOpenActionId: string | null;
|
|
32
38
|
private readonly _fields$;
|
|
33
39
|
set fields(value: ColumnConfig[]);
|
|
34
40
|
private _tableTranslations$;
|
|
@@ -46,6 +52,7 @@ export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDes
|
|
|
46
52
|
header: boolean;
|
|
47
53
|
hideColumnHeader: boolean;
|
|
48
54
|
initialSortState: SortState;
|
|
55
|
+
set sortState(value: SortState);
|
|
49
56
|
isSearchable: boolean;
|
|
50
57
|
enableSingleSelection: boolean;
|
|
51
58
|
/**
|
|
@@ -58,6 +65,8 @@ export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDes
|
|
|
58
65
|
hideToolbar: boolean;
|
|
59
66
|
lockedTooltipTranslationKey: string;
|
|
60
67
|
movingRowsEnabled: boolean;
|
|
68
|
+
dragAndDrop: boolean;
|
|
69
|
+
dragAndDropDisabled: boolean;
|
|
61
70
|
rowClicked: EventEmitter<any>;
|
|
62
71
|
paginationClicked: EventEmitter<number>;
|
|
63
72
|
paginationSet: EventEmitter<any>;
|
|
@@ -81,21 +90,28 @@ export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDes
|
|
|
81
90
|
private readonly _viewInitialized$;
|
|
82
91
|
get viewInitialized$(): Observable<boolean>;
|
|
83
92
|
get model(): TableModel;
|
|
84
|
-
constructor(filterPipe: CarbonListFilterPipe, iconService: IconService, logger: NGXLogger, translateService: TranslateService, viewContentService: ViewContentService);
|
|
93
|
+
constructor(filterPipe: CarbonListFilterPipe, iconService: IconService, logger: NGXLogger, translateService: TranslateService, viewContentService: ViewContentService, keyStateService: KeyStateService, dragAndDropService: CarbonListDragAndDropService, elementRef: ElementRef);
|
|
85
94
|
ngOnInit(): void;
|
|
86
95
|
ngAfterViewInit(): void;
|
|
87
96
|
ngOnDestroy(): void;
|
|
97
|
+
openDragAndDropSubscription(): void;
|
|
88
98
|
onRowClick(index: number): void;
|
|
89
99
|
onSelectPage(page: number): void;
|
|
90
100
|
onSort(headerItem: TableHeaderItem & {
|
|
91
101
|
key: string;
|
|
92
102
|
}): void;
|
|
103
|
+
onDragStart(mouseEvent: MouseEvent, carbonEvent: {
|
|
104
|
+
index: number;
|
|
105
|
+
item: CarbonListItem;
|
|
106
|
+
length: number;
|
|
107
|
+
}): void;
|
|
93
108
|
private buildPaginationModel;
|
|
94
109
|
private _translatedFields$;
|
|
95
110
|
private _headerItems$;
|
|
96
111
|
private readonly _tableItems$;
|
|
97
112
|
private readonly _filteredItems$;
|
|
98
113
|
readonly model$: Observable<TableModel>;
|
|
114
|
+
private get dragAndDropHeaderColumns();
|
|
99
115
|
private get extraColumns();
|
|
100
116
|
onMoveDownClick(event: Event, data: {
|
|
101
117
|
index: number;
|
|
@@ -109,13 +125,16 @@ export declare class CarbonListComponent implements OnInit, AfterViewInit, OnDes
|
|
|
109
125
|
}): void;
|
|
110
126
|
onTagClick(event: Event, tags: CarbonTag[]): void;
|
|
111
127
|
onCloseEvent(): void;
|
|
128
|
+
handleActionOpenChange(actionId: string, isOpen: boolean): void;
|
|
129
|
+
private getDragAndDropItemsItems;
|
|
112
130
|
private getExtraItems;
|
|
113
131
|
private loadPaginationSize;
|
|
114
132
|
private setPaginationSize;
|
|
115
133
|
private resolveObject;
|
|
116
134
|
private swapItems;
|
|
117
|
-
|
|
135
|
+
private resolveTagObject;
|
|
136
|
+
private transformTagEllipsis;
|
|
118
137
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarbonListComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonListComponent, "valtimo-carbon-list", never, { "items": { "alias": "items"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "tableTranslations": { "alias": "tableTranslations"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionItems": { "alias": "actionItems"; "required": false; }; "header": { "alias": "header"; "required": false; }; "hideColumnHeader": { "alias": "hideColumnHeader"; "required": false; }; "initialSortState": { "alias": "initialSortState"; "required": false; }; "isSearchable": { "alias": "isSearchable"; "required": false; }; "enableSingleSelection": { "alias": "enableSingleSelection"; "required": false; }; "lastColumnTemplate": { "alias": "lastColumnTemplate"; "required": false; }; "paginationIdentifier": { "alias": "paginationIdentifier"; "required": false; }; "showSelectionColumn": { "alias": "showSelectionColumn"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hideToolbar": { "alias": "hideToolbar"; "required": false; }; "lockedTooltipTranslationKey": { "alias": "lockedTooltipTranslationKey"; "required": false; }; "movingRowsEnabled": { "alias": "movingRowsEnabled"; "required": false; }; }, { "rowClicked": "rowClicked"; "paginationClicked": "paginationClicked"; "paginationSet": "paginationSet"; "search": "search"; "sortChanged": "sortChanged"; "moveRow": "moveRow"; "itemsReordered": "itemsReordered"; }, never, ["[header]", "[tabs]", "[carbonToolbarActions]", "[carbonToolbarContent]", "*"], false, never>;
|
|
138
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonListComponent, "valtimo-carbon-list", never, { "items": { "alias": "items"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "tableTranslations": { "alias": "tableTranslations"; "required": false; }; "paginatorConfig": { "alias": "paginatorConfig"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "actionItems": { "alias": "actionItems"; "required": false; }; "header": { "alias": "header"; "required": false; }; "hideColumnHeader": { "alias": "hideColumnHeader"; "required": false; }; "initialSortState": { "alias": "initialSortState"; "required": false; }; "sortState": { "alias": "sortState"; "required": false; }; "isSearchable": { "alias": "isSearchable"; "required": false; }; "enableSingleSelection": { "alias": "enableSingleSelection"; "required": false; }; "lastColumnTemplate": { "alias": "lastColumnTemplate"; "required": false; }; "paginationIdentifier": { "alias": "paginationIdentifier"; "required": false; }; "showSelectionColumn": { "alias": "showSelectionColumn"; "required": false; }; "striped": { "alias": "striped"; "required": false; }; "hideToolbar": { "alias": "hideToolbar"; "required": false; }; "lockedTooltipTranslationKey": { "alias": "lockedTooltipTranslationKey"; "required": false; }; "movingRowsEnabled": { "alias": "movingRowsEnabled"; "required": false; }; "dragAndDrop": { "alias": "dragAndDrop"; "required": false; }; "dragAndDropDisabled": { "alias": "dragAndDropDisabled"; "required": false; }; }, { "rowClicked": "rowClicked"; "paginationClicked": "paginationClicked"; "paginationSet": "paginationSet"; "search": "search"; "sortChanged": "sortChanged"; "moveRow": "moveRow"; "itemsReordered": "itemsReordered"; }, never, ["[header]", "[tabs]", "[carbonToolbarActions]", "[carbonToolbarContent]", "*"], false, never>;
|
|
120
139
|
}
|
|
121
140
|
//# sourceMappingURL=carbon-list.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carbon-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/carbon-list/carbon-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,aAAa,EAGb,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,
|
|
1
|
+
{"version":3,"file":"carbon-list.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/carbon-list/carbon-list.component.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,aAAa,EAGb,UAAU,EACV,YAAY,EAEZ,SAAS,EACT,MAAM,EAEN,WAAW,EAEZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MA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AAkB;IAgB1B,OAAO,CAAC,iBAAiB;IASzB,OAAO,CAAC,aAAa;IAUrB,OAAO,CAAC,SAAS;IAQjB,OAAO,CAAC,gBAAgB;IAiBxB,OAAO,CAAC,oBAAoB;yCAxmBjB,mBAAmB;2CAAnB,mBAAmB;CA8mB/B"}
|
|
@@ -10,9 +10,10 @@ import * as i8 from "@ng-bootstrap/ng-bootstrap";
|
|
|
10
10
|
import * as i9 from "carbon-components-angular";
|
|
11
11
|
import * as i10 from "@ngx-translate/core";
|
|
12
12
|
import * as i11 from "../../directives/valtimo-cds-modal/valtimo-cds-modal-directive.module";
|
|
13
|
+
import * as i12 from "../view-content/view-content.module";
|
|
13
14
|
export declare class CarbonListModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarbonListModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CarbonListModule, [typeof i1.CarbonListComponent, typeof i2.CarbonListFilterPipe, typeof i3.CarbonNoResultsComponent, typeof i4.CarbonTagsModalComponent], [typeof i5.CardModule, typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.NgbPaginationModule, typeof i9.PaginationModule, typeof i9.TableModule, typeof i10.TranslateModule, typeof i7.ReactiveFormsModule, typeof i9.ContentSwitcherModule, typeof i9.IconModule, typeof i9.ButtonModule, typeof i9.DialogModule, typeof i8.NgbTooltipModule, typeof i9.TagModule, typeof i9.ModalModule, typeof i11.ValtimoCdsModalDirectiveModule], [typeof i1.CarbonListComponent, typeof i2.CarbonListFilterPipe, typeof i3.CarbonNoResultsComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CarbonListModule, [typeof i1.CarbonListComponent, typeof i2.CarbonListFilterPipe, typeof i3.CarbonNoResultsComponent, typeof i4.CarbonTagsModalComponent], [typeof i5.CardModule, typeof i6.CommonModule, typeof i7.FormsModule, typeof i8.NgbPaginationModule, typeof i9.PaginationModule, typeof i9.TableModule, typeof i10.TranslateModule, typeof i7.ReactiveFormsModule, typeof i9.ContentSwitcherModule, typeof i9.IconModule, typeof i9.ButtonModule, typeof i9.DialogModule, typeof i8.NgbTooltipModule, typeof i9.TagModule, typeof i9.ModalModule, typeof i11.ValtimoCdsModalDirectiveModule, typeof i12.ViewContentModule], [typeof i1.CarbonListComponent, typeof i2.CarbonListFilterPipe, typeof i3.CarbonNoResultsComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<CarbonListModule>;
|
|
17
18
|
}
|
|
18
19
|
//# sourceMappingURL=carbon-list.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carbon-list.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/carbon-list/carbon-list.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"carbon-list.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/carbon-list/carbon-list.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAsCA,qBA4Ba,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CarbonNoResultsComponent {
|
|
3
|
+
export declare class CarbonNoResultsComponent implements AfterViewInit, OnDestroy {
|
|
4
|
+
private _noResultsRef;
|
|
4
5
|
action: TemplateRef<any>;
|
|
5
6
|
description: string;
|
|
6
7
|
illustration: string;
|
|
7
8
|
title: string;
|
|
9
|
+
smallPadding: boolean;
|
|
10
|
+
collapseVertically: boolean;
|
|
11
|
+
alwaysRenderVertically: boolean;
|
|
12
|
+
readonly renderVertically: import("@angular/core").WritableSignal<boolean>;
|
|
13
|
+
private _observer;
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
private openWidthObserver;
|
|
17
|
+
private observerMutation;
|
|
8
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarbonNoResultsComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonNoResultsComponent, "valtimo-no-results", never, { "action": { "alias": "action"; "required": false; }; "description": { "alias": "description"; "required": false; }; "illustration": { "alias": "illustration"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CarbonNoResultsComponent, "valtimo-no-results", never, { "action": { "alias": "action"; "required": false; }; "description": { "alias": "description"; "required": false; }; "illustration": { "alias": "illustration"; "required": false; }; "title": { "alias": "title"; "required": false; }; "smallPadding": { "alias": "smallPadding"; "required": false; }; "collapseVertically": { "alias": "collapseVertically"; "required": false; }; "alwaysRenderVertically": { "alias": "alwaysRenderVertically"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
20
|
}
|
|
11
21
|
//# sourceMappingURL=carbon-no-results.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"carbon-no-results.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/carbon-list/no-results/carbon-no-results.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"carbon-no-results.component.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/carbon-list/no-results/carbon-no-results.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EACL,aAAa,EAKb,SAAS,EAET,WAAW,EAEZ,MAAM,eAAe,CAAC;;AAEvB,qBAMa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAC/C,OAAO,CAAC,aAAa,CAA6B;IAEjE,MAAM,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,SAAuC;IACnD,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,UAAS;IACrB,kBAAkB,UAAS;IAC3B,sBAAsB,UAAS;IAExC,SAAgB,gBAAgB,kDAAiB;IAEjD,OAAO,CAAC,SAAS,CAAkB;IAE5B,eAAe,IAAI,IAAI;IAIvB,WAAW,IAAI,IAAI;IAI1B,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,gBAAgB;yCA9Bb,wBAAwB;2CAAxB,wBAAwB;CAqCpC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import { CarbonListComponent } from '../carbon-list.component';
|
|
4
|
+
import { DragAndDropEvent } from '../../../models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class CarbonListDragAndDropService {
|
|
7
|
+
readonly dragAndDropEvents$: Subject<DragAndDropEvent>;
|
|
8
|
+
private readonly _ROW_DRAG_CLASS;
|
|
9
|
+
private readonly _carbonListElementRefSubject$;
|
|
10
|
+
private get _carbonListElementRef$();
|
|
11
|
+
private readonly _tableRowsSubject$;
|
|
12
|
+
private get _tableRows$();
|
|
13
|
+
private readonly _tableRowToMoveStartIndex$;
|
|
14
|
+
private readonly _tableRowToMoveSubject$;
|
|
15
|
+
private get _tableRowToMove$();
|
|
16
|
+
private readonly _tableRowMouseOverSubject$;
|
|
17
|
+
private get _tableRowMouseOver$();
|
|
18
|
+
private readonly _mouseMoveDirection$;
|
|
19
|
+
private _lastMouseY;
|
|
20
|
+
private readonly _pauseSwap$;
|
|
21
|
+
private _mouseMoveSubscription;
|
|
22
|
+
private _mouseupSubscription;
|
|
23
|
+
private _tableRowsSubscription;
|
|
24
|
+
setCarbonListElementRef(ref: ElementRef<CarbonListComponent>): void;
|
|
25
|
+
startDrag(startMouseY: number, rowToBeMovedStartIndex: number): void;
|
|
26
|
+
private openMouseMoveSubscription;
|
|
27
|
+
private openTableRowSubscription;
|
|
28
|
+
private openMouseUpSubscription;
|
|
29
|
+
private setTableRowUnderMouse;
|
|
30
|
+
private pauseSwap;
|
|
31
|
+
private continueSwap;
|
|
32
|
+
private reset;
|
|
33
|
+
private stopDrag;
|
|
34
|
+
private emitReorderEvent;
|
|
35
|
+
private getTableRows;
|
|
36
|
+
private setTableRows;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CarbonListDragAndDropService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CarbonListDragAndDropService>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=carbon-list-drag-and-drop.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carbon-list-drag-and-drop.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/carbon-list/services/carbon-list-drag-and-drop.service.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,UAAU,EAAa,MAAM,eAAe,CAAC;AACrD,OAAO,EAML,OAAO,EAGR,MAAM,MAAM,CAAC;AACd,OAAO,EAAC,mBAAmB,EAAC,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAC,gBAAgB,EAAmB,MAAM,iBAAiB,CAAC;;AAEnE,qBACa,4BAA4B;IACvC,SAAgB,kBAAkB,4BAAmC;IAErE,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAyC;IAEzE,OAAO,CAAC,QAAQ,CAAC,6BAA6B,CACsB;IACpE,OAAO,KAAK,sBAAsB,GAEjC;IAED,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA2D;IAC9F,OAAO,KAAK,WAAW,GAEtB;IAED,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAAkC;IAC7E,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAyD;IACjG,OAAO,KAAK,gBAAgB,GAE3B;IAED,OAAO,CAAC,QAAQ,CAAC,0BAA0B,CAEzC;IACF,OAAO,KAAK,mBAAmB,GAE9B;IAED,OAAO,CAAC,QAAQ,CAAC,oBAAoB,CAEnC;IAEF,OAAO,CAAC,WAAW,CAAK;IAExB,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAuC;IAEnE,OAAO,CAAC,sBAAsB,CAAgB;IAC9C,OAAO,CAAC,oBAAoB,CAAgB;IAC5C,OAAO,CAAC,sBAAsB,CAAgB;IAEvC,uBAAuB,CAAC,GAAG,EAAE,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI;IAInE,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,GAAG,IAAI;IAS3E,OAAO,CAAC,yBAAyB;IAgBjC,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,uBAAuB;IAM/B,OAAO,CAAC,qBAAqB;IAU7B,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,YAAY;IAMpB,OAAO,CAAC,KAAK;IAMb,OAAO,CAAC,QAAQ;IAQhB,OAAO,CAAC,gBAAgB;IAiBxB,OAAO,CAAC,YAAY;IA0BpB,OAAO,CAAC,YAAY;yCA9KT,4BAA4B;6CAA5B,4BAA4B;CA2LxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/carbon-list/services/index.ts"],"names":[],"mappings":"AAgBA,cAAc,qCAAqC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAG7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"form-io-builder.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/form-io/form-io-builder.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,MAAM,EAAS,MAAM,eAAe,CAAC;AAG7E,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAC,aAAa,EAAC,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAC,kBAAkB,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAEhC,qBAKa,sBAAuB,YAAW,MAAM;IAgCjD,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,YAAY;IAhCb,IAAI,EAAE,GAAG,CAAC;IAET,MAAM,EAAE,YAAY,CAAC,GAAG,CAAC,CAAsB;IAClD,cAAc,EAAE,YAAY,CAAC,aAAa,CAAC,CAAsB;IAExE,QAAQ,CAAC,gBAAgB,qBAGvB;IAEF,QAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,aAAa,CAAC,CAkBhD;gBAGQ,gBAAgB,EAAE,gBAAgB,EAClC,YAAY,EAAE,kBAAkB;IAG1C,QAAQ;IAaR,QAAQ,CAAC,KAAK,KAAA;yCAjDH,sBAAsB;2CAAtB,sBAAsB;CAoDlC"}
|
|
@@ -7,6 +7,7 @@ export declare class InputLabelComponent {
|
|
|
7
7
|
tooltip: string;
|
|
8
8
|
largeMargin: boolean;
|
|
9
9
|
small: boolean;
|
|
10
|
+
noMargin: boolean;
|
|
10
11
|
set title(value: string);
|
|
11
12
|
set titleTranslationKey(value: string);
|
|
12
13
|
set required(value: boolean);
|
|
@@ -18,6 +19,6 @@ export declare class InputLabelComponent {
|
|
|
18
19
|
readonly displayTitle$: Observable<string>;
|
|
19
20
|
constructor(translateService: TranslateService);
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputLabelComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputLabelComponent, "v-input-label", never, { "name": { "alias": "name"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "largeMargin": { "alias": "largeMargin"; "required": false; }; "small": { "alias": "small"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleTranslationKey": { "alias": "titleTranslationKey"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "carbonTheme": { "alias": "carbonTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputLabelComponent, "v-input-label", never, { "name": { "alias": "name"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "largeMargin": { "alias": "largeMargin"; "required": false; }; "small": { "alias": "small"; "required": false; }; "noMargin": { "alias": "noMargin"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleTranslationKey": { "alias": "titleTranslationKey"; "required": false; }; "required": { "alias": "required"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "carbonTheme": { "alias": "carbonTheme"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
23
|
}
|
|
23
24
|
//# sourceMappingURL=input-label.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-label.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/input-label/input-label.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAsC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAErE,qBAKa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"input-label.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/input-label/input-label.component.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAsC,UAAU,EAAC,MAAM,MAAM,CAAC;;AAErE,qBAKa,mBAAmB;IAqClB,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IApC7B,IAAI,SAAM;IACV,OAAO,SAAM;IACb,WAAW,UAAS;IACpB,KAAK,UAAS;IACd,QAAQ,UAAS;IAEjC,IAAoB,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtC;IACD,IAAoB,mBAAmB,CAAC,KAAK,EAAE,MAAM,EAEpD;IACD,IAAoB,QAAQ,CAAC,KAAK,EAAE,OAAO,EAE1C;IACe,QAAQ,UAAS;IACjB,WAAW,SAAS;IAEpC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAmC;IAC3D,OAAO,CAAC,QAAQ,CAAC,qBAAqB,CAAmC;IACzE,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAuC;IAElE,SAAgB,aAAa,EAAE,UAAU,CAAC,MAAM,CAAC,CAa/C;gBAC2B,gBAAgB,EAAE,gBAAgB;yCArCpD,mBAAmB;2CAAnB,mBAAmB;CAsC/B"}
|
|
@@ -6,9 +6,10 @@ import * as i4 from "../card/card.module";
|
|
|
6
6
|
import * as i5 from "@ng-bootstrap/ng-bootstrap";
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
8
|
import * as i7 from "@ngx-translate/core";
|
|
9
|
+
import * as i8 from "../view-content/view-content.module";
|
|
9
10
|
export declare class ListModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, [typeof i1.ListComponent, typeof i2.ListFilterPipe], [typeof i3.CommonModule, typeof i4.CardModule, typeof i5.NgbPaginationModule, typeof i6.FormsModule, typeof i7.TranslateModule], [typeof i1.ListComponent, typeof i2.ListFilterPipe]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ListModule, [typeof i1.ListComponent, typeof i2.ListFilterPipe], [typeof i3.CommonModule, typeof i4.CardModule, typeof i5.NgbPaginationModule, typeof i6.FormsModule, typeof i7.TranslateModule, typeof i8.ViewContentModule], [typeof i1.ListComponent, typeof i2.ListFilterPipe]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<ListModule>;
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=list.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/list/list.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"list.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/list/list.module.ts"],"names":[],"mappings":";;;;;;;;;AA0BA,qBAYa,UAAU;yCAAV,UAAU;0CAAV,UAAU;0CAAV,UAAU;CAAG"}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
4
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import {
|
|
4
|
+
import { ValtimoVersion } from '../../models';
|
|
6
5
|
import { ConfigService, EmailNotificationSettings, FeedbackMailTo, UserIdentity, UserSettingsService } from '@valtimo/config';
|
|
7
6
|
import { UserProviderService } from '@valtimo/security';
|
|
8
|
-
import { NGXLogger } from 'ngx-logger';
|
|
9
7
|
import { BehaviorSubject, Observable } from 'rxjs';
|
|
10
8
|
import { VersionService } from '../version/version.service';
|
|
11
9
|
import { CdsThemeService, PageHeaderService, ShellService } from '../../services';
|
|
12
10
|
import { ListItem } from 'carbon-components-angular';
|
|
13
11
|
import * as i0 from "@angular/core";
|
|
14
12
|
export declare class RightSidebarComponent implements OnInit, OnDestroy {
|
|
15
|
-
|
|
13
|
+
private readonly translateService;
|
|
16
14
|
private readonly userProviderService;
|
|
17
15
|
private readonly formBuilder;
|
|
18
16
|
private readonly versionService;
|
|
19
|
-
private readonly http;
|
|
20
|
-
private readonly logger;
|
|
21
17
|
private readonly shellService;
|
|
22
18
|
private readonly elementRef;
|
|
23
19
|
private readonly configService;
|
|
@@ -25,36 +21,34 @@ export declare class RightSidebarComponent implements OnInit, OnDestroy {
|
|
|
25
21
|
private readonly pageHeaderService;
|
|
26
22
|
private readonly cdsThemeService;
|
|
27
23
|
onPageClick(targetElement: any): void;
|
|
28
|
-
|
|
29
|
-
settingsForm: FormGroup;
|
|
30
|
-
overrideFeedbackMenuItemToMailTo: FeedbackMailTo;
|
|
24
|
+
readonly settingsForm: FormGroup;
|
|
31
25
|
readonly panelExpanded$: Observable<boolean>;
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
26
|
+
private readonly _selectedLanguage$;
|
|
27
|
+
private readonly _languageOptions$;
|
|
34
28
|
readonly languageListItems$: Observable<ListItem[]>;
|
|
35
29
|
readonly backendVersion$: Observable<ValtimoVersion>;
|
|
36
30
|
readonly userSubject$: Observable<UserIdentity>;
|
|
37
31
|
readonly updatingSettings$: BehaviorSubject<boolean>;
|
|
38
32
|
readonly updatingUserSettings$: BehaviorSubject<boolean>;
|
|
39
|
-
private readonly
|
|
33
|
+
private readonly _emailNotificationSettings$;
|
|
40
34
|
readonly emailNotificationSettingsWithSideEffects$: Observable<EmailNotificationSettings>;
|
|
41
35
|
readonly collapsibleWidescreenMenu$: Observable<boolean>;
|
|
42
|
-
readonly preferredTheme$: Observable<SelectableCarbonTheme>;
|
|
43
36
|
readonly compactMode$: Observable<boolean>;
|
|
44
37
|
readonly showUserNameInTopBar$: Observable<boolean>;
|
|
45
|
-
readonly
|
|
46
|
-
|
|
47
|
-
private hideValtimoVersionsForNonAdmins;
|
|
48
|
-
readonly isAdmin$: Observable<boolean>;
|
|
38
|
+
private readonly _preferredTheme$;
|
|
39
|
+
frontendVersion: string;
|
|
49
40
|
showValtimoVersions: boolean;
|
|
50
|
-
allowUserThemeSwitching: boolean;
|
|
51
41
|
readonly themeOptions$: Observable<ListItem[]>;
|
|
52
|
-
|
|
42
|
+
overrideFeedbackMenuItemToMailTo: FeedbackMailTo;
|
|
43
|
+
allowUserThemeSwitching: boolean;
|
|
53
44
|
enableCompactModeToggle: boolean;
|
|
54
45
|
enableShowUserNameToggle: boolean;
|
|
55
|
-
constructor(translate: TranslateService, userProviderService: UserProviderService, formBuilder: FormBuilder, versionService: VersionService, http: HttpClient, logger: NGXLogger, shellService: ShellService, elementRef: ElementRef, configService: ConfigService, userSettingsService: UserSettingsService, pageHeaderService: PageHeaderService, cdsThemeService: CdsThemeService);
|
|
56
46
|
showPlantATreeButton: boolean;
|
|
57
47
|
resetUrl: string;
|
|
48
|
+
private _hideValtimoVersionsForNonAdmins;
|
|
49
|
+
private readonly _isAdmin$;
|
|
50
|
+
private readonly _subscriptions;
|
|
51
|
+
constructor(translateService: TranslateService, userProviderService: UserProviderService, formBuilder: FormBuilder, versionService: VersionService, shellService: ShellService, elementRef: ElementRef, configService: ConfigService, userSettingsService: UserSettingsService, pageHeaderService: PageHeaderService, cdsThemeService: CdsThemeService);
|
|
58
52
|
ngOnInit(): void;
|
|
59
53
|
ngOnDestroy(): void;
|
|
60
54
|
updateUserLanguage(langKey: string | {
|
|
@@ -71,6 +65,8 @@ export declare class RightSidebarComponent implements OnInit, OnDestroy {
|
|
|
71
65
|
};
|
|
72
66
|
}, saveSettings?: boolean): void;
|
|
73
67
|
logout(): void;
|
|
68
|
+
private initSettings;
|
|
69
|
+
private initFrontendVersion;
|
|
74
70
|
private openFormSubscription;
|
|
75
71
|
private loadEmailNotificationSettings;
|
|
76
72
|
private setLanguage;
|
|
@@ -78,6 +74,7 @@ export declare class RightSidebarComponent implements OnInit, OnDestroy {
|
|
|
78
74
|
private getUserSettings;
|
|
79
75
|
private saveUserSettings;
|
|
80
76
|
private setUserSettings;
|
|
77
|
+
private openShowVersionsSubscription;
|
|
81
78
|
static ɵfac: i0.ɵɵFactoryDeclaration<RightSidebarComponent, never>;
|
|
82
79
|
static ɵcmp: i0.ɵɵComponentDeclaration<RightSidebarComponent, "valtimo-right-sidebar", never, {}, {}, never, never, false, never>;
|
|
83
80
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"right-sidebar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/right-sidebar/right-sidebar.component.ts"],"names":[],"mappings":"AAgBA,OAAO,
|
|
1
|
+
{"version":3,"file":"right-sidebar.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/right-sidebar/right-sidebar.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAEL,UAAU,EAEV,SAAS,EACT,MAAM,EAEP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,WAAW,EAAe,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAwB,cAAc,EAAC,MAAM,cAAc,CAAC;AACnE,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,cAAc,EACd,YAAY,EAEZ,mBAAmB,EAGpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAC,mBAAmB,EAAC,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAC,eAAe,EAAiB,UAAU,EAAgC,MAAM,MAAM,CAAC;AAC/F,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAC,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAEhF,OAAO,EAAC,QAAQ,EAAC,MAAM,2BAA2B,CAAC;;AAEnD,qBAMa,qBAAsB,YAAW,MAAM,EAAE,SAAS;IAmH3D,OAAO,CAAC,QAAQ,CAAC,gBAAgB;IACjC,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IACpC,OAAO,CAAC,QAAQ,CAAC,WAAW;IAC5B,OAAO,CAAC,QAAQ,CAAC,cAAc;IAC/B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAA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sComponent implements OnInit, OnDestroy {
|
|
|
14
14
|
set searchFields(fields: Array<SearchField>);
|
|
15
15
|
set documentDefinitionName(documentDefinitionName: string);
|
|
16
16
|
setValuesSubject$: Observable<SearchFieldValues>;
|
|
17
|
+
clearValuesSubject$: Observable<null>;
|
|
17
18
|
defaultValues: SearchFieldValues;
|
|
18
19
|
inputDisabled: boolean;
|
|
19
20
|
externalSearchField: boolean;
|
|
@@ -24,9 +25,7 @@ export declare class SearchFieldsComponent implements OnInit, OnDestroy {
|
|
|
24
25
|
readonly expanded$: BehaviorSubject<boolean>;
|
|
25
26
|
readonly clear$: Subject<null>;
|
|
26
27
|
private readonly _documentDefinitionName$;
|
|
27
|
-
private
|
|
28
|
-
private dropdownSubscription;
|
|
29
|
-
private valuesSubjectSubscription;
|
|
28
|
+
private readonly _subscriptions;
|
|
30
29
|
private readonly BOOLEAN_POSITIVE;
|
|
31
30
|
private readonly BOOLEAN_NEGATIVE;
|
|
32
31
|
private readonly _BOOLEAN_TYPES;
|
|
@@ -44,11 +43,12 @@ export declare class SearchFieldsComponent implements OnInit, OnDestroy {
|
|
|
44
43
|
private getSingleValue;
|
|
45
44
|
private openDocumentDefinitionNameSubscription;
|
|
46
45
|
private openValuesSubjectSubscription;
|
|
46
|
+
private openClearSubscription;
|
|
47
47
|
private openDropdownSubscription;
|
|
48
48
|
private collapse;
|
|
49
49
|
private expand;
|
|
50
50
|
private setDefaultValues;
|
|
51
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<SearchFieldsComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFieldsComponent, "valtimo-search-fields", never, { "loading": { "alias": "loading"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "documentDefinitionName": { "alias": "documentDefinitionName"; "required": false; }; "setValuesSubject$": { "alias": "setValuesSubject$"; "required": false; }; "defaultValues": { "alias": "defaultValues"; "required": false; }; "inputDisabled": { "alias": "inputDisabled"; "required": false; }; "externalSearchField": { "alias": "externalSearchField"; "required": false; }; }, { "doSearch": "doSearch"; }, never, ["*"], false, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SearchFieldsComponent, "valtimo-search-fields", never, { "loading": { "alias": "loading"; "required": false; }; "searchFields": { "alias": "searchFields"; "required": false; }; "documentDefinitionName": { "alias": "documentDefinitionName"; "required": false; }; "setValuesSubject$": { "alias": "setValuesSubject$"; "required": false; }; "clearValuesSubject$": { "alias": "clearValuesSubject$"; "required": false; }; "defaultValues": { "alias": "defaultValues"; "required": false; }; "inputDisabled": { "alias": "inputDisabled"; "required": false; }; "externalSearchField": { "alias": "externalSearchField"; "required": false; }; }, { "doSearch": "doSearch"; }, never, ["*"], false, never>;
|
|
53
53
|
}
|
|
54
54
|
//# sourceMappingURL=search-fields.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,WAAW,EAAsB,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAE,OAAO,EAAqB,MAAM,MAAM,CAAC;AAClG,OAAO,
|
|
1
|
+
{"version":3,"file":"search-fields.component.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/search-fields/search-fields.component.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAY,YAAY,EAAS,SAAS,EAAE,MAAM,EAAS,MAAM,eAAe,CAAC;AACxF,OAAO,EAAC,WAAW,EAAsB,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAC,eAAe,EAAsB,UAAU,EAAE,OAAO,EAAqB,MAAM,MAAM,CAAC;AAClG,OAAO,EAAC,UAAU,EAAC,MAAM,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EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAa;gBAGhE,eAAe,EAAE,eAAe,EAChC,gBAAgB,EAAE,gBAAgB,EAClC,WAAW,EAAE,WAAW;IAKpC,QAAQ,IAAI,IAAI;IAQhB,WAAW,IAAI,IAAI;IAInB,iBAAiB,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI;IAYjF,mBAAmB,CAAC,cAAc,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,UAAU,CAAC,EAAE,OAAO,GAAG,IAAI;IAuBnF,cAAc,IAAI,IAAI;IAMtB,MAAM,IAAI,IAAI;IAMd,KAAK,IAAI,IAAI;IAKb,4BAA4B,CACjC,MAAM,EAAE,iBAAiB,EACzB,cAAc,EAAE,MAAM,GACrB,MAAM,GAAG,IAAI;IAWhB,OAAO,CAAC,cAAc;IActB,OAAO,CAAC,sCAAsC;IAS9C,OAAO,CAAC,6BAA6B;IAcrC,OAAO,CAAC,qBAAqB;IAW7B,OAAO,CAAC,wBAAwB;IAiChC,OAAO,CAAC,QAAQ;IAIhB,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,gBAAgB;yCA7Ob,qBAAqB;2CAArB,qBAAqB;CAwPjC"}
|
|
@@ -8,12 +8,13 @@ import * as i6 from "./stepper-footer-step/stepper-footer-step.component";
|
|
|
8
8
|
import * as i7 from "@angular/common";
|
|
9
9
|
import * as i8 from "@ngx-translate/core";
|
|
10
10
|
import * as i9 from "../button/button.module";
|
|
11
|
+
import * as i10 from "carbon-components-angular";
|
|
11
12
|
/**
|
|
12
13
|
* @deprecated Migrate old design to Carbon
|
|
13
14
|
*/
|
|
14
15
|
export declare class StepperModule {
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
|
|
16
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperContainerComponent, typeof i2.StepperContentComponent, typeof i3.StepperFooterComponent, typeof i4.StepperHeaderComponent, typeof i5.StepperStepComponent, typeof i6.StepperFooterStepComponent], [typeof i7.CommonModule, typeof i8.TranslateModule, typeof i9.ButtonModule], [typeof i1.StepperContainerComponent, typeof i2.StepperContentComponent, typeof i3.StepperFooterComponent, typeof i4.StepperHeaderComponent, typeof i5.StepperStepComponent, typeof i6.StepperFooterStepComponent]>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepperContainerComponent, typeof i2.StepperContentComponent, typeof i3.StepperFooterComponent, typeof i4.StepperHeaderComponent, typeof i5.StepperStepComponent, typeof i6.StepperFooterStepComponent], [typeof i7.CommonModule, typeof i8.TranslateModule, typeof i9.ButtonModule, typeof i10.ButtonModule], [typeof i1.StepperContainerComponent, typeof i2.StepperContentComponent, typeof i3.StepperFooterComponent, typeof i4.StepperHeaderComponent, typeof i5.StepperStepComponent, typeof i6.StepperFooterStepComponent]>;
|
|
17
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
|
|
18
19
|
}
|
|
19
20
|
//# sourceMappingURL=stepper.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stepper.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/stepper/stepper.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stepper.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/valtimo/components/src/lib/components/stepper/stepper.module.ts"],"names":[],"mappings":";;;;;;;;;;;AA4BA;;GAEG;AACH,qBAmBa,aAAa;yCAAb,aAAa;0CAAb,aAAa;0CAAb,aAAa;CAAG"}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { TypeConverter } from './type-converters.model';
|
|
2
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
2
4
|
export declare class BooleanTypeConverter implements TypeConverter {
|
|
5
|
+
private translateService;
|
|
6
|
+
constructor(translateService: TranslateService);
|
|
3
7
|
getTypeString(): string;
|
|
4
8
|
convert(value: any, definition: any): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BooleanTypeConverter, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<BooleanTypeConverter>;
|
|
5
11
|
}
|
|
6
12
|
//# sourceMappingURL=booleanTypeConverter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"booleanTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/booleanTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,
|
|
1
|
+
{"version":3,"file":"booleanTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/booleanTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAC,gBAAgB,EAAC,MAAM,qBAAqB,CAAC;;AAErD,qBACa,oBAAqB,YAAW,aAAa;IAC5C,OAAO,CAAC,gBAAgB;gBAAhB,gBAAgB,EAAE,gBAAgB;IAE/C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;yCAPxC,oBAAoB;6CAApB,oBAAoB;CAoBhC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypeConverter } from './type-converters.model';
|
|
2
|
+
export declare class CurrencyTypeConverter implements TypeConverter {
|
|
3
|
+
private readonly _currencyPipe;
|
|
4
|
+
getTypeString(): string;
|
|
5
|
+
convert(value: any, definition: any): string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=currencyTypeConverter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"currencyTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/currencyTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAStD,qBAAa,qBAAsB,YAAW,aAAa;IACzD,OAAO,CAAC,QAAQ,CAAC,aAAa,CAAwB;IAE/C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAepD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dateTimeTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/dateTimeTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,qBAAsB,YAAW,aAAa;IAClD,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAUpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dateTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/dateTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"dateTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/dateTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,iBAAkB,YAAW,aAAa;IAC9C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAUpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/enumTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,iBAAkB,YAAW,aAAa;
|
|
1
|
+
{"version":3,"file":"enumTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/enumTypeConverter.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAEtD,qBAAa,iBAAkB,YAAW,aAAa;IAC9C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAGpD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TypeConverter } from './type-converters.model';
|
|
2
|
+
export declare class NumberTypeConverter implements TypeConverter {
|
|
3
|
+
private readonly _decimalPipe;
|
|
4
|
+
getTypeString(): string;
|
|
5
|
+
convert(value: any, definition: any): string;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=numberTypeConverter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"numberTypeConverter.d.ts","sourceRoot":"","sources":["../../../../../../../projects/valtimo/components/src/lib/components/view-content/type-converters/numberTypeConverter.ts"],"names":[],"mappings":"AAiBA,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAQtD,qBAAa,mBAAoB,YAAW,aAAa;IACvD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAuB;IAE7C,aAAa,IAAI,MAAM;IAIvB,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,GAAG,MAAM;CAapD"}
|