@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,16 @@
|
|
|
1
|
+
import { IbFilterDef, IbFilterOperator } from "./filter.types";
|
|
2
|
+
export declare const eq: (value: any) => IbFilterDef;
|
|
3
|
+
export declare const neq: (value: any) => IbFilterDef;
|
|
4
|
+
export declare const gt: (value: any) => IbFilterDef;
|
|
5
|
+
export declare const gte: (value: any) => IbFilterDef;
|
|
6
|
+
export declare const lt: (value: any) => IbFilterDef;
|
|
7
|
+
export declare const lte: (value: any) => IbFilterDef;
|
|
8
|
+
export declare const contains: (value: any) => IbFilterDef;
|
|
9
|
+
export declare const ncontains: (value: any) => IbFilterDef;
|
|
10
|
+
export declare const startsWith: (value: any) => IbFilterDef;
|
|
11
|
+
export declare const endsWith: (value: any) => IbFilterDef;
|
|
12
|
+
export declare const and: (value: any) => IbFilterDef;
|
|
13
|
+
export declare const or: (value: any) => IbFilterDef;
|
|
14
|
+
export declare const none: () => IbFilterDef;
|
|
15
|
+
export declare function applyFilter(filter: IbFilterDef, filterValue: any): any;
|
|
16
|
+
export declare function evalOperation(operation: IbFilterOperator, value: any, filterValue: any): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./filter.component";
|
|
3
|
+
import * as i2 from "./filters/base/filter-base";
|
|
4
|
+
import * as i3 from "./filters/text/filter-text.component";
|
|
5
|
+
import * as i4 from "./filters/tag/filter-tag.component";
|
|
6
|
+
import * as i5 from "./filters/number/filter-number.component";
|
|
7
|
+
import * as i6 from "./filters/date/filter-date.component";
|
|
8
|
+
import * as i7 from "./filters/search-bar/search-bar.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/cdk/portal";
|
|
11
|
+
import * as i10 from "@angular/forms";
|
|
12
|
+
import * as i11 from "@angular/material/input";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "@angular/material/icon";
|
|
15
|
+
import * as i14 from "@angular/material/menu";
|
|
16
|
+
import * as i15 from "@angular/material/select";
|
|
17
|
+
import * as i16 from "@angular/material/chips";
|
|
18
|
+
import * as i17 from "@angular/material/form-field";
|
|
19
|
+
import * as i18 from "@angular/material/divider";
|
|
20
|
+
import * as i19 from "@angular/material/list";
|
|
21
|
+
import * as i20 from "@angular/material/slider";
|
|
22
|
+
import * as i21 from "@angular/material/radio";
|
|
23
|
+
import * as i22 from "@angular/material/datepicker";
|
|
24
|
+
import * as i23 from "../kai-table/action";
|
|
25
|
+
import * as i24 from "@angular/material/tooltip";
|
|
26
|
+
import * as i25 from "@ngx-translate/core";
|
|
27
|
+
import * as i26 from "../../core/filter.pipe";
|
|
28
|
+
import * as i27 from "./filter-button/filter-button.component";
|
|
29
|
+
import * as i28 from "./filter-button/filter-action-group.component";
|
|
30
|
+
import * as i29 from "./filters/boolean/boolean-filter.component";
|
|
31
|
+
export declare class IbFilterModule {
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbFilterModule, never>;
|
|
33
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbFilterModule, [typeof i1.IbFilter, typeof i2.IbFilterBase, typeof i3.IbTextFilter, typeof i4.IbTagFilter, typeof i5.IbNumberFilter, typeof i6.IbDateFilter, typeof i7.IbSearchBar], [typeof i8.CommonModule, typeof i9.PortalModule, typeof i10.FormsModule, typeof i10.ReactiveFormsModule, typeof i11.MatInputModule, typeof i12.MatButtonModule, typeof i13.MatIconModule, typeof i14.MatMenuModule, typeof i15.MatSelectModule, typeof i16.MatChipsModule, typeof i17.MatFormFieldModule, typeof i18.MatDividerModule, typeof i19.MatListModule, typeof i20.MatSliderModule, typeof i21.MatRadioModule, typeof i22.MatDatepickerModule, typeof i23.IbTableActionModule, typeof i24.MatTooltipModule, typeof i25.TranslateModule, typeof i26.IbFilterPipe, typeof i27.IbFilterButton, typeof i28.IbFilterActionGroup, typeof i29.IbBooleanFilter], [typeof i1.IbFilter, typeof i2.IbFilterBase, typeof i27.IbFilterButton, typeof i3.IbTextFilter, typeof i4.IbTagFilter, typeof i5.IbNumberFilter, typeof i6.IbDateFilter, typeof i7.IbSearchBar, typeof i29.IbBooleanFilter, typeof i28.IbFilterActionGroup]>;
|
|
34
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbFilterModule>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./filter-button/filter-action-group.component";
|
|
2
|
+
export * from "./filter-button/filter-button.component";
|
|
3
|
+
export * from "./filter.component";
|
|
4
|
+
export * from "./filter.types";
|
|
5
|
+
export * from "./filters";
|
|
6
|
+
export * from "./filters.module";
|
|
7
|
+
export * from "./filters/base/filter-base";
|
|
8
|
+
export * from "./filters/date/filter-date.component";
|
|
9
|
+
export * from "./filters/number/filter-number.component";
|
|
10
|
+
export * from "./filters/search-bar/search-bar.component";
|
|
11
|
+
export * from "./filters/tag/filter-tag.component";
|
|
12
|
+
export * from "./filters/text/filter-text.component";
|
|
13
|
+
export * from "./filters/boolean/boolean-filter.component";
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const ibKaiFilterTranslations: {
|
|
2
|
+
it: {
|
|
3
|
+
ibKaiFilter: {
|
|
4
|
+
required: string;
|
|
5
|
+
};
|
|
6
|
+
ibFilter: {
|
|
7
|
+
search: string;
|
|
8
|
+
condition: string;
|
|
9
|
+
eq: string;
|
|
10
|
+
contains: string;
|
|
11
|
+
startsWith: string;
|
|
12
|
+
endsWith: string;
|
|
13
|
+
update: string;
|
|
14
|
+
clear: string;
|
|
15
|
+
value: string;
|
|
16
|
+
min: string;
|
|
17
|
+
max: string;
|
|
18
|
+
between: string;
|
|
19
|
+
date: {
|
|
20
|
+
withinTheLast: string;
|
|
21
|
+
moreThan: string;
|
|
22
|
+
between: string;
|
|
23
|
+
minutes: string;
|
|
24
|
+
hours: string;
|
|
25
|
+
days: string;
|
|
26
|
+
weeks: string;
|
|
27
|
+
minutesAgo: string;
|
|
28
|
+
hoursAgo: string;
|
|
29
|
+
daysAgo: string;
|
|
30
|
+
weeksAgo: string;
|
|
31
|
+
dateRangeLabel: string;
|
|
32
|
+
dateRangeInvalid: string;
|
|
33
|
+
};
|
|
34
|
+
label: {
|
|
35
|
+
text: string;
|
|
36
|
+
tag: {
|
|
37
|
+
default: string;
|
|
38
|
+
empty: string;
|
|
39
|
+
singleItem: string;
|
|
40
|
+
multipleItems: string;
|
|
41
|
+
};
|
|
42
|
+
number: string;
|
|
43
|
+
};
|
|
44
|
+
includeEmpty: string;
|
|
45
|
+
noItems: string;
|
|
46
|
+
true: string;
|
|
47
|
+
false: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "@angular/material" as mat;
|
|
3
|
+
|
|
4
|
+
@mixin base($theme) {
|
|
5
|
+
.ib-table__container {
|
|
6
|
+
@if (mat.get-theme-version($theme) == 1) {
|
|
7
|
+
border-radius: 28px;
|
|
8
|
+
} @else {
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin m2-color($theme) {
|
|
15
|
+
.mat-mdc-header-cell,
|
|
16
|
+
.mat-sort-header-arrow {
|
|
17
|
+
color: var(
|
|
18
|
+
--ib-table-header-text-color,
|
|
19
|
+
mat.get-theme-color($theme, primary, darker-contrast)
|
|
20
|
+
) !important;
|
|
21
|
+
background: var(
|
|
22
|
+
--ib-table-header-background-color,
|
|
23
|
+
mat.get-theme-color($theme, primary, 500)
|
|
24
|
+
) !important;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.mat-mdc-row:hover {
|
|
28
|
+
background: var(
|
|
29
|
+
--ib-table-row-background-color-on-hover,
|
|
30
|
+
rgba(mat.get-theme-color($theme, accent, darker-contrast), 0.03)
|
|
31
|
+
) !important;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ib-table-striped-rows .mat-mdc-row:nth-child(even) {
|
|
35
|
+
color: var(
|
|
36
|
+
--ib-table-even-row-text-color,
|
|
37
|
+
mat.get-theme-color($theme, accent, darker-contrast)
|
|
38
|
+
);
|
|
39
|
+
background: var(
|
|
40
|
+
--ib-table-even-row-background-color,
|
|
41
|
+
mat.get-theme-color($theme, primary, 50)
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ib-table-striped-rows .mat-mdc-row:nth-child(odd) {
|
|
46
|
+
color: var(--ib-table-odd-row-text-color);
|
|
47
|
+
background: var(--ib-table-odd-row-background-color);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.ib-table__container {
|
|
51
|
+
color: mat.get-theme-color($theme, background, text);
|
|
52
|
+
background-color: mat.get-theme-color($theme, background, card);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@mixin color($theme) {
|
|
57
|
+
.mat-mdc-header-cell,
|
|
58
|
+
.mat-sort-header-arrow {
|
|
59
|
+
--mdc-checkbox-unselected-icon-color: #{mat.get-theme-color($theme, on-primary)};
|
|
60
|
+
color: var(
|
|
61
|
+
--ib-table-header-text-color,
|
|
62
|
+
mat.get-theme-color($theme, on-primary)
|
|
63
|
+
) !important;
|
|
64
|
+
background: var(
|
|
65
|
+
--ib-table-header-background-color,
|
|
66
|
+
mat.get-theme-color($theme, primary)
|
|
67
|
+
) !important;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.mat-mdc-row:hover {
|
|
71
|
+
background: var(
|
|
72
|
+
--ib-table-row-background-color-on-hover,
|
|
73
|
+
rgba(mat.get-theme-color($theme, primary), 0.03)
|
|
74
|
+
) !important;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ib-table-striped-rows .mat-mdc-row:nth-child(even) {
|
|
78
|
+
color: var(
|
|
79
|
+
--ib-table-even-row-text-color,
|
|
80
|
+
mat.get-theme-color($theme, on-surface)
|
|
81
|
+
);
|
|
82
|
+
background: var(
|
|
83
|
+
--ib-table-even-row-background-color,
|
|
84
|
+
rgba(mat.get-theme-color($theme, secondary), 0.06)
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ib-table-striped-rows .mat-mdc-row:nth-child(odd) {
|
|
89
|
+
color: var(--ib-table-odd-row-text-color);
|
|
90
|
+
background: var(--ib-table-odd-row-background-color);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.ib-table__container {
|
|
94
|
+
color: mat.get-theme-color($theme, on-surface);
|
|
95
|
+
background-color: mat.get-theme-color($theme, surface);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@mixin typography($theme) {
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
@mixin density($theme) {
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@mixin theme($theme) {
|
|
106
|
+
@if (mat.get-theme-version($theme) == 1) {
|
|
107
|
+
@include base($theme);
|
|
108
|
+
@if mat.theme-has($theme, color) {
|
|
109
|
+
@include color($theme);
|
|
110
|
+
}
|
|
111
|
+
@if mat.theme-has($theme, density) {
|
|
112
|
+
@include density($theme);
|
|
113
|
+
}
|
|
114
|
+
@if mat.theme-has($theme, typography) {
|
|
115
|
+
@include typography($theme);
|
|
116
|
+
}
|
|
117
|
+
} @else {
|
|
118
|
+
@if mat.theme-has($theme, color) {
|
|
119
|
+
@include base($theme);
|
|
120
|
+
@include m2-color($theme);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbKaiTableAction {
|
|
4
|
+
_templateRef: TemplateRef<any>;
|
|
5
|
+
viewContainerRef: ViewContainerRef;
|
|
6
|
+
templateRef: any;
|
|
7
|
+
constructor(_templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbKaiTableAction, [{ optional: true; }, null]>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbKaiTableAction, "[ibTableAction]", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
11
|
+
export declare class IbKaiTableActionGroup {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbKaiTableActionGroup, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbKaiTableActionGroup, "ib-table-action-group, [ib-table-action-group]", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
15
|
+
export declare class IbTableActionModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTableActionModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IbTableActionModule, [typeof IbKaiTableAction, typeof IbKaiTableActionGroup], never, [typeof IbKaiTableAction, typeof IbKaiTableActionGroup]>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IbTableActionModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbCellDef {
|
|
4
|
+
templateRef: TemplateRef<unknown>;
|
|
5
|
+
constructor(templateRef: TemplateRef<unknown>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbCellDef, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbCellDef, "[ibCellDef]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
9
|
+
export interface IbAggregateResult {
|
|
10
|
+
currentPage?: number | string | undefined;
|
|
11
|
+
total?: number | string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export declare abstract class IbAggregate {
|
|
14
|
+
/** Unique identifier for the aggregate function. */
|
|
15
|
+
abstract id: string;
|
|
16
|
+
/** Function name displayed before the results. i18n supported. */
|
|
17
|
+
abstract name: string;
|
|
18
|
+
/** Menu item label. i18n supported. */
|
|
19
|
+
abstract label: string;
|
|
20
|
+
/**
|
|
21
|
+
* Function type. Used to include this function in the available functions of
|
|
22
|
+
* a given column with the same `IB_AGGREGATE_TYPE` token value.
|
|
23
|
+
* Currently, only `number` is supported.
|
|
24
|
+
*/
|
|
25
|
+
abstract type: string;
|
|
26
|
+
/**
|
|
27
|
+
* Calls {@link aggregateData} twice and returns an {@link IbAggregateResult}
|
|
28
|
+
* with the aggregated value for the entire column and the current visible page.
|
|
29
|
+
*
|
|
30
|
+
* It takes into account only filtered data.
|
|
31
|
+
*
|
|
32
|
+
* @param dataSource `IbTableDataSource` compatible data source instance
|
|
33
|
+
* @param column Column name
|
|
34
|
+
*/
|
|
35
|
+
aggregate(
|
|
36
|
+
/**
|
|
37
|
+
* Note: this is any to avoid an importing cycle
|
|
38
|
+
*/
|
|
39
|
+
dataSource: any, column: string): IbAggregateResult;
|
|
40
|
+
/**
|
|
41
|
+
* An aggregate function.
|
|
42
|
+
*
|
|
43
|
+
* @param data Data array of a given column.
|
|
44
|
+
* @returns Aggregated value.
|
|
45
|
+
*/
|
|
46
|
+
abstract aggregateData(data: any[]): number | string;
|
|
47
|
+
}
|
|
48
|
+
declare class IbSumAggregate extends IbAggregate {
|
|
49
|
+
id: string;
|
|
50
|
+
name: string;
|
|
51
|
+
label: string;
|
|
52
|
+
type: string;
|
|
53
|
+
aggregateData(data: number[]): number;
|
|
54
|
+
}
|
|
55
|
+
export declare const IbSumAggregateProvider: {
|
|
56
|
+
provide: import("@angular/core").InjectionToken<any>;
|
|
57
|
+
useClass: typeof IbSumAggregate;
|
|
58
|
+
multi: boolean;
|
|
59
|
+
};
|
|
60
|
+
declare class IbAverageAggregate extends IbAggregate {
|
|
61
|
+
id: string;
|
|
62
|
+
name: string;
|
|
63
|
+
label: string;
|
|
64
|
+
type: string;
|
|
65
|
+
aggregateData(data: number[]): number;
|
|
66
|
+
}
|
|
67
|
+
export declare const IbAverageAggregateProvider: {
|
|
68
|
+
provide: import("@angular/core").InjectionToken<any>;
|
|
69
|
+
useClass: typeof IbAverageAggregate;
|
|
70
|
+
multi: boolean;
|
|
71
|
+
};
|
|
72
|
+
export declare class IbAggregateCell {
|
|
73
|
+
private column;
|
|
74
|
+
private type;
|
|
75
|
+
private functions;
|
|
76
|
+
set function(fun: string);
|
|
77
|
+
result: IbAggregateResult;
|
|
78
|
+
showTotal: boolean;
|
|
79
|
+
ibFunctionChange: EventEmitter<string>;
|
|
80
|
+
availableFunctions: IbAggregate[];
|
|
81
|
+
displayName: string;
|
|
82
|
+
constructor(column: any, type: string, functions: IbAggregate[]);
|
|
83
|
+
apply(fun: string): void;
|
|
84
|
+
updateDisplayName(fun: string): void;
|
|
85
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbAggregateCell, [null, { optional: true; }, { optional: true; }]>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbAggregateCell, "ib-aggregate", never, { "function": { "alias": "function"; "required": false; }; "result": { "alias": "result"; "required": false; }; "showTotal": { "alias": "showTotal"; "required": false; }; }, { "ibFunctionChange": "ibFunctionChange"; }, never, never, false, never>;
|
|
87
|
+
}
|
|
88
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IbColumn } from "./column";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbActionColumn {
|
|
4
|
+
ibColumn: IbColumn<unknown>;
|
|
5
|
+
constructor(ibColumn: IbColumn<unknown>);
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbActionColumn, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbActionColumn, "[ib-action-column]", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from "@angular/core";
|
|
2
|
+
import { MatCellDef, MatColumnDef, MatFooterCellDef, MatHeaderCellDef } from "@angular/material/table";
|
|
3
|
+
import { IbAggregateCell, IbCellDef } from "../cells";
|
|
4
|
+
import { IbTable } from "../table.component";
|
|
5
|
+
import { IbColumnOptions } from "../tokens";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Column that shows any arbitrary content for the row cells.
|
|
9
|
+
*
|
|
10
|
+
* It requires a single element with the `*ibCellDef` directive in its template.
|
|
11
|
+
*
|
|
12
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
13
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
14
|
+
* the `dataAccessor` input.
|
|
15
|
+
*/
|
|
16
|
+
export declare class IbColumn<T> implements OnDestroy, OnInit {
|
|
17
|
+
/** Column name that should be used to reference this column. */
|
|
18
|
+
get name(): string;
|
|
19
|
+
set name(name: string);
|
|
20
|
+
_name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Text label that should be used for the column header. If this property is not
|
|
23
|
+
* set, the header text will default to the column name with its first letter capitalized.
|
|
24
|
+
*/
|
|
25
|
+
headerText: string;
|
|
26
|
+
/**
|
|
27
|
+
* Accessor function to retrieve the data rendered for each cell. If this
|
|
28
|
+
* property is not set, the data cells will render the value found in the data's property matching
|
|
29
|
+
* the column's name. For example, if the column is named `id`, then the rendered value will be
|
|
30
|
+
* value defined by the data's `id` property.
|
|
31
|
+
*/
|
|
32
|
+
dataAccessor: (data: T, name: string) => number | string;
|
|
33
|
+
/**
|
|
34
|
+
* Data accessor function that is used to retrieve data properties for sorting
|
|
35
|
+
*/
|
|
36
|
+
sortingDataAccessor: (data: T, name: string) => number | string;
|
|
37
|
+
/**
|
|
38
|
+
* Data accessor function that is used to retrieve data properties for filtering
|
|
39
|
+
*/
|
|
40
|
+
filterDataAccessor: (data: T, name: string) => number | string;
|
|
41
|
+
/**
|
|
42
|
+
* Enables sorting for the column.
|
|
43
|
+
*/
|
|
44
|
+
sort: boolean;
|
|
45
|
+
/** Whether sticky positioning should be applied. */
|
|
46
|
+
sticky: boolean;
|
|
47
|
+
/** Whether this column should be sticky positioned on the end of the row. */
|
|
48
|
+
stickyEnd: boolean;
|
|
49
|
+
/** Whether this column should display in the roll-up footer. */
|
|
50
|
+
aggregate: boolean;
|
|
51
|
+
get aggregationFunction(): string;
|
|
52
|
+
get aggregatedData(): import("../cells").IbAggregateResult;
|
|
53
|
+
ibCellDef: IbCellDef;
|
|
54
|
+
/** @ignore */
|
|
55
|
+
columnDef: MatColumnDef;
|
|
56
|
+
/**
|
|
57
|
+
* The column cell, headerCell, and footerCell are provided to the column during `ngOnInit` with a static query.
|
|
58
|
+
* Normally, this will be retrieved by the column using `ContentChild`, but that assumes the
|
|
59
|
+
* column definition was provided in the same view as the table, which is not the case with this
|
|
60
|
+
* component.
|
|
61
|
+
* @ignore
|
|
62
|
+
*/
|
|
63
|
+
cell: MatCellDef;
|
|
64
|
+
headerCell: MatHeaderCellDef;
|
|
65
|
+
footerCell: MatFooterCellDef;
|
|
66
|
+
aggregateCell: IbAggregateCell;
|
|
67
|
+
/** @ignore */
|
|
68
|
+
get matSort(): import("@angular/material/sort").MatSort;
|
|
69
|
+
_table: IbTable;
|
|
70
|
+
_options: IbColumnOptions<T>;
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
ngOnDestroy(): void;
|
|
73
|
+
/**
|
|
74
|
+
* Creates a default header text. Use the options' header text transformation function if one
|
|
75
|
+
* has been provided. Otherwise simply capitalize the column name.
|
|
76
|
+
*/
|
|
77
|
+
_createDefaultHeaderText(): string;
|
|
78
|
+
handleAggregationChange(fun: string): void;
|
|
79
|
+
/** Synchronizes the column definition name with the text column name. */
|
|
80
|
+
private _syncColumnDefName;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbColumn<any>, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbColumn<any>, "ib-column", never, { "name": { "alias": "name"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "dataAccessor": { "alias": "dataAccessor"; "required": false; }; "sortingDataAccessor": { "alias": "sortingDataAccessor"; "required": false; }; "filterDataAccessor": { "alias": "filterDataAccessor"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "stickyEnd": { "alias": "stickyEnd"; "required": false; }; "aggregate": { "alias": "aggregate"; "required": false; }; }, {}, ["ibCellDef"], never, true, never>;
|
|
83
|
+
static ngAcceptInputType_sort: unknown;
|
|
84
|
+
static ngAcceptInputType_sticky: unknown;
|
|
85
|
+
static ngAcceptInputType_stickyEnd: unknown;
|
|
86
|
+
static ngAcceptInputType_aggregate: unknown;
|
|
87
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IbColumn } from "./column";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Column that shows a formatted date for the row cells.
|
|
5
|
+
*
|
|
6
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
7
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
8
|
+
* the `dataAccessor` input. Change the date-time components using
|
|
9
|
+
* the `format` input. Same as `DatePipe` or `formatDate` function.
|
|
10
|
+
*/
|
|
11
|
+
export declare class IbDateColumn<T> extends IbColumn<T> {
|
|
12
|
+
format: string;
|
|
13
|
+
locale: string;
|
|
14
|
+
filterDataAccessor: (data: T, name: string) => number;
|
|
15
|
+
/** @ignore */
|
|
16
|
+
transform: {
|
|
17
|
+
pdf: (data: any) => string;
|
|
18
|
+
};
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbDateColumn<any>, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbDateColumn<any>, "ib-date-column", never, { "format": { "alias": "format"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IbColumn } from "./column";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Column that shows a formatted number for the row cells.
|
|
5
|
+
*
|
|
6
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
7
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
8
|
+
* the `dataAccessor` input. Change the decimal representation using the
|
|
9
|
+
* `digitsInfo` input. Same as `DecimalPipe` or `formatNumber` function.
|
|
10
|
+
*/
|
|
11
|
+
export declare class IbNumberColumn<T> extends IbColumn<T> {
|
|
12
|
+
digitsInfo: string;
|
|
13
|
+
locale: string;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbNumberColumn<any>, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbNumberColumn<any>, "ib-number-column", never, { "digitsInfo": { "alias": "digitsInfo"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SelectionModel } from "@angular/cdk/collections";
|
|
2
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
3
|
+
import { MatCellDef, MatColumnDef, MatFooterCellDef, MatHeaderCellDef } from "@angular/material/table";
|
|
4
|
+
import { IbTableRowSelectionChange } from "../table.types";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class IbSelectionColumn implements OnInit {
|
|
7
|
+
private table;
|
|
8
|
+
/** @ignore */
|
|
9
|
+
cell: MatCellDef;
|
|
10
|
+
/** @ignore */
|
|
11
|
+
headerCell: MatHeaderCellDef;
|
|
12
|
+
/** @ignore */
|
|
13
|
+
footerCell: MatFooterCellDef;
|
|
14
|
+
/** @ignore */
|
|
15
|
+
columnDef: MatColumnDef;
|
|
16
|
+
selection: SelectionModel<any>;
|
|
17
|
+
ibRowSelectionChange: EventEmitter<IbTableRowSelectionChange<any>[]>;
|
|
18
|
+
constructor(table: any);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
isAllSelected(): boolean;
|
|
21
|
+
toggleAllRows(): void;
|
|
22
|
+
toggleRowSelection(ev: any, row: any): void;
|
|
23
|
+
isDisabled(): boolean;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbSelectionColumn, [{ optional: true; }]>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbSelectionColumn, "ib-selection-column", never, {}, { "ibRowSelectionChange": "ibRowSelectionChange"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IbColumn } from "./column";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Column that simply shows text content for the header and row cells.
|
|
5
|
+
*
|
|
6
|
+
* By default, the name of this column will be the header text and data property accessor.
|
|
7
|
+
* The header text can be overridden with the `headerText` input. Cell values can be overridden with
|
|
8
|
+
* the `dataAccessor` input. Change the text justification to the start or end using the `justify`
|
|
9
|
+
* input.
|
|
10
|
+
*/
|
|
11
|
+
export declare class IbTextColumn<T> extends IbColumn<T> {
|
|
12
|
+
/** Alignment of the cell values. */
|
|
13
|
+
justify: "start" | "end" | "center";
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTextColumn<any>, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IbTextColumn<any>, "ib-text-column", never, { "justify": { "alias": "justify"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from "./action";
|
|
2
|
+
export * from "./cells";
|
|
3
|
+
export * from "./columns";
|
|
4
|
+
export * from "./rowgroup";
|
|
5
|
+
export * from "./sort-header";
|
|
6
|
+
export * from "./remote-data-source";
|
|
7
|
+
export * from "./table.component";
|
|
8
|
+
export * from "./table.module";
|
|
9
|
+
export * from "./table.types";
|
|
10
|
+
export * from "./table-url.service";
|
|
11
|
+
export * from "./store/url-state/actions";
|
|
12
|
+
export * from "./store/url-state/selectors";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { MatPaginatorIntl } from "@angular/material/paginator";
|
|
2
|
+
import { TranslateService } from "@ngx-translate/core";
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class IbTablePaginatorIntl implements MatPaginatorIntl {
|
|
6
|
+
private translate;
|
|
7
|
+
changes: Subject<void>;
|
|
8
|
+
itemsPerPageLabel: any;
|
|
9
|
+
nextPageLabel: any;
|
|
10
|
+
previousPageLabel: any;
|
|
11
|
+
firstPageLabel: any;
|
|
12
|
+
lastPageLabel: any;
|
|
13
|
+
constructor(translate: TranslateService);
|
|
14
|
+
setLabels(): void;
|
|
15
|
+
getRangeLabel(page: number, pageSize: number, length: number): string;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbTablePaginatorIntl, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<IbTablePaginatorIntl>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { MatPaginator } from "@angular/material/paginator";
|
|
2
|
+
import { MatSort } from "@angular/material/sort";
|
|
3
|
+
import { BehaviorSubject, Observable, Subscription } from "rxjs";
|
|
4
|
+
import { IbTableDataSource } from "./table-data-source";
|
|
5
|
+
import { IbKaiTableState } from "./table.types";
|
|
6
|
+
export type IbFetchDataResponse<T> = {
|
|
7
|
+
/**
|
|
8
|
+
* Subset of rows returned by the server.
|
|
9
|
+
*/
|
|
10
|
+
data: T[];
|
|
11
|
+
/**
|
|
12
|
+
* Total row count of the query without pagination.
|
|
13
|
+
*/
|
|
14
|
+
totalCount: number;
|
|
15
|
+
};
|
|
16
|
+
export declare abstract class IbTableRemoteDataSource<T, V = Record<string, any>> extends IbTableDataSource<T> {
|
|
17
|
+
private _refresh;
|
|
18
|
+
_renderChangesSubscription: Subscription | null;
|
|
19
|
+
get state(): IbKaiTableState;
|
|
20
|
+
set state(value: IbKaiTableState);
|
|
21
|
+
readonly _state: BehaviorSubject<IbKaiTableState>;
|
|
22
|
+
_updateChangeSubscription(): void;
|
|
23
|
+
refresh(): void;
|
|
24
|
+
/** Disable _filterData */
|
|
25
|
+
_filterData(data: T[]): T[];
|
|
26
|
+
/**
|
|
27
|
+
* Data fetching strategy
|
|
28
|
+
*
|
|
29
|
+
* ```typescript
|
|
30
|
+
* class ProductDataSource extends IbTableRemoteDataSource<Product> {
|
|
31
|
+
* private http = inject(HttpClient)
|
|
32
|
+
*
|
|
33
|
+
* fetchData(
|
|
34
|
+
* sort: MatSort,
|
|
35
|
+
* page: MatPaginator
|
|
36
|
+
* ): Observable<IbFetchDataResponse<Product>> {
|
|
37
|
+
* return this.http.get("/products", {
|
|
38
|
+
* params: {
|
|
39
|
+
* sort: sort.active,
|
|
40
|
+
* order: sort.direction,
|
|
41
|
+
* page: page.pageIndex + 1,
|
|
42
|
+
* per_page: page.pageSize
|
|
43
|
+
* }
|
|
44
|
+
* }).pipe(
|
|
45
|
+
* map((result) => ({
|
|
46
|
+
* data: result.items,
|
|
47
|
+
* totalCount: result.total_count
|
|
48
|
+
* }))
|
|
49
|
+
* );
|
|
50
|
+
* }
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param sort Sort state
|
|
55
|
+
* @param page Paginator state
|
|
56
|
+
* @param filter Filter applied
|
|
57
|
+
* @returns Observable of data and total count
|
|
58
|
+
*/
|
|
59
|
+
abstract fetchData(sort: MatSort, page: MatPaginator, filter?: V): Observable<IbFetchDataResponse<T>>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TemplateRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IbKaiRowGroupDirective {
|
|
4
|
+
templateRef: TemplateRef<unknown>;
|
|
5
|
+
constructor(templateRef: TemplateRef<unknown>);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IbKaiRowGroupDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IbKaiRowGroupDirective, "[ibKaiRowGroup]", never, {}, {}, never, never, false, never>;
|
|
8
|
+
}
|