@verisoft/ui-core 18.7.0 → 18.8.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/README.md +7 -56
- package/esm2022/index.mjs +7 -0
- package/esm2022/lib/common/angular-helper.mjs +23 -0
- package/esm2022/lib/common/constants.mjs +4 -0
- package/esm2022/lib/common/control.models.mjs +63 -0
- package/esm2022/lib/common/datasource-component.model.mjs +14 -0
- package/esm2022/lib/common/deactivate-guard.model.mjs +2 -0
- package/esm2022/lib/common/download-file.mjs +13 -0
- package/esm2022/lib/common/filter.mjs +7 -0
- package/esm2022/lib/common/icons.mjs +2 -0
- package/esm2022/lib/common/index.mjs +11 -0
- package/esm2022/lib/common/notificable-property.model.mjs +2 -0
- package/esm2022/lib/common/rxjs.mjs +11 -0
- package/esm2022/lib/components/action-button-group/action-button-group.model.mjs +3 -0
- package/esm2022/lib/components/action-button-group/action-button.model.mjs +2 -0
- package/esm2022/lib/components/action-button-group/index.mjs +3 -0
- package/esm2022/lib/components/base-form/base-form-input.component.mjs +100 -0
- package/esm2022/lib/components/base-form/base-form.component.mjs +187 -0
- package/esm2022/lib/components/base-form/directives/detail-store.directive.mjs +163 -0
- package/esm2022/lib/components/base-form/index.mjs +5 -0
- package/esm2022/lib/components/base-form/models/base-form-input.models.mjs +7 -0
- package/esm2022/lib/components/base-form/models/base-form.models.mjs +10 -0
- package/esm2022/lib/components/base-form/models/index.mjs +3 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.model.mjs +3 -0
- package/esm2022/lib/components/breadcrumb/breadcrumb.service.mjs +16 -0
- package/esm2022/lib/components/breadcrumb/breadcrumbcore.component.mjs +88 -0
- package/esm2022/lib/components/breadcrumb/index.mjs +4 -0
- package/esm2022/lib/components/button/button.model.mjs +3 -0
- package/esm2022/lib/components/button/index.mjs +2 -0
- package/esm2022/lib/components/calendar/calendar.model.mjs +3 -0
- package/esm2022/lib/components/calendar/index.mjs +2 -0
- package/esm2022/lib/components/checkbox/checkbox.model.mjs +3 -0
- package/esm2022/lib/components/checkbox/index.mjs +2 -0
- package/esm2022/lib/components/confirm-dialog/confirm-dialog.model.mjs +3 -0
- package/esm2022/lib/components/confirm-dialog/index.mjs +2 -0
- package/esm2022/lib/components/dropdown/dropdown.model.mjs +3 -0
- package/esm2022/lib/components/dropdown/index.mjs +2 -0
- package/esm2022/lib/components/dynamic-component/dynamic-component.model.mjs +2 -0
- package/esm2022/lib/components/dynamic-component/index.mjs +2 -0
- package/esm2022/lib/components/filter/filter.model.mjs +3 -0
- package/esm2022/lib/components/filter/index.mjs +2 -0
- package/esm2022/lib/components/form-field/form-field.model.mjs +3 -0
- package/esm2022/lib/components/form-field/index.mjs +2 -0
- package/esm2022/lib/components/generic-field/generic-field.model.mjs +3 -0
- package/esm2022/lib/components/generic-field/index.mjs +2 -0
- package/esm2022/lib/components/generic-form/generic-form.component.mjs +10 -0
- package/esm2022/lib/components/generic-form/index.mjs +2 -0
- package/esm2022/lib/components/header/header.model.mjs +4 -0
- package/esm2022/lib/components/header/index.mjs +2 -0
- package/esm2022/lib/components/icons/icons.component.mjs +29 -0
- package/esm2022/lib/components/icons/icons.model.mjs +3 -0
- package/esm2022/lib/components/icons/index.mjs +3 -0
- package/esm2022/lib/components/index.mjs +36 -0
- package/esm2022/lib/components/input-group/index.mjs +2 -0
- package/esm2022/lib/components/input-group/input-group.model.mjs +3 -0
- package/esm2022/lib/components/loader/index.mjs +2 -0
- package/esm2022/lib/components/loader/loader.model.mjs +3 -0
- package/esm2022/lib/components/multiselect/index.mjs +2 -0
- package/esm2022/lib/components/multiselect/mutiselect.model.mjs +3 -0
- package/esm2022/lib/components/number-input/index.mjs +2 -0
- package/esm2022/lib/components/number-input/number-input.model.mjs +3 -0
- package/esm2022/lib/components/page-header/index.mjs +4 -0
- package/esm2022/lib/components/page-header/page-header.model.mjs +3 -0
- package/esm2022/lib/components/page-header/page-header.service.mjs +16 -0
- package/esm2022/lib/components/page-header/page-headercore.component.mjs +52 -0
- package/esm2022/lib/components/password/index.mjs +2 -0
- package/esm2022/lib/components/password/password.model.mjs +11 -0
- package/esm2022/lib/components/radiobutton/index.mjs +2 -0
- package/esm2022/lib/components/radiobutton/radiobutton.model.mjs +3 -0
- package/esm2022/lib/components/section/index.mjs +2 -0
- package/esm2022/lib/components/section/section.model.mjs +3 -0
- package/esm2022/lib/components/side-menu/directives/side-menu-service.directive.mjs +31 -0
- package/esm2022/lib/components/side-menu/index.mjs +5 -0
- package/esm2022/lib/components/side-menu/services/side-menu-provider.service.mjs +25 -0
- package/esm2022/lib/components/side-menu/services/side-menu.service.mjs +50 -0
- package/esm2022/lib/components/side-menu/side-menu.model.mjs +6 -0
- package/esm2022/lib/components/slider/index.mjs +2 -0
- package/esm2022/lib/components/slider/slider.model.mjs +3 -0
- package/esm2022/lib/components/snackbar/index.mjs +2 -0
- package/esm2022/lib/components/snackbar/snackbar.model.mjs +3 -0
- package/esm2022/lib/components/stepper/index.mjs +2 -0
- package/esm2022/lib/components/stepper/stepper.model.mjs +3 -0
- package/esm2022/lib/components/switch/index.mjs +2 -0
- package/esm2022/lib/components/switch/switch.model.mjs +3 -0
- package/esm2022/lib/components/tab-view/index.mjs +2 -0
- package/esm2022/lib/components/tab-view/tab-view.model.mjs +3 -0
- package/esm2022/lib/components/table/column-configuration.mjs +32 -0
- package/esm2022/lib/components/table/index.mjs +5 -0
- package/esm2022/lib/components/table/table-builder.mjs +68 -0
- package/esm2022/lib/components/table/table-column.directive.mjs +86 -0
- package/esm2022/lib/components/table/table.models.mjs +150 -0
- package/esm2022/lib/components/table-filter/index.mjs +2 -0
- package/esm2022/lib/components/table-filter/table-filter.model.mjs +3 -0
- package/esm2022/lib/components/textarea/index.mjs +2 -0
- package/esm2022/lib/components/textarea/textarea.model.mjs +3 -0
- package/esm2022/lib/components/textfield/index.mjs +2 -0
- package/esm2022/lib/components/textfield/textfield.model.mjs +3 -0
- package/esm2022/lib/components/tristatecheckbox/index.mjs +2 -0
- package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.model.mjs +3 -0
- package/esm2022/lib/components/unsubscribe.component.mjs +16 -0
- package/esm2022/lib/directives/datasource.directive.mjs +175 -0
- package/esm2022/lib/directives/index.mjs +5 -0
- package/esm2022/lib/directives/shortcut.directive.mjs +46 -0
- package/esm2022/lib/directives/table-datasource.directive.mjs +124 -0
- package/esm2022/lib/directives/table-filter.directive.mjs +56 -0
- package/esm2022/lib/format/format.mjs +63 -0
- package/esm2022/lib/pipes/error/error.codes.mjs +10 -0
- package/esm2022/lib/pipes/error/error.models.mjs +21 -0
- package/esm2022/lib/pipes/error/error.pipe.mjs +31 -0
- package/esm2022/lib/pipes/error/warning.codes.mjs +4 -0
- package/esm2022/lib/pipes/error/warning.pipe.mjs +31 -0
- package/esm2022/lib/pipes/helper/enumToList.pipe.mjs +22 -0
- package/esm2022/lib/pipes/index.mjs +8 -0
- package/esm2022/lib/pipes/keyOrFn/keyOrFn.pipe.mjs +31 -0
- package/esm2022/lib/services/confirm-dialog.service.mjs +45 -0
- package/esm2022/lib/services/index.mjs +5 -0
- package/esm2022/lib/services/leave-form.service.mjs +52 -0
- package/esm2022/lib/services/screen-size.service.mjs +29 -0
- package/esm2022/lib/services/table.service.mjs +27 -0
- package/esm2022/verisoft-ui-core.mjs +5 -0
- package/fesm2022/verisoft-ui-core.mjs +2014 -0
- package/fesm2022/verisoft-ui-core.mjs.map +1 -0
- package/{src/index.ts → index.d.ts} +6 -6
- package/lib/common/angular-helper.d.ts +1 -0
- package/lib/common/constants.d.ts +3 -0
- package/lib/common/control.models.d.ts +62 -0
- package/lib/common/datasource-component.model.d.ts +19 -0
- package/{src/lib/common/deactivate-guard.model.ts → lib/common/deactivate-guard.model.d.ts} +4 -5
- package/lib/common/download-file.d.ts +2 -0
- package/lib/common/filter.d.ts +1 -0
- package/{src/lib/common/icons.ts → lib/common/icons.d.ts} +34 -34
- package/{src/lib/common/index.ts → lib/common/index.d.ts} +10 -10
- package/{src/lib/common/notificable-property.model.ts → lib/common/notificable-property.model.d.ts} +4 -5
- package/lib/common/rxjs.d.ts +2 -0
- package/lib/components/action-button-group/action-button-group.model.d.ts +12 -0
- package/lib/components/action-button-group/action-button.model.d.ts +14 -0
- package/{src/lib/components/action-button-group/index.ts → lib/components/action-button-group/index.d.ts} +2 -2
- package/lib/components/base-form/base-form-input.component.d.ts +30 -0
- package/lib/components/base-form/base-form.component.d.ts +50 -0
- package/lib/components/base-form/directives/detail-store.directive.d.ts +35 -0
- package/{src/lib/components/base-form/index.ts → lib/components/base-form/index.d.ts} +4 -4
- package/lib/components/base-form/models/base-form-input.models.d.ts +7 -0
- package/lib/components/base-form/models/base-form.models.d.ts +18 -0
- package/{src/lib/components/base-form/models/index.ts → lib/components/base-form/models/index.d.ts} +2 -2
- package/{src/lib/components/breadcrumb/breadcrumb.model.ts → lib/components/breadcrumb/breadcrumb.model.d.ts} +16 -21
- package/lib/components/breadcrumb/breadcrumb.service.d.ts +8 -0
- package/lib/components/breadcrumb/breadcrumbcore.component.d.ts +30 -0
- package/lib/components/breadcrumb/index.d.ts +3 -0
- package/{src/lib/components/button/button.model.ts → lib/components/button/button.model.d.ts} +17 -21
- package/lib/components/button/index.d.ts +1 -0
- package/{src/lib/components/calendar/calendar.model.ts → lib/components/calendar/calendar.model.d.ts} +12 -16
- package/lib/components/calendar/index.d.ts +1 -0
- package/lib/components/checkbox/checkbox.model.d.ts +4 -0
- package/lib/components/checkbox/index.d.ts +1 -0
- package/lib/components/confirm-dialog/confirm-dialog.model.d.ts +25 -0
- package/lib/components/confirm-dialog/index.d.ts +1 -0
- package/{src/lib/components/dropdown/dropdown.model.ts → lib/components/dropdown/dropdown.model.d.ts} +12 -16
- package/lib/components/dropdown/index.d.ts +1 -0
- package/lib/components/dynamic-component/dynamic-component.model.d.ts +3 -0
- package/lib/components/dynamic-component/index.d.ts +1 -0
- package/lib/components/filter/filter.model.d.ts +13 -0
- package/{src/lib/components/filter/index.ts → lib/components/filter/index.d.ts} +1 -1
- package/{src/lib/components/form-field/form-field.model.ts → lib/components/form-field/form-field.model.d.ts} +11 -15
- package/lib/components/form-field/index.d.ts +1 -0
- package/{src/lib/components/generic-field/generic-field.model.ts → lib/components/generic-field/generic-field.model.d.ts} +6 -10
- package/lib/components/generic-field/index.d.ts +1 -0
- package/lib/components/generic-form/generic-form.component.d.ts +30 -0
- package/{src/lib/components/generic-form/index.ts → lib/components/generic-form/index.d.ts} +1 -1
- package/{src/lib/components/header/header.model.ts → lib/components/header/header.model.d.ts} +11 -18
- package/lib/components/header/index.d.ts +1 -0
- package/lib/components/icons/icons.component.d.ts +6 -0
- package/lib/components/icons/icons.model.d.ts +6 -0
- package/lib/components/icons/index.d.ts +2 -0
- package/{src/lib/components/index.ts → lib/components/index.d.ts} +35 -35
- package/lib/components/input-group/index.d.ts +1 -0
- package/{src/lib/components/input-group/input-group.model.ts → lib/components/input-group/input-group.model.d.ts} +12 -17
- package/lib/components/loader/index.d.ts +1 -0
- package/lib/components/loader/loader.model.d.ts +3 -0
- package/lib/components/multiselect/index.d.ts +1 -0
- package/{src/lib/components/multiselect/mutiselect.model.ts → lib/components/multiselect/mutiselect.model.d.ts} +9 -13
- package/lib/components/number-input/index.d.ts +1 -0
- package/{src/lib/components/number-input/number-input.model.ts → lib/components/number-input/number-input.model.d.ts} +10 -14
- package/{src/lib/components/page-header/index.ts → lib/components/page-header/index.d.ts} +3 -3
- package/{src/lib/components/page-header/page-header.model.ts → lib/components/page-header/page-header.model.d.ts} +7 -11
- package/lib/components/page-header/page-header.service.d.ts +8 -0
- package/lib/components/page-header/page-headercore.component.d.ts +20 -0
- package/lib/components/password/index.d.ts +1 -0
- package/{src/lib/components/password/password.model.ts → lib/components/password/password.model.d.ts} +19 -25
- package/lib/components/radiobutton/index.d.ts +1 -0
- package/{src/lib/components/radiobutton/radiobutton.model.ts → lib/components/radiobutton/radiobutton.model.d.ts} +11 -16
- package/lib/components/section/index.d.ts +1 -0
- package/{src/lib/components/section/section.model.ts → lib/components/section/section.model.d.ts} +7 -11
- package/lib/components/side-menu/directives/side-menu-service.directive.d.ts +11 -0
- package/{src/lib/components/side-menu/index.ts → lib/components/side-menu/index.d.ts} +4 -4
- package/lib/components/side-menu/services/side-menu-provider.service.d.ts +10 -0
- package/lib/components/side-menu/services/side-menu.service.d.ts +15 -0
- package/lib/components/side-menu/side-menu.model.d.ts +42 -0
- package/lib/components/slider/index.d.ts +1 -0
- package/{src/lib/components/slider/slider.model.ts → lib/components/slider/slider.model.d.ts} +9 -13
- package/lib/components/snackbar/index.d.ts +1 -0
- package/lib/components/snackbar/snackbar.model.d.ts +3 -0
- package/lib/components/stepper/index.d.ts +1 -0
- package/{src/lib/components/stepper/stepper.model.ts → lib/components/stepper/stepper.model.d.ts} +19 -24
- package/lib/components/switch/index.d.ts +1 -0
- package/lib/components/switch/switch.model.d.ts +4 -0
- package/lib/components/tab-view/index.d.ts +1 -0
- package/{src/lib/components/tab-view/tab-view.model.ts → lib/components/tab-view/tab-view.model.d.ts} +17 -22
- package/lib/components/table/column-configuration.d.ts +12 -0
- package/{src/lib/components/table/index.ts → lib/components/table/index.d.ts} +4 -4
- package/lib/components/table/table-builder.d.ts +15 -0
- package/lib/components/table/table-column.directive.d.ts +25 -0
- package/lib/components/table/table.models.d.ts +132 -0
- package/lib/components/table-filter/index.d.ts +1 -0
- package/{src/lib/components/table-filter/table-filter.model.ts → lib/components/table-filter/table-filter.model.d.ts} +17 -22
- package/lib/components/textarea/index.d.ts +1 -0
- package/{src/lib/components/textarea/textarea.model.ts → lib/components/textarea/textarea.model.d.ts} +9 -13
- package/lib/components/textfield/index.d.ts +1 -0
- package/{src/lib/components/textfield/textfield.model.ts → lib/components/textfield/textfield.model.d.ts} +9 -13
- package/lib/components/tristatecheckbox/index.d.ts +1 -0
- package/lib/components/tristatecheckbox/tristatecheckbox.model.d.ts +4 -0
- package/lib/components/unsubscribe.component.d.ts +9 -0
- package/lib/directives/datasource.directive.d.ts +32 -0
- package/{src/lib/directives/index.ts → lib/directives/index.d.ts} +4 -4
- package/lib/directives/shortcut.directive.d.ts +11 -0
- package/lib/directives/table-datasource.directive.d.ts +29 -0
- package/lib/directives/table-filter.directive.d.ts +17 -0
- package/lib/format/format.d.ts +9 -0
- package/lib/pipes/error/error.codes.d.ts +5 -0
- package/lib/pipes/error/error.models.d.ts +8 -0
- package/lib/pipes/error/error.pipe.d.ts +8 -0
- package/lib/pipes/error/warning.codes.d.ts +5 -0
- package/lib/pipes/error/warning.pipe.d.ts +8 -0
- package/lib/pipes/helper/enumToList.pipe.d.ts +7 -0
- package/{src/lib/pipes/index.ts → lib/pipes/index.d.ts} +7 -7
- package/lib/pipes/keyOrFn/keyOrFn.pipe.d.ts +7 -0
- package/lib/services/confirm-dialog.service.d.ts +12 -0
- package/{src/lib/services/index.ts → lib/services/index.d.ts} +4 -4
- package/lib/services/leave-form.service.d.ts +13 -0
- package/lib/services/screen-size.service.d.ts +10 -0
- package/lib/services/table.service.d.ts +13 -0
- package/package.json +35 -19
- package/.eslintrc.json +0 -48
- package/jest.config.ts +0 -21
- package/ng-package.json +0 -7
- package/project.json +0 -36
- package/src/lib/common/angular-helper.ts +0 -44
- package/src/lib/common/constants.ts +0 -5
- package/src/lib/common/control.models.ts +0 -71
- package/src/lib/common/datasource-component.model.spec.ts +0 -42
- package/src/lib/common/datasource-component.model.ts +0 -43
- package/src/lib/common/download-file.ts +0 -20
- package/src/lib/common/filter.ts +0 -7
- package/src/lib/common/rxjs.spec.ts +0 -58
- package/src/lib/common/rxjs.ts +0 -21
- package/src/lib/components/action-button-group/action-button-group.model.ts +0 -15
- package/src/lib/components/action-button-group/action-button.model.ts +0 -15
- package/src/lib/components/base-form/base-form-input.component.ts +0 -121
- package/src/lib/components/base-form/base-form.component.ts +0 -236
- package/src/lib/components/base-form/directives/detail-store.directive.ts +0 -219
- package/src/lib/components/base-form/models/base-form-input.models.ts +0 -11
- package/src/lib/components/base-form/models/base-form.models.ts +0 -31
- package/src/lib/components/breadcrumb/breadcrumb.service.ts +0 -9
- package/src/lib/components/breadcrumb/breadcrumbcore.component.ts +0 -115
- package/src/lib/components/breadcrumb/index.ts +0 -3
- package/src/lib/components/button/index.ts +0 -1
- package/src/lib/components/calendar/index.ts +0 -1
- package/src/lib/components/checkbox/checkbox.model.ts +0 -8
- package/src/lib/components/checkbox/index.ts +0 -1
- package/src/lib/components/confirm-dialog/confirm-dialog.model.ts +0 -31
- package/src/lib/components/confirm-dialog/index.ts +0 -1
- package/src/lib/components/dropdown/index.ts +0 -1
- package/src/lib/components/dynamic-component/dynamic-component.model.ts +0 -2
- package/src/lib/components/dynamic-component/index.ts +0 -1
- package/src/lib/components/filter/filter.model.ts +0 -17
- package/src/lib/components/form-field/index.ts +0 -1
- package/src/lib/components/generic-field/index.ts +0 -1
- package/src/lib/components/generic-form/generic-form.component.ts +0 -33
- package/src/lib/components/header/index.ts +0 -1
- package/src/lib/components/icons/icons.component.ts +0 -17
- package/src/lib/components/icons/icons.model.ts +0 -10
- package/src/lib/components/icons/index.ts +0 -2
- package/src/lib/components/input-group/index.ts +0 -1
- package/src/lib/components/loader/index.ts +0 -1
- package/src/lib/components/loader/loader.model.ts +0 -7
- package/src/lib/components/multiselect/index.ts +0 -1
- package/src/lib/components/number-input/index.ts +0 -1
- package/src/lib/components/page-header/page-header.service.ts +0 -9
- package/src/lib/components/page-header/page-headercore.component.ts +0 -40
- package/src/lib/components/password/index.ts +0 -1
- package/src/lib/components/radiobutton/index.ts +0 -1
- package/src/lib/components/section/index.ts +0 -1
- package/src/lib/components/side-menu/directives/side-menu-service.directive.ts +0 -31
- package/src/lib/components/side-menu/services/side-menu-provider.service.ts +0 -13
- package/src/lib/components/side-menu/services/side-menu.service.ts +0 -62
- package/src/lib/components/side-menu/side-menu.model.ts +0 -67
- package/src/lib/components/slider/index.ts +0 -1
- package/src/lib/components/snackbar/index.ts +0 -1
- package/src/lib/components/snackbar/snackbar.model.ts +0 -7
- package/src/lib/components/stepper/index.ts +0 -1
- package/src/lib/components/switch/index.ts +0 -1
- package/src/lib/components/switch/switch.model.ts +0 -8
- package/src/lib/components/tab-view/index.ts +0 -1
- package/src/lib/components/table/column-configuration.ts +0 -38
- package/src/lib/components/table/table-builder.ts +0 -93
- package/src/lib/components/table/table-column.directive.ts +0 -62
- package/src/lib/components/table/table.models.ts +0 -261
- package/src/lib/components/table-filter/index.ts +0 -1
- package/src/lib/components/textarea/index.ts +0 -1
- package/src/lib/components/textfield/index.ts +0 -1
- package/src/lib/components/tristatecheckbox/index.ts +0 -1
- package/src/lib/components/tristatecheckbox/tristatecheckbox.model.ts +0 -8
- package/src/lib/components/unsubscribe.component.ts +0 -12
- package/src/lib/directives/datasource.directive.ts +0 -275
- package/src/lib/directives/shortcut.directive.ts +0 -37
- package/src/lib/directives/table-datasource.directive.ts +0 -184
- package/src/lib/directives/table-filter.directive.ts +0 -69
- package/src/lib/format/format.ts +0 -74
- package/src/lib/pipes/error/error.codes.ts +0 -11
- package/src/lib/pipes/error/error.models.ts +0 -27
- package/src/lib/pipes/error/error.pipe.ts +0 -27
- package/src/lib/pipes/error/warning.codes.ts +0 -5
- package/src/lib/pipes/error/warning.pipe.ts +0 -27
- package/src/lib/pipes/helper/enumToList.pipe.ts +0 -16
- package/src/lib/pipes/keyOrFn/keyOrFn.pipe.ts +0 -23
- package/src/lib/services/confirm-dialog.service.ts +0 -44
- package/src/lib/services/leave-form.service.ts +0 -53
- package/src/lib/services/screen-size.service.ts +0 -25
- package/src/lib/services/table.service.ts +0 -22
- package/src/test-setup.ts +0 -8
- package/tsconfig.json +0 -28
- package/tsconfig.lib.json +0 -17
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -16
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export * from './action-button-group';
|
|
2
|
-
export * from './base-form';
|
|
3
|
-
export * from './breadcrumb';
|
|
4
|
-
export * from './button';
|
|
5
|
-
export * from './calendar';
|
|
6
|
-
export * from './checkbox';
|
|
7
|
-
export * from './confirm-dialog';
|
|
8
|
-
export * from './dropdown';
|
|
9
|
-
export * from './dynamic-component';
|
|
10
|
-
export * from './filter';
|
|
11
|
-
export * from './form-field';
|
|
12
|
-
export * from './generic-field';
|
|
13
|
-
export * from './generic-form';
|
|
14
|
-
export * from './header';
|
|
15
|
-
export * from './input-group';
|
|
16
|
-
export * from './loader';
|
|
17
|
-
export * from './multiselect';
|
|
18
|
-
export * from './number-input';
|
|
19
|
-
export * from './page-header';
|
|
20
|
-
export * from './password';
|
|
21
|
-
export * from './radiobutton';
|
|
22
|
-
export * from './section';
|
|
23
|
-
export * from './side-menu';
|
|
24
|
-
export * from './slider';
|
|
25
|
-
export * from './snackbar';
|
|
26
|
-
export * from './stepper';
|
|
27
|
-
export * from './switch';
|
|
28
|
-
export * from './tab-view';
|
|
29
|
-
export * from './table';
|
|
30
|
-
export * from './table-filter';
|
|
31
|
-
export * from './textarea';
|
|
32
|
-
export * from './textfield';
|
|
33
|
-
export * from './tristatecheckbox';
|
|
34
|
-
export * from './unsubscribe.component';
|
|
35
|
-
export * from './icons';
|
|
1
|
+
export * from './action-button-group';
|
|
2
|
+
export * from './base-form';
|
|
3
|
+
export * from './breadcrumb';
|
|
4
|
+
export * from './button';
|
|
5
|
+
export * from './calendar';
|
|
6
|
+
export * from './checkbox';
|
|
7
|
+
export * from './confirm-dialog';
|
|
8
|
+
export * from './dropdown';
|
|
9
|
+
export * from './dynamic-component';
|
|
10
|
+
export * from './filter';
|
|
11
|
+
export * from './form-field';
|
|
12
|
+
export * from './generic-field';
|
|
13
|
+
export * from './generic-form';
|
|
14
|
+
export * from './header';
|
|
15
|
+
export * from './input-group';
|
|
16
|
+
export * from './loader';
|
|
17
|
+
export * from './multiselect';
|
|
18
|
+
export * from './number-input';
|
|
19
|
+
export * from './page-header';
|
|
20
|
+
export * from './password';
|
|
21
|
+
export * from './radiobutton';
|
|
22
|
+
export * from './section';
|
|
23
|
+
export * from './side-menu';
|
|
24
|
+
export * from './slider';
|
|
25
|
+
export * from './snackbar';
|
|
26
|
+
export * from './stepper';
|
|
27
|
+
export * from './switch';
|
|
28
|
+
export * from './tab-view';
|
|
29
|
+
export * from './table';
|
|
30
|
+
export * from './table-filter';
|
|
31
|
+
export * from './textarea';
|
|
32
|
+
export * from './textfield';
|
|
33
|
+
export * from './tristatecheckbox';
|
|
34
|
+
export * from './unsubscribe.component';
|
|
35
|
+
export * from './icons';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-group.model';
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { IconPositionType } from '../../common';
|
|
3
|
-
import { BaseFormCore } from '../base-form';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface InputGroupCore extends BaseFormCore {
|
|
16
|
-
items: InputGroupItem[];
|
|
17
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { IconPositionType } from '../../common';
|
|
3
|
+
import { BaseFormCore } from '../base-form';
|
|
4
|
+
export declare const INPUT_GROUP_COMPONENT_TOKEN: InjectionToken<InputGroupCore>;
|
|
5
|
+
export interface InputGroupItem {
|
|
6
|
+
icon?: string;
|
|
7
|
+
text?: string;
|
|
8
|
+
position: IconPositionType;
|
|
9
|
+
}
|
|
10
|
+
export interface InputGroupCore extends BaseFormCore {
|
|
11
|
+
items: InputGroupItem[];
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './loader.model';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './mutiselect.model';
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { DataSourceComponentModel } from '../../common';
|
|
3
|
-
import { BaseFormCore } from '../base-form';
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
dropdownIcon?: string;
|
|
11
|
-
floatLabel?: string;
|
|
12
|
-
editable: boolean;
|
|
13
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { DataSourceComponentModel } from '../../common';
|
|
3
|
+
import { BaseFormCore } from '../base-form';
|
|
4
|
+
export declare const MULTISELECT_COMPONENT_TOKEN: InjectionToken<MultiselectCore<any>>;
|
|
5
|
+
export interface MultiselectCore<T> extends DataSourceComponentModel<T>, BaseFormCore {
|
|
6
|
+
dropdownIcon?: string;
|
|
7
|
+
floatLabel?: string;
|
|
8
|
+
editable: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './number-input.model';
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { BaseFormCore } from '../base-form';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
min: number;
|
|
12
|
-
max: number;
|
|
13
|
-
step: number;
|
|
14
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { BaseFormCore } from '../base-form';
|
|
3
|
+
export declare const NUMBER_INPUT_COMPONENT_TOKEN: InjectionToken<NumberInputCore>;
|
|
4
|
+
export interface NumberInputCore extends BaseFormCore {
|
|
5
|
+
mode: string;
|
|
6
|
+
currency: string;
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
step: number;
|
|
10
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './page-header.model';
|
|
2
|
-
export * from './page-header.service';
|
|
3
|
-
export * from './page-headercore.component';
|
|
1
|
+
export * from './page-header.model';
|
|
2
|
+
export * from './page-header.service';
|
|
3
|
+
export * from './page-headercore.component';
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
title: string;
|
|
9
|
-
subtitle: string | undefined;
|
|
10
|
-
showBackButton: boolean | undefined;
|
|
11
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const PAGE_HEADER_COMPONENT_TOKEN: InjectionToken<PageHeaderCore>;
|
|
3
|
+
export interface PageHeaderCore {
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string | undefined;
|
|
6
|
+
showBackButton: boolean | undefined;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { PageHeaderCore } from './page-header.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PageHeaderService {
|
|
5
|
+
pageHeader: EventEmitter<PageHeaderCore>;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageHeaderService>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { FieldSizeType } from '../../common';
|
|
4
|
+
import { UnsubscribeComponent } from '../unsubscribe.component';
|
|
5
|
+
import { PageHeaderService } from './page-header.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PageHeaderCoreComponent extends UnsubscribeComponent implements OnInit {
|
|
8
|
+
readonly router: Router;
|
|
9
|
+
readonly cdr: ChangeDetectorRef;
|
|
10
|
+
readonly headerService: PageHeaderService;
|
|
11
|
+
title: string;
|
|
12
|
+
subtitle: string | undefined;
|
|
13
|
+
showBackButton: boolean;
|
|
14
|
+
size: FieldSizeType;
|
|
15
|
+
constructor(router: Router, cdr: ChangeDetectorRef, headerService: PageHeaderService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
protected locationBack(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderCoreComponent, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PageHeaderCoreComponent, never, never, { "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './password.model';
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { BaseFormCore } from '../base-form';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export interface PasswordValidationItem {
|
|
22
|
-
severity: 'success' | 'error';
|
|
23
|
-
validationLabel: string;
|
|
24
|
-
validationFn: (x: string) => boolean;
|
|
25
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { BaseFormCore } from '../base-form';
|
|
3
|
+
export declare const PASSWORD_COMPONENT_TOKEN: InjectionToken<PasswordCore>;
|
|
4
|
+
export declare enum PasswordStrength {
|
|
5
|
+
None = 0,
|
|
6
|
+
Low = 1,
|
|
7
|
+
Medium = 2,
|
|
8
|
+
High = 3,
|
|
9
|
+
Superb = 4
|
|
10
|
+
}
|
|
11
|
+
export interface PasswordCore extends BaseFormCore {
|
|
12
|
+
toggleMask: boolean;
|
|
13
|
+
feedback: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface PasswordValidationItem {
|
|
16
|
+
severity: 'success' | 'error';
|
|
17
|
+
validationLabel: string;
|
|
18
|
+
validationFn: (x: string) => boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './radiobutton.model';
|
|
@@ -1,16 +1,11 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { BaseFormCore } from '../base-form';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface RadiobuttonCore<T> extends BaseFormCore {
|
|
14
|
-
radioGroupName: string;
|
|
15
|
-
items: RadioButtonItem<T>[];
|
|
16
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { BaseFormCore } from '../base-form';
|
|
3
|
+
export declare const RADIOBUTTON_COMPONENT_TOKEN: InjectionToken<RadiobuttonCore<any>>;
|
|
4
|
+
export interface RadioButtonItem<T> {
|
|
5
|
+
id: string;
|
|
6
|
+
value: T;
|
|
7
|
+
}
|
|
8
|
+
export interface RadiobuttonCore<T> extends BaseFormCore {
|
|
9
|
+
radioGroupName: string;
|
|
10
|
+
items: RadioButtonItem<T>[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './section.model';
|
package/{src/lib/components/section/section.model.ts → lib/components/section/section.model.d.ts}
RENAMED
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
title: string;
|
|
9
|
-
showContent: boolean;
|
|
10
|
-
backgroundColor: string;
|
|
11
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const SECTION_COMPONENT_TOKEN: InjectionToken<SectionCore>;
|
|
3
|
+
export interface SectionCore {
|
|
4
|
+
title: string;
|
|
5
|
+
showContent: boolean;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { UnsubscribeComponent } from "../../unsubscribe.component";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MenuServiceDirective extends UnsubscribeComponent implements AfterViewInit {
|
|
5
|
+
private readonly menuService;
|
|
6
|
+
private readonly cdr;
|
|
7
|
+
private readonly sideMenu;
|
|
8
|
+
ngAfterViewInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuServiceDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuServiceDirective, "v-side-menu[useMenuService]", ["useMenuService"], {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './side-menu.model';
|
|
2
|
-
export * from './services/side-menu-provider.service';
|
|
3
|
-
export * from './services/side-menu.service';
|
|
4
|
-
export * from './directives/side-menu-service.directive';
|
|
1
|
+
export * from './side-menu.model';
|
|
2
|
+
export * from './services/side-menu-provider.service';
|
|
3
|
+
export * from './services/side-menu.service';
|
|
4
|
+
export * from './directives/side-menu-service.directive';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { MenuItem } from '../side-menu.model';
|
|
2
|
+
import { SideMenuService } from './side-menu.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SideMenuProviderService {
|
|
5
|
+
readonly menu: MenuItem[];
|
|
6
|
+
readonly menuService: SideMenuService;
|
|
7
|
+
constructor(menu: MenuItem[], menuService: SideMenuService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuProviderService, [{ optional: true; }, null]>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SideMenuProviderService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { MenuItem } from '../side-menu.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SideMenuService {
|
|
5
|
+
private _menuItems;
|
|
6
|
+
private stateToken;
|
|
7
|
+
menuItems$: Observable<MenuItem[]>;
|
|
8
|
+
menuMinimalized: boolean;
|
|
9
|
+
setMenu(items: MenuItem[]): void;
|
|
10
|
+
saveMinimalizedState(minimalized: boolean): void;
|
|
11
|
+
saveExpandedState(item: MenuItem): void;
|
|
12
|
+
private resetSidemenuState;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SideMenuService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SideMenuService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare const MENU_TOKEN: InjectionToken<MenuItem[]>;
|
|
4
|
+
export declare const LOGO_ROUTER_ROUTE: InjectionToken<string>;
|
|
5
|
+
export declare const SIDE_MENU_COMPONENT_TOKEN: InjectionToken<SideMenuCore>;
|
|
6
|
+
export declare const SIDE_MENU_STATE_TOKEN: InjectionToken<SideMenuState>;
|
|
7
|
+
export interface SideMenuState {
|
|
8
|
+
expanded: string[];
|
|
9
|
+
minimalized: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface MenuItem {
|
|
12
|
+
id?: string;
|
|
13
|
+
label?: string | undefined;
|
|
14
|
+
icon?: string;
|
|
15
|
+
expanded?: boolean;
|
|
16
|
+
data?: MenuItemData;
|
|
17
|
+
tooltip?: string;
|
|
18
|
+
url?: string;
|
|
19
|
+
visible?: boolean | Observable<boolean>;
|
|
20
|
+
type?: string;
|
|
21
|
+
children?: MenuItem[];
|
|
22
|
+
routerLink?: any;
|
|
23
|
+
class?: string;
|
|
24
|
+
command?: Function;
|
|
25
|
+
}
|
|
26
|
+
type ExtendableType = {
|
|
27
|
+
[key: string]: string | number | boolean | string[] | number[] | boolean[] | undefined;
|
|
28
|
+
};
|
|
29
|
+
export interface MenuItemData extends ExtendableType {
|
|
30
|
+
roles?: string[];
|
|
31
|
+
permissions?: string[];
|
|
32
|
+
}
|
|
33
|
+
export interface SideMenuModuleConfig {
|
|
34
|
+
items?: MenuItem[];
|
|
35
|
+
}
|
|
36
|
+
export interface SideMenuCore {
|
|
37
|
+
items: MenuItem[];
|
|
38
|
+
logoUrl: string;
|
|
39
|
+
userName: string;
|
|
40
|
+
userRole: any | any[] | undefined;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './slider.model';
|
package/{src/lib/components/slider/slider.model.ts → lib/components/slider/slider.model.d.ts}
RENAMED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { BaseFormCore } from '../base-form';
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
min: number;
|
|
11
|
-
max: number;
|
|
12
|
-
range: boolean;
|
|
13
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { BaseFormCore } from '../base-form';
|
|
3
|
+
export declare const SLIDER_COMPONENT_TOKEN: InjectionToken<SliderCore>;
|
|
4
|
+
export interface SliderCore extends BaseFormCore {
|
|
5
|
+
step: number;
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
range: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './snackbar.model';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stepper.model';
|
package/{src/lib/components/stepper/stepper.model.ts → lib/components/stepper/stepper.model.d.ts}
RENAMED
|
@@ -1,24 +1,19 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken, TemplateRef } from "@angular/core";
|
|
2
|
-
import { FieldSizeType, LayoutTypeType } from "../../common";
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
icon: string;
|
|
21
|
-
prefix: string;
|
|
22
|
-
annotation: string;
|
|
23
|
-
label: string;
|
|
24
|
-
}
|
|
1
|
+
import { EventEmitter, InjectionToken, TemplateRef } from "@angular/core";
|
|
2
|
+
import { FieldSizeType, LayoutTypeType } from "../../common";
|
|
3
|
+
export declare const STEPPER_COMPONENT_TOKEN: InjectionToken<StepperCore>;
|
|
4
|
+
export interface StepperItem {
|
|
5
|
+
header: string;
|
|
6
|
+
template?: TemplateRef<any>;
|
|
7
|
+
annotation?: string;
|
|
8
|
+
prefix?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface StepperCore {
|
|
11
|
+
items: StepperItem[];
|
|
12
|
+
layout: LayoutTypeType;
|
|
13
|
+
activeIndexChange: EventEmitter<number>;
|
|
14
|
+
size: FieldSizeType | undefined;
|
|
15
|
+
icon: string;
|
|
16
|
+
prefix: string;
|
|
17
|
+
annotation: string;
|
|
18
|
+
label: string;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './switch.model';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tab-view.model';
|
|
@@ -1,22 +1,17 @@
|
|
|
1
|
-
import { EventEmitter, InjectionToken, TemplateRef } from "@angular/core";
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
useRouting: boolean;
|
|
19
|
-
activeIndex: number;
|
|
20
|
-
activeIndexChange: EventEmitter<number>;
|
|
21
|
-
url?: string;
|
|
22
|
-
}
|
|
1
|
+
import { EventEmitter, InjectionToken, TemplateRef } from "@angular/core";
|
|
2
|
+
export declare const TAB_VIEW_COMPONENT_TOKEN: InjectionToken<TabViewCore>;
|
|
3
|
+
export interface TabViewItemCore {
|
|
4
|
+
title: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
content?: string;
|
|
9
|
+
contentTemplate?: TemplateRef<unknown>;
|
|
10
|
+
}
|
|
11
|
+
export interface TabViewCore {
|
|
12
|
+
items: TabViewItemCore[];
|
|
13
|
+
useRouting: boolean;
|
|
14
|
+
activeIndex: number;
|
|
15
|
+
activeIndexChange: EventEmitter<number>;
|
|
16
|
+
url?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ColumnDefinition } from "./table.models";
|
|
2
|
+
export declare class ColumnConfiguration<TEntity> {
|
|
3
|
+
private id;
|
|
4
|
+
private column;
|
|
5
|
+
constructor(id: string | keyof TEntity);
|
|
6
|
+
headerName(headerName: string | ((columnId: string, index?: number) => string)): this;
|
|
7
|
+
sortable(sortable: boolean): this;
|
|
8
|
+
columnClass(columnClass: string): this;
|
|
9
|
+
valueFunction(value: (row: TEntity, index?: number) => string): this;
|
|
10
|
+
type(type: string): this;
|
|
11
|
+
build(): ColumnDefinition<TEntity>;
|
|
12
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './table.models';
|
|
2
|
-
export * from './table-column.directive';
|
|
3
|
-
export * from './table-builder';
|
|
4
|
-
export * from './column-configuration';
|
|
1
|
+
export * from './table.models';
|
|
2
|
+
export * from './table-column.directive';
|
|
3
|
+
export * from './table-builder';
|
|
4
|
+
export * from './column-configuration';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ColumnConfiguration } from './column-configuration';
|
|
2
|
+
import { ColumnDefinition } from './table.models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TableBuilder<TEntity> {
|
|
5
|
+
private columns;
|
|
6
|
+
addColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
7
|
+
addTextColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
8
|
+
addNumberColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
9
|
+
addDateColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
10
|
+
addBooleanColumn(id: string, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
11
|
+
addEnumColumn(id: string | keyof TEntity, config?: (v: ColumnConfiguration<TEntity>) => void): TableBuilder<TEntity>;
|
|
12
|
+
build(): ColumnDefinition<TEntity>[];
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableBuilder<any>, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TableBuilder<any>>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { Params } from '@angular/router';
|
|
3
|
+
import { FieldAlignType } from '../../common';
|
|
4
|
+
import { ColumnDefinition, ColumnProvider, ColumnVisibilityType } from './table.models';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TableColumnDirective<T> implements ColumnProvider<T> {
|
|
7
|
+
template: TemplateRef<{
|
|
8
|
+
$implicit: T;
|
|
9
|
+
}>;
|
|
10
|
+
index: number;
|
|
11
|
+
id: string;
|
|
12
|
+
columnClass: string;
|
|
13
|
+
sortable: boolean;
|
|
14
|
+
routerLink: (row: T) => string;
|
|
15
|
+
queryParams: Params;
|
|
16
|
+
headerName: ((column: string, index?: number) => string) | string;
|
|
17
|
+
width: string | number | undefined;
|
|
18
|
+
textAlign: FieldAlignType;
|
|
19
|
+
format: (row: T) => string;
|
|
20
|
+
forceVisibility: ColumnVisibilityType;
|
|
21
|
+
visible: boolean;
|
|
22
|
+
getDefinition(): ColumnDefinition<T>;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TableColumnDirective<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableColumnDirective<any>, "v-table-column", never, { "index": { "alias": "index"; "required": false; }; "id": { "alias": "id"; "required": false; }; "columnClass": { "alias": "columnClass"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; "queryParams": { "alias": "queryParams"; "required": false; }; "headerName": { "alias": "headerName"; "required": false; }; "width": { "alias": "width"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "format": { "alias": "format"; "required": false; }; "forceVisibility": { "alias": "forceVisibility"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; }, {}, ["template"], never, true, never>;
|
|
25
|
+
}
|