@abp/ng.theme.shared 4.4.1 → 5.0.0-beta.1-1
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/abp-ng.theme.shared.d.ts +1 -34
- package/bundles/abp-ng.theme.shared-extensions.umd.js +473 -361
- package/bundles/abp-ng.theme.shared-extensions.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared-testing.umd.js +33 -7
- package/bundles/abp-ng.theme.shared-testing.umd.js.map +1 -1
- package/bundles/abp-ng.theme.shared.umd.js +691 -1078
- package/bundles/abp-ng.theme.shared.umd.js.map +1 -1
- package/esm2015/abp-ng.theme.shared.js +1 -34
- package/esm2015/abp-ng.theme.shared.js.map +1 -0
- package/esm2015/extensions/abp-ng.theme.shared-extensions.js +1 -5
- package/esm2015/extensions/abp-ng.theme.shared-extensions.js.map +1 -0
- package/esm2015/extensions/lib/adapters/date-time.adapter.js +7 -4
- package/esm2015/extensions/lib/adapters/date-time.adapter.js.map +1 -0
- package/esm2015/extensions/lib/adapters/date.adapter.js +7 -4
- package/esm2015/extensions/lib/adapters/date.adapter.js.map +1 -0
- package/esm2015/extensions/lib/adapters/time.adapter.js +7 -4
- package/esm2015/extensions/lib/adapters/time.adapter.js.map +1 -0
- package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js +9 -12
- package/esm2015/extensions/lib/components/abstract-actions/abstract-actions.component.js.map +1 -0
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js +74 -35
- package/esm2015/extensions/lib/components/date-time-picker/date-time-picker.component.js.map +1 -0
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js +49 -34
- package/esm2015/extensions/lib/components/extensible-form/extensible-form-prop.component.js.map +1 -0
- package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js +42 -30
- package/esm2015/extensions/lib/components/extensible-form/extensible-form.component.js.map +1 -0
- package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js +59 -28
- package/esm2015/extensions/lib/components/extensible-table/extensible-table.component.js.map +1 -0
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js +34 -23
- package/esm2015/extensions/lib/components/grid-actions/grid-actions.component.js.map +1 -0
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js +26 -18
- package/esm2015/extensions/lib/components/page-toolbar/page-toolbar.component.js.map +1 -0
- package/esm2015/extensions/lib/constants/extra-properties.js +1 -1
- package/esm2015/extensions/lib/constants/extra-properties.js.map +1 -0
- package/esm2015/extensions/lib/directives/disabled.directive.js +15 -12
- package/esm2015/extensions/lib/directives/disabled.directive.js.map +1 -0
- package/esm2015/extensions/lib/directives/prop-data.directive.js +21 -18
- package/esm2015/extensions/lib/directives/prop-data.directive.js.map +1 -0
- package/esm2015/extensions/lib/enums/props.enum.js +1 -1
- package/esm2015/extensions/lib/enums/props.enum.js.map +1 -0
- package/esm2015/extensions/lib/models/actions.js +1 -2
- package/esm2015/extensions/lib/models/actions.js.map +1 -0
- package/esm2015/extensions/lib/models/entity-actions.js +1 -1
- package/esm2015/extensions/lib/models/entity-actions.js.map +1 -0
- package/esm2015/extensions/lib/models/entity-props.js +3 -1
- package/esm2015/extensions/lib/models/entity-props.js.map +1 -0
- package/esm2015/extensions/lib/models/form-props.js +1 -2
- package/esm2015/extensions/lib/models/form-props.js.map +1 -0
- package/esm2015/extensions/lib/models/internal/object-extensions.js +1 -1
- package/esm2015/extensions/lib/models/internal/object-extensions.js.map +1 -0
- package/esm2015/extensions/lib/models/object-extensions.js +1 -1
- package/esm2015/extensions/lib/models/object-extensions.js.map +1 -0
- package/esm2015/extensions/lib/models/props.js +1 -2
- package/esm2015/extensions/lib/models/props.js.map +1 -0
- package/esm2015/extensions/lib/models/toolbar-actions.js +1 -1
- package/esm2015/extensions/lib/models/toolbar-actions.js.map +1 -0
- package/esm2015/extensions/lib/services/extensions.service.js +9 -7
- package/esm2015/extensions/lib/services/extensions.service.js.map +1 -0
- package/esm2015/extensions/lib/tokens/extensions.token.js +2 -1
- package/esm2015/extensions/lib/tokens/extensions.token.js.map +1 -0
- package/esm2015/extensions/lib/ui-extensions.module.js +75 -39
- package/esm2015/extensions/lib/ui-extensions.module.js.map +1 -0
- package/esm2015/extensions/lib/utils/actions.util.js +1 -1
- package/esm2015/extensions/lib/utils/actions.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/enum.util.js +1 -1
- package/esm2015/extensions/lib/utils/enum.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/factory.util.js +1 -1
- package/esm2015/extensions/lib/utils/factory.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/form-props.util.js +1 -1
- package/esm2015/extensions/lib/utils/form-props.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/localization.util.js +1 -1
- package/esm2015/extensions/lib/utils/localization.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/props.util.js +1 -1
- package/esm2015/extensions/lib/utils/props.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/state.util.js +1 -1
- package/esm2015/extensions/lib/utils/state.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/typeahead.util.js +1 -1
- package/esm2015/extensions/lib/utils/typeahead.util.js.map +1 -0
- package/esm2015/extensions/lib/utils/validation.util.js +1 -1
- package/esm2015/extensions/lib/utils/validation.util.js.map +1 -0
- package/esm2015/extensions/public-api.js +1 -1
- package/esm2015/extensions/public-api.js.map +1 -0
- package/esm2015/lib/animations/bounce.animations.js +5 -5
- package/esm2015/lib/animations/bounce.animations.js.map +1 -0
- package/esm2015/lib/animations/collapse.animations.js +1 -1
- package/esm2015/lib/animations/collapse.animations.js.map +1 -0
- package/esm2015/lib/animations/fade.animations.js +1 -1
- package/esm2015/lib/animations/fade.animations.js.map +1 -0
- package/esm2015/lib/animations/index.js +1 -1
- package/esm2015/lib/animations/index.js.map +1 -0
- package/esm2015/lib/animations/modal.animations.js +1 -1
- package/esm2015/lib/animations/modal.animations.js.map +1 -0
- package/esm2015/lib/animations/slide.animations.js +1 -1
- package/esm2015/lib/animations/slide.animations.js.map +1 -0
- package/esm2015/lib/animations/toast.animations.js +1 -1
- package/esm2015/lib/animations/toast.animations.js.map +1 -0
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js +19 -21
- package/esm2015/lib/components/breadcrumb/breadcrumb.component.js.map +1 -0
- package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js +22 -0
- package/esm2015/lib/components/breadcrumb-items/breadcrumb-items.component.js.map +1 -0
- package/esm2015/lib/components/button/button.component.js +57 -30
- package/esm2015/lib/components/button/button.component.js.map +1 -0
- package/esm2015/lib/components/confirmation/confirmation.component.js +14 -8
- package/esm2015/lib/components/confirmation/confirmation.component.js.map +1 -0
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js +25 -20
- package/esm2015/lib/components/http-error-wrapper/http-error-wrapper.component.js.map +1 -0
- package/esm2015/lib/components/index.js +3 -6
- package/esm2015/lib/components/index.js.map +1 -0
- package/esm2015/lib/components/loader-bar/loader-bar.component.js +34 -21
- package/esm2015/lib/components/loader-bar/loader-bar.component.js.map +1 -0
- package/esm2015/lib/components/loading/loading.component.js +20 -13
- package/esm2015/lib/components/loading/loading.component.js.map +1 -0
- package/esm2015/lib/components/modal/modal-close.directive.js +14 -10
- package/esm2015/lib/components/modal/modal-close.directive.js.map +1 -0
- package/esm2015/lib/components/modal/modal-ref.service.js +7 -5
- package/esm2015/lib/components/modal/modal-ref.service.js.map +1 -0
- package/esm2015/lib/components/modal/modal.component.js +57 -65
- package/esm2015/lib/components/modal/modal.component.js.map +1 -0
- package/esm2015/lib/components/toast/toast.component.js +25 -22
- package/esm2015/lib/components/toast/toast.component.js.map +1 -0
- package/esm2015/lib/components/toast-container/toast-container.component.js +25 -16
- package/esm2015/lib/components/toast-container/toast-container.component.js.map +1 -0
- package/esm2015/lib/constants/styles.js +1 -1
- package/esm2015/lib/constants/styles.js.map +1 -0
- package/esm2015/lib/constants/validation.js +1 -1
- package/esm2015/lib/constants/validation.js.map +1 -0
- package/esm2015/lib/directives/ellipsis.directive.js +40 -24
- package/esm2015/lib/directives/ellipsis.directive.js.map +1 -0
- package/esm2015/lib/directives/index.js +2 -3
- package/esm2015/lib/directives/index.js.map +1 -0
- package/esm2015/lib/directives/loading.directive.js +20 -17
- package/esm2015/lib/directives/loading.directive.js.map +1 -0
- package/esm2015/lib/directives/ngx-datatable-default.directive.js +21 -16
- package/esm2015/lib/directives/ngx-datatable-default.directive.js.map +1 -0
- package/esm2015/lib/directives/ngx-datatable-list.directive.js +22 -18
- package/esm2015/lib/directives/ngx-datatable-list.directive.js.map +1 -0
- package/esm2015/lib/enums/index.js +1 -1
- package/esm2015/lib/enums/index.js.map +1 -0
- package/esm2015/lib/enums/route-names.js +1 -1
- package/esm2015/lib/enums/route-names.js.map +1 -0
- package/esm2015/lib/handlers/error.handler.js +28 -37
- package/esm2015/lib/handlers/error.handler.js.map +1 -0
- package/esm2015/lib/handlers/index.js +1 -1
- package/esm2015/lib/handlers/index.js.map +1 -0
- package/esm2015/lib/handlers/lazy-style.handler.js +9 -10
- package/esm2015/lib/handlers/lazy-style.handler.js.map +1 -0
- package/esm2015/lib/models/common.js +1 -1
- package/esm2015/lib/models/common.js.map +1 -0
- package/esm2015/lib/models/confirmation.js +1 -1
- package/esm2015/lib/models/confirmation.js.map +1 -0
- package/esm2015/lib/models/index.js +1 -1
- package/esm2015/lib/models/index.js.map +1 -0
- package/esm2015/lib/models/nav-item.js +1 -1
- package/esm2015/lib/models/nav-item.js.map +1 -0
- package/esm2015/lib/models/statistics.js +1 -1
- package/esm2015/lib/models/statistics.js.map +1 -0
- package/esm2015/lib/models/toaster.js +1 -1
- package/esm2015/lib/models/toaster.js.map +1 -0
- package/esm2015/lib/providers/index.js +1 -1
- package/esm2015/lib/providers/index.js.map +1 -0
- package/esm2015/lib/providers/ng-bootstrap-config.provider.js +1 -1
- package/esm2015/lib/providers/ng-bootstrap-config.provider.js.map +1 -0
- package/esm2015/lib/providers/route.provider.js +1 -1
- package/esm2015/lib/providers/route.provider.js.map +1 -0
- package/esm2015/lib/services/confirmation.service.js +7 -8
- package/esm2015/lib/services/confirmation.service.js.map +1 -0
- package/esm2015/lib/services/index.js +2 -3
- package/esm2015/lib/services/index.js.map +1 -0
- package/esm2015/lib/services/nav-items.service.js +7 -5
- package/esm2015/lib/services/nav-items.service.js.map +1 -0
- package/esm2015/lib/services/page-alert.service.js +7 -6
- package/esm2015/lib/services/page-alert.service.js.map +1 -0
- package/esm2015/lib/services/toaster.service.js +22 -21
- package/esm2015/lib/services/toaster.service.js.map +1 -0
- package/esm2015/lib/theme-shared.module.js +72 -39
- package/esm2015/lib/theme-shared.module.js.map +1 -0
- package/esm2015/lib/tokens/append-content.token.js +1 -3
- package/esm2015/lib/tokens/append-content.token.js.map +1 -0
- package/esm2015/lib/tokens/http-error.token.js +1 -1
- package/esm2015/lib/tokens/http-error.token.js.map +1 -0
- package/esm2015/lib/tokens/index.js +1 -1
- package/esm2015/lib/tokens/index.js.map +1 -0
- package/esm2015/lib/tokens/lazy-styles.token.js +1 -1
- package/esm2015/lib/tokens/lazy-styles.token.js.map +1 -0
- package/esm2015/lib/tokens/ngx-datatable-messages.token.js +1 -1
- package/esm2015/lib/tokens/ngx-datatable-messages.token.js.map +1 -0
- package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js +1 -2
- package/esm2015/lib/tokens/suppress-unsaved-changes-warning.token.js.map +1 -0
- package/esm2015/lib/utils/date-parser-formatter.js +13 -10
- package/esm2015/lib/utils/date-parser-formatter.js.map +1 -0
- package/esm2015/lib/utils/index.js +1 -2
- package/esm2015/lib/utils/index.js.map +1 -0
- package/esm2015/lib/utils/validation-utils.js +1 -1
- package/esm2015/lib/utils/validation-utils.js.map +1 -0
- package/esm2015/public-api.js +1 -1
- package/esm2015/public-api.js.map +1 -0
- package/esm2015/testing/abp-ng.theme.shared-testing.js +1 -1
- package/esm2015/testing/abp-ng.theme.shared-testing.js.map +1 -0
- package/esm2015/testing/lib/models/config.js +1 -1
- package/esm2015/testing/lib/models/config.js.map +1 -0
- package/esm2015/testing/lib/models/index.js +1 -1
- package/esm2015/testing/lib/models/index.js.map +1 -0
- package/esm2015/testing/lib/theme-shared-testing.module.js +12 -7
- package/esm2015/testing/lib/theme-shared-testing.module.js.map +1 -0
- package/esm2015/testing/public-api.js +1 -1
- package/esm2015/testing/public-api.js.map +1 -0
- package/extensions/abp-ng.theme.shared-extensions.d.ts +1 -4
- package/extensions/lib/adapters/date-time.adapter.d.ts +3 -0
- package/extensions/lib/adapters/date.adapter.d.ts +3 -0
- package/extensions/lib/adapters/time.adapter.d.ts +3 -0
- package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +3 -0
- package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +3 -0
- package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +3 -0
- package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +3 -0
- package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +9 -4
- package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +3 -0
- package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +3 -0
- package/extensions/lib/directives/disabled.directive.d.ts +3 -0
- package/extensions/lib/directives/prop-data.directive.d.ts +3 -0
- package/extensions/lib/models/entity-props.d.ts +5 -2
- package/extensions/lib/services/extensions.service.d.ts +3 -0
- package/extensions/lib/tokens/extensions.token.d.ts +3 -1
- package/extensions/lib/ui-extensions.module.d.ts +19 -0
- package/extensions/lib/utils/state.util.d.ts +1 -1
- package/extensions/package.json +0 -1
- package/fesm2015/abp-ng.theme.shared-extensions.js +540 -409
- package/fesm2015/abp-ng.theme.shared-extensions.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared-testing.js +11 -6
- package/fesm2015/abp-ng.theme.shared-testing.js.map +1 -1
- package/fesm2015/abp-ng.theme.shared.js +645 -917
- package/fesm2015/abp-ng.theme.shared.js.map +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +6 -0
- package/lib/components/button/button.component.d.ts +4 -1
- package/lib/components/confirmation/confirmation.component.d.ts +3 -0
- package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +6 -3
- package/lib/components/index.d.ts +2 -5
- package/lib/components/loader-bar/loader-bar.component.d.ts +3 -0
- package/lib/components/loading/loading.component.d.ts +4 -4
- package/lib/components/modal/modal-close.directive.d.ts +3 -0
- package/lib/components/modal/modal-ref.service.d.ts +3 -0
- package/lib/components/modal/modal.component.d.ts +4 -18
- package/lib/components/toast/toast.component.d.ts +5 -4
- package/lib/components/toast-container/toast-container.component.d.ts +5 -1
- package/lib/directives/ellipsis.directive.d.ts +6 -0
- package/lib/directives/index.d.ts +1 -2
- package/lib/directives/loading.directive.d.ts +3 -0
- package/lib/directives/ngx-datatable-default.directive.d.ts +3 -0
- package/lib/directives/ngx-datatable-list.directive.d.ts +3 -0
- package/lib/handlers/error.handler.d.ts +9 -7
- package/lib/handlers/lazy-style.handler.d.ts +3 -0
- package/lib/models/confirmation.d.ts +3 -3
- package/lib/models/toaster.d.ts +5 -5
- package/lib/providers/ng-bootstrap-config.provider.d.ts +1 -1
- package/lib/providers/route.provider.d.ts +1 -1
- package/lib/services/confirmation.service.d.ts +3 -0
- package/lib/services/index.d.ts +1 -2
- package/lib/services/nav-items.service.d.ts +3 -0
- package/lib/services/page-alert.service.d.ts +3 -0
- package/lib/services/toaster.service.d.ts +4 -1
- package/lib/theme-shared.module.d.ts +26 -0
- package/lib/utils/date-parser-formatter.d.ts +3 -0
- package/lib/utils/index.d.ts +0 -1
- package/package.json +4 -6
- package/testing/abp-ng.theme.shared-testing.d.ts +1 -0
- package/testing/lib/theme-shared-testing.module.d.ts +6 -0
- package/testing/package.json +0 -1
- package/abp-ng.theme.shared.metadata.json +0 -1
- package/bundles/abp-ng.theme.shared-extensions-testing.umd.js +0 -28
- package/bundles/abp-ng.theme.shared-extensions-testing.umd.js.map +0 -1
- package/bundles/abp-ng.theme.shared-extensions-testing.umd.min.js +0 -2
- package/bundles/abp-ng.theme.shared-extensions-testing.umd.min.js.map +0 -1
- package/bundles/abp-ng.theme.shared-extensions.umd.min.js +0 -17
- package/bundles/abp-ng.theme.shared-extensions.umd.min.js.map +0 -1
- package/bundles/abp-ng.theme.shared-testing.umd.min.js +0 -2
- package/bundles/abp-ng.theme.shared-testing.umd.min.js.map +0 -1
- package/bundles/abp-ng.theme.shared.umd.min.js +0 -2
- package/bundles/abp-ng.theme.shared.umd.min.js.map +0 -1
- package/esm2015/extensions/testing/abp-ng.theme.shared-extensions-testing.js +0 -5
- package/esm2015/extensions/testing/lib/ui-extensions-testing.module.js +0 -11
- package/esm2015/extensions/testing/public-api.js +0 -2
- package/esm2015/lib/components/chart/chart.component.js +0 -120
- package/esm2015/lib/components/modal/modal-container.component.js +0 -16
- package/esm2015/lib/components/sort-order-icon/sort-order-icon.component.js +0 -62
- package/esm2015/lib/components/table/table.component.js +0 -71
- package/esm2015/lib/components/table-empty-message/table-empty-message.component.js +0 -29
- package/esm2015/lib/directives/table-sort.directive.js +0 -43
- package/esm2015/lib/services/modal.service.js +0 -46
- package/esm2015/lib/utils/widget-utils.js +0 -13
- package/extensions/abp-ng.theme.shared-extensions.metadata.json +0 -1
- package/extensions/testing/abp-ng.theme.shared-extensions-testing.d.ts +0 -4
- package/extensions/testing/abp-ng.theme.shared-extensions-testing.metadata.json +0 -1
- package/extensions/testing/lib/ui-extensions-testing.module.d.ts +0 -2
- package/extensions/testing/package.json +0 -11
- package/extensions/testing/public-api.d.ts +0 -1
- package/fesm2015/abp-ng.theme.shared-extensions-testing.js +0 -18
- package/fesm2015/abp-ng.theme.shared-extensions-testing.js.map +0 -1
- package/lib/components/chart/chart.component.d.ts +0 -30
- package/lib/components/modal/modal-container.component.d.ts +0 -7
- package/lib/components/sort-order-icon/sort-order-icon.component.d.ts +0 -18
- package/lib/components/table/table.component.d.ts +0 -30
- package/lib/components/table-empty-message/table-empty-message.component.d.ts +0 -7
- package/lib/directives/table-sort.directive.d.ts +0 -21
- package/lib/services/modal.service.d.ts +0 -16
- package/lib/utils/widget-utils.d.ts +0 -3
- package/testing/abp-ng.theme.shared-testing.metadata.json +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ABP, RouterEvents, RoutesService, SubscriptionService } from '@abp/ng.core';
|
|
2
2
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class BreadcrumbComponent implements OnInit {
|
|
5
6
|
readonly cdRef: ChangeDetectorRef;
|
|
6
7
|
private router;
|
|
@@ -10,4 +11,6 @@ export declare class BreadcrumbComponent implements OnInit {
|
|
|
10
11
|
segments: Partial<ABP.Route>[];
|
|
11
12
|
constructor(cdRef: ChangeDetectorRef, router: Router, routes: RoutesService, subscription: SubscriptionService, routerEvents: RouterEvents);
|
|
12
13
|
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "abp-breadcrumb", never, {}, {}, never, never>;
|
|
13
16
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class BreadcrumbItemsComponent {
|
|
3
|
+
items: any[];
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemsComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemsComponent, "abp-breadcrumb-items", never, { "items": "items"; }, {}, never, never>;
|
|
6
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, ElementRef, Renderer2, OnInit } from '@angular/core';
|
|
2
1
|
import { ABP } from '@abp/ng.core';
|
|
2
|
+
import { ElementRef, EventEmitter, OnInit, Renderer2 } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ButtonComponent implements OnInit {
|
|
4
5
|
private renderer;
|
|
5
6
|
buttonId: string;
|
|
@@ -19,4 +20,6 @@ export declare class ButtonComponent implements OnInit {
|
|
|
19
20
|
get icon(): string;
|
|
20
21
|
constructor(renderer: Renderer2);
|
|
21
22
|
ngOnInit(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "abp-button", never, { "buttonId": "buttonId"; "buttonClass": "buttonClass"; "buttonType": "buttonType"; "iconClass": "iconClass"; "loading": "loading"; "disabled": "disabled"; "attributes": "attributes"; }, { "click": "click"; "focus": "focus"; "blur": "blur"; "abpClick": "abpClick"; "abpFocus": "abpFocus"; "abpBlur": "abpBlur"; }, never, ["*"]>;
|
|
22
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ReplaySubject } from 'rxjs';
|
|
2
2
|
import { Confirmation } from '../../models/confirmation';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ConfirmationComponent {
|
|
4
5
|
confirm: Confirmation.Status;
|
|
5
6
|
reject: Confirmation.Status;
|
|
@@ -8,4 +9,6 @@ export declare class ConfirmationComponent {
|
|
|
8
9
|
clear: (status: Confirmation.Status) => void;
|
|
9
10
|
close(status: Confirmation.Status): void;
|
|
10
11
|
getIconClass({ severity }: Confirmation.DialogData): string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "abp-confirmation", never, {}, {}, never, never>;
|
|
11
14
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LocalizationParam, SubscriptionService } from '@abp/ng.core';
|
|
2
2
|
import { AfterViewInit, ApplicationRef, ComponentFactoryResolver, ElementRef, Injector, OnDestroy, OnInit, Type } from '@angular/core';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class HttpErrorWrapperComponent implements AfterViewInit, OnDestroy, OnInit {
|
|
5
6
|
private subscription;
|
|
6
7
|
appRef: ApplicationRef;
|
|
7
8
|
cfRes: ComponentFactoryResolver;
|
|
8
9
|
injector: Injector;
|
|
9
10
|
status: number;
|
|
10
|
-
title:
|
|
11
|
-
details:
|
|
11
|
+
title: LocalizationParam;
|
|
12
|
+
details: LocalizationParam;
|
|
12
13
|
customComponent: Type<any>;
|
|
13
14
|
destroy$: Subject<void>;
|
|
14
15
|
hideCloseIcon: boolean;
|
|
@@ -21,4 +22,6 @@ export declare class HttpErrorWrapperComponent implements AfterViewInit, OnDestr
|
|
|
21
22
|
ngAfterViewInit(): void;
|
|
22
23
|
ngOnDestroy(): void;
|
|
23
24
|
destroy(): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorWrapperComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HttpErrorWrapperComponent, "abp-http-error-wrapper", never, {}, {}, never, never>;
|
|
24
27
|
}
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
+
export * from './breadcrumb-items/breadcrumb-items.component';
|
|
1
2
|
export * from './breadcrumb/breadcrumb.component';
|
|
2
3
|
export * from './button/button.component';
|
|
3
|
-
export * from './chart/chart.component';
|
|
4
4
|
export * from './confirmation/confirmation.component';
|
|
5
5
|
export * from './http-error-wrapper/http-error-wrapper.component';
|
|
6
6
|
export * from './loader-bar/loader-bar.component';
|
|
7
7
|
export * from './loading/loading.component';
|
|
8
|
-
export * from './modal/modal.component';
|
|
9
8
|
export * from './modal/modal-close.directive';
|
|
10
9
|
export * from './modal/modal-ref.service';
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './table-empty-message/table-empty-message.component';
|
|
13
|
-
export * from './table/table.component';
|
|
10
|
+
export * from './modal/modal.component';
|
|
14
11
|
export * from './toast-container/toast-container.component';
|
|
15
12
|
export * from './toast/toast.component';
|
|
@@ -2,6 +2,7 @@ import { HttpWaitService, RouterWaitService, SubscriptionService } from '@abp/ng
|
|
|
2
2
|
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class LoaderBarComponent implements OnDestroy, OnInit {
|
|
6
7
|
private router;
|
|
7
8
|
private cdRef;
|
|
@@ -27,4 +28,6 @@ export declare class LoaderBarComponent implements OnDestroy, OnInit {
|
|
|
27
28
|
ngOnDestroy(): void;
|
|
28
29
|
startLoading(): void;
|
|
29
30
|
stopLoading(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoaderBarComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoaderBarComponent, "abp-loader-bar", never, { "isLoading": "isLoading"; "containerClass": "containerClass"; "color": "color"; }, {}, never, never>;
|
|
30
33
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare class LoadingComponent
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LoadingComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "abp-loading", never, {}, {}, never, never>;
|
|
5
5
|
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ModalComponent } from './modal.component';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ModalCloseDirective {
|
|
3
4
|
private modal;
|
|
4
5
|
constructor(modal: ModalComponent);
|
|
5
6
|
onClick(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseDirective, [{ optional: true; }]>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseDirective, "[abpClose]", never, {}, {}, never>;
|
|
6
9
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export declare type ModalDismissMode = 'hard' | 'soft';
|
|
2
3
|
export interface DismissableModal {
|
|
3
4
|
dismiss(mode: ModalDismissMode): any;
|
|
@@ -7,4 +8,6 @@ export declare class ModalRefService {
|
|
|
7
8
|
register(modal: DismissableModal): void;
|
|
8
9
|
unregister(modal: DismissableModal): void;
|
|
9
10
|
dismissAll(mode: ModalDismissMode): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalRefService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalRefService>;
|
|
10
13
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { SubscriptionService } from '@abp/ng.core';
|
|
2
|
-
import {
|
|
2
|
+
import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import { NgbModal, NgbModalOptions, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
|
|
4
4
|
import { Subject } from 'rxjs';
|
|
5
5
|
import { ConfirmationService } from '../../services/confirmation.service';
|
|
6
6
|
import { ButtonComponent } from '../button/button.component';
|
|
7
7
|
import { DismissableModal, ModalDismissMode, ModalRefService } from './modal-ref.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare type ModalSize = 'sm' | 'md' | 'lg' | 'xl';
|
|
9
10
|
export declare class ModalComponent implements OnInit, OnDestroy, DismissableModal {
|
|
10
11
|
private confirmationService;
|
|
@@ -12,18 +13,6 @@ export declare class ModalComponent implements OnInit, OnDestroy, DismissableMod
|
|
|
12
13
|
private suppressUnsavedChangesWarningToken;
|
|
13
14
|
private modal;
|
|
14
15
|
private modalRefService;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Use centered property of options input instead. To be deleted in v5.0.
|
|
17
|
-
*/
|
|
18
|
-
centered: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* @deprecated Use windowClass property of options input instead. To be deleted in v5.0.
|
|
21
|
-
*/
|
|
22
|
-
modalClass: string;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use size property of options input instead. To be deleted in v5.0.
|
|
25
|
-
*/
|
|
26
|
-
size: ModalSize;
|
|
27
16
|
get visible(): boolean;
|
|
28
17
|
set visible(value: boolean);
|
|
29
18
|
get busy(): boolean;
|
|
@@ -35,10 +24,6 @@ export declare class ModalComponent implements OnInit, OnDestroy, DismissableMod
|
|
|
35
24
|
abpBody: TemplateRef<any>;
|
|
36
25
|
abpFooter: TemplateRef<any>;
|
|
37
26
|
abpSubmit: ButtonComponent;
|
|
38
|
-
/**
|
|
39
|
-
* @deprecated will be removed in v5.0
|
|
40
|
-
*/
|
|
41
|
-
abpClose: ElementRef<any>;
|
|
42
27
|
readonly visibleChange: EventEmitter<boolean>;
|
|
43
28
|
readonly init: EventEmitter<void>;
|
|
44
29
|
readonly appear: EventEmitter<void>;
|
|
@@ -60,5 +45,6 @@ export declare class ModalComponent implements OnInit, OnDestroy, DismissableMod
|
|
|
60
45
|
ngOnDestroy(): void;
|
|
61
46
|
close(): void;
|
|
62
47
|
listen(): void;
|
|
63
|
-
|
|
48
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, [null, null, { optional: true; }, null, null]>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "abp-modal", never, { "visible": "visible"; "busy": "busy"; "options": "options"; "suppressUnsavedChangesWarning": "suppressUnsavedChangesWarning"; }, { "visibleChange": "visibleChange"; "init": "init"; "appear": "appear"; "disappear": "disappear"; }, ["abpHeader", "abpBody", "abpFooter", "abpSubmit"], ["*"]>;
|
|
64
50
|
}
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { Toaster } from '../../models/toaster';
|
|
3
|
-
import
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ToastComponent implements OnInit {
|
|
5
|
-
private toasterService;
|
|
6
5
|
toast: Toaster.Toast;
|
|
6
|
+
remove: EventEmitter<number>;
|
|
7
7
|
get severityClass(): string;
|
|
8
8
|
get iconClass(): string;
|
|
9
|
-
constructor(toasterService: ToasterService);
|
|
10
9
|
ngOnInit(): void;
|
|
11
10
|
close(): void;
|
|
12
11
|
tap(): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastComponent, "abp-toast", never, { "toast": "toast"; }, { "remove": "remove"; }, never, never>;
|
|
13
14
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { Toaster } from '../../models/toaster';
|
|
3
2
|
import { ReplaySubject } from 'rxjs';
|
|
3
|
+
import { Toaster } from '../../models/toaster';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ToastContainerComponent implements OnInit {
|
|
5
6
|
toasts$: ReplaySubject<Toaster.Toast[]>;
|
|
7
|
+
remove: (toastId: number) => void;
|
|
6
8
|
toasts: Toaster.Toast[];
|
|
7
9
|
top: string;
|
|
8
10
|
right: string;
|
|
@@ -11,4 +13,6 @@ export declare class ToastContainerComponent implements OnInit {
|
|
|
11
13
|
toastKey: string;
|
|
12
14
|
ngOnInit(): void;
|
|
13
15
|
trackByFunc(index: any, toast: any): any;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastContainerComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ToastContainerComponent, "abp-toast-container", never, { "top": "top"; "right": "right"; "bottom": "bottom"; "left": "left"; "toastKey": "toastKey"; }, {}, never, never>;
|
|
14
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class EllipsisDirective implements AfterViewInit {
|
|
3
4
|
private cdRef;
|
|
4
5
|
private elRef;
|
|
@@ -10,6 +11,11 @@ export declare class EllipsisDirective implements AfterViewInit {
|
|
|
10
11
|
get maxWidth(): string;
|
|
11
12
|
constructor(cdRef: ChangeDetectorRef, elRef: ElementRef);
|
|
12
13
|
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EllipsisDirective, "[abpEllipsis]", never, { "width": "abpEllipsis"; "title": "title"; "enabled": "abpEllipsisEnabled"; }, {}, never>;
|
|
13
16
|
}
|
|
14
17
|
export declare class EllipsisModule {
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, [typeof EllipsisDirective], never, [typeof EllipsisDirective]>;
|
|
20
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
|
|
15
21
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ComponentFactoryResolver, ComponentRef, ElementRef, Injector, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { Subscription } from 'rxjs';
|
|
3
3
|
import { LoadingComponent } from '../components/loading/loading.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class LoadingDirective implements OnInit, OnDestroy {
|
|
5
6
|
private elRef;
|
|
6
7
|
private vcRef;
|
|
@@ -19,4 +20,6 @@ export declare class LoadingDirective implements OnInit, OnDestroy {
|
|
|
19
20
|
constructor(elRef: ElementRef<HTMLElement>, vcRef: ViewContainerRef, cdRes: ComponentFactoryResolver, injector: Injector, renderer: Renderer2);
|
|
20
21
|
ngOnInit(): void;
|
|
21
22
|
ngOnDestroy(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDirective, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingDirective, "[abpLoading]", never, { "loading": "abpLoading"; "targetElement": "abpLoadingTargetElement"; "delay": "abpLoadingDelay"; }, {}, never>;
|
|
22
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy } from '@angular/core';
|
|
2
2
|
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDestroy {
|
|
4
5
|
private table;
|
|
5
6
|
private document;
|
|
@@ -12,6 +13,8 @@ export declare class NgxDatatableDefaultDirective implements AfterViewInit, OnDe
|
|
|
12
13
|
private fixStyleOnWindowResize;
|
|
13
14
|
ngAfterViewInit(): void;
|
|
14
15
|
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableDefaultDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableDefaultDirective, "ngx-datatable[default]", ["ngxDatatableDefault"], { "class": "class"; }, {}, never>;
|
|
15
18
|
}
|
|
16
19
|
interface MockDocument {
|
|
17
20
|
body: MockBody;
|
|
@@ -2,6 +2,7 @@ import { ListService, LocalizationService } from '@abp/ng.core';
|
|
|
2
2
|
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
3
3
|
import { DatatableComponent } from '@swimlane/ngx-datatable';
|
|
4
4
|
import { NgxDatatableMessages } from '../tokens/ngx-datatable-messages.token';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class NgxDatatableListDirective implements OnChanges, OnDestroy, OnInit {
|
|
6
7
|
private table;
|
|
7
8
|
private cdRef;
|
|
@@ -18,4 +19,6 @@ export declare class NgxDatatableListDirective implements OnChanges, OnDestroy,
|
|
|
18
19
|
ngOnChanges({ list }: SimpleChanges): void;
|
|
19
20
|
ngOnDestroy(): void;
|
|
20
21
|
ngOnInit(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgxDatatableListDirective, [null, null, null, { optional: true; }]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgxDatatableListDirective, "ngx-datatable[list]", ["ngxDatatableList"], { "list": "list"; }, {}, never>;
|
|
21
24
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { LocalizationParam, RouterEvents } from '@abp/ng.core';
|
|
1
|
+
import { HttpErrorReporterService, LocalizationParam, RouterEvents } from '@abp/ng.core';
|
|
2
2
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
3
3
|
import { ComponentFactoryResolver, ComponentRef, Injector, RendererFactory2 } from '@angular/core';
|
|
4
4
|
import { NavigationError } from '@angular/router';
|
|
5
|
-
import { Actions } from '@ngxs/store';
|
|
6
5
|
import { Observable } from 'rxjs';
|
|
7
6
|
import { HttpErrorWrapperComponent } from '../components/http-error-wrapper/http-error-wrapper.component';
|
|
8
7
|
import { ErrorScreenErrorCodes, HttpErrorConfig } from '../models/common';
|
|
9
8
|
import { Confirmation } from '../models/confirmation';
|
|
10
9
|
import { ConfirmationService } from '../services/confirmation.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const DEFAULT_ERROR_MESSAGES: {
|
|
12
12
|
defaultError: {
|
|
13
13
|
title: string;
|
|
@@ -53,16 +53,16 @@ export declare const DEFAULT_ERROR_LOCALIZATIONS: {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
export declare class ErrorHandler {
|
|
56
|
-
protected
|
|
56
|
+
protected injector: Injector;
|
|
57
|
+
componentRef: ComponentRef<HttpErrorWrapperComponent>;
|
|
58
|
+
protected httpErrorHandler: import("../models/common").HttpErrorHandler;
|
|
59
|
+
protected httpErrorReporter: HttpErrorReporterService;
|
|
57
60
|
protected routerEvents: RouterEvents;
|
|
58
61
|
protected confirmationService: ConfirmationService;
|
|
59
62
|
protected cfRes: ComponentFactoryResolver;
|
|
60
63
|
protected rendererFactory: RendererFactory2;
|
|
61
|
-
protected injector: Injector;
|
|
62
64
|
protected httpErrorConfig: HttpErrorConfig;
|
|
63
|
-
|
|
64
|
-
protected httpErrorHandler: import("../models/common").HttpErrorHandler;
|
|
65
|
-
constructor(actions: Actions, routerEvents: RouterEvents, confirmationService: ConfirmationService, cfRes: ComponentFactoryResolver, rendererFactory: RendererFactory2, injector: Injector, httpErrorConfig: HttpErrorConfig);
|
|
65
|
+
constructor(injector: Injector);
|
|
66
66
|
protected listenToRouterError(): void;
|
|
67
67
|
protected listenToRouterDataResolved(): void;
|
|
68
68
|
protected listenToRestError(): void;
|
|
@@ -76,4 +76,6 @@ export declare class ErrorHandler {
|
|
|
76
76
|
canCreateCustomError(status: ErrorScreenErrorCodes): boolean;
|
|
77
77
|
protected filterRestErrors: ({ status }: HttpErrorResponse) => boolean;
|
|
78
78
|
protected filterRouteErrors: (navigationError: NavigationError) => boolean;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorHandler, never>;
|
|
80
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ErrorHandler>;
|
|
79
81
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
2
|
import { LocaleDirection } from '../models/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class LazyStyleHandler {
|
|
4
5
|
private lazyLoad;
|
|
5
6
|
private styles;
|
|
@@ -15,6 +16,8 @@ export declare class LazyStyleHandler {
|
|
|
15
16
|
private setLazyLoad;
|
|
16
17
|
private setStyles;
|
|
17
18
|
private switchCSS;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LazyStyleHandler, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LazyStyleHandler>;
|
|
18
21
|
}
|
|
19
22
|
export declare function createLazyStyleHref(style: string, dir: string): string;
|
|
20
23
|
export declare function initLazyStyleHandler(injector: Injector): () => LazyStyleHandler;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LocalizationParam } from '@abp/ng.core';
|
|
2
2
|
export declare namespace Confirmation {
|
|
3
3
|
interface Options {
|
|
4
4
|
id?: any;
|
|
@@ -11,8 +11,8 @@ export declare namespace Confirmation {
|
|
|
11
11
|
yesText?: LocalizationParam;
|
|
12
12
|
}
|
|
13
13
|
interface DialogData {
|
|
14
|
-
message:
|
|
15
|
-
title?:
|
|
14
|
+
message: LocalizationParam;
|
|
15
|
+
title?: LocalizationParam;
|
|
16
16
|
severity?: Severity;
|
|
17
17
|
options?: Partial<Options>;
|
|
18
18
|
}
|
package/lib/models/toaster.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LocalizationParam } from '@abp/ng.core';
|
|
2
2
|
export declare namespace Toaster {
|
|
3
3
|
interface ToastOptions {
|
|
4
4
|
life?: number;
|
|
@@ -22,9 +22,9 @@ export declare namespace Toaster {
|
|
|
22
22
|
show: (message: LocalizationParam, title: LocalizationParam, severity: Toaster.Severity, options: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
23
23
|
remove: (id: number) => void;
|
|
24
24
|
clear: (containerKey?: string) => void;
|
|
25
|
-
info: (message:
|
|
26
|
-
success: (message:
|
|
27
|
-
warn: (message:
|
|
28
|
-
error: (message:
|
|
25
|
+
info: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
26
|
+
success: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
27
|
+
warn: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
28
|
+
error: (message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>) => ToasterId;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NgbInputDatepickerConfig, NgbTypeaheadConfig } from '@ng-bootstrap/ng-bootstrap';
|
|
2
2
|
export declare const NG_BOOTSTRAP_CONFIG_PROVIDERS: {
|
|
3
|
-
provide: import("@angular/core").InjectionToken<(() => void)[]>;
|
|
3
|
+
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
4
|
useFactory: typeof configureNgBootstrap;
|
|
5
5
|
deps: (typeof NgbInputDatepickerConfig | typeof NgbTypeaheadConfig)[];
|
|
6
6
|
multi: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RoutesService } from '@abp/ng.core';
|
|
2
2
|
export declare const THEME_SHARED_ROUTE_PROVIDERS: {
|
|
3
|
-
provide: import("@angular/core").InjectionToken<(() => void)[]>;
|
|
3
|
+
provide: import("@angular/core").InjectionToken<readonly (() => void | import("rxjs").Observable<unknown> | Promise<unknown>)[]>;
|
|
4
4
|
useFactory: typeof configureRoutes;
|
|
5
5
|
deps: (typeof RoutesService)[];
|
|
6
6
|
multi: boolean;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ContentProjectionService, LocalizationParam } from '@abp/ng.core';
|
|
2
2
|
import { Observable, ReplaySubject, Subject } from 'rxjs';
|
|
3
3
|
import { Confirmation } from '../models/confirmation';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class ConfirmationService {
|
|
5
6
|
private contentProjectionService;
|
|
6
7
|
status$: Subject<Confirmation.Status>;
|
|
@@ -15,4 +16,6 @@ export declare class ConfirmationService {
|
|
|
15
16
|
error(message: LocalizationParam, title: LocalizationParam, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
16
17
|
show(message: LocalizationParam, title: LocalizationParam, severity?: Confirmation.Severity, options?: Partial<Confirmation.Options>): Observable<Confirmation.Status>;
|
|
17
18
|
private listenToEscape;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
18
21
|
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { NavItem } from '../models/nav-item';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NavItemsService {
|
|
4
5
|
private _items$;
|
|
5
6
|
get items(): NavItem[];
|
|
@@ -7,4 +8,6 @@ export declare class NavItemsService {
|
|
|
7
8
|
addItems(newItems: NavItem[]): void;
|
|
8
9
|
removeItem(id: string | number): void;
|
|
9
10
|
patchItem(id: string | number, item: Partial<Omit<NavItem, 'id'>>): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavItemsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NavItemsService>;
|
|
10
13
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
1
2
|
export interface PageAlert {
|
|
2
3
|
type: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
3
4
|
message: string;
|
|
@@ -12,4 +13,6 @@ export declare class PageAlertService {
|
|
|
12
13
|
constructor();
|
|
13
14
|
show(alert: PageAlert): void;
|
|
14
15
|
remove(index: number): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageAlertService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PageAlertService>;
|
|
15
18
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
|
|
2
2
|
import { Toaster } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ToasterService implements ToasterContract {
|
|
4
5
|
private contentProjectionService;
|
|
5
6
|
private toasts$;
|
|
@@ -48,10 +49,12 @@ export declare class ToasterService implements ToasterContract {
|
|
|
48
49
|
* Removes the toast with given id.
|
|
49
50
|
* @param id ID of the toast to be removed.
|
|
50
51
|
*/
|
|
51
|
-
remove(id: number)
|
|
52
|
+
remove: (id: number) => void;
|
|
52
53
|
/**
|
|
53
54
|
* Removes all open toasts at once.
|
|
54
55
|
*/
|
|
55
56
|
clear(containerKey?: string): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
56
59
|
}
|
|
57
60
|
export declare type ToasterContract = Strict<ToasterService, Toaster.Service>;
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { RootParams } from './models/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./components/breadcrumb/breadcrumb.component";
|
|
5
|
+
import * as i2 from "./components/breadcrumb-items/breadcrumb-items.component";
|
|
6
|
+
import * as i3 from "./components/button/button.component";
|
|
7
|
+
import * as i4 from "./components/confirmation/confirmation.component";
|
|
8
|
+
import * as i5 from "./components/loader-bar/loader-bar.component";
|
|
9
|
+
import * as i6 from "./components/loading/loading.component";
|
|
10
|
+
import * as i7 from "./components/modal/modal.component";
|
|
11
|
+
import * as i8 from "./components/toast/toast.component";
|
|
12
|
+
import * as i9 from "./components/toast-container/toast-container.component";
|
|
13
|
+
import * as i10 from "./directives/ngx-datatable-default.directive";
|
|
14
|
+
import * as i11 from "./directives/ngx-datatable-list.directive";
|
|
15
|
+
import * as i12 from "./directives/loading.directive";
|
|
16
|
+
import * as i13 from "./components/modal/modal-close.directive";
|
|
17
|
+
import * as i14 from "./components/http-error-wrapper/http-error-wrapper.component";
|
|
18
|
+
import * as i15 from "@abp/ng.core";
|
|
19
|
+
import * as i16 from "@swimlane/ngx-datatable";
|
|
20
|
+
import * as i17 from "@ngx-validate/core";
|
|
21
|
+
import * as i18 from "@ng-bootstrap/ng-bootstrap";
|
|
22
|
+
import * as i19 from "./directives/ellipsis.directive";
|
|
3
23
|
export declare class BaseThemeSharedModule {
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
25
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BaseThemeSharedModule, [typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective, typeof i14.HttpErrorWrapperComponent], [typeof i15.CoreModule, typeof i16.NgxDatatableModule, typeof i17.NgxValidateCoreModule, typeof i18.NgbPaginationModule, typeof i19.EllipsisModule], [typeof i16.NgxDatatableModule, typeof i19.EllipsisModule, typeof i1.BreadcrumbComponent, typeof i2.BreadcrumbItemsComponent, typeof i3.ButtonComponent, typeof i4.ConfirmationComponent, typeof i5.LoaderBarComponent, typeof i6.LoadingComponent, typeof i7.ModalComponent, typeof i8.ToastComponent, typeof i9.ToastContainerComponent, typeof i10.NgxDatatableDefaultDirective, typeof i11.NgxDatatableListDirective, typeof i12.LoadingDirective, typeof i13.ModalCloseDirective]>;
|
|
26
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
4
27
|
}
|
|
5
28
|
export declare class ThemeSharedModule {
|
|
6
29
|
static forRoot({ httpErrorConfig, validation }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
7
33
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { ConfigStateService } from '@abp/ng.core';
|
|
2
2
|
import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
4
5
|
private configState;
|
|
5
6
|
private locale;
|
|
6
7
|
constructor(configState: ConfigStateService, locale: string);
|
|
7
8
|
parse(value: string): NgbDateStruct;
|
|
8
9
|
format(date: NgbDateStruct): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
9
12
|
}
|
package/lib/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.theme.shared",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-beta.1-1",
|
|
4
4
|
"homepage": "https://abp.io",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/abpframework/abp.git"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@abp/ng.core": "~
|
|
11
|
-
"@fortawesome/fontawesome-free": "^5.
|
|
10
|
+
"@abp/ng.core": "~5.0.0-beta.1-1",
|
|
11
|
+
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
12
12
|
"@ng-bootstrap/ng-bootstrap": "^7.0.0",
|
|
13
13
|
"@ngx-validate/core": "^0.0.13",
|
|
14
|
-
"@swimlane/ngx-datatable": "^
|
|
14
|
+
"@swimlane/ngx-datatable": "^19.0.0",
|
|
15
15
|
"bootstrap": "~4.6.0",
|
|
16
|
-
"chart.js": "^2.9.3",
|
|
17
16
|
"tslib": "^2.0.0"
|
|
18
17
|
},
|
|
19
18
|
"publishConfig": {
|
|
@@ -25,6 +24,5 @@
|
|
|
25
24
|
"esm2015": "esm2015/abp-ng.theme.shared.js",
|
|
26
25
|
"fesm2015": "fesm2015/abp-ng.theme.shared.js",
|
|
27
26
|
"typings": "abp-ng.theme.shared.d.ts",
|
|
28
|
-
"metadata": "abp-ng.theme.shared.metadata.json",
|
|
29
27
|
"sideEffects": false
|
|
30
28
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { ModuleWithProviders } from '@angular/core';
|
|
2
2
|
import { Config } from './models/config';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/router/testing";
|
|
5
|
+
import * as i2 from "@abp/ng.theme.shared";
|
|
3
6
|
/**
|
|
4
7
|
* ThemeSharedTestingModule is the module that will be used in tests
|
|
5
8
|
*/
|
|
6
9
|
export declare class ThemeSharedTestingModule {
|
|
7
10
|
static withConfig({ validation }?: Config): ModuleWithProviders<ThemeSharedTestingModule>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedTestingModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedTestingModule, never, [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule], [typeof i1.RouterTestingModule, typeof i2.BaseThemeSharedModule]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedTestingModule>;
|
|
8
14
|
}
|
package/testing/package.json
CHANGED
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
"esm2015": "../esm2015/testing/abp-ng.theme.shared-testing.js",
|
|
6
6
|
"fesm2015": "../fesm2015/abp-ng.theme.shared-testing.js",
|
|
7
7
|
"typings": "abp-ng.theme.shared-testing.d.ts",
|
|
8
|
-
"metadata": "abp-ng.theme.shared-testing.metadata.json",
|
|
9
8
|
"sideEffects": false,
|
|
10
9
|
"name": "@abp/ng.theme.shared/testing"
|
|
11
10
|
}
|