@inobeta/ui 18.0.1-build.1722007687
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 +1 -0
- package/_index.scss +1 -0
- package/esm2022/inobeta-ui.mjs +5 -0
- package/esm2022/public_api.mjs +17 -0
- package/esm2022/src/app/inobeta-ui/core/filter.pipe.mjs +23 -0
- package/esm2022/src/app/inobeta-ui/core/index.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/http/auth/guard.service.mjs +157 -0
- package/esm2022/src/app/inobeta-ui/http/auth/login.service.mjs +137 -0
- package/esm2022/src/app/inobeta-ui/http/auth/login.service.stub.spec.mjs +20 -0
- package/esm2022/src/app/inobeta-ui/http/auth/session.model.mjs +16 -0
- package/esm2022/src/app/inobeta-ui/http/http/auth.interceptor.mjs +79 -0
- package/esm2022/src/app/inobeta-ui/http/http/error.interceptor.mjs +76 -0
- package/esm2022/src/app/inobeta-ui/http/http/loader.interceptor.mjs +45 -0
- package/esm2022/src/app/inobeta-ui/http/http/loading-skeleton-container.component.mjs +36 -0
- package/esm2022/src/app/inobeta-ui/http/http/loading-skeleton.component.mjs +34 -0
- package/esm2022/src/app/inobeta-ui/http/http/loading-skeleton.directive.mjs +66 -0
- package/esm2022/src/app/inobeta-ui/http/http/loading-skeleton.directive.stub.spec.mjs +22 -0
- package/esm2022/src/app/inobeta-ui/http/http/messages.decorator.mjs +42 -0
- package/esm2022/src/app/inobeta-ui/http/http/role-check.directive.mjs +45 -0
- package/esm2022/src/app/inobeta-ui/http/http/spinner-loading.component.mjs +28 -0
- package/esm2022/src/app/inobeta-ui/http/http/spinner-loading.stub.spec.mjs +15 -0
- package/esm2022/src/app/inobeta-ui/http/http-test.module.mjs +35 -0
- package/esm2022/src/app/inobeta-ui/http/http.module.mjs +178 -0
- package/esm2022/src/app/inobeta-ui/http/index.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/http/store/index.mjs +11 -0
- package/esm2022/src/app/inobeta-ui/http/store/loader/actions.mjs +7 -0
- package/esm2022/src/app/inobeta-ui/http/store/loader/interfaces.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/http/store/loader/reducers.mjs +35 -0
- package/esm2022/src/app/inobeta-ui/http/store/loader/selectors.mjs +9 -0
- package/esm2022/src/app/inobeta-ui/http/store/session/actions.mjs +17 -0
- package/esm2022/src/app/inobeta-ui/http/store/session/effects.mjs +50 -0
- package/esm2022/src/app/inobeta-ui/http/store/session/interfaces.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/http/store/session/reducers.mjs +12 -0
- package/esm2022/src/app/inobeta-ui/http/store/session/selectors.mjs +22 -0
- package/esm2022/src/app/inobeta-ui/http/translations.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/hydration/actions.mjs +3 -0
- package/esm2022/src/app/inobeta-ui/hydration/effects.mjs +45 -0
- package/esm2022/src/app/inobeta-ui/hydration/index.mjs +21 -0
- package/esm2022/src/app/inobeta-ui/hydration/reducer.mjs +36 -0
- package/esm2022/src/app/inobeta-ui/storage/index.mjs +4 -0
- package/esm2022/src/app/inobeta-ui/storage/storage-test.module.mjs +23 -0
- package/esm2022/src/app/inobeta-ui/storage/storage.module.mjs +22 -0
- package/esm2022/src/app/inobeta-ui/storage/storage.service.mjs +105 -0
- package/esm2022/src/app/inobeta-ui/storage/storage.stub.spec.mjs +8 -0
- package/esm2022/src/app/inobeta-ui/translate/index.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/translate/translate-loader.service.mjs +37 -0
- package/esm2022/src/app/inobeta-ui/ui/breadcrumb/breadcrumb.component.mjs +63 -0
- package/esm2022/src/app/inobeta-ui/ui/breadcrumb/breadcrumb.module.mjs +44 -0
- package/esm2022/src/app/inobeta-ui/ui/breadcrumb/index.mjs +4 -0
- package/esm2022/src/app/inobeta-ui/ui/breadcrumb/material-breadcrumb/material-breadcrumb.component.mjs +16 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/data-export.module.mjs +92 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/data-export.service.mjs +83 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/formats/csv-export.service.mjs +42 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/formats/pdf-export.service.mjs +66 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/formats/xlsx-export.service.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/index.mjs +10 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/provider.mjs +3 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/table-data-export-dialog.component.mjs +113 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/table-data-export.component.mjs +58 -0
- package/esm2022/src/app/inobeta-ui/ui/data-export/transformer.mjs +68 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/array/array.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/controls/checkbox.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/controls/dropdown.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/controls/form-control-base.mjs +80 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/controls/radio.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/controls/textbox.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/dynamic-form/dynamic-form.component.mjs +118 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/dynamic-form-array/dynamic-form-array.component.mjs +46 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/dynamic-form-control/dynamic-form-control.component.mjs +28 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/form-control.service.mjs +57 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/forms.module.mjs +36 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/forms.pipes.mjs +41 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/forms.types.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/forms/index.mjs +12 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filter-button/filter-action-group.component.mjs +14 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filter-button/filter-button.component.mjs +31 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filter.component.mjs +149 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filter.types.mjs +30 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/base/filter-base.mjs +83 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/boolean/boolean-filter.component.mjs +48 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/date/filter-date.component.mjs +284 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/number/filter-number.component.mjs +111 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/search-bar/search-bar.component.mjs +99 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/tag/filter-tag.component.mjs +106 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters/text/filter-text.component.mjs +98 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters.mjs +109 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/filters.module.mjs +175 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/index.mjs +14 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/tokens.mjs +3 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-filter/translations.mjs +51 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/action.mjs +48 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/cells.mjs +212 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/action-column.mjs +23 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/column.mjs +260 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/date-column.mjs +93 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/index.mjs +7 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/number-column.mjs +112 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/selection-column.mjs +149 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/columns/text-column.mjs +90 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/index.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/paginator-intl.mjs +53 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/remote-data-source.mjs +73 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/rowgroup.mjs +17 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/sort-header.mjs +37 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/const.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/index.mjs +9 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/url-state/actions.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/url-state/effects.mjs +47 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/url-state/interfaces.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/url-state/reducers.mjs +56 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/store/url-state/selectors.mjs +19 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/table-data-source.mjs +450 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/table-url.service.mjs +129 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/table.component.mjs +260 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/table.module.mjs +150 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/table.types.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/tokens.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/ui/kai-table/translations.mjs +41 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/components/main-menu-bar/main-menu-bar.component.mjs +120 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/components/main-menu-bar/main-menu-bar.stub.spec.mjs +38 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/components/main-menu-dialog/main-menu-dialog.component.mjs +48 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/components/main-menu-expanded/header-footer-buttons.component.mjs +139 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/components/main-menu-expanded/main-menu-expanded.component.mjs +41 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/index.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/main-menu-test.module.mjs +24 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/main-menu.module.mjs +63 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/models/main-menu-button.model.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/models/main-menu-data-set.model.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/main-menu/models/main-menu-data.model.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/autocomplete.mjs +108 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/button.mjs +80 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/checkbox.mjs +54 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/datepicker.mjs +96 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/dropdown.mjs +149 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/label.mjs +50 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/padding.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/radio.mjs +61 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/slide-toggle.mjs +62 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/textarea.mjs +63 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/controls/textbox.mjs +205 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/index.mjs +18 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/intl/datepicker.intl.mjs +73 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form/material-form.component.mjs +48 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form/material-form.stub.spec.mjs +65 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form-array/material-form-array.component.mjs +18 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form-control/material-form-control.component.mjs +64 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form-test.module.mjs +32 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/material-form.module.mjs +168 -0
- package/esm2022/src/app/inobeta-ui/ui/material-forms/translations.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/index.mjs +7 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal-message.component.mjs +76 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal-message.model.mjs +2 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal-message.service.mjs +64 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal-message.service.stub.spec.mjs +15 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal-test.module.mjs +26 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/modal.module.mjs +46 -0
- package/esm2022/src/app/inobeta-ui/ui/modal/translations.mjs +10 -0
- package/esm2022/src/app/inobeta-ui/ui/toast/index.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/toast/toast-test.module.mjs +23 -0
- package/esm2022/src/app/inobeta-ui/ui/toast/toast.module.mjs +21 -0
- package/esm2022/src/app/inobeta-ui/ui/toast/toast.service.mjs +54 -0
- package/esm2022/src/app/inobeta-ui/ui/toast/toast.service.stub.spec.mjs +4 -0
- package/esm2022/src/app/inobeta-ui/ui/uploader/index.mjs +3 -0
- package/esm2022/src/app/inobeta-ui/ui/uploader/uploader.component.mjs +41 -0
- package/esm2022/src/app/inobeta-ui/ui/uploader/uploader.module.mjs +42 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/default-table-view/default-table-view.component.mjs +20 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/index.mjs +6 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/table-view/table-view.component.mjs +37 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/table-view-group/table-view-group.component.mjs +186 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/view-dialog/view-dialog.component.mjs +110 -0
- package/esm2022/src/app/inobeta-ui/ui/views/components/view-list/view-list.component.mjs +43 -0
- package/esm2022/src/app/inobeta-ui/ui/views/index.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/actions.mjs +11 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/index.mjs +3 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/reducer.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/views/index.mjs +4 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/views/reducer.mjs +19 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/views/selectors.mjs +5 -0
- package/esm2022/src/app/inobeta-ui/ui/views/store/views/table-view.mjs +13 -0
- package/esm2022/src/app/inobeta-ui/ui/views/translations.mjs +34 -0
- package/esm2022/src/app/inobeta-ui/ui/views/view.module.mjs +98 -0
- package/esm2022/src/app/inobeta-ui/ui/views/view.service.mjs +137 -0
- package/fesm2022/inobeta-ui.mjs +8610 -0
- package/fesm2022/inobeta-ui.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/package.json +55 -0
- package/public_api.d.ts +16 -0
- package/src/app/inobeta-ui/core/filter.pipe.d.ts +7 -0
- package/src/app/inobeta-ui/core/index.d.ts +1 -0
- package/src/app/inobeta-ui/http/auth/guard.service.d.ts +96 -0
- package/src/app/inobeta-ui/http/auth/login.service.d.ts +63 -0
- package/src/app/inobeta-ui/http/auth/login.service.stub.spec.d.ts +9 -0
- package/src/app/inobeta-ui/http/auth/session.model.d.ts +18 -0
- package/src/app/inobeta-ui/http/http/auth.interceptor.d.ts +21 -0
- package/src/app/inobeta-ui/http/http/error.interceptor.d.ts +18 -0
- package/src/app/inobeta-ui/http/http/loader.interceptor.d.ts +17 -0
- package/src/app/inobeta-ui/http/http/loading-skeleton-container.component.d.ts +13 -0
- package/src/app/inobeta-ui/http/http/loading-skeleton.component.d.ts +12 -0
- package/src/app/inobeta-ui/http/http/loading-skeleton.directive.d.ts +27 -0
- package/src/app/inobeta-ui/http/http/loading-skeleton.directive.stub.spec.d.ts +13 -0
- package/src/app/inobeta-ui/http/http/messages.decorator.d.ts +18 -0
- package/src/app/inobeta-ui/http/http/role-check.directive.d.ts +17 -0
- package/src/app/inobeta-ui/http/http/spinner-loading.component.d.ts +9 -0
- package/src/app/inobeta-ui/http/http/spinner-loading.stub.spec.d.ts +5 -0
- package/src/app/inobeta-ui/http/http-test.module.d.ts +8 -0
- package/src/app/inobeta-ui/http/http.module.d.ts +20 -0
- package/src/app/inobeta-ui/http/index.d.ts +23 -0
- package/src/app/inobeta-ui/http/store/index.d.ts +10 -0
- package/src/app/inobeta-ui/http/store/loader/actions.d.ts +17 -0
- package/src/app/inobeta-ui/http/store/loader/interfaces.d.ts +8 -0
- package/src/app/inobeta-ui/http/store/loader/reducers.d.ts +3 -0
- package/src/app/inobeta-ui/http/store/loader/selectors.d.ts +5 -0
- package/src/app/inobeta-ui/http/store/session/actions.d.ts +20 -0
- package/src/app/inobeta-ui/http/store/session/effects.d.ts +16 -0
- package/src/app/inobeta-ui/http/store/session/interfaces.d.ts +4 -0
- package/src/app/inobeta-ui/http/store/session/reducers.d.ts +3 -0
- package/src/app/inobeta-ui/http/store/session/selectors.d.ts +4 -0
- package/src/app/inobeta-ui/http/translations.d.ts +12 -0
- package/src/app/inobeta-ui/hydration/actions.d.ts +1 -0
- package/src/app/inobeta-ui/hydration/effects.d.ts +13 -0
- package/src/app/inobeta-ui/hydration/index.d.ts +13 -0
- package/src/app/inobeta-ui/hydration/reducer.d.ts +2 -0
- package/src/app/inobeta-ui/storage/index.d.ts +3 -0
- package/src/app/inobeta-ui/storage/storage-test.module.d.ts +6 -0
- package/src/app/inobeta-ui/storage/storage.module.d.ts +6 -0
- package/src/app/inobeta-ui/storage/storage.service.d.ts +62 -0
- package/src/app/inobeta-ui/storage/storage.stub.spec.d.ts +5 -0
- package/src/app/inobeta-ui/translate/index.d.ts +1 -0
- package/src/app/inobeta-ui/translate/translate-loader.service.d.ts +11 -0
- package/src/app/inobeta-ui/ui/_index.scss +87 -0
- package/src/app/inobeta-ui/ui/breadcrumb/breadcrumb.component.d.ts +28 -0
- package/src/app/inobeta-ui/ui/breadcrumb/breadcrumb.module.d.ts +12 -0
- package/src/app/inobeta-ui/ui/breadcrumb/index.d.ts +3 -0
- package/src/app/inobeta-ui/ui/breadcrumb/material-breadcrumb/material-breadcrumb.component.d.ts +6 -0
- package/src/app/inobeta-ui/ui/data-export/data-export.module.d.ts +20 -0
- package/src/app/inobeta-ui/ui/data-export/data-export.service.d.ts +35 -0
- package/src/app/inobeta-ui/ui/data-export/formats/csv-export.service.d.ts +19 -0
- package/src/app/inobeta-ui/ui/data-export/formats/pdf-export.service.d.ts +20 -0
- package/src/app/inobeta-ui/ui/data-export/formats/xlsx-export.service.d.ts +14 -0
- package/src/app/inobeta-ui/ui/data-export/index.d.ts +9 -0
- package/src/app/inobeta-ui/ui/data-export/provider.d.ts +15 -0
- package/src/app/inobeta-ui/ui/data-export/table-data-export-dialog.component.d.ts +23 -0
- package/src/app/inobeta-ui/ui/data-export/table-data-export.component.d.ts +13 -0
- package/src/app/inobeta-ui/ui/data-export/transformer.d.ts +50 -0
- package/src/app/inobeta-ui/ui/forms/array/array.d.ts +32 -0
- package/src/app/inobeta-ui/ui/forms/controls/checkbox.d.ts +4 -0
- package/src/app/inobeta-ui/ui/forms/controls/dropdown.d.ts +4 -0
- package/src/app/inobeta-ui/ui/forms/controls/form-control-base.d.ts +88 -0
- package/src/app/inobeta-ui/ui/forms/controls/radio.d.ts +4 -0
- package/src/app/inobeta-ui/ui/forms/controls/textbox.d.ts +4 -0
- package/src/app/inobeta-ui/ui/forms/dynamic-form/dynamic-form.component.d.ts +50 -0
- package/src/app/inobeta-ui/ui/forms/dynamic-form-array/dynamic-form-array.component.d.ts +18 -0
- package/src/app/inobeta-ui/ui/forms/dynamic-form-control/dynamic-form-control.component.d.ts +11 -0
- package/src/app/inobeta-ui/ui/forms/form-control.service.d.ts +13 -0
- package/src/app/inobeta-ui/ui/forms/forms.module.d.ts +12 -0
- package/src/app/inobeta-ui/ui/forms/forms.pipes.d.ts +20 -0
- package/src/app/inobeta-ui/ui/forms/forms.types.d.ts +3 -0
- package/src/app/inobeta-ui/ui/forms/index.d.ts +11 -0
- package/src/app/inobeta-ui/ui/kai-filter/filter-button/filter-action-group.component.d.ts +5 -0
- package/src/app/inobeta-ui/ui/kai-filter/filter-button/filter-button.component.d.ts +8 -0
- package/src/app/inobeta-ui/ui/kai-filter/filter.component.d.ts +41 -0
- package/src/app/inobeta-ui/ui/kai-filter/filter.types.d.ts +141 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/base/filter-base.d.ts +42 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/boolean/boolean-filter.component.d.ts +12 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/date/filter-date.component.d.ts +56 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/number/filter-number.component.d.ts +27 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/search-bar/search-bar.component.d.ts +16 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/tag/filter-tag.component.d.ts +28 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters/text/filter-text.component.d.ts +21 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters.d.ts +16 -0
- package/src/app/inobeta-ui/ui/kai-filter/filters.module.d.ts +35 -0
- package/src/app/inobeta-ui/ui/kai-filter/index.d.ts +13 -0
- package/src/app/inobeta-ui/ui/kai-filter/tokens.d.ts +2 -0
- package/src/app/inobeta-ui/ui/kai-filter/translations.d.ts +50 -0
- package/src/app/inobeta-ui/ui/kai-table/_table-theme.scss +123 -0
- package/src/app/inobeta-ui/ui/kai-table/action.d.ts +19 -0
- package/src/app/inobeta-ui/ui/kai-table/cells.d.ts +88 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/action-column.d.ts +9 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/column.d.ts +87 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/date-column.d.ts +21 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/index.d.ts +6 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/number-column.d.ts +16 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/selection-column.d.ts +26 -0
- package/src/app/inobeta-ui/ui/kai-table/columns/text-column.d.ts +16 -0
- package/src/app/inobeta-ui/ui/kai-table/index.d.ts +12 -0
- package/src/app/inobeta-ui/ui/kai-table/paginator-intl.d.ts +18 -0
- package/src/app/inobeta-ui/ui/kai-table/remote-data-source.d.ts +60 -0
- package/src/app/inobeta-ui/ui/kai-table/rowgroup.d.ts +8 -0
- package/src/app/inobeta-ui/ui/kai-table/sort-header.d.ts +20 -0
- package/src/app/inobeta-ui/ui/kai-table/store/const.d.ts +1 -0
- package/src/app/inobeta-ui/ui/kai-table/store/index.d.ts +8 -0
- package/src/app/inobeta-ui/ui/kai-table/store/url-state/actions.d.ts +59 -0
- package/src/app/inobeta-ui/ui/kai-table/store/url-state/effects.d.ts +15 -0
- package/src/app/inobeta-ui/ui/kai-table/store/url-state/interfaces.d.ts +16 -0
- package/src/app/inobeta-ui/ui/kai-table/store/url-state/reducers.d.ts +2 -0
- package/src/app/inobeta-ui/ui/kai-table/store/url-state/selectors.d.ts +3 -0
- package/src/app/inobeta-ui/ui/kai-table/table-data-source.d.ts +164 -0
- package/src/app/inobeta-ui/ui/kai-table/table-url.service.d.ts +51 -0
- package/src/app/inobeta-ui/ui/kai-table/table.component.d.ts +79 -0
- package/src/app/inobeta-ui/ui/kai-table/table.module.d.ts +30 -0
- package/src/app/inobeta-ui/ui/kai-table/table.types.d.ts +21 -0
- package/src/app/inobeta-ui/ui/kai-table/tokens.d.ts +22 -0
- package/src/app/inobeta-ui/ui/kai-table/translations.d.ts +40 -0
- package/src/app/inobeta-ui/ui/main-menu/_main-menu-theme.scss +226 -0
- package/src/app/inobeta-ui/ui/main-menu/components/main-menu-bar/main-menu-bar.component.d.ts +56 -0
- package/src/app/inobeta-ui/ui/main-menu/components/main-menu-bar/main-menu-bar.stub.spec.d.ts +18 -0
- package/src/app/inobeta-ui/ui/main-menu/components/main-menu-dialog/main-menu-dialog.component.d.ts +13 -0
- package/src/app/inobeta-ui/ui/main-menu/components/main-menu-expanded/header-footer-buttons.component.d.ts +9 -0
- package/src/app/inobeta-ui/ui/main-menu/components/main-menu-expanded/main-menu-expanded.component.d.ts +16 -0
- package/src/app/inobeta-ui/ui/main-menu/index.d.ts +10 -0
- package/src/app/inobeta-ui/ui/main-menu/main-menu-test.module.d.ts +8 -0
- package/src/app/inobeta-ui/ui/main-menu/main-menu.module.d.ts +16 -0
- package/src/app/inobeta-ui/ui/main-menu/models/main-menu-button.model.d.ts +8 -0
- package/src/app/inobeta-ui/ui/main-menu/models/main-menu-data-set.model.d.ts +14 -0
- package/src/app/inobeta-ui/ui/main-menu/models/main-menu-data.model.d.ts +4 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/autocomplete.d.ts +14 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/button.d.ts +28 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/checkbox.d.ts +10 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/datepicker.d.ts +17 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/dropdown.d.ts +29 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/label.d.ts +10 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/padding.d.ts +10 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/radio.d.ts +10 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/slide-toggle.d.ts +10 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/textarea.d.ts +17 -0
- package/src/app/inobeta-ui/ui/material-forms/controls/textbox.d.ts +21 -0
- package/src/app/inobeta-ui/ui/material-forms/index.d.ts +17 -0
- package/src/app/inobeta-ui/ui/material-forms/intl/datepicker.intl.d.ts +25 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form/material-form.component.d.ts +26 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form/material-form.stub.spec.d.ts +21 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form-array/material-form-array.component.d.ts +6 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form-control/material-form-control.component.d.ts +19 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form-test.module.d.ts +9 -0
- package/src/app/inobeta-ui/ui/material-forms/material-form.module.d.ts +49 -0
- package/src/app/inobeta-ui/ui/material-forms/translations.d.ts +25 -0
- package/src/app/inobeta-ui/ui/modal/index.d.ts +6 -0
- package/src/app/inobeta-ui/ui/modal/modal-message.component.d.ts +10 -0
- package/src/app/inobeta-ui/ui/modal/modal-message.model.d.ts +32 -0
- package/src/app/inobeta-ui/ui/modal/modal-message.service.d.ts +49 -0
- package/src/app/inobeta-ui/ui/modal/modal-message.service.stub.spec.d.ts +6 -0
- package/src/app/inobeta-ui/ui/modal/modal-test.module.d.ts +7 -0
- package/src/app/inobeta-ui/ui/modal/modal.module.d.ts +11 -0
- package/src/app/inobeta-ui/ui/modal/translations.d.ts +9 -0
- package/src/app/inobeta-ui/ui/toast/_toast-theme.scss +56 -0
- package/src/app/inobeta-ui/ui/toast/index.d.ts +4 -0
- package/src/app/inobeta-ui/ui/toast/toast-test.module.d.ts +6 -0
- package/src/app/inobeta-ui/ui/toast/toast.module.d.ts +7 -0
- package/src/app/inobeta-ui/ui/toast/toast.service.d.ts +36 -0
- package/src/app/inobeta-ui/ui/toast/toast.service.stub.spec.d.ts +3 -0
- package/src/app/inobeta-ui/ui/uploader/index.d.ts +2 -0
- package/src/app/inobeta-ui/ui/uploader/uploader.component.d.ts +12 -0
- package/src/app/inobeta-ui/ui/uploader/uploader.module.d.ts +10 -0
- package/src/app/inobeta-ui/ui/views/components/default-table-view/default-table-view.component.d.ts +8 -0
- package/src/app/inobeta-ui/ui/views/components/index.d.ts +5 -0
- package/src/app/inobeta-ui/ui/views/components/table-view/table-view.component.d.ts +14 -0
- package/src/app/inobeta-ui/ui/views/components/table-view-group/table-view-group.component.d.ts +45 -0
- package/src/app/inobeta-ui/ui/views/components/view-dialog/view-dialog.component.d.ts +22 -0
- package/src/app/inobeta-ui/ui/views/components/view-list/view-list.component.d.ts +16 -0
- package/src/app/inobeta-ui/ui/views/index.d.ts +4 -0
- package/src/app/inobeta-ui/ui/views/store/actions.d.ts +27 -0
- package/src/app/inobeta-ui/ui/views/store/index.d.ts +2 -0
- package/src/app/inobeta-ui/ui/views/store/reducer.d.ts +7 -0
- package/src/app/inobeta-ui/ui/views/store/views/index.d.ts +3 -0
- package/src/app/inobeta-ui/ui/views/store/views/reducer.d.ts +3 -0
- package/src/app/inobeta-ui/ui/views/store/views/selectors.d.ts +4 -0
- package/src/app/inobeta-ui/ui/views/store/views/table-view.d.ts +22 -0
- package/src/app/inobeta-ui/ui/views/translations.d.ts +33 -0
- package/src/app/inobeta-ui/ui/views/view.module.d.ts +23 -0
- package/src/app/inobeta-ui/ui/views/view.service.d.ts +40 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ibHydrate: import("@ngrx/store").ActionCreator<"[IbHydration] Hydrate", () => import("@ngrx/store").Action<"[IbHydration] Hydrate">>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInitEffects } from "@ngrx/effects";
|
|
2
|
+
import { Action } from "@ngrx/store";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HydrationEffects implements OnInitEffects {
|
|
5
|
+
static ibSessionStorageKey: string;
|
|
6
|
+
static ibReduxPersistKeys: string[];
|
|
7
|
+
private actions$;
|
|
8
|
+
private store;
|
|
9
|
+
serialize$: import("rxjs").Observable<any> & import("@ngrx/effects").CreateEffectMetadata;
|
|
10
|
+
ngrxOnInitEffects(): Action;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HydrationEffects, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HydrationEffects>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { MetaReducer } from "@ngrx/store";
|
|
2
|
+
import { HydrationEffects } from "./effects";
|
|
3
|
+
/**
|
|
4
|
+
* Function to set up hydration for the application.
|
|
5
|
+
*
|
|
6
|
+
* @param ibSessionStorageKey The key to identify the storage in which the state is stored.
|
|
7
|
+
* @param ibReduxPersistKeys The keys to other redux stores to include in the persisted state.
|
|
8
|
+
* @returns Effects and metareducers to apply to your root `EffectsModule` and `StoreModule`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ibSetupHydration: (ibSessionStorageKey: string, ibReduxPersistKeys: string[]) => {
|
|
11
|
+
effects: (typeof HydrationEffects)[];
|
|
12
|
+
metareducers: MetaReducer<any, any>[];
|
|
13
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IbStorageTestModule {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbStorageTestModule, never>;
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbStorageTestModule, never, never, never>;
|
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbStorageTestModule>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class IbStorageModule {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbStorageModule, never>;
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbStorageModule, never, never, never>;
|
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbStorageModule>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Handles storage operations such as setting and getting data
|
|
4
|
+
* in either localStorage or cookies.
|
|
5
|
+
*
|
|
6
|
+
* Usage:
|
|
7
|
+
* - Inject the `IbStorageService` service in your component or service.
|
|
8
|
+
* - Use the `set` method to store data and the `get` method to retrieve data.
|
|
9
|
+
*
|
|
10
|
+
* Example:
|
|
11
|
+
* ```typescript
|
|
12
|
+
* constructor(private storageService: IbStorageService) {}
|
|
13
|
+
*
|
|
14
|
+
* saveData() {
|
|
15
|
+
* const data = { key: 'value' };
|
|
16
|
+
* this.storageService.set('myKey', data);
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* retrieveData() {
|
|
20
|
+
* const savedData = this.storageService.get('myKey');
|
|
21
|
+
* console.log(savedData);
|
|
22
|
+
* }
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class IbStorageService {
|
|
26
|
+
/**
|
|
27
|
+
* Method to set data in storage (localStorage or cookies).
|
|
28
|
+
*
|
|
29
|
+
* @param key The key under which to store the data
|
|
30
|
+
* @param object The data object to be stored
|
|
31
|
+
* @param storageType The type of storage to use (IbStorageTypes.LOCALSTORAGE or IbStorageTypes.COOKIESTORAGE)
|
|
32
|
+
*/
|
|
33
|
+
set(key: string, object: any, storageType?: IbStorageTypes): void;
|
|
34
|
+
/**
|
|
35
|
+
* Method to get data from storage (localStorage or cookies).
|
|
36
|
+
*
|
|
37
|
+
* @param key The key under which the data is stored
|
|
38
|
+
* @param storageType The type of storage to use (IbStorageTypes.LOCALSTORAGE or IbStorageTypes.COOKIESTORAGE)
|
|
39
|
+
* @returns The retrieved data object or null if not found
|
|
40
|
+
*/
|
|
41
|
+
get(key: string, storageType?: IbStorageTypes): any;
|
|
42
|
+
/**
|
|
43
|
+
* Set a cookie with the provided name and value.
|
|
44
|
+
*
|
|
45
|
+
* @param name The name of the cookie
|
|
46
|
+
* @param val The value to be stored in the cookie
|
|
47
|
+
*/
|
|
48
|
+
private setCookie;
|
|
49
|
+
/**
|
|
50
|
+
* Get the value of a cookie with the provided name.
|
|
51
|
+
*
|
|
52
|
+
* @param name The name of the cookie
|
|
53
|
+
* @returns The value of the cookie or undefined if not found
|
|
54
|
+
*/
|
|
55
|
+
private getCookie;
|
|
56
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbStorageService, never>;
|
|
57
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbStorageService>;
|
|
58
|
+
}
|
|
59
|
+
export declare enum IbStorageTypes {
|
|
60
|
+
LOCALSTORAGE = 0,
|
|
61
|
+
COOKIESTORAGE = 1
|
|
62
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './translate-loader.service';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { TranslateLoader } from "@ngx-translate/core";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IbTranslateModuleLoader implements TranslateLoader {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
getTranslation(lang: string): Observable<any>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTranslateModuleLoader, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbTranslateModuleLoader>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "@angular/material" as mat;
|
|
3
|
+
|
|
4
|
+
@use "./kai-table/table-theme";
|
|
5
|
+
@use "./main-menu/main-menu-theme";
|
|
6
|
+
@use "./toast/toast-theme";
|
|
7
|
+
|
|
8
|
+
@forward "./kai-table/table-theme" as table-* show table-theme, table-color;
|
|
9
|
+
@forward "./main-menu/main-menu-theme" as main-menu-* show main-menu-theme,
|
|
10
|
+
main-menu-color;
|
|
11
|
+
@forward "./toast/toast-theme" as toast-* show toast-theme, toast-color;
|
|
12
|
+
|
|
13
|
+
@mixin all-component-themes($theme) {
|
|
14
|
+
@include main-menu-theme.theme($theme);
|
|
15
|
+
@include table-theme.theme($theme);
|
|
16
|
+
@include toast-theme.theme($theme);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin all-component-colors($theme) {
|
|
20
|
+
@include main-menu-theme.color($theme);
|
|
21
|
+
@include table-theme.color($theme);
|
|
22
|
+
@include toast-theme.color(theme);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@mixin all-component-colors($theme) {
|
|
26
|
+
@if not mat.theme-has($theme, color) {
|
|
27
|
+
@error 'No color configuration specified.';
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@include all-component-themes(
|
|
31
|
+
mat.theme-remove($theme, base, typography, density)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
html {
|
|
36
|
+
ib-material-form-control {
|
|
37
|
+
padding: 0px 5px;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/*global patches end**/
|
|
42
|
+
.pulse {
|
|
43
|
+
animation: pulse 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
|
|
44
|
+
animation-delay: 0.25s;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes pulse {
|
|
48
|
+
0% {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
}
|
|
51
|
+
50% {
|
|
52
|
+
opacity: 0.5;
|
|
53
|
+
}
|
|
54
|
+
100% {
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
.mat-mdc-tooltip {
|
|
59
|
+
white-space: pre-line;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ib-material-form-grid ib-material-form-control {
|
|
63
|
+
max-width: 100% !important;
|
|
64
|
+
height: 100%;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
div[ib-mat-checkbox],
|
|
68
|
+
div[ib-mat-radio] {
|
|
69
|
+
height: 80%;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
div[ib-mat-slide-toggle] {
|
|
75
|
+
height: 80%;
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ib-material-form-grid div[ib-mat-label] {
|
|
81
|
+
padding-bottom: 1.34375em;
|
|
82
|
+
}
|
|
83
|
+
.ib-material-form-grid div[ib-mat-label],
|
|
84
|
+
.ib-material-form-grid div[ib-mat-label] div {
|
|
85
|
+
height: 100% !important;
|
|
86
|
+
align-items: center;
|
|
87
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router, ActivatedRoute } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type IbBreadcrumbItem = {
|
|
5
|
+
label?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
icon?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare class IbBreadcrumbComponent implements OnInit {
|
|
10
|
+
private router;
|
|
11
|
+
private activatedRoute;
|
|
12
|
+
static readonly ROUTE_DATA_BREADCRUMB = "breadcrumb";
|
|
13
|
+
/**
|
|
14
|
+
* Edit icon or label of the first crumb
|
|
15
|
+
*/
|
|
16
|
+
home: IbBreadcrumbItem;
|
|
17
|
+
items: IbBreadcrumbItem[];
|
|
18
|
+
/**
|
|
19
|
+
* Whether create breadcrumbs looking up the routes (`auto`), or define them through the `items` input ('static')
|
|
20
|
+
*/
|
|
21
|
+
mode: 'static' | 'auto';
|
|
22
|
+
constructor(router: Router, activatedRoute: ActivatedRoute);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
private createBreadcrumbs;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbBreadcrumbComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbBreadcrumbComponent, "ib-breadcrumb", never, { "home": { "alias": "home"; "required": false; }; "items": { "alias": "items"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./breadcrumb.component";
|
|
3
|
+
import * as i2 from "./material-breadcrumb/material-breadcrumb.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/router";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
export declare class IbBreadcrumbModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbBreadcrumbModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbBreadcrumbModule, [typeof i1.IbBreadcrumbComponent, typeof i2.IbMaterialBreadcrumbComponent], [typeof i3.CommonModule, typeof i4.RouterModule, typeof i5.TranslateModule, typeof i6.MatIconModule], [typeof i1.IbBreadcrumbComponent, typeof i2.IbMaterialBreadcrumbComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbBreadcrumbModule>;
|
|
12
|
+
}
|
package/src/app/inobeta-ui/ui/breadcrumb/material-breadcrumb/material-breadcrumb.component.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IbBreadcrumbComponent } from '../breadcrumb.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbMaterialBreadcrumbComponent extends IbBreadcrumbComponent {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbMaterialBreadcrumbComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbMaterialBreadcrumbComponent, "ib-material-breadcrumb", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./table-data-export.component";
|
|
3
|
+
import * as i2 from "./table-data-export-dialog.component";
|
|
4
|
+
import * as i3 from "./transformer";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@angular/common";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
import * as i7 from "@angular/material/button";
|
|
9
|
+
import * as i8 from "@angular/material/dialog";
|
|
10
|
+
import * as i9 from "@angular/material/select";
|
|
11
|
+
import * as i10 from "@angular/material/radio";
|
|
12
|
+
import * as i11 from "@angular/material/tooltip";
|
|
13
|
+
import * as i12 from "@angular/material/form-field";
|
|
14
|
+
import * as i13 from "../kai-table/action";
|
|
15
|
+
import * as i14 from "@ngx-translate/core";
|
|
16
|
+
export declare class IbDataExportModule {
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbDataExportModule, never>;
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbDataExportModule, [typeof i1.IbTableDataExportAction, typeof i2.IbTableDataExportDialog, typeof i3.IbDataTransformer], [typeof i4.FormsModule, typeof i5.CommonModule, typeof i6.MatIconModule, typeof i7.MatButtonModule, typeof i8.MatDialogModule, typeof i9.MatSelectModule, typeof i10.MatRadioModule, typeof i11.MatTooltipModule, typeof i12.MatFormFieldModule, typeof i4.ReactiveFormsModule, typeof i13.IbTableActionModule, typeof i14.TranslateModule], [typeof i1.IbTableDataExportAction, typeof i2.IbTableDataExportDialog, typeof i3.IbDataTransformer]>;
|
|
19
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbDataExportModule>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { IbTableDataSource } from "../kai-table/table-data-source";
|
|
4
|
+
import { IbDataExportProvider } from "./provider";
|
|
5
|
+
import { IbTableDataExportDialogData } from "./table-data-export-dialog.component";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export interface IDataExportSettings {
|
|
8
|
+
format: "xlsx" | "pdf" | "csv";
|
|
9
|
+
dataset: "all" | "selected" | "current";
|
|
10
|
+
}
|
|
11
|
+
export declare const OVERRIDE_EXPORT_FORMATS: InjectionToken<IbDataExportProvider>;
|
|
12
|
+
export declare class IbDataExportService {
|
|
13
|
+
private dialog;
|
|
14
|
+
private providers;
|
|
15
|
+
formats: any;
|
|
16
|
+
constructor(dialog: MatDialog, providers: IbDataExportProvider[]);
|
|
17
|
+
openExportDialog(data: Partial<IbTableDataExportDialogData>): import("rxjs").Observable<any>;
|
|
18
|
+
/**
|
|
19
|
+
* Internal use for IbTable
|
|
20
|
+
*
|
|
21
|
+
* @ignore
|
|
22
|
+
*/
|
|
23
|
+
_exportFromTable(tableName: string, dataSource: IbTableDataSource<unknown>, settings: IDataExportSettings): void;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param data Array of object to export
|
|
27
|
+
* @param filename Name of the output file
|
|
28
|
+
* @param format Output file format. By default, only `xlsx`, `pdf`, and `csv` are supported
|
|
29
|
+
*/
|
|
30
|
+
export(data: any[], filename: string, format: string): void;
|
|
31
|
+
/** @ignore */
|
|
32
|
+
private getDataAccessorForFormat;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbDataExportService, never>;
|
|
34
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbDataExportService>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IbDataExportProvider } from "../provider";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
declare global {
|
|
4
|
+
interface Navigator {
|
|
5
|
+
msSaveBlob: (blob: Blob, filename: string) => void;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare class IbCSVExportService implements IbDataExportProvider {
|
|
9
|
+
format: string;
|
|
10
|
+
label: string;
|
|
11
|
+
export(data: any[], filename: string): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbCSVExportService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbCSVExportService>;
|
|
14
|
+
}
|
|
15
|
+
export declare const IbCSVExportProvider: {
|
|
16
|
+
provide: import("@angular/core").InjectionToken<IbDataExportProvider>;
|
|
17
|
+
useClass: typeof IbCSVExportService;
|
|
18
|
+
multi: boolean;
|
|
19
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ClassProvider, InjectionToken } from "@angular/core";
|
|
2
|
+
import { jsPDFOptions } from "jspdf";
|
|
3
|
+
import { UserOptions } from "jspdf-autotable";
|
|
4
|
+
import { IbDataExportProvider } from "../provider";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const IB_DATA_JSPDF_OPTIONS: InjectionToken<jsPDFOptions>;
|
|
7
|
+
export declare const IB_DATA_JSPDF_AUTOTABLE_USER_OPTIONS: InjectionToken<UserOptions>;
|
|
8
|
+
export declare class IbPDFExportService implements IbDataExportProvider {
|
|
9
|
+
pdfSetup: jsPDFOptions;
|
|
10
|
+
pdfUserOptions: UserOptions;
|
|
11
|
+
format: string;
|
|
12
|
+
label: string;
|
|
13
|
+
private defaultPdfSetup;
|
|
14
|
+
constructor(pdfSetup: jsPDFOptions, pdfUserOptions: UserOptions);
|
|
15
|
+
export(data: any[], filename: string): void;
|
|
16
|
+
private preparePdfColumns;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbPDFExportService, [{ optional: true; }, { optional: true; }]>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbPDFExportService>;
|
|
19
|
+
}
|
|
20
|
+
export declare const IbPDFExportProvider: ClassProvider;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IbDataExportProvider } from "../provider";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbXLSXExportService implements IbDataExportProvider {
|
|
4
|
+
format: string;
|
|
5
|
+
label: string;
|
|
6
|
+
export(data: any[], filename: string): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbXLSXExportService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbXLSXExportService>;
|
|
9
|
+
}
|
|
10
|
+
export declare const IbXLXSExportProvider: {
|
|
11
|
+
provide: import("@angular/core").InjectionToken<IbDataExportProvider>;
|
|
12
|
+
useClass: typeof IbXLSXExportService;
|
|
13
|
+
multi: boolean;
|
|
14
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./data-export.module";
|
|
2
|
+
export * from "./data-export.service";
|
|
3
|
+
export * from "./formats/csv-export.service";
|
|
4
|
+
export * from "./formats/pdf-export.service";
|
|
5
|
+
export * from "./formats/xlsx-export.service";
|
|
6
|
+
export * from "./provider";
|
|
7
|
+
export * from "./table-data-export-dialog.component";
|
|
8
|
+
export * from "./table-data-export.component";
|
|
9
|
+
export * from "./transformer";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare abstract class IbDataExportProvider {
|
|
2
|
+
/** Specifies the name of the format to be used in the {@link export} function */
|
|
3
|
+
abstract format: string;
|
|
4
|
+
/** Represents a label or identifier for the data export provider. Concrete implementations should provide a descriptive label. */
|
|
5
|
+
abstract label: string;
|
|
6
|
+
/**
|
|
7
|
+
* This abstract method defines the core functionality for exporting data.
|
|
8
|
+
* Concrete implementations must handle the actual process
|
|
9
|
+
* of exporting data in the specified format.
|
|
10
|
+
*
|
|
11
|
+
* @param data An array of data to be exported
|
|
12
|
+
* @param filename The desired filename for the exported data
|
|
13
|
+
*/
|
|
14
|
+
abstract export(data: any[], filename: string): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from "@angular/forms";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface IbTableDataExportDialogData {
|
|
4
|
+
showAllRowsOption: boolean;
|
|
5
|
+
showSelectedRowsOption: boolean;
|
|
6
|
+
formats: {
|
|
7
|
+
value: string;
|
|
8
|
+
label: string;
|
|
9
|
+
}[];
|
|
10
|
+
}
|
|
11
|
+
export declare class IbTableDataExportDialog {
|
|
12
|
+
data: IbTableDataExportDialogData;
|
|
13
|
+
_settings: FormGroup<{
|
|
14
|
+
format: FormControl<string>;
|
|
15
|
+
dataset: FormControl<string>;
|
|
16
|
+
}>;
|
|
17
|
+
get settings(): Partial<{
|
|
18
|
+
format: string;
|
|
19
|
+
dataset: string;
|
|
20
|
+
}>;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTableDataExportDialog, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbTableDataExportDialog, "ib-table-data-export-dialog", never, {}, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { IDataExportSettings, IbDataExportService } from "./data-export.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IbTableDataExportAction {
|
|
5
|
+
exportService: IbDataExportService;
|
|
6
|
+
showAllRowsOption: boolean;
|
|
7
|
+
showSelectedRowsOption: boolean;
|
|
8
|
+
ibDataExport: EventEmitter<IDataExportSettings>;
|
|
9
|
+
constructor(exportService: IbDataExportService);
|
|
10
|
+
openExportDialog(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTableDataExportAction, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbTableDataExportAction, "ib-table-data-export-action", never, { "showAllRowsOption": { "alias": "showAllRowsOption"; "required": false; }; "showSelectedRowsOption": { "alias": "showSelectedRowsOption"; "required": false; }; }, { "ibDataExport": "ibDataExport"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { IbColumn } from "../kai-table/columns/column";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export type IbDataTransformerFunction = (data: unknown) => unknown;
|
|
4
|
+
export type IbDataTransformerInput = Record<string, IbDataTransformerFunction> | IbDataTransformerFunction;
|
|
5
|
+
export declare class IbDataTransformer {
|
|
6
|
+
/** @ignore */
|
|
7
|
+
column: IbColumn<any>;
|
|
8
|
+
/**
|
|
9
|
+
* The {@link ibDataTransformer} input is used to specify the data transformation functions for the column.
|
|
10
|
+
* It accepts either a single function or an object containing multiple functions.
|
|
11
|
+
*
|
|
12
|
+
* ### Single purpose:
|
|
13
|
+
*
|
|
14
|
+
* If a single function is provided, it will be assigned to the default transformation function for all formats
|
|
15
|
+
* If {@link ibDataTransformerFor} is provided, the transformation function will be assigned only to the specified format.
|
|
16
|
+
*
|
|
17
|
+
* *Example:*
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* // example.component.ts
|
|
21
|
+
* uppercaseTransformer = (name: string) => name.toUpperCase()
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* ```html
|
|
25
|
+
* <!-- example.component.html -->
|
|
26
|
+
* <ib-text-column name="name" [ibDataTransformer]="uppercaseTransformer"></ib-text-column>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ### Multiple formats:
|
|
30
|
+
*
|
|
31
|
+
* If an object is provided, where keys represent {@link IbDataExportProvider.format file formats names}
|
|
32
|
+
* and values are functions, each function will be assigned to the corresponding format.
|
|
33
|
+
*
|
|
34
|
+
* ```html
|
|
35
|
+
* <ib-date-column name="created_at" sort [ibDataTransformer]="{
|
|
36
|
+
* pdf: dateToReadableFormat,
|
|
37
|
+
* xlsx: dateToSeconds,
|
|
38
|
+
* csv: dateToAnotherFormat,
|
|
39
|
+
* }"></ib-date-column>
|
|
40
|
+
```
|
|
41
|
+
*/
|
|
42
|
+
set ibDataTransformer(t: IbDataTransformerInput);
|
|
43
|
+
/**
|
|
44
|
+
* The ibDataTransformerFor input is used to specify the name of the format for which
|
|
45
|
+
* the data transformation functions should be applied.
|
|
46
|
+
*/
|
|
47
|
+
ibDataTransformerFor: string;
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbDataTransformer, never>;
|
|
49
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbDataTransformer, "[ibDataTransformer]", never, { "ibDataTransformer": { "alias": "ibDataTransformer"; "required": false; }; "ibDataTransformerFor": { "alias": "ibDataTransformerFor"; "required": false; }; }, {}, never, never, false, never>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { UntypedFormArray } from "@angular/forms";
|
|
2
|
+
import { IbFormControlBase } from "../controls/form-control-base";
|
|
3
|
+
export interface IFormArrayOptions {
|
|
4
|
+
/** Max numbers of lines that an user can add to this form array */
|
|
5
|
+
max: number;
|
|
6
|
+
/** Label for the button to add the first line (i18n) */
|
|
7
|
+
addFieldLabel: string;
|
|
8
|
+
}
|
|
9
|
+
export interface IFormArray {
|
|
10
|
+
/** Property name for this form array. Corresponds to a FormGroup key */
|
|
11
|
+
key: string;
|
|
12
|
+
/** Form control definition. These fields will be repeated for each line */
|
|
13
|
+
fields: IbFormControlBase<any>[];
|
|
14
|
+
options?: Partial<IFormArrayOptions>;
|
|
15
|
+
cols?: number;
|
|
16
|
+
rows?: number;
|
|
17
|
+
width?: string;
|
|
18
|
+
addRow?: (c: UntypedFormArray, newLength: number) => void;
|
|
19
|
+
removeRow?: (c: UntypedFormArray, newLength: number, removedIndex: number, removedData: Record<string, unknown>) => void;
|
|
20
|
+
}
|
|
21
|
+
export declare class IbFormArray implements IFormArray {
|
|
22
|
+
key: string;
|
|
23
|
+
options: Partial<IFormArrayOptions>;
|
|
24
|
+
fields: IbFormControlBase<any>[];
|
|
25
|
+
cols: number;
|
|
26
|
+
rows: number;
|
|
27
|
+
width: string;
|
|
28
|
+
addRow: (c: UntypedFormArray, newLength: number) => void;
|
|
29
|
+
removeRow: (c: UntypedFormArray, newLength: number, removedIndex: number, removedData: Record<string, unknown>) => void;
|
|
30
|
+
readonly role = "array";
|
|
31
|
+
constructor(options: IFormArray);
|
|
32
|
+
}
|