@valtimo/components 4.18.0 → 4.21.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 +127 -30
- 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 +14 -10
- 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 +104 -25
- 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
package/esm2015/public_api.js
CHANGED
|
@@ -76,6 +76,8 @@ export * from './lib/components/dropzone/dropzone.module';
|
|
|
76
76
|
export * from './lib/components/dropzone/dropzone.component';
|
|
77
77
|
export * from './lib/components/form-io/form-io-uploader/form-io-uploader.component';
|
|
78
78
|
export * from './lib/components/form-io/form-io-uploader/form-io-uploader.formio';
|
|
79
|
+
export * from './lib/components/form-io/form-io-resource-selector/form-io-resource-selector.formio';
|
|
80
|
+
export * from './lib/components/form-io/services/form-io-state.service';
|
|
79
81
|
export * from './lib/components/webcam/webcam.module';
|
|
80
82
|
export * from './lib/components/webcam/webcam.component';
|
|
81
83
|
export * from './lib/components/progress-bar/progress-bar.module';
|
|
@@ -84,4 +86,4 @@ export * from './lib/components/searchable-dropdown-select/searchable-dropdown-s
|
|
|
84
86
|
export * from './lib/components/searchable-dropdown-select/searchable-dropdown-select.component';
|
|
85
87
|
export * from './lib/components/multiselect-dropdown/multiselect-dropdown.module';
|
|
86
88
|
export * from './lib/components/multiselect-dropdown/multiselect-dropdown.component';
|
|
87
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
89
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIvdG1wL2plbmtpbnMtYjE2ZDA0YTAvd29ya3NwYWNlL3JvbnRlbmRfbGlicmFyaWVzXy1fcmVsZWFzZV9tYWluL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUg7O0dBRUc7QUFFSCx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ViY2FtL3dlYmNhbS5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy93ZWJjYW0vd2ViY2FtLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvcHJvZ3Jlc3MtYmFyL3Byb2dyZXNzLWJhci5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9wcm9ncmVzcy1iYXIvcHJvZ3Jlc3MtYmFyLmNvbXBvbmVudCc7XG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvc2VhcmNoYWJsZS1kcm9wZG93bi1zZWxlY3Qvc2VhcmNoYWJsZS1kcm9wZG93bi1zZWxlY3QubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvc2VhcmNoYWJsZS1kcm9wZG93bi1zZWxlY3Qvc2VhcmNoYWJsZS1kcm9wZG93bi1zZWxlY3QuY29tcG9uZW50JztcblxuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9tdWx0aXNlbGVjdC1kcm9wZG93bi9tdWx0aXNlbGVjdC1kcm9wZG93bi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvY29tcG9uZW50cy9tdWx0aXNlbGVjdC1kcm9wZG93bi9tdWx0aXNlbGVjdC1kcm9wZG93bi5jb21wb25lbnQnO1xuIl19
|
|
@@ -16,12 +16,11 @@ 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';
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdGltby1jb21wb25lbnRzLmpzIiwic291cmNlUm9vdCI6Ii90bXAvamVua2lucy1iMTZkMDRhMC93b3Jrc3BhY2Uvcm9udGVuZF9saWJyYXJpZXNfLV9yZWxlYXNlX21haW4vcHJvamVjdHMvdmFsdGltby9jb21wb25lbnRzL3NyYy8iLCJzb3VyY2VzIjpbInZhbHRpbW8tY29tcG9uZW50cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDO0FBRTdCLE9BQU8sRUFBQywwQkFBMEIsSUFBSSxFQUFFLEVBQUMsTUFBTSxvRUFBb0UsQ0FBQztBQUNwSCxPQUFPLEVBQUMsdUJBQXVCLElBQUksRUFBRSxFQUFDLE1BQU0saUVBQWlFLENBQUM7QUFDOUcsT0FBTyxFQUFDLDZCQUE2QixJQUFJLEVBQUUsRUFBQyxNQUFNLDBFQUEwRSxDQUFDO0FBQzdILE9BQU8sRUFBQywwQkFBMEIsS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zZXJ2aWNlJztcbmV4cG9ydCB7TWVudUl0ZW1UZXh0Q29tcG9uZW50IGFzIMm1cH0gZnJvbSAnLi9saWIvY29tcG9uZW50cy9tZW51L21lbnUtaXRlbS10ZXh0LmNvbXBvbmVudCc7XG5leHBvcnQge01lbnVDb21wb25lbnQgYXMgybVvfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL21lbnUvbWVudS5jb21wb25lbnQnO1xuZXhwb3J0IHtTdWJtZW51SXRlbVRleHRDb21wb25lbnQgYXMgybVxfSBmcm9tICcuL2xpYi9jb21wb25lbnRzL21lbnUvc3VibWVudS1pdGVtLXRleHQuY29tcG9uZW50JztcbmV4cG9ydCB7U3Bpbm5lckNvbXBvbmVudCBhcyDJtXV9IGZyb20gJy4vbGliL2NvbXBvbmVudHMvc3Bpbm5lci9zcGlubmVyLmNvbXBvbmVudCc7XG5leHBvcnQge1ZlcnNpb25TZXJ2aWNlIGFzIMm1cn0gZnJvbSAnLi9saWIvY29tcG9uZW50cy92ZXJzaW9uL3ZlcnNpb24uc2VydmljZSc7Il19
|
|
@@ -4,8 +4,8 @@ import { Validators, FormControl, FormBuilder, ReactiveFormsModule, FormsModule
|
|
|
4
4
|
import * as momentImported from 'moment';
|
|
5
5
|
import { ChoicefieldService } from '@valtimo/choicefield';
|
|
6
6
|
import { RouterModule, NavigationEnd, Router, ActivatedRoute, PRIMARY_OUTLET, NavigationStart } from '@angular/router';
|
|
7
|
+
import { ConfigService, MenuIncludeService, HttpLoaderFactory } from '@valtimo/config';
|
|
7
8
|
import { NGXLogger } from 'ngx-logger';
|
|
8
|
-
import { ConfigService, HttpLoaderFactory } from '@valtimo/config';
|
|
9
9
|
import { BehaviorSubject, Observable, combineLatest, fromEvent, Subscription, Subject, timer, from } from 'rxjs';
|
|
10
10
|
import { DocumentService, DocumentModule } from '@valtimo/document';
|
|
11
11
|
import { UserProviderService } from '@valtimo/security';
|
|
@@ -18,7 +18,7 @@ import { Title } from '@angular/platform-browser';
|
|
|
18
18
|
import * as BpmnJS from 'bpmn-js/dist/bpmn-navigated-viewer.production.min.js';
|
|
19
19
|
import { create } from 'heatmap.js-fixed/build/heatmap.js';
|
|
20
20
|
import { S3Resource, S3Service, UploadProviderService, DownloadService, ResourceModule } from '@valtimo/resource';
|
|
21
|
-
import { Formio, FormioModule, FormioAppConfig, createCustomFormioComponent, registerCustomFormioComponentWithClass } from 'angular-formio';
|
|
21
|
+
import { Formio, FormioModule, FormioAppConfig, createCustomFormioComponent, registerCustomFormioComponentWithClass, Components } from 'angular-formio';
|
|
22
22
|
import jwt_decode from 'jwt-decode';
|
|
23
23
|
import * as Dropzone from 'dropzone';
|
|
24
24
|
import { NgxSpinnerModule } from 'ngx-spinner';
|
|
@@ -910,11 +910,13 @@ TopbarModule.decorators = [
|
|
|
910
910
|
* limitations under the License.
|
|
911
911
|
*/
|
|
912
912
|
class MenuService {
|
|
913
|
-
constructor(configService, documentService, userProviderService, logger) {
|
|
913
|
+
constructor(configService, documentService, userProviderService, logger, menuIncludeService) {
|
|
914
914
|
this.configService = configService;
|
|
915
915
|
this.documentService = documentService;
|
|
916
916
|
this.userProviderService = userProviderService;
|
|
917
917
|
this.logger = logger;
|
|
918
|
+
this.menuIncludeService = menuIncludeService;
|
|
919
|
+
this.includeFunctionObservables = {};
|
|
918
920
|
this._menuItems$ = new BehaviorSubject(undefined);
|
|
919
921
|
this.menuConfig = configService.config.menu;
|
|
920
922
|
}
|
|
@@ -931,6 +933,10 @@ class MenuService {
|
|
|
931
933
|
loadMenuItems() {
|
|
932
934
|
let menuItems = [];
|
|
933
935
|
this.menuConfig.menuItems.forEach((menuItem) => {
|
|
936
|
+
if (menuItem.includeFunction !== undefined) {
|
|
937
|
+
this.includeFunctionObservables[menuItem.title] =
|
|
938
|
+
this.menuIncludeService.getIncludeFunction(menuItem.includeFunction);
|
|
939
|
+
}
|
|
934
940
|
menuItem.show = true;
|
|
935
941
|
menuItems.push(menuItem);
|
|
936
942
|
});
|
|
@@ -996,7 +1002,7 @@ class MenuService {
|
|
|
996
1002
|
}
|
|
997
1003
|
}
|
|
998
1004
|
}
|
|
999
|
-
MenuService.ɵprov = ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(ɵɵinject(ConfigService), ɵɵinject(DocumentService), ɵɵinject(UserProviderService), ɵɵinject(NGXLogger)); }, token: MenuService, providedIn: "root" });
|
|
1005
|
+
MenuService.ɵprov = ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(ɵɵinject(ConfigService), ɵɵinject(DocumentService), ɵɵinject(UserProviderService), ɵɵinject(NGXLogger), ɵɵinject(MenuIncludeService)); }, token: MenuService, providedIn: "root" });
|
|
1000
1006
|
MenuService.decorators = [
|
|
1001
1007
|
{ type: Injectable, args: [{
|
|
1002
1008
|
providedIn: 'root',
|
|
@@ -1006,7 +1012,8 @@ MenuService.ctorParameters = () => [
|
|
|
1006
1012
|
{ type: ConfigService },
|
|
1007
1013
|
{ type: DocumentService },
|
|
1008
1014
|
{ type: UserProviderService },
|
|
1009
|
-
{ type: NGXLogger }
|
|
1015
|
+
{ type: NGXLogger },
|
|
1016
|
+
{ type: MenuIncludeService }
|
|
1010
1017
|
];
|
|
1011
1018
|
|
|
1012
1019
|
/*
|
|
@@ -1055,6 +1062,8 @@ class MenuComponent {
|
|
|
1055
1062
|
this.elRef = elRef;
|
|
1056
1063
|
this.renderer = renderer;
|
|
1057
1064
|
this.router = router;
|
|
1065
|
+
this.includeFunctionObservables = {};
|
|
1066
|
+
this.includeFunctionObservables = this.menuService.includeFunctionObservables;
|
|
1058
1067
|
}
|
|
1059
1068
|
ngOnInit() {
|
|
1060
1069
|
this.openRouterSubscription();
|
|
@@ -1085,8 +1094,8 @@ class MenuComponent {
|
|
|
1085
1094
|
MenuComponent.decorators = [
|
|
1086
1095
|
{ type: Component, args: [{
|
|
1087
1096
|
selector: 'valtimo-menu',
|
|
1088
|
-
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ul class=\"sidebar-elements\">\n <ng-container *ngFor=\"let menuItem of menuItems\">\n <li\n [class.parent]=\"menuItem.children\"\n [hidden]=\"!menuItem.show\"\n [routerLinkActive]=\"'active'\"\n [routerLinkActiveOptions]=\"{exact: true}\"\n >\n <a *ngIf=\"menuItem.link\" [routerLink]=\"menuItem.link\" class=\"sub-item\">\n <valtimo-menu-item-text [menuItem]=\"menuItem\"></valtimo-menu-item-text>\n </a>\n <a *ngIf=\"!menuItem.link\" class=\"sub-item\">\n <valtimo-menu-item-text [menuItem]=\"menuItem\"></valtimo-menu-item-text>\n </a>\n <ng-container *ngIf=\"menuItem.children\">\n <ul class=\"sub-menu\">\n <li class=\"title\">{{ menuItem.title | translate }}</li>\n <li\n *ngFor=\"let subMenuItem of menuItem.children\"\n [routerLinkActive]=\"'active'\"\n [routerLinkActiveOptions]=\"{exact: true}\"\n >\n <a *ngIf=\"subMenuItem.link\" [routerLink]=\"subMenuItem.link\">\n <valtimo-submenu-item-text [submenuItem]=\"subMenuItem\"></valtimo-submenu-item-text>\n </a>\n <a *ngIf=\"!subMenuItem.link\">\n <valtimo-submenu-item-text [submenuItem]=\"subMenuItem\"></valtimo-submenu-item-text>\n </a>\n </li>\n </ul>\n </ng-container>\n </li>\n </ng-container>\n</ul>\n",
|
|
1089
|
-
styles: [".c-default{cursor:default}.sub-item{cursor:pointer}"]
|
|
1097
|
+
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ul class=\"sidebar-elements\">\n <ng-container *ngFor=\"let menuItem of menuItems\">\n <li\n [class.parent]=\"menuItem.children\"\n [hidden]=\"!menuItem.show\"\n [routerLinkActive]=\"'active'\"\n [routerLinkActiveOptions]=\"{exact: true}\"\n [ngClass]=\"{\n 'menu-item--hidden': menuItem.includeFunction !== undefined,\n 'menu-item--visible':\n menuItem.includeFunction !== undefined &&\n (includeFunctionObservables[menuItem.title] | async)\n }\"\n >\n <a *ngIf=\"menuItem.link\" [routerLink]=\"menuItem.link\" class=\"sub-item\">\n <valtimo-menu-item-text [menuItem]=\"menuItem\"></valtimo-menu-item-text>\n </a>\n <a *ngIf=\"!menuItem.link\" class=\"sub-item\">\n <valtimo-menu-item-text [menuItem]=\"menuItem\"></valtimo-menu-item-text>\n </a>\n <ng-container *ngIf=\"menuItem.children\">\n <ul class=\"sub-menu\">\n <li class=\"title\">{{ menuItem.title | translate }}</li>\n <li\n *ngFor=\"let subMenuItem of menuItem.children\"\n [routerLinkActive]=\"'active'\"\n [routerLinkActiveOptions]=\"{exact: true}\"\n >\n <a *ngIf=\"subMenuItem.link\" [routerLink]=\"subMenuItem.link\">\n <valtimo-submenu-item-text [submenuItem]=\"subMenuItem\"></valtimo-submenu-item-text>\n </a>\n <a *ngIf=\"!subMenuItem.link\">\n <valtimo-submenu-item-text [submenuItem]=\"subMenuItem\"></valtimo-submenu-item-text>\n </a>\n </li>\n </ul>\n </ng-container>\n </li>\n </ng-container>\n</ul>\n",
|
|
1098
|
+
styles: [".c-default{cursor:default}.sub-item{cursor:pointer}.menu-item--hidden{display:none}.menu-item--visible{display:block}"]
|
|
1090
1099
|
},] }
|
|
1091
1100
|
];
|
|
1092
1101
|
MenuComponent.ctorParameters = () => [
|
|
@@ -1971,6 +1980,7 @@ class ListComponent {
|
|
|
1971
1980
|
item.listItemFields = this.fields.map(field => ({
|
|
1972
1981
|
key: field.key,
|
|
1973
1982
|
label: field.label,
|
|
1983
|
+
type: field.type || '',
|
|
1974
1984
|
value: this.resolveObject(field, item),
|
|
1975
1985
|
}));
|
|
1976
1986
|
});
|
|
@@ -2033,8 +2043,8 @@ ListComponent.PAGINATION_SIZE = 'PaginationSize';
|
|
|
2033
2043
|
ListComponent.decorators = [
|
|
2034
2044
|
{ type: Component, args: [{
|
|
2035
2045
|
selector: 'valtimo-list',
|
|
2036
|
-
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"(items?.length > 0 && fields?.length > 0) || header\">\n <div\n class=\"d-flex align-items-center search-holder bg-light\"\n [ngClass]=\"{'pb-4 pt-4': !header}\"\n *ngIf=\"isSearchable || viewMode || header\"\n >\n <div class=\"align-self-start\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div class=\"ml-auto row\">\n <input\n *ngIf=\"isSearchable\"\n class=\"form-control col-sm-8\"\n type=\"text\"\n placeholder=\"Search...\"\n #searchBox\n />\n\n <div\n class=\"switch-view-holder btn-group col-sm-4 mt-1 mt-sm-0\"\n role=\"group\"\n *ngIf=\"viewMode\"\n >\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'table' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('table')\"\n >\n <i class=\"mdi mdi-view-headline\"></i>\n </button>\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'tile' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('tile')\"\n >\n <i class=\"mdi mdi-view-module\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <ng-content select=\"[tabs]\"></ng-content>\n\n <div *ngIf=\"items?.length > 0 && fields?.length > 0\">\n <div class=\"table-responsive noSwipe\" *ngIf=\"!viewMode || viewListAs === 'table'\">\n <table class=\"table table-striped table-hover m-0\" *ngIf=\"sort$ | async as sort\">\n <thead>\n <tr>\n <th\n *ngFor=\"let field of fields\"\n (click)=\"handleFieldClick(field.key, field.sortable)\"\n [ngClass]=\"{\n sortable: field.sortable,\n 'is-being-sorted': field.key === sort.state.name && sort.isSorting,\n ascending: sort.state.direction === 'ASC'\n }\"\n >\n {{ field.label }}\n </th>\n <th *ngFor=\"let action of actions\">\n {{ action.columnName }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n [ngClass]=\"{'click-able': this.rowClicked.observers.length > 0}\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <td class=\"align-top\" *ngFor=\"let listItemField of item.listItemFields\">\n {{ listItemField.value || '-' }}\n </td>\n <td class=\"align-top\" *ngFor=\"let action of actions\">\n <i\n class=\"action-icon\"\n style=\"cursor: pointer\"\n [ngClass]=\"action.iconClass\"\n (click)=\"action.callback(item)\"\n ></i>\n </td>\n </tr>\n <tr>\n <td *ngIf=\"(items | listFilter: searchModel).length === 0\" [colSpan]=\"fields.length\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"container-fluid\" *ngIf=\"viewMode && viewListAs === 'tile'\">\n <div class=\"row p-2\">\n <div\n class=\"col-12 col-sm-6 col-xl-4 p-2\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <div class=\"click-able tile-holder p-4\">\n <dl class=\"row mb-0\" *ngFor=\"let listItemField of item.listItemFields\">\n <dt class=\"col-12 col-md-5 text-xl-right\">{{ listItemField.label }}</dt>\n <dd class=\"col-12 col-md-7\">{{ listItemField.value || '-' }}</dd>\n </dl>\n </div>\n </div>\n <div class=\"col-12\" *ngIf=\"(items | listFilter: searchModel).length === 0\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"pagination-holder bg-light px-4 pt-4 pb-2 overflow-auto row mr-0 ml-0\"\n *ngIf=\"pagination && items?.length > 0 && fields?.length > 0\"\n >\n <div class=\"float-left page-count col-4\">\n <strong>{{\n 'list.currentPage' | translate: {current: pagination.page, total: getTotalPageCount()}\n }}</strong>\n <br />\n {{\n pagination.collectionSize === 1\n ? ('list.showingResult' | translate: {number: (items | listFilter: searchModel).length})\n : ('list.showingResults'\n | translate\n : {\n number: (items | listFilter: searchModel).length,\n total: pagination.collectionSize\n })\n }}\n </div>\n <div class=\"col-4 text-center\">\n {{ 'list.show' | translate }}\n <select [(ngModel)]=\"pagination.size\" (ngModelChange)=\"setPaginationSize($event)\">\n <option [ngValue]=\"10\">10</option>\n <option [ngValue]=\"25\">25</option>\n <option [ngValue]=\"50\">50</option>\n <option [ngValue]=\"100\">100</option>\n </select>\n {{ 'list.entries' | translate }}\n </div>\n <div class=\"col-4\">\n <ngb-pagination\n *ngIf=\"pagination.collectionSize > pagination.size\"\n class=\"float-right\"\n [collectionSize]=\"pagination.collectionSize\"\n [(page)]=\"pagination.page\"\n [pageSize]=\"pagination.size\"\n [maxSize]=\"pagination.maxPaginationItemSize\"\n [rotate]=\"true\"\n (pageChange)=\"onClickPagination(pagination.page)\"\n ></ngb-pagination>\n </div>\n </div>\n\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">\n {{ 'list.noResults' | translate }}\n </div>\n\n <div id=\"no-field-definitions\" class=\"p-5\" *ngIf=\"items?.length > 0 && fields?.length === 0\">\n {{ 'list.noFieldDefinitions' | translate }}\n </div>\n</div>\n",
|
|
2037
|
-
styles: ["@charset \"UTF-8\";\n/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.table{table-layout:fixed}.click-able{cursor:pointer}.pagination-holder{border-top:1px solid #dee2e6}.search-holder{border-bottom:1px solid #dee2e6;height:80px;padding-left:18px;padding-right:18px}.switch-view-holder i{font-size:1.8rem;line-height:1.2rem;margin-top:9px}.tile-holder{background-color:#f5f5f5;border:1px solid transparent}.tile-holder:hover{background-color:#eee;border:1px solid #dee2e6}.page-count{margin-bottom:1rem}td:first-child,th:first-child{padding-left:25px}th.sortable{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;user-select:none}th.sortable:after{content:\" \uF0DD\";font-family:Font Awesome\\ 5 Free;margin:auto 0 auto 5px;opacity:0;position:absolute;transition:all .15s ease}th.sortable.is-being-sorted.ascending:after{transform:rotate(-180deg)}th.sortable:hover:after{opacity:.5}th.sortable.is-being-sorted:after{opacity:1}.action-icon{font-size:16px}"]
|
|
2046
|
+
template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"(items?.length > 0 && fields?.length > 0) || header\">\n <div\n class=\"d-flex align-items-center search-holder bg-light\"\n [ngClass]=\"{'pb-4 pt-4': !header}\"\n *ngIf=\"isSearchable || viewMode || header\"\n >\n <div class=\"align-self-start\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div class=\"ml-auto row\">\n <input\n *ngIf=\"isSearchable\"\n class=\"form-control col-sm-8\"\n type=\"text\"\n placeholder=\"Search...\"\n #searchBox\n />\n\n <div\n class=\"switch-view-holder btn-group col-sm-4 mt-1 mt-sm-0\"\n role=\"group\"\n *ngIf=\"viewMode\"\n >\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'table' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('table')\"\n >\n <i class=\"mdi mdi-view-headline\"></i>\n </button>\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'tile' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('tile')\"\n >\n <i class=\"mdi mdi-view-module\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <ng-content select=\"[tabs]\"></ng-content>\n\n <div *ngIf=\"items?.length > 0 && fields?.length > 0\">\n <div class=\"table-responsive noSwipe\" *ngIf=\"!viewMode || viewListAs === 'table'\">\n <table class=\"table table-striped table-hover m-0\" *ngIf=\"sort$ | async as sort\">\n <thead>\n <tr>\n <th\n *ngFor=\"let field of fields\"\n (click)=\"handleFieldClick(field.key, field.sortable)\"\n [ngClass]=\"{\n sortable: field.sortable,\n 'is-being-sorted': field.key === sort.state.name && sort.isSorting,\n ascending: sort.state.direction === 'ASC'\n }\"\n >\n {{ field.label }}\n </th>\n <th *ngFor=\"let action of actions\">\n {{ action.columnName }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n [ngClass]=\"{'click-able': this.rowClicked.observers.length > 0}\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <td class=\"align-top\" *ngFor=\"let listItemField of item.listItemFields\">\n <ng-container *ngIf=\"listItemField.type === ''\">\n {{ listItemField.value || '-' }}\n </ng-container>\n\n <ng-container\n *ngIf=\"listItemField.type === 'dropdownActions'\"\n [ngTemplateOutlet]=\"dropdownActions\"\n [ngTemplateOutletContext]=\"{listItemField: listItemField, item: item}\"\n ></ng-container>\n </td>\n <td class=\"align-top\" *ngFor=\"let action of actions\">\n <i\n class=\"action-icon\"\n style=\"cursor: pointer\"\n [ngClass]=\"action.iconClass\"\n (click)=\"action.callback(item)\"\n ></i>\n </td>\n </tr>\n <tr>\n <td *ngIf=\"(items | listFilter: searchModel).length === 0\" [colSpan]=\"fields.length\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"container-fluid\" *ngIf=\"viewMode && viewListAs === 'tile'\">\n <div class=\"row p-2\">\n <div\n class=\"col-12 col-sm-6 col-xl-4 p-2\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <div class=\"click-able tile-holder p-4\">\n <dl class=\"row mb-0\" *ngFor=\"let listItemField of item.listItemFields\">\n <dt class=\"col-12 col-md-5 text-xl-right\">{{ listItemField.label }}</dt>\n <dd class=\"col-12 col-md-7\">{{ listItemField.value || '-' }}</dd>\n </dl>\n </div>\n </div>\n <div class=\"col-12\" *ngIf=\"(items | listFilter: searchModel).length === 0\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"pagination-holder bg-light px-4 pt-4 pb-2 overflow-auto row mr-0 ml-0\"\n *ngIf=\"pagination && items?.length > 0 && fields?.length > 0\"\n >\n <div class=\"float-left page-count col-4\">\n <strong>{{\n 'list.currentPage' | translate: {current: pagination.page, total: getTotalPageCount()}\n }}</strong>\n <br />\n {{\n pagination.collectionSize === 1\n ? ('list.showingResult' | translate: {number: (items | listFilter: searchModel).length})\n : ('list.showingResults'\n | translate\n : {\n number: (items | listFilter: searchModel).length,\n total: pagination.collectionSize\n })\n }}\n </div>\n <div class=\"col-4 text-center\">\n {{ 'list.show' | translate }}\n <select [(ngModel)]=\"pagination.size\" (ngModelChange)=\"setPaginationSize($event)\">\n <option [ngValue]=\"10\">10</option>\n <option [ngValue]=\"25\">25</option>\n <option [ngValue]=\"50\">50</option>\n <option [ngValue]=\"100\">100</option>\n </select>\n {{ 'list.entries' | translate }}\n </div>\n <div class=\"col-4\">\n <ngb-pagination\n *ngIf=\"pagination.collectionSize > pagination.size\"\n class=\"float-right\"\n [collectionSize]=\"pagination.collectionSize\"\n [(page)]=\"pagination.page\"\n [pageSize]=\"pagination.size\"\n [maxSize]=\"pagination.maxPaginationItemSize\"\n [rotate]=\"true\"\n (pageChange)=\"onClickPagination(pagination.page)\"\n ></ngb-pagination>\n </div>\n </div>\n\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">\n {{ 'list.noResults' | translate }}\n </div>\n\n <div id=\"no-field-definitions\" class=\"p-5\" *ngIf=\"items?.length > 0 && fields?.length === 0\">\n {{ 'list.noFieldDefinitions' | translate }}\n </div>\n</div>\n\n<ng-template #dropdownActions let-listItemField=\"listItemField\" let-item=\"item\">\n <div class=\"dropdown\" *ngIf=\"listItemField?.value.length > 0\">\n <a\n style=\"cursor: pointer\"\n class=\"dropdown-toggle d-block\"\n id=\"dropdownMenu\"\n data-toggle=\"dropdown\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n >\n <i class=\"action-icon icon mdi mdi-more-vert\"></i>\n </a>\n <div class=\"dropdown-menu\" aria-labelledby=\"dropdownMenu\">\n <a\n (click)=\"action.callback(item)\"\n class=\"dropdown-item p-2\"\n *ngFor=\"let action of listItemField.value\"\n >\n <ng-container *ngIf=\"action.iconClass != null\">\n <i [ngClass]=\"action.iconClass\"></i>\n </ng-container>\n {{ action?.label || '-' }}\n </a>\n </div>\n </div>\n</ng-template>\n",
|
|
2047
|
+
styles: ["@charset \"UTF-8\";\n/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.table{table-layout:fixed}.table-responsive{overflow-x:visible}.click-able{cursor:pointer}.pagination-holder{border-top:1px solid #dee2e6}.search-holder{border-bottom:1px solid #dee2e6;height:80px;padding-left:18px;padding-right:18px}.switch-view-holder i{font-size:1.8rem;line-height:1.2rem;margin-top:9px}.tile-holder{background-color:#f5f5f5;border:1px solid transparent}.tile-holder:hover{background-color:#eee;border:1px solid #dee2e6}.page-count{margin-bottom:1rem}td:first-child,th:first-child{padding-left:25px}th.sortable{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;user-select:none}th.sortable:after{content:\" \uF0DD\";font-family:Font Awesome\\ 5 Free;margin:auto 0 auto 5px;opacity:0;position:absolute;transition:all .15s ease}th.sortable.is-being-sorted.ascending:after{transform:rotate(-180deg)}th.sortable:hover:after{opacity:.5}th.sortable.is-being-sorted:after{opacity:1}.action-icon{font-size:16px}"]
|
|
2038
2048
|
},] }
|
|
2039
2049
|
];
|
|
2040
2050
|
ListComponent.ctorParameters = () => [
|
|
@@ -3328,6 +3338,7 @@ DataListModule.decorators = [
|
|
|
3328
3338
|
class FormIoStateService {
|
|
3329
3339
|
constructor() {
|
|
3330
3340
|
this._documentDefinitionName$ = new BehaviorSubject(undefined);
|
|
3341
|
+
this._documentId$ = new BehaviorSubject(undefined);
|
|
3331
3342
|
this._currentForm$ = new BehaviorSubject(undefined);
|
|
3332
3343
|
}
|
|
3333
3344
|
get documentDefinitionName$() {
|
|
@@ -3336,6 +3347,12 @@ class FormIoStateService {
|
|
|
3336
3347
|
setDocumentDefinitionName(documentDefinitionName) {
|
|
3337
3348
|
this._documentDefinitionName$.next(documentDefinitionName);
|
|
3338
3349
|
}
|
|
3350
|
+
get documentId$() {
|
|
3351
|
+
return this._documentId$.asObservable();
|
|
3352
|
+
}
|
|
3353
|
+
setDocumentId(documentId) {
|
|
3354
|
+
this._documentId$.next(documentId);
|
|
3355
|
+
}
|
|
3339
3356
|
get currentForm$() {
|
|
3340
3357
|
return this._currentForm$.asObservable();
|
|
3341
3358
|
}
|
|
@@ -3343,8 +3360,11 @@ class FormIoStateService {
|
|
|
3343
3360
|
this._currentForm$.next(form);
|
|
3344
3361
|
}
|
|
3345
3362
|
}
|
|
3363
|
+
FormIoStateService.ɵprov = ɵɵdefineInjectable({ factory: function FormIoStateService_Factory() { return new FormIoStateService(); }, token: FormIoStateService, providedIn: "root" });
|
|
3346
3364
|
FormIoStateService.decorators = [
|
|
3347
|
-
{ type: Injectable
|
|
3365
|
+
{ type: Injectable, args: [{
|
|
3366
|
+
providedIn: 'root',
|
|
3367
|
+
},] }
|
|
3348
3368
|
];
|
|
3349
3369
|
|
|
3350
3370
|
/*
|
|
@@ -3378,15 +3398,17 @@ class FormioComponent {
|
|
|
3378
3398
|
}
|
|
3379
3399
|
ngOnInit() {
|
|
3380
3400
|
const documentDefinitionName = this.route.snapshot.paramMap.get('documentDefinitionName');
|
|
3401
|
+
const documentId = this.route.snapshot.paramMap.get('documentId');
|
|
3381
3402
|
const formDefinition = this.form;
|
|
3382
3403
|
this.formDefinition = formDefinition;
|
|
3383
3404
|
this.errors = [];
|
|
3384
|
-
|
|
3385
|
-
this.setInitialToken();
|
|
3386
|
-
}
|
|
3405
|
+
this.setInitialToken();
|
|
3387
3406
|
if (documentDefinitionName) {
|
|
3388
3407
|
this.stateService.setDocumentDefinitionName(documentDefinitionName);
|
|
3389
3408
|
}
|
|
3409
|
+
if (documentId) {
|
|
3410
|
+
this.stateService.setDocumentId(documentId);
|
|
3411
|
+
}
|
|
3390
3412
|
this.subscribeFormRefresh();
|
|
3391
3413
|
this.openLanguageSubscription();
|
|
3392
3414
|
}
|
|
@@ -3394,9 +3416,7 @@ class FormioComponent {
|
|
|
3394
3416
|
const currentForm = changes.form.currentValue;
|
|
3395
3417
|
this.formDefinition = currentForm;
|
|
3396
3418
|
this.reloadForm();
|
|
3397
|
-
|
|
3398
|
-
this.setInitialToken();
|
|
3399
|
-
}
|
|
3419
|
+
this.setInitialToken();
|
|
3400
3420
|
if (changes.formDefinitionRefresh$) {
|
|
3401
3421
|
this.unsubscribeFormRefresh();
|
|
3402
3422
|
this.subscribeFormRefresh();
|
|
@@ -3439,15 +3459,19 @@ class FormioComponent {
|
|
|
3439
3459
|
}
|
|
3440
3460
|
setToken(token) {
|
|
3441
3461
|
Formio.setToken(token);
|
|
3462
|
+
localStorage.setItem('formioToken', token);
|
|
3442
3463
|
this.setTimerForTokenRefresh(token);
|
|
3443
3464
|
this.logger.debug('New token set for form.io.');
|
|
3444
3465
|
}
|
|
3445
3466
|
setTimerForTokenRefresh(token) {
|
|
3446
3467
|
const tokenExp = jwt_decode(token).exp * 1000;
|
|
3447
3468
|
const expiryTime = tokenExp - Date.now() - 1000;
|
|
3448
|
-
this.tokenRefreshTimerSubscription
|
|
3449
|
-
this.
|
|
3450
|
-
|
|
3469
|
+
if (!this.tokenRefreshTimerSubscription) {
|
|
3470
|
+
this.tokenRefreshTimerSubscription = timer(expiryTime).subscribe(() => {
|
|
3471
|
+
this.refreshToken();
|
|
3472
|
+
});
|
|
3473
|
+
}
|
|
3474
|
+
;
|
|
3451
3475
|
this.logger.debug(`Timer for form.io token refresh set for: ${expiryTime}ms.`);
|
|
3452
3476
|
}
|
|
3453
3477
|
refreshToken() {
|
|
@@ -4015,11 +4039,7 @@ FormIoModule.decorators = [
|
|
|
4015
4039
|
],
|
|
4016
4040
|
declarations: [FormioComponent, FormioBuilderComponent, FormIoUploaderComponent],
|
|
4017
4041
|
exports: [FormioComponent, FormioBuilderComponent, FormIoUploaderComponent],
|
|
4018
|
-
providers: [
|
|
4019
|
-
FormIoStateService,
|
|
4020
|
-
FormIoDomService,
|
|
4021
|
-
{ provide: FormioAppConfig, useValue: ɵ0$1 },
|
|
4022
|
-
],
|
|
4042
|
+
providers: [FormIoDomService, { provide: FormioAppConfig, useValue: ɵ0$1 }],
|
|
4023
4043
|
},] }
|
|
4024
4044
|
];
|
|
4025
4045
|
|
|
@@ -4485,6 +4505,65 @@ function registerFormioUploadComponent(injector) {
|
|
|
4485
4505
|
registerCustomFormioComponentWithClass(COMPONENT_OPTIONS, FormIoUploaderComponent, UploaderComponent, injector);
|
|
4486
4506
|
}
|
|
4487
4507
|
|
|
4508
|
+
const SelectComponent = Components.components.select;
|
|
4509
|
+
function registerFormioFileSelectorComponent(injector) {
|
|
4510
|
+
const documentService = injector.get(DocumentService);
|
|
4511
|
+
const stateService = injector.get(FormIoStateService);
|
|
4512
|
+
const unavailableMessage = {
|
|
4513
|
+
label: 'could not retrieve documents',
|
|
4514
|
+
value: null,
|
|
4515
|
+
};
|
|
4516
|
+
function getDocumentResources(documentId) {
|
|
4517
|
+
if (!documentId) {
|
|
4518
|
+
return new Promise(resolve => {
|
|
4519
|
+
resolve([unavailableMessage]);
|
|
4520
|
+
});
|
|
4521
|
+
}
|
|
4522
|
+
return documentService
|
|
4523
|
+
.getDocument(documentId)
|
|
4524
|
+
.toPromise()
|
|
4525
|
+
.then(document => document.relatedFiles.map(relatedFile => {
|
|
4526
|
+
return {
|
|
4527
|
+
label: relatedFile.fileName,
|
|
4528
|
+
value: relatedFile.fileId,
|
|
4529
|
+
};
|
|
4530
|
+
}))
|
|
4531
|
+
.catch(() => {
|
|
4532
|
+
return new Promise(resolve => {
|
|
4533
|
+
resolve([unavailableMessage]);
|
|
4534
|
+
});
|
|
4535
|
+
});
|
|
4536
|
+
}
|
|
4537
|
+
class ResourceSelectorComponent extends SelectComponent {
|
|
4538
|
+
static schema(...extend) {
|
|
4539
|
+
return SelectComponent.schema(Object.assign({ type: 'resource-selector', label: 'Resource selector', key: 'resource-selector', dataSrc: 'custom', dataType: 'string', valueProperty: 'value', asyncValues: true, data: {
|
|
4540
|
+
custom: 'values = instance.getResources()',
|
|
4541
|
+
} }, extend));
|
|
4542
|
+
}
|
|
4543
|
+
getResources() {
|
|
4544
|
+
return stateService.documentId$
|
|
4545
|
+
.pipe(take(1))
|
|
4546
|
+
.toPromise()
|
|
4547
|
+
.then(documentId => getDocumentResources(documentId));
|
|
4548
|
+
}
|
|
4549
|
+
static get builderInfo() {
|
|
4550
|
+
return {
|
|
4551
|
+
title: 'Document picker',
|
|
4552
|
+
icon: 'th-list',
|
|
4553
|
+
group: 'basic',
|
|
4554
|
+
documentation: '/userguide/#textfield',
|
|
4555
|
+
weight: 0,
|
|
4556
|
+
schema: ResourceSelectorComponent.schema(),
|
|
4557
|
+
};
|
|
4558
|
+
}
|
|
4559
|
+
}
|
|
4560
|
+
Formio.use({
|
|
4561
|
+
components: {
|
|
4562
|
+
'resource-selector': ResourceSelectorComponent,
|
|
4563
|
+
},
|
|
4564
|
+
});
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4488
4567
|
/*
|
|
4489
4568
|
* Copyright 2015-2020 Ritense BV, the Netherlands.
|
|
4490
4569
|
*
|
|
@@ -4652,5 +4731,5 @@ MultiselectDropdownModule.decorators = [
|
|
|
4652
4731
|
* Generated bundle index. Do not edit.
|
|
4653
4732
|
*/
|
|
4654
4733
|
|
|
4655
|
-
export { Alert, AlertComponent, AlertModule, AlertService, AlertType, AlertsOptionsImpl, BpmnJsDiagramComponent, BpmnJsDiagramModule, BreadcrumbNavigationComponent, BreadcrumbNavigationModule, CamundaFormComponent, CamundaFormModule, CardComponent, CardModule, ComponentsModule, DataListComponent, DataListModule, DropzoneComponent, DropzoneModule, FieldAutoFocusDirective, FieldAutoFocusModule, FileSizeModule, FileSizePipe, FilterSidebarComponent, FilterSidebarModule, FormIoModule, FormIoUploaderComponent, FormioBuilderComponent, FormioComponent, FormioOptionsImpl, LeftSidebarComponent, LeftSidebarModule, ListComponent, ListFilterPipe, ListModule, MenuModule, MenuRoutingModule, MenuService, ModalComponent, ModalModule, MultiselectDropdownComponent, MultiselectDropdownModule, PageHeaderComponent, PageHeaderModule, PageTitleComponent, PageTitleModule, ProgressBarComponent, ProgressBarModule, RightSidebarComponent, RightSidebarModule, SearchableDropdownComponent, SearchableDropdownModule, SearchableDropdownSelectComponent, SearchableDropdownSelectModule, SpinnerModule, TimelineComponent, TimelineItemImpl, TimelineModule, TopbarComponent, TopbarModule, UploaderComponent, UploaderDragDropDirective, UploaderModule, ViewContentService, WebcamComponent, WebcamModule, WidgetComponent, WidgetModule, customUploaderType, menuInitializer, registerFormioUploadComponent, ɵ0, CamundaGeneratedFormModule as ɵa, CamundaStringFormfieldComponent as ɵb, CamundaBooleanFormfieldComponent as ɵc, CamundaDateFormfieldComponent as ɵd, CamundaFormfieldService as ɵe, CamundaFormfieldGeneratorDirective as ɵf, CamundaLongFormfieldComponent as ɵg, CamundaEnumFormfieldComponent as ɵh, CamundaTextareaFormfieldComponent as ɵi, CamundaChoicefieldFormfieldComponent as ɵj, CamundaFormfieldValidationComponent as ɵk, CamundaGeneratedFormComponent as ɵl, CamundaCustomFormModule as ɵm, CamundaCustomFormComponent as ɵn, MenuComponent as ɵo, MenuItemTextComponent as ɵp, SubmenuItemTextComponent as ɵq, VersionService as ɵr,
|
|
4734
|
+
export { Alert, AlertComponent, AlertModule, AlertService, AlertType, AlertsOptionsImpl, BpmnJsDiagramComponent, BpmnJsDiagramModule, BreadcrumbNavigationComponent, BreadcrumbNavigationModule, CamundaFormComponent, CamundaFormModule, CardComponent, CardModule, ComponentsModule, DataListComponent, DataListModule, DropzoneComponent, DropzoneModule, FieldAutoFocusDirective, FieldAutoFocusModule, FileSizeModule, FileSizePipe, FilterSidebarComponent, FilterSidebarModule, FormIoModule, FormIoStateService, FormIoUploaderComponent, FormioBuilderComponent, FormioComponent, FormioOptionsImpl, LeftSidebarComponent, LeftSidebarModule, ListComponent, ListFilterPipe, ListModule, MenuModule, MenuRoutingModule, MenuService, ModalComponent, ModalModule, MultiselectDropdownComponent, MultiselectDropdownModule, PageHeaderComponent, PageHeaderModule, PageTitleComponent, PageTitleModule, ProgressBarComponent, ProgressBarModule, RightSidebarComponent, RightSidebarModule, SearchableDropdownComponent, SearchableDropdownModule, SearchableDropdownSelectComponent, SearchableDropdownSelectModule, SpinnerModule, TimelineComponent, TimelineItemImpl, TimelineModule, TopbarComponent, TopbarModule, UploaderComponent, UploaderDragDropDirective, UploaderModule, ViewContentService, WebcamComponent, WebcamModule, WidgetComponent, WidgetModule, customUploaderType, menuInitializer, registerFormioFileSelectorComponent, registerFormioUploadComponent, ɵ0, CamundaGeneratedFormModule as ɵa, CamundaStringFormfieldComponent as ɵb, CamundaBooleanFormfieldComponent as ɵc, CamundaDateFormfieldComponent as ɵd, CamundaFormfieldService as ɵe, CamundaFormfieldGeneratorDirective as ɵf, CamundaLongFormfieldComponent as ɵg, CamundaEnumFormfieldComponent as ɵh, CamundaTextareaFormfieldComponent as ɵi, CamundaChoicefieldFormfieldComponent as ɵj, CamundaFormfieldValidationComponent as ɵk, CamundaGeneratedFormComponent as ɵl, CamundaCustomFormModule as ɵm, CamundaCustomFormComponent as ɵn, MenuComponent as ɵo, MenuItemTextComponent as ɵp, SubmenuItemTextComponent as ɵq, VersionService as ɵr, FormIoDomService as ɵs, AppConfig as ɵt, SpinnerComponent as ɵu };
|
|
4656
4735
|
//# sourceMappingURL=valtimo-components.js.map
|