@abp/ng.theme.shared 7.2.2 → 7.3.0-rc.2
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 +129 -2
- package/{esm2020 → esm2022}/abp-ng.theme.shared.mjs +4 -4
- package/{esm2020 → esm2022}/extensions/abp-ng.theme.shared-extensions.mjs +4 -4
- package/esm2022/extensions/lib/adapters/date-time.adapter.mjs +45 -0
- package/esm2022/extensions/lib/adapters/date.adapter.mjs +42 -0
- package/esm2022/extensions/lib/adapters/time.adapter.mjs +37 -0
- package/esm2022/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +26 -0
- package/esm2022/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +110 -0
- package/esm2022/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +199 -0
- package/esm2022/extensions/lib/components/extensible-form/extensible-form.component.mjs +74 -0
- package/esm2022/extensions/lib/components/extensible-table/extensible-table.component.mjs +137 -0
- package/esm2022/extensions/lib/components/grid-actions/grid-actions.component.mjs +40 -0
- package/esm2022/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +39 -0
- package/{esm2020 → esm2022}/extensions/lib/constants/extra-properties.mjs +1 -1
- package/esm2022/extensions/lib/directives/disabled.directive.mjs +30 -0
- package/esm2022/extensions/lib/directives/prop-data.directive.mjs +42 -0
- package/{esm2020 → esm2022}/extensions/lib/enums/components.mjs +1 -1
- package/{esm2020 → esm2022}/extensions/lib/enums/props.enum.mjs +1 -1
- package/{esm2020 → esm2022}/extensions/lib/models/actions.mjs +46 -46
- package/{esm2020 → esm2022}/extensions/lib/models/entity-actions.mjs +28 -28
- package/esm2022/extensions/lib/models/entity-props.mjs +44 -0
- package/esm2022/extensions/lib/models/form-props.mjs +76 -0
- package/{esm2020 → esm2022}/extensions/lib/models/internal/object-extensions.mjs +2 -2
- package/{esm2020 → esm2022}/extensions/lib/models/object-extensions.mjs +2 -2
- package/esm2022/extensions/lib/models/props.mjs +54 -0
- package/{esm2020 → esm2022}/extensions/lib/models/toolbar-actions.mjs +43 -43
- package/esm2022/extensions/lib/pipes/create-injector.pipe.mjs +37 -0
- package/esm2022/extensions/lib/services/extensions.service.mjs +25 -0
- package/{esm2020 → esm2022}/extensions/lib/tokens/extensible-form-view-provider.token.mjs +2 -2
- package/{esm2020 → esm2022}/extensions/lib/tokens/extensions.token.mjs +11 -11
- package/esm2022/extensions/lib/ui-extensions.module.mjs +100 -0
- package/{esm2020 → esm2022}/extensions/lib/utils/actions.util.mjs +8 -8
- package/{esm2020 → esm2022}/extensions/lib/utils/enum.util.mjs +41 -41
- package/{esm2020 → esm2022}/extensions/lib/utils/factory.util.mjs +3 -3
- package/esm2022/extensions/lib/utils/form-props.util.mjs +51 -0
- package/{esm2020 → esm2022}/extensions/lib/utils/localization.util.mjs +12 -12
- package/{esm2020 → esm2022}/extensions/lib/utils/props.util.mjs +13 -13
- package/esm2022/extensions/lib/utils/state.util.mjs +126 -0
- package/{esm2020 → esm2022}/extensions/lib/utils/typeahead.util.mjs +51 -51
- package/{esm2020 → esm2022}/extensions/lib/utils/validation.util.mjs +10 -10
- package/{esm2020 → esm2022}/extensions/public-api.mjs +30 -30
- package/{esm2020 → esm2022}/lib/animations/bounce.animations.mjs +16 -16
- package/{esm2020 → esm2022}/lib/animations/collapse.animations.mjs +49 -49
- package/{esm2020 → esm2022}/lib/animations/fade.animations.mjs +37 -37
- package/{esm2020 → esm2022}/lib/animations/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/animations/modal.animations.mjs +10 -10
- package/{esm2020 → esm2022}/lib/animations/slide.animations.mjs +7 -7
- package/{esm2020 → esm2022}/lib/animations/toast.animations.mjs +12 -12
- package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +44 -0
- package/esm2022/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +20 -0
- package/esm2022/lib/components/button/button.component.mjs +103 -0
- package/{esm2020 → esm2022}/lib/components/card/card-body.component.mjs +27 -26
- package/esm2022/lib/components/card/card-footer.component.mjs +31 -0
- package/esm2022/lib/components/card/card-header.component.mjs +31 -0
- package/esm2022/lib/components/card/card-header.directive.mjs +20 -0
- package/esm2022/lib/components/card/card-img-top.directive.mjs +20 -0
- package/esm2022/lib/components/card/card-subtitle.directive.mjs +20 -0
- package/esm2022/lib/components/card/card-title.directive.mjs +20 -0
- package/esm2022/lib/components/card/card.component.mjs +24 -0
- package/esm2022/lib/components/card/card.module.mjs +50 -0
- package/{esm2020 → esm2022}/lib/components/card/index.mjs +9 -9
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +89 -0
- package/esm2022/lib/components/confirmation/confirmation.component.mjs +46 -0
- package/esm2022/lib/components/form-input/form-input.component.mjs +95 -0
- package/esm2022/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +60 -0
- package/{esm2020 → esm2022}/lib/components/index.mjs +16 -16
- package/esm2022/lib/components/loader-bar/loader-bar.component.mjs +122 -0
- package/esm2022/lib/components/loading/loading.component.mjs +20 -0
- package/esm2022/lib/components/modal/modal-close.directive.mjs +28 -0
- package/esm2022/lib/components/modal/modal-ref.service.mjs +27 -0
- package/esm2022/lib/components/modal/modal.component.mjs +190 -0
- package/esm2022/lib/components/password/password.component.mjs +39 -0
- package/esm2022/lib/components/toast/toast.component.mjs +56 -0
- package/esm2022/lib/components/toast-container/toast-container.component.mjs +59 -0
- package/{esm2020 → esm2022}/lib/constants/styles.mjs +1 -1
- package/{esm2020 → esm2022}/lib/constants/validation.mjs +19 -19
- package/esm2022/lib/directives/ellipsis.directive.mjs +65 -0
- package/{esm2020 → esm2022}/lib/directives/index.mjs +5 -5
- package/esm2022/lib/directives/loading.directive.mjs +90 -0
- package/esm2022/lib/directives/ngx-datatable-default.directive.mjs +76 -0
- package/esm2022/lib/directives/ngx-datatable-list.directive.mjs +95 -0
- package/esm2022/lib/directives/visible.directive.mjs +63 -0
- package/{esm2020 → esm2022}/lib/enums/form.mjs +5 -5
- package/{esm2020 → esm2022}/lib/enums/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/enums/route-names.mjs +1 -1
- package/esm2022/lib/handlers/document-dir.handler.mjs +32 -0
- package/esm2022/lib/handlers/error.handler.mjs +294 -0
- package/{esm2020 → esm2022}/lib/handlers/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/models/common.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/confirmation.mjs +9 -9
- package/{esm2020 → esm2022}/lib/models/index.mjs +7 -7
- package/{esm2020 → esm2022}/lib/models/nav-item.mjs +5 -5
- package/{esm2020 → esm2022}/lib/models/statistics.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/toaster.mjs +1 -1
- package/{esm2020 → esm2022}/lib/models/user-menu.mjs +3 -3
- package/{esm2020 → esm2022}/lib/models/validation.mjs +1 -1
- package/{esm2020 → esm2022}/lib/providers/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/providers/ng-bootstrap-config.provider.mjs +16 -16
- package/{esm2020 → esm2022}/lib/providers/route.provider.mjs +17 -17
- package/{esm2020 → esm2022}/lib/services/abstract-menu.service.mjs +49 -49
- package/esm2022/lib/services/confirmation.service.mjs +69 -0
- package/{esm2020 → esm2022}/lib/services/index.mjs +5 -5
- package/esm2022/lib/services/nav-items.service.mjs +18 -0
- package/esm2022/lib/services/page-alert.service.mjs +29 -0
- package/esm2022/lib/services/toaster.service.mjs +104 -0
- package/esm2022/lib/services/user-menu.service.mjs +18 -0
- package/esm2022/lib/theme-shared.module.mjs +202 -0
- package/{esm2020 → esm2022}/lib/tokens/append-content.token.mjs +10 -10
- package/{esm2020 → esm2022}/lib/tokens/confirmation-icons.token.mjs +10 -10
- package/{esm2020 → esm2022}/lib/tokens/http-error.token.mjs +13 -13
- package/{esm2020 → esm2022}/lib/tokens/index.mjs +4 -4
- package/{esm2020 → esm2022}/lib/tokens/ngx-datatable-messages.token.mjs +7 -7
- package/{esm2020 → esm2022}/lib/tokens/suppress-unsaved-changes-warning.token.mjs +2 -2
- package/esm2022/lib/utils/date-parser-formatter.mjs +59 -0
- package/{esm2020 → esm2022}/lib/utils/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/utils/validation-utils.mjs +61 -61
- package/{esm2020 → esm2022}/public-api.mjs +15 -15
- package/{esm2020 → esm2022}/testing/abp-ng.theme.shared-testing.mjs +4 -4
- package/{esm2020 → esm2022}/testing/lib/models/config.mjs +1 -1
- package/{esm2020 → esm2022}/testing/lib/models/index.mjs +1 -1
- package/esm2022/testing/lib/theme-shared-testing.module.mjs +47 -0
- package/{esm2020 → esm2022}/testing/public-api.mjs +3 -3
- package/extensions/index.d.ts +5 -5
- package/extensions/lib/adapters/date-time.adapter.d.ts +11 -11
- package/extensions/lib/adapters/date.adapter.d.ts +9 -9
- package/extensions/lib/adapters/time.adapter.d.ts +8 -8
- package/extensions/lib/components/abstract-actions/abstract-actions.component.d.ts +12 -12
- package/extensions/lib/components/date-time-picker/date-time-picker.component.d.ts +16 -16
- package/extensions/lib/components/extensible-form/extensible-form-prop.component.d.ts +43 -43
- package/extensions/lib/components/extensible-form/extensible-form.component.d.ts +25 -25
- package/extensions/lib/components/extensible-table/extensible-table.component.d.ts +38 -38
- package/extensions/lib/components/grid-actions/grid-actions.component.d.ts +13 -13
- package/extensions/lib/components/page-toolbar/page-toolbar.component.d.ts +20 -20
- package/extensions/lib/constants/extra-properties.d.ts +1 -1
- package/extensions/lib/directives/disabled.directive.d.ts +11 -11
- package/extensions/lib/directives/prop-data.directive.d.ts +19 -19
- package/extensions/lib/enums/components.d.ts +3 -3
- package/extensions/lib/enums/props.enum.d.ts +16 -16
- package/extensions/lib/models/actions.d.ts +36 -36
- package/extensions/lib/models/entity-actions.d.ts +22 -22
- package/extensions/lib/models/entity-props.d.ts +30 -29
- package/extensions/lib/models/form-props.d.ts +59 -58
- package/extensions/lib/models/internal/object-extensions.d.ts +86 -85
- package/extensions/lib/models/object-extensions.d.ts +2 -2
- package/extensions/lib/models/props.d.ts +45 -44
- package/extensions/lib/models/toolbar-actions.d.ts +38 -38
- package/extensions/lib/pipes/create-injector.pipe.d.ts +8 -8
- package/extensions/lib/services/extensions.service.d.ts +14 -14
- package/extensions/lib/tokens/extensible-form-view-provider.token.d.ts +5 -5
- package/extensions/lib/tokens/extensions.token.d.ts +20 -24
- package/extensions/lib/ui-extensions.module.d.ts +24 -24
- package/extensions/lib/utils/actions.util.d.ts +7 -7
- package/extensions/lib/utils/enum.util.d.ts +7 -7
- package/extensions/lib/utils/factory.util.d.ts +1 -1
- package/extensions/lib/utils/form-props.util.d.ts +3 -3
- package/extensions/lib/utils/localization.util.d.ts +3 -3
- package/extensions/lib/utils/props.util.d.ts +9 -9
- package/extensions/lib/utils/state.util.d.ts +5 -5
- package/extensions/lib/utils/typeahead.util.d.ts +11 -11
- package/extensions/lib/utils/validation.util.d.ts +3 -3
- package/extensions/public-api.d.ts +30 -30
- package/{fesm2020 → fesm2022}/abp-ng.theme.shared-extensions.mjs +1340 -1331
- package/fesm2022/abp-ng.theme.shared-extensions.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/abp-ng.theme.shared-testing.mjs +40 -40
- package/{fesm2015 → fesm2022}/abp-ng.theme.shared-testing.mjs.map +1 -1
- package/{fesm2020 → fesm2022}/abp-ng.theme.shared.mjs +2292 -2290
- package/fesm2022/abp-ng.theme.shared.mjs.map +1 -0
- package/index.d.ts +5 -5
- package/lib/animations/bounce.animations.d.ts +1 -1
- package/lib/animations/collapse.animations.d.ts +9 -9
- package/lib/animations/fade.animations.d.ts +10 -10
- package/lib/animations/index.d.ts +6 -6
- package/lib/animations/modal.animations.d.ts +2 -2
- package/lib/animations/slide.animations.d.ts +1 -1
- package/lib/animations/toast.animations.d.ts +1 -1
- package/lib/components/breadcrumb/breadcrumb.component.d.ts +16 -16
- package/lib/components/breadcrumb-items/breadcrumb-items.component.d.ts +7 -7
- package/lib/components/button/button.component.d.ts +26 -26
- package/lib/components/card/card-body.component.d.ts +8 -8
- package/lib/components/card/card-footer.component.d.ts +8 -8
- package/lib/components/card/card-header.component.d.ts +8 -8
- package/lib/components/card/card-header.directive.d.ts +6 -6
- package/lib/components/card/card-img-top.directive.d.ts +6 -6
- package/lib/components/card/card-subtitle.directive.d.ts +6 -6
- package/lib/components/card/card-title.directive.d.ts +6 -6
- package/lib/components/card/card.component.d.ts +7 -7
- package/lib/components/card/card.module.d.ts +15 -15
- package/lib/components/card/index.d.ts +9 -9
- package/lib/components/checkbox/checkbox.component.d.ts +18 -18
- package/lib/components/confirmation/confirmation.component.d.ts +19 -19
- package/lib/components/form-input/form-input.component.d.ts +19 -19
- package/lib/components/http-error-wrapper/http-error-wrapper.component.d.ts +27 -27
- package/lib/components/index.d.ts +16 -16
- package/lib/components/loader-bar/loader-bar.component.d.ts +33 -33
- package/lib/components/loading/loading.component.d.ts +5 -5
- package/lib/components/modal/modal-close.directive.d.ts +9 -9
- package/lib/components/modal/modal-ref.service.d.ts +13 -13
- package/lib/components/modal/modal.component.d.ts +50 -50
- package/lib/components/password/password.component.d.ts +12 -12
- package/lib/components/toast/toast.component.d.ts +14 -14
- package/lib/components/toast-container/toast-container.component.d.ts +22 -22
- package/lib/constants/styles.d.ts +2 -2
- package/lib/constants/validation.d.ts +19 -19
- package/lib/directives/ellipsis.directive.d.ts +21 -21
- package/lib/directives/index.d.ts +5 -5
- package/lib/directives/loading.directive.d.ts +25 -25
- package/lib/directives/ngx-datatable-default.directive.d.ts +30 -30
- package/lib/directives/ngx-datatable-list.directive.d.ts +24 -24
- package/lib/directives/visible.directive.d.ts +18 -18
- package/lib/enums/form.d.ts +4 -4
- package/lib/enums/index.d.ts +2 -2
- package/lib/enums/route-names.d.ts +3 -3
- package/lib/handlers/document-dir.handler.d.ts +13 -13
- package/lib/handlers/error.handler.d.ts +83 -83
- package/lib/handlers/index.d.ts +2 -2
- package/lib/models/common.d.ts +21 -21
- package/lib/models/confirmation.d.ts +27 -27
- package/lib/models/index.d.ts +7 -7
- package/lib/models/nav-item.d.ts +13 -13
- package/lib/models/statistics.d.ts +12 -12
- package/lib/models/toaster.d.ts +30 -30
- package/lib/models/user-menu.d.ts +8 -8
- package/lib/models/validation.d.ts +1 -1
- package/lib/providers/index.d.ts +2 -2
- package/lib/providers/ng-bootstrap-config.provider.d.ts +8 -8
- package/lib/providers/route.provider.d.ts +8 -8
- package/lib/services/abstract-menu.service.d.ts +13 -13
- package/lib/services/confirmation.service.d.ts +21 -21
- package/lib/services/index.d.ts +5 -5
- package/lib/services/nav-items.service.d.ts +8 -8
- package/lib/services/page-alert.service.d.ts +18 -18
- package/lib/services/toaster.service.d.ts +60 -60
- package/lib/services/user-menu.service.d.ts +8 -8
- package/lib/theme-shared.module.d.ts +38 -38
- package/lib/tokens/append-content.token.d.ts +2 -2
- package/lib/tokens/confirmation-icons.token.d.ts +11 -11
- package/lib/tokens/http-error.token.d.ts +5 -5
- package/lib/tokens/index.d.ts +4 -4
- package/lib/tokens/ngx-datatable-messages.token.d.ts +12 -12
- package/lib/tokens/suppress-unsaved-changes-warning.token.d.ts +2 -2
- package/lib/utils/date-parser-formatter.d.ts +12 -12
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/validation-utils.d.ts +5 -5
- package/package.json +28 -24
- package/public-api.d.ts +12 -12
- package/testing/index.d.ts +5 -5
- package/testing/lib/models/config.d.ts +4 -4
- package/testing/lib/models/index.d.ts +1 -1
- package/testing/lib/theme-shared-testing.module.d.ts +14 -14
- package/testing/public-api.d.ts +3 -3
- package/esm2020/extensions/lib/adapters/date-time.adapter.mjs +0 -44
- package/esm2020/extensions/lib/adapters/date.adapter.mjs +0 -41
- package/esm2020/extensions/lib/adapters/time.adapter.mjs +0 -36
- package/esm2020/extensions/lib/components/abstract-actions/abstract-actions.component.mjs +0 -25
- package/esm2020/extensions/lib/components/date-time-picker/date-time-picker.component.mjs +0 -109
- package/esm2020/extensions/lib/components/extensible-form/extensible-form-prop.component.mjs +0 -198
- package/esm2020/extensions/lib/components/extensible-form/extensible-form.component.mjs +0 -73
- package/esm2020/extensions/lib/components/extensible-table/extensible-table.component.mjs +0 -135
- package/esm2020/extensions/lib/components/grid-actions/grid-actions.component.mjs +0 -39
- package/esm2020/extensions/lib/components/page-toolbar/page-toolbar.component.mjs +0 -38
- package/esm2020/extensions/lib/directives/disabled.directive.mjs +0 -29
- package/esm2020/extensions/lib/directives/prop-data.directive.mjs +0 -41
- package/esm2020/extensions/lib/models/entity-props.mjs +0 -43
- package/esm2020/extensions/lib/models/form-props.mjs +0 -75
- package/esm2020/extensions/lib/models/props.mjs +0 -53
- package/esm2020/extensions/lib/pipes/create-injector.pipe.mjs +0 -36
- package/esm2020/extensions/lib/services/extensions.service.mjs +0 -24
- package/esm2020/extensions/lib/ui-extensions.module.mjs +0 -95
- package/esm2020/extensions/lib/utils/form-props.util.mjs +0 -51
- package/esm2020/extensions/lib/utils/state.util.mjs +0 -123
- package/esm2020/lib/components/breadcrumb/breadcrumb.component.mjs +0 -43
- package/esm2020/lib/components/breadcrumb-items/breadcrumb-items.component.mjs +0 -19
- package/esm2020/lib/components/button/button.component.mjs +0 -102
- package/esm2020/lib/components/card/card-footer.component.mjs +0 -30
- package/esm2020/lib/components/card/card-header.component.mjs +0 -30
- package/esm2020/lib/components/card/card-header.directive.mjs +0 -19
- package/esm2020/lib/components/card/card-img-top.directive.mjs +0 -19
- package/esm2020/lib/components/card/card-subtitle.directive.mjs +0 -19
- package/esm2020/lib/components/card/card-title.directive.mjs +0 -19
- package/esm2020/lib/components/card/card.component.mjs +0 -23
- package/esm2020/lib/components/card/card.module.mjs +0 -49
- package/esm2020/lib/components/checkbox/checkbox.component.mjs +0 -88
- package/esm2020/lib/components/confirmation/confirmation.component.mjs +0 -45
- package/esm2020/lib/components/form-input/form-input.component.mjs +0 -94
- package/esm2020/lib/components/http-error-wrapper/http-error-wrapper.component.mjs +0 -59
- package/esm2020/lib/components/loader-bar/loader-bar.component.mjs +0 -121
- package/esm2020/lib/components/loading/loading.component.mjs +0 -19
- package/esm2020/lib/components/modal/modal-close.directive.mjs +0 -27
- package/esm2020/lib/components/modal/modal-ref.service.mjs +0 -26
- package/esm2020/lib/components/modal/modal.component.mjs +0 -189
- package/esm2020/lib/components/password/password.component.mjs +0 -38
- package/esm2020/lib/components/toast/toast.component.mjs +0 -55
- package/esm2020/lib/components/toast-container/toast-container.component.mjs +0 -58
- package/esm2020/lib/directives/ellipsis.directive.mjs +0 -63
- package/esm2020/lib/directives/loading.directive.mjs +0 -89
- package/esm2020/lib/directives/ngx-datatable-default.directive.mjs +0 -75
- package/esm2020/lib/directives/ngx-datatable-list.directive.mjs +0 -94
- package/esm2020/lib/directives/visible.directive.mjs +0 -62
- package/esm2020/lib/handlers/document-dir.handler.mjs +0 -31
- package/esm2020/lib/handlers/error.handler.mjs +0 -291
- package/esm2020/lib/services/confirmation.service.mjs +0 -68
- package/esm2020/lib/services/nav-items.service.mjs +0 -17
- package/esm2020/lib/services/page-alert.service.mjs +0 -28
- package/esm2020/lib/services/toaster.service.mjs +0 -103
- package/esm2020/lib/services/user-menu.service.mjs +0 -17
- package/esm2020/lib/theme-shared.module.mjs +0 -200
- package/esm2020/lib/utils/date-parser-formatter.mjs +0 -58
- package/esm2020/testing/lib/theme-shared-testing.module.mjs +0 -46
- package/fesm2015/abp-ng.theme.shared-extensions.mjs +0 -1460
- package/fesm2015/abp-ng.theme.shared-extensions.mjs.map +0 -1
- package/fesm2015/abp-ng.theme.shared-testing.mjs +0 -54
- package/fesm2015/abp-ng.theme.shared.mjs +0 -2767
- package/fesm2015/abp-ng.theme.shared.mjs.map +0 -1
- package/fesm2020/abp-ng.theme.shared-extensions.mjs.map +0 -1
- package/fesm2020/abp-ng.theme.shared-testing.mjs.map +0 -1
- package/fesm2020/abp-ng.theme.shared.mjs.map +0 -1
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
|
|
2
|
-
import { Toaster } from '../models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ToasterService implements ToasterContract {
|
|
5
|
-
private contentProjectionService;
|
|
6
|
-
private toasts$;
|
|
7
|
-
private lastId;
|
|
8
|
-
private toasts;
|
|
9
|
-
private containerComponentRef;
|
|
10
|
-
constructor(contentProjectionService: ContentProjectionService);
|
|
11
|
-
private setContainer;
|
|
12
|
-
/**
|
|
13
|
-
* Creates an info toast with given parameters.
|
|
14
|
-
* @param message Content of the toast
|
|
15
|
-
* @param title Title of the toast
|
|
16
|
-
* @param options Spesific style or structural options for individual toast
|
|
17
|
-
*/
|
|
18
|
-
info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
19
|
-
/**
|
|
20
|
-
* Creates a success toast with given parameters.
|
|
21
|
-
* @param message Content of the toast
|
|
22
|
-
* @param title Title of the toast
|
|
23
|
-
* @param options Spesific style or structural options for individual toast
|
|
24
|
-
*/
|
|
25
|
-
success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
26
|
-
/**
|
|
27
|
-
* Creates a warning toast with given parameters.
|
|
28
|
-
* @param message Content of the toast
|
|
29
|
-
* @param title Title of the toast
|
|
30
|
-
* @param options Spesific style or structural options for individual toast
|
|
31
|
-
*/
|
|
32
|
-
warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
33
|
-
/**
|
|
34
|
-
* Creates an error toast with given parameters.
|
|
35
|
-
* @param message Content of the toast
|
|
36
|
-
* @param title Title of the toast
|
|
37
|
-
* @param options Spesific style or structural options for individual toast
|
|
38
|
-
*/
|
|
39
|
-
error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
40
|
-
/**
|
|
41
|
-
* Creates a toast with given parameters.
|
|
42
|
-
* @param message Content of the toast
|
|
43
|
-
* @param title Title of the toast
|
|
44
|
-
* @param severity Sets color of the toast. "success", "warning" etc.
|
|
45
|
-
* @param options Spesific style or structural options for individual toast
|
|
46
|
-
*/
|
|
47
|
-
show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
48
|
-
/**
|
|
49
|
-
* Removes the toast with given id.
|
|
50
|
-
* @param id ID of the toast to be removed.
|
|
51
|
-
*/
|
|
52
|
-
remove: (id: number) => void;
|
|
53
|
-
/**
|
|
54
|
-
* Removes all open toasts at once.
|
|
55
|
-
*/
|
|
56
|
-
clear(containerKey?: string): void;
|
|
57
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
58
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
59
|
-
}
|
|
60
|
-
export
|
|
1
|
+
import { ContentProjectionService, LocalizationParam, Strict } from '@abp/ng.core';
|
|
2
|
+
import { Toaster } from '../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToasterService implements ToasterContract {
|
|
5
|
+
private contentProjectionService;
|
|
6
|
+
private toasts$;
|
|
7
|
+
private lastId;
|
|
8
|
+
private toasts;
|
|
9
|
+
private containerComponentRef;
|
|
10
|
+
constructor(contentProjectionService: ContentProjectionService);
|
|
11
|
+
private setContainer;
|
|
12
|
+
/**
|
|
13
|
+
* Creates an info toast with given parameters.
|
|
14
|
+
* @param message Content of the toast
|
|
15
|
+
* @param title Title of the toast
|
|
16
|
+
* @param options Spesific style or structural options for individual toast
|
|
17
|
+
*/
|
|
18
|
+
info(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
19
|
+
/**
|
|
20
|
+
* Creates a success toast with given parameters.
|
|
21
|
+
* @param message Content of the toast
|
|
22
|
+
* @param title Title of the toast
|
|
23
|
+
* @param options Spesific style or structural options for individual toast
|
|
24
|
+
*/
|
|
25
|
+
success(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a warning toast with given parameters.
|
|
28
|
+
* @param message Content of the toast
|
|
29
|
+
* @param title Title of the toast
|
|
30
|
+
* @param options Spesific style or structural options for individual toast
|
|
31
|
+
*/
|
|
32
|
+
warn(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
33
|
+
/**
|
|
34
|
+
* Creates an error toast with given parameters.
|
|
35
|
+
* @param message Content of the toast
|
|
36
|
+
* @param title Title of the toast
|
|
37
|
+
* @param options Spesific style or structural options for individual toast
|
|
38
|
+
*/
|
|
39
|
+
error(message: LocalizationParam, title?: LocalizationParam, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
40
|
+
/**
|
|
41
|
+
* Creates a toast with given parameters.
|
|
42
|
+
* @param message Content of the toast
|
|
43
|
+
* @param title Title of the toast
|
|
44
|
+
* @param severity Sets color of the toast. "success", "warning" etc.
|
|
45
|
+
* @param options Spesific style or structural options for individual toast
|
|
46
|
+
*/
|
|
47
|
+
show(message: LocalizationParam, title?: LocalizationParam | undefined, severity?: Toaster.Severity, options?: Partial<Toaster.ToastOptions>): Toaster.ToasterId;
|
|
48
|
+
/**
|
|
49
|
+
* Removes the toast with given id.
|
|
50
|
+
* @param id ID of the toast to be removed.
|
|
51
|
+
*/
|
|
52
|
+
remove: (id: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Removes all open toasts at once.
|
|
55
|
+
*/
|
|
56
|
+
clear(containerKey?: string): void;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterService>;
|
|
59
|
+
}
|
|
60
|
+
export type ToasterContract = Strict<ToasterService, Toaster.Service>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UserMenu } from '../models/user-menu';
|
|
2
|
-
import { AbstractMenuService } from './abstract-menu.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class UserMenuService extends AbstractMenuService<UserMenu> {
|
|
5
|
-
protected baseClass: typeof UserMenu;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuService, never>;
|
|
7
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserMenuService>;
|
|
8
|
-
}
|
|
1
|
+
import { UserMenu } from '../models/user-menu';
|
|
2
|
+
import { AbstractMenuService } from './abstract-menu.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class UserMenuService extends AbstractMenuService<UserMenu> {
|
|
5
|
+
protected baseClass: typeof UserMenu;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserMenuService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserMenuService>;
|
|
8
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
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 "./components/password/password.component";
|
|
14
|
-
import * as i11 from "./directives/ngx-datatable-default.directive";
|
|
15
|
-
import * as i12 from "./directives/ngx-datatable-list.directive";
|
|
16
|
-
import * as i13 from "./directives/loading.directive";
|
|
17
|
-
import * as i14 from "./components/modal/modal-close.directive";
|
|
18
|
-
import * as i15 from "./directives/visible.directive";
|
|
19
|
-
import * as i16 from "./components/form-input/form-input.component";
|
|
20
|
-
import * as i17 from "./components/checkbox/checkbox.component";
|
|
21
|
-
import * as i18 from "./components/http-error-wrapper/http-error-wrapper.component";
|
|
22
|
-
import * as i19 from "@abp/ng.core";
|
|
23
|
-
import * as i20 from "@swimlane/ngx-datatable";
|
|
24
|
-
import * as i21 from "@ngx-validate/core";
|
|
25
|
-
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
26
|
-
import * as i23 from "./directives/ellipsis.directive";
|
|
27
|
-
import * as i24 from "./components/card/card.module";
|
|
28
|
-
export declare class BaseThemeSharedModule {
|
|
29
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
30
|
-
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.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent, typeof i18.HttpErrorWrapperComponent], [typeof i19.CoreModule, typeof i20.NgxDatatableModule, typeof i21.NgxValidateCoreModule, typeof i22.NgbPaginationModule, typeof i23.EllipsisModule, typeof i24.CardModule], [typeof i20.NgxDatatableModule, typeof i23.EllipsisModule, typeof i21.NgxValidateCoreModule, typeof i24.CardModule, 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.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent]>;
|
|
31
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
32
|
-
}
|
|
33
|
-
export declare class ThemeSharedModule {
|
|
34
|
-
static forRoot({ httpErrorConfig, validation, confirmationIcons }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
37
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
38
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
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 "./components/password/password.component";
|
|
14
|
+
import * as i11 from "./directives/ngx-datatable-default.directive";
|
|
15
|
+
import * as i12 from "./directives/ngx-datatable-list.directive";
|
|
16
|
+
import * as i13 from "./directives/loading.directive";
|
|
17
|
+
import * as i14 from "./components/modal/modal-close.directive";
|
|
18
|
+
import * as i15 from "./directives/visible.directive";
|
|
19
|
+
import * as i16 from "./components/form-input/form-input.component";
|
|
20
|
+
import * as i17 from "./components/checkbox/checkbox.component";
|
|
21
|
+
import * as i18 from "./components/http-error-wrapper/http-error-wrapper.component";
|
|
22
|
+
import * as i19 from "@abp/ng.core";
|
|
23
|
+
import * as i20 from "@swimlane/ngx-datatable";
|
|
24
|
+
import * as i21 from "@ngx-validate/core";
|
|
25
|
+
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
26
|
+
import * as i23 from "./directives/ellipsis.directive";
|
|
27
|
+
import * as i24 from "./components/card/card.module";
|
|
28
|
+
export declare class BaseThemeSharedModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BaseThemeSharedModule, never>;
|
|
30
|
+
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.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent, typeof i18.HttpErrorWrapperComponent], [typeof i19.CoreModule, typeof i20.NgxDatatableModule, typeof i21.NgxValidateCoreModule, typeof i22.NgbPaginationModule, typeof i23.EllipsisModule, typeof i24.CardModule], [typeof i20.NgxDatatableModule, typeof i23.EllipsisModule, typeof i21.NgxValidateCoreModule, typeof i24.CardModule, 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.PasswordComponent, typeof i11.NgxDatatableDefaultDirective, typeof i12.NgxDatatableListDirective, typeof i13.LoadingDirective, typeof i14.ModalCloseDirective, typeof i15.AbpVisibleDirective, typeof i16.FormInputComponent, typeof i17.FormCheckboxComponent]>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<BaseThemeSharedModule>;
|
|
32
|
+
}
|
|
33
|
+
export declare class ThemeSharedModule {
|
|
34
|
+
static forRoot({ httpErrorConfig, validation, confirmationIcons }?: RootParams): ModuleWithProviders<ThemeSharedModule>;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSharedModule, never>;
|
|
36
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeSharedModule, never, [typeof BaseThemeSharedModule], [typeof BaseThemeSharedModule]>;
|
|
37
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeSharedModule>;
|
|
38
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const THEME_SHARED_APPEND_CONTENT: InjectionToken<void>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export interface ConfirmationIcons {
|
|
3
|
-
info: string;
|
|
4
|
-
success: string;
|
|
5
|
-
warning: string;
|
|
6
|
-
error: string;
|
|
7
|
-
default: string;
|
|
8
|
-
neutral: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const CONFIRMATION_ICONS: InjectionToken<Partial<ConfirmationIcons>>;
|
|
11
|
-
export declare const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface ConfirmationIcons {
|
|
3
|
+
info: string;
|
|
4
|
+
success: string;
|
|
5
|
+
warning: string;
|
|
6
|
+
error: string;
|
|
7
|
+
default: string;
|
|
8
|
+
neutral: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const CONFIRMATION_ICONS: InjectionToken<Partial<ConfirmationIcons>>;
|
|
11
|
+
export declare const DEFAULT_CONFIRMATION_ICONS: ConfirmationIcons;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
|
|
3
|
-
export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
|
|
4
|
-
export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
5
|
-
export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { HttpErrorConfig, HttpErrorHandler } from '../models/common';
|
|
3
|
+
export declare function httpErrorConfigFactory(config?: HttpErrorConfig): HttpErrorConfig;
|
|
4
|
+
export declare const HTTP_ERROR_CONFIG: InjectionToken<HttpErrorConfig>;
|
|
5
|
+
export declare const HTTP_ERROR_HANDLER: InjectionToken<HttpErrorHandler>;
|
package/lib/tokens/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './append-content.token';
|
|
2
|
-
export * from './http-error.token';
|
|
3
|
-
export * from './ngx-datatable-messages.token';
|
|
4
|
-
export * from './suppress-unsaved-changes-warning.token';
|
|
1
|
+
export * from './append-content.token';
|
|
2
|
+
export * from './http-error.token';
|
|
3
|
+
export * from './ngx-datatable-messages.token';
|
|
4
|
+
export * from './suppress-unsaved-changes-warning.token';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export interface NgxDatatableMessages {
|
|
3
|
-
emptyMessage: string;
|
|
4
|
-
totalMessage: string;
|
|
5
|
-
selectedMessage: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const defaultNgxDatatableMessages: {
|
|
8
|
-
emptyMessage: string;
|
|
9
|
-
totalMessage: string;
|
|
10
|
-
selectedMessage: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface NgxDatatableMessages {
|
|
3
|
+
emptyMessage: string;
|
|
4
|
+
totalMessage: string;
|
|
5
|
+
selectedMessage: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultNgxDatatableMessages: {
|
|
8
|
+
emptyMessage: string;
|
|
9
|
+
totalMessage: string;
|
|
10
|
+
selectedMessage: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const NGX_DATATABLE_MESSAGES: InjectionToken<Partial<NgxDatatableMessages>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const SUPPRESS_UNSAVED_CHANGES_WARNING: InjectionToken<boolean>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ConfigStateService } from '@abp/ng.core';
|
|
2
|
-
import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
5
|
-
private configState;
|
|
6
|
-
private locale;
|
|
7
|
-
constructor(configState: ConfigStateService, locale: string);
|
|
8
|
-
parse(value: string): NgbDateStruct | null;
|
|
9
|
-
format(date: NgbDateStruct): string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
12
|
-
}
|
|
1
|
+
import { ConfigStateService } from '@abp/ng.core';
|
|
2
|
+
import { NgbDateParserFormatter, NgbDateStruct } from '@ng-bootstrap/ng-bootstrap';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DateParserFormatter extends NgbDateParserFormatter {
|
|
5
|
+
private configState;
|
|
6
|
+
private locale;
|
|
7
|
+
constructor(configState: ConfigStateService, locale: string);
|
|
8
|
+
parse(value: string): NgbDateStruct | null;
|
|
9
|
+
format(date: NgbDateStruct): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DateParserFormatter, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DateParserFormatter>;
|
|
12
|
+
}
|
package/lib/utils/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './date-parser-formatter';
|
|
2
|
-
export * from './validation-utils';
|
|
1
|
+
export * from './date-parser-formatter';
|
|
2
|
+
export * from './validation-utils';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { PasswordRule } from '../models/validation';
|
|
4
|
-
export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
|
|
5
|
-
export declare function validatePassword(shouldContain: PasswordRule): ValidatorFn;
|
|
1
|
+
import { Injector } from '@angular/core';
|
|
2
|
+
import { ValidatorFn } from '@angular/forms';
|
|
3
|
+
import { PasswordRule } from '../models/validation';
|
|
4
|
+
export declare function getPasswordValidators(injector: Injector): ValidatorFn[];
|
|
5
|
+
export declare function validatePassword(shouldContain: PasswordRule): ValidatorFn;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abp/ng.theme.shared",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.0-rc.2",
|
|
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": "~7.
|
|
10
|
+
"@abp/ng.core": "~7.3.0-rc.2",
|
|
11
11
|
"@fortawesome/fontawesome-free": "^5.15.4",
|
|
12
|
-
"@ng-bootstrap/ng-bootstrap": "^
|
|
12
|
+
"@ng-bootstrap/ng-bootstrap": "^15.0.0",
|
|
13
13
|
"@ngx-validate/core": "^0.2.0",
|
|
14
14
|
"@popperjs/core": "~2.11.2",
|
|
15
15
|
"@swimlane/ngx-datatable": "^20.0.0",
|
|
@@ -19,11 +19,21 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
"license": "LGPL-3.0",
|
|
23
|
+
"keywords": [
|
|
24
|
+
"aspnetcore",
|
|
25
|
+
"boilerplate",
|
|
26
|
+
"framework",
|
|
27
|
+
"web",
|
|
28
|
+
"best-practices",
|
|
29
|
+
"angular",
|
|
30
|
+
"maui",
|
|
31
|
+
"blazor",
|
|
32
|
+
"mvc",
|
|
33
|
+
"csharp",
|
|
34
|
+
"webapp"
|
|
35
|
+
],
|
|
36
|
+
"module": "fesm2022/abp-ng.theme.shared.mjs",
|
|
27
37
|
"typings": "index.d.ts",
|
|
28
38
|
"exports": {
|
|
29
39
|
"./package.json": {
|
|
@@ -31,31 +41,25 @@
|
|
|
31
41
|
},
|
|
32
42
|
".": {
|
|
33
43
|
"types": "./index.d.ts",
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"node": "./fesm2015/abp-ng.theme.shared.mjs",
|
|
38
|
-
"default": "./fesm2020/abp-ng.theme.shared.mjs"
|
|
44
|
+
"esm2022": "./esm2022/abp-ng.theme.shared.mjs",
|
|
45
|
+
"esm": "./esm2022/abp-ng.theme.shared.mjs",
|
|
46
|
+
"default": "./fesm2022/abp-ng.theme.shared.mjs"
|
|
39
47
|
},
|
|
40
48
|
"./extensions": {
|
|
41
49
|
"types": "./extensions/index.d.ts",
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"node": "./fesm2015/abp-ng.theme.shared-extensions.mjs",
|
|
46
|
-
"default": "./fesm2020/abp-ng.theme.shared-extensions.mjs"
|
|
50
|
+
"esm2022": "./esm2022/extensions/abp-ng.theme.shared-extensions.mjs",
|
|
51
|
+
"esm": "./esm2022/extensions/abp-ng.theme.shared-extensions.mjs",
|
|
52
|
+
"default": "./fesm2022/abp-ng.theme.shared-extensions.mjs"
|
|
47
53
|
},
|
|
48
54
|
"./testing": {
|
|
49
55
|
"types": "./testing/index.d.ts",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"node": "./fesm2015/abp-ng.theme.shared-testing.mjs",
|
|
54
|
-
"default": "./fesm2020/abp-ng.theme.shared-testing.mjs"
|
|
56
|
+
"esm2022": "./esm2022/testing/abp-ng.theme.shared-testing.mjs",
|
|
57
|
+
"esm": "./esm2022/testing/abp-ng.theme.shared-testing.mjs",
|
|
58
|
+
"default": "./fesm2022/abp-ng.theme.shared-testing.mjs"
|
|
55
59
|
}
|
|
56
60
|
},
|
|
57
61
|
"sideEffects": false,
|
|
58
62
|
"peerDependencies": {
|
|
59
|
-
"@abp/ng.oauth": "7.
|
|
63
|
+
"@abp/ng.oauth": "7.3.0-rc.2"
|
|
60
64
|
}
|
|
61
65
|
}
|
package/public-api.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export * from './lib/animations';
|
|
2
|
-
export * from './lib/components';
|
|
3
|
-
export * from './lib/constants/validation';
|
|
4
|
-
export * from './lib/directives';
|
|
5
|
-
export * from './lib/enums';
|
|
6
|
-
export * from './lib/handlers';
|
|
7
|
-
export * from './lib/models';
|
|
8
|
-
export * from './lib/providers';
|
|
9
|
-
export * from './lib/services';
|
|
10
|
-
export * from './lib/theme-shared.module';
|
|
11
|
-
export * from './lib/tokens';
|
|
12
|
-
export * from './lib/utils';
|
|
1
|
+
export * from './lib/animations';
|
|
2
|
+
export * from './lib/components';
|
|
3
|
+
export * from './lib/constants/validation';
|
|
4
|
+
export * from './lib/directives';
|
|
5
|
+
export * from './lib/enums';
|
|
6
|
+
export * from './lib/handlers';
|
|
7
|
+
export * from './lib/models';
|
|
8
|
+
export * from './lib/providers';
|
|
9
|
+
export * from './lib/services';
|
|
10
|
+
export * from './lib/theme-shared.module';
|
|
11
|
+
export * from './lib/tokens';
|
|
12
|
+
export * from './lib/utils';
|
package/testing/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="@abp/ng.theme.shared/testing" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="@abp/ng.theme.shared/testing" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Validation } from '@ngx-validate/core';
|
|
2
|
-
export interface Config {
|
|
3
|
-
validation?: Partial<Validation.Config>;
|
|
4
|
-
}
|
|
1
|
+
import { Validation } from '@ngx-validate/core';
|
|
2
|
+
export interface Config {
|
|
3
|
+
validation?: Partial<Validation.Config>;
|
|
4
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './config';
|
|
1
|
+
export * from './config';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
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";
|
|
6
|
-
/**
|
|
7
|
-
* ThemeSharedTestingModule is the module that will be used in tests
|
|
8
|
-
*/
|
|
9
|
-
export declare class ThemeSharedTestingModule {
|
|
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>;
|
|
14
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
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";
|
|
6
|
+
/**
|
|
7
|
+
* ThemeSharedTestingModule is the module that will be used in tests
|
|
8
|
+
*/
|
|
9
|
+
export declare class ThemeSharedTestingModule {
|
|
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>;
|
|
14
|
+
}
|
package/testing/public-api.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as ThemeSharedTesting from './lib/models';
|
|
2
|
-
export * from './lib/theme-shared-testing.module';
|
|
3
|
-
export { ThemeSharedTesting };
|
|
1
|
+
import * as ThemeSharedTesting from './lib/models';
|
|
2
|
+
export * from './lib/theme-shared-testing.module';
|
|
3
|
+
export { ThemeSharedTesting };
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class DateTimeAdapter {
|
|
4
|
-
fromModel(value) {
|
|
5
|
-
if (!value)
|
|
6
|
-
return null;
|
|
7
|
-
const date = new Date(value);
|
|
8
|
-
if (isNaN(date))
|
|
9
|
-
return null;
|
|
10
|
-
this.value = {
|
|
11
|
-
year: date.getFullYear(),
|
|
12
|
-
month: date.getMonth() + 1,
|
|
13
|
-
day: date.getDate(),
|
|
14
|
-
hour: date.getHours(),
|
|
15
|
-
minute: date.getMinutes(),
|
|
16
|
-
second: date.getSeconds(),
|
|
17
|
-
};
|
|
18
|
-
return this.value;
|
|
19
|
-
}
|
|
20
|
-
toModel(value) {
|
|
21
|
-
if (!value)
|
|
22
|
-
return '';
|
|
23
|
-
const now = new Date();
|
|
24
|
-
const newValue = {
|
|
25
|
-
// TODO look for strict mode errors
|
|
26
|
-
year: now.getUTCFullYear(),
|
|
27
|
-
month: now.getMonth() + 1,
|
|
28
|
-
day: now.getDate(),
|
|
29
|
-
hour: 0,
|
|
30
|
-
minute: 0,
|
|
31
|
-
second: 0,
|
|
32
|
-
...this.value,
|
|
33
|
-
...value,
|
|
34
|
-
};
|
|
35
|
-
const date = new Date(newValue.year, newValue.month - 1, newValue.day, newValue.hour, newValue.minute, newValue.second);
|
|
36
|
-
return new Date(date).toISOString();
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
DateTimeAdapter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
40
|
-
DateTimeAdapter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: DateTimeAdapter,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