@valtimo/components 4.18.0 → 4.19.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/ng-multiselect-dropdown.theme.scss +2 -4
- package/bundles/valtimo-components.umd.js +118 -21
- package/bundles/valtimo-components.umd.js.map +1 -1
- package/bundles/valtimo-components.umd.min.js +2 -2
- package/bundles/valtimo-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/alert/alert.component.js +1 -1
- package/esm2015/lib/components/alert/alert.module.js +1 -1
- package/esm2015/lib/components/alert/alert.service.js +1 -1
- package/esm2015/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.js +1 -1
- package/esm2015/lib/components/bpmn-js-diagram/bpmn-js-diagram.module.js +1 -1
- package/esm2015/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.js +1 -1
- package/esm2015/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.js +1 -1
- package/esm2015/lib/components/camunda/form/camunda-form.components.js +1 -1
- package/esm2015/lib/components/camunda/form/camunda-form.module.js +1 -1
- package/esm2015/lib/components/camunda/form/custom/camunda-custom-form.component.js +1 -1
- package/esm2015/lib/components/camunda/form/custom/camunda-custom-form.module.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/camunda-generated-form.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/camunda-generated-form.module.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/camunda-formfield.service.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/formfield.model.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/long/camunda-long-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +1 -1
- package/esm2015/lib/components/camunda/form/generated/formfield/validation/date.validators.js +1 -1
- package/esm2015/lib/components/card/card.component.js +1 -1
- package/esm2015/lib/components/card/card.module.js +1 -1
- package/esm2015/lib/components/components.module.js +1 -1
- package/esm2015/lib/components/data-list/data-list.component.js +1 -1
- package/esm2015/lib/components/data-list/data-list.module.js +1 -1
- package/esm2015/lib/components/dropzone/dropzone.component.js +1 -1
- package/esm2015/lib/components/dropzone/dropzone.module.js +1 -1
- package/esm2015/lib/components/field-auto-focus/field-auto-focus.directive.js +1 -1
- package/esm2015/lib/components/field-auto-focus/field-auto-focus.module.js +1 -1
- package/esm2015/lib/components/file-size/file-size.module.js +1 -1
- package/esm2015/lib/components/file-size/file-size.pipe.js +1 -1
- package/esm2015/lib/components/filter-sidebar/filter-sidebar.component.js +1 -1
- package/esm2015/lib/components/filter-sidebar/filter-sidebar.module.js +1 -1
- package/esm2015/lib/components/form-io/form-io-builder.component.js +1 -1
- package/esm2015/lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio.js +63 -0
- package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader-edit-form.js +1 -1
- package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader.component.js +1 -1
- package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader.formio.js +1 -1
- package/esm2015/lib/components/form-io/form-io.component.js +5 -1
- package/esm2015/lib/components/form-io/form-io.module.js +2 -7
- package/esm2015/lib/components/form-io/formio-config.js +1 -1
- package/esm2015/lib/components/form-io/services/form-io-dom.service.js +1 -1
- package/esm2015/lib/components/form-io/services/form-io-state.service.js +13 -2
- package/esm2015/lib/components/left-sidebar/left-sidebar.component.js +1 -1
- package/esm2015/lib/components/left-sidebar/left-sidebar.module.js +1 -1
- package/esm2015/lib/components/list/ListFilterPipe.directive.js +1 -1
- package/esm2015/lib/components/list/list.component.js +4 -3
- package/esm2015/lib/components/list/list.module.js +1 -1
- package/esm2015/lib/components/menu/menu-item-text.component.js +1 -1
- package/esm2015/lib/components/menu/menu-routing.module.js +1 -1
- package/esm2015/lib/components/menu/menu.component.js +5 -3
- package/esm2015/lib/components/menu/menu.init.js +1 -1
- package/esm2015/lib/components/menu/menu.module.js +1 -1
- package/esm2015/lib/components/menu/menu.service.js +12 -4
- package/esm2015/lib/components/menu/submenu-item-text.component.js +1 -1
- package/esm2015/lib/components/modal/modal.component.js +1 -1
- package/esm2015/lib/components/modal/modal.module.js +1 -1
- package/esm2015/lib/components/multiselect-dropdown/multiselect-dropdown.component.js +1 -1
- package/esm2015/lib/components/multiselect-dropdown/multiselect-dropdown.module.js +1 -1
- package/esm2015/lib/components/page-header/page-header.component.js +1 -1
- package/esm2015/lib/components/page-header/page-header.module.js +1 -1
- package/esm2015/lib/components/page-title/page-title.component.js +1 -1
- package/esm2015/lib/components/page-title/page-title.module.js +1 -1
- package/esm2015/lib/components/progress-bar/progress-bar.component.js +1 -1
- package/esm2015/lib/components/progress-bar/progress-bar.module.js +1 -1
- package/esm2015/lib/components/right-sidebar/right-sidebar.component.js +1 -1
- package/esm2015/lib/components/right-sidebar/right-sidebar.module.js +1 -1
- package/esm2015/lib/components/searchable-dropdown/searchable-dropdown.component.js +1 -1
- package/esm2015/lib/components/searchable-dropdown/searchable-dropdown.module.js +1 -1
- package/esm2015/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.js +1 -1
- package/esm2015/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.js +1 -1
- package/esm2015/lib/components/spinner/spinner.component.js +1 -1
- package/esm2015/lib/components/spinner/spinner.module.js +1 -1
- package/esm2015/lib/components/timeline/timeline.component.js +1 -1
- package/esm2015/lib/components/timeline/timeline.module.js +1 -1
- package/esm2015/lib/components/topbar/topbar.component.js +1 -1
- package/esm2015/lib/components/topbar/topbar.module.js +1 -1
- package/esm2015/lib/components/uploader/uploader-drag-drop.directive.js +1 -1
- package/esm2015/lib/components/uploader/uploader.component.js +1 -1
- package/esm2015/lib/components/uploader/uploader.module.js +1 -1
- package/esm2015/lib/components/version/version.service.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/booleanTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/dateTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/enumTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/relatedFilesTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/stringTypeConverter.js +1 -1
- package/esm2015/lib/components/view-content/type-converters/type-converters.model.js +1 -1
- package/esm2015/lib/components/view-content/view-content.service.js +1 -1
- package/esm2015/lib/components/webcam/webcam.component.js +1 -1
- package/esm2015/lib/components/webcam/webcam.module.js +1 -1
- package/esm2015/lib/components/widget/widget.component.js +1 -1
- package/esm2015/lib/components/widget/widget.module.js +1 -1
- package/esm2015/lib/models/alert.model.js +1 -1
- package/esm2015/lib/models/form-io.model.js +1 -1
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/models/pagination.model.js +1 -1
- package/esm2015/lib/models/searchable-dropdown.model.js +1 -1
- package/esm2015/lib/models/timeline.model.js +1 -1
- package/esm2015/lib/models/version.model.js +1 -1
- package/esm2015/public_api.js +3 -1
- package/esm2015/valtimo-components.js +4 -5
- package/fesm2015/valtimo-components.js +95 -16
- package/fesm2015/valtimo-components.js.map +1 -1
- package/lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio.d.ts +2 -0
- package/lib/components/form-io/services/form-io-state.service.d.ts +3 -0
- package/lib/components/menu/menu.component.d.ts +4 -0
- package/lib/components/menu/menu.service.d.ts +10 -6
- package/lib/models/form-io.model.d.ts +4 -0
- package/package.json +1 -1
- package/public_api.d.ts +2 -0
- package/valtimo-components.d.ts +3 -4
- package/valtimo-components.metadata.json +1 -1
|
@@ -2,9 +2,12 @@ import { Observable } from 'rxjs';
|
|
|
2
2
|
import { FormioComponent } from 'angular-formio';
|
|
3
3
|
export declare class FormIoStateService {
|
|
4
4
|
private _documentDefinitionName$;
|
|
5
|
+
private _documentId$;
|
|
5
6
|
private _currentForm$;
|
|
6
7
|
get documentDefinitionName$(): Observable<string>;
|
|
7
8
|
setDocumentDefinitionName(documentDefinitionName: string): void;
|
|
9
|
+
get documentId$(): Observable<string>;
|
|
10
|
+
setDocumentId(documentId: string): void;
|
|
8
11
|
get currentForm$(): Observable<FormioComponent>;
|
|
9
12
|
set currentForm(form: FormioComponent);
|
|
10
13
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
3
|
import { MenuItem } from '@valtimo/config';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
4
5
|
import { MenuService } from './menu.service';
|
|
5
6
|
export declare class MenuComponent implements OnInit, OnDestroy {
|
|
6
7
|
private menuService;
|
|
@@ -8,6 +9,9 @@ export declare class MenuComponent implements OnInit, OnDestroy {
|
|
|
8
9
|
private renderer;
|
|
9
10
|
private router;
|
|
10
11
|
menuItems: MenuItem[];
|
|
12
|
+
includeFunctionObservables: {
|
|
13
|
+
[key: string]: Observable<boolean>;
|
|
14
|
+
};
|
|
11
15
|
private routerSubscription;
|
|
12
16
|
private menuItemSubscription;
|
|
13
17
|
constructor(menuService: MenuService, elRef: ElementRef, renderer: Renderer2, router: Router);
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
-
import { MenuItem } from '@valtimo/config';
|
|
1
|
+
import { MenuItem, MenuIncludeService } from '@valtimo/config';
|
|
2
2
|
import { NGXLogger } from 'ngx-logger';
|
|
3
3
|
import { ConfigService } from '@valtimo/config';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { DocumentService } from '@valtimo/document';
|
|
6
6
|
import { UserProviderService } from '@valtimo/security';
|
|
7
7
|
export declare class MenuService {
|
|
8
|
-
private configService;
|
|
9
|
-
private documentService;
|
|
10
|
-
private userProviderService;
|
|
11
|
-
private logger;
|
|
8
|
+
private readonly configService;
|
|
9
|
+
private readonly documentService;
|
|
10
|
+
private readonly userProviderService;
|
|
11
|
+
private readonly logger;
|
|
12
|
+
private readonly menuIncludeService;
|
|
13
|
+
includeFunctionObservables: {
|
|
14
|
+
[key: string]: Observable<boolean>;
|
|
15
|
+
};
|
|
12
16
|
private _menuItems$;
|
|
13
17
|
private menuConfig;
|
|
14
|
-
constructor(configService: ConfigService, documentService: DocumentService, userProviderService: UserProviderService, logger: NGXLogger);
|
|
18
|
+
constructor(configService: ConfigService, documentService: DocumentService, userProviderService: UserProviderService, logger: NGXLogger, menuIncludeService: MenuIncludeService);
|
|
15
19
|
init(): void;
|
|
16
20
|
get menuItems$(): Observable<MenuItem[]>;
|
|
17
21
|
reload(): void;
|
|
@@ -6,6 +6,10 @@ export interface FormioSubmission {
|
|
|
6
6
|
metadata: object;
|
|
7
7
|
state: string;
|
|
8
8
|
}
|
|
9
|
+
export interface ResourceOption {
|
|
10
|
+
label: string;
|
|
11
|
+
value: string;
|
|
12
|
+
}
|
|
9
13
|
export declare class AlertsOptionsImpl implements AlertsOptions {
|
|
10
14
|
submitMessage: string;
|
|
11
15
|
constructor(submitMessage: string);
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -58,6 +58,8 @@ export * from './lib/components/dropzone/dropzone.module';
|
|
|
58
58
|
export * from './lib/components/dropzone/dropzone.component';
|
|
59
59
|
export * from './lib/components/form-io/form-io-uploader/form-io-uploader.component';
|
|
60
60
|
export * from './lib/components/form-io/form-io-uploader/form-io-uploader.formio';
|
|
61
|
+
export * from './lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio';
|
|
62
|
+
export * from './lib/components/form-io/services/form-io-state.service';
|
|
61
63
|
export * from './lib/components/webcam/webcam.module';
|
|
62
64
|
export * from './lib/components/webcam/webcam.component';
|
|
63
65
|
export * from './lib/components/progress-bar/progress-bar.module';
|
package/valtimo-components.d.ts
CHANGED
|
@@ -16,11 +16,10 @@ export { CamundaLongFormfieldComponent as ɵg } from './lib/components/camunda/f
|
|
|
16
16
|
export { CamundaStringFormfieldComponent as ɵb } from './lib/components/camunda/form/generated/formfield/string/camunda-string-formfield.component';
|
|
17
17
|
export { CamundaTextareaFormfieldComponent as ɵi } from './lib/components/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component';
|
|
18
18
|
export { CamundaFormfieldValidationComponent as ɵk } from './lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component';
|
|
19
|
-
export { AppConfig as
|
|
20
|
-
export { FormIoDomService as
|
|
21
|
-
export { FormIoStateService as ɵs } from './lib/components/form-io/services/form-io-state.service';
|
|
19
|
+
export { AppConfig as ɵt } from './lib/components/form-io/formio-config';
|
|
20
|
+
export { FormIoDomService as ɵs } from './lib/components/form-io/services/form-io-dom.service';
|
|
22
21
|
export { MenuItemTextComponent as ɵp } from './lib/components/menu/menu-item-text.component';
|
|
23
22
|
export { MenuComponent as ɵo } from './lib/components/menu/menu.component';
|
|
24
23
|
export { SubmenuItemTextComponent as ɵq } from './lib/components/menu/submenu-item-text.component';
|
|
25
|
-
export { SpinnerComponent as
|
|
24
|
+
export { SpinnerComponent as ɵu } from './lib/components/spinner/spinner.component';
|
|
26
25
|
export { VersionService as ɵr } from './lib/components/version/version.service';
|