@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,43 +1,43 @@
|
|
|
1
|
-
import { ABP, ConfigStateService, TrackByService } from '@abp/ng.core';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
-
import { FormGroupDirective, ValidatorFn } from '@angular/forms';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { FormProp } from '../../models/form-props';
|
|
6
|
-
import { PropData } from '../../models/props';
|
|
7
|
-
import { eThemeSharedComponents } from '../../enums/components';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ExtensibleFormPropComponent implements OnChanges, AfterViewInit {
|
|
10
|
-
readonly cdRef: ChangeDetectorRef;
|
|
11
|
-
readonly track: TrackByService;
|
|
12
|
-
protected configState: ConfigStateService;
|
|
13
|
-
private injector;
|
|
14
|
-
data: PropData;
|
|
15
|
-
prop: FormProp;
|
|
16
|
-
first?: boolean;
|
|
17
|
-
private fieldRef;
|
|
18
|
-
injectorForCustomComponent?: Injector;
|
|
19
|
-
asterisk: string;
|
|
20
|
-
containerClassName: string;
|
|
21
|
-
options$: Observable<ABP.Option<any>[]>;
|
|
22
|
-
validators: ValidatorFn[];
|
|
23
|
-
readonly: boolean;
|
|
24
|
-
typeaheadModel: any;
|
|
25
|
-
passwordKey: eThemeSharedComponents;
|
|
26
|
-
private readonly form;
|
|
27
|
-
disabledFn: (data: PropData) => boolean;
|
|
28
|
-
get disabled(): boolean;
|
|
29
|
-
setTypeaheadValue(selectedOption: ABP.Option<string>): void;
|
|
30
|
-
search: (text$: Observable<string>) => Observable<any[]>;
|
|
31
|
-
typeaheadFormatter: (option: ABP.Option<any>) => string;
|
|
32
|
-
get meridian(): any;
|
|
33
|
-
get isInvalid(): boolean;
|
|
34
|
-
constructor(cdRef: ChangeDetectorRef, track: TrackByService, configState: ConfigStateService, groupDirective: FormGroupDirective, injector: Injector);
|
|
35
|
-
private getTypeaheadControls;
|
|
36
|
-
private setAsterisk;
|
|
37
|
-
ngAfterViewInit(): void;
|
|
38
|
-
getComponent(prop: FormProp): string;
|
|
39
|
-
getType(prop: FormProp): string;
|
|
40
|
-
ngOnChanges({ prop, data }: SimpleChanges): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleFormPropComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleFormPropComponent, "abp-extensible-form-prop", never, { "data": "data"; "prop": "prop"; "first": "first"; }, {}, never, never, false, never>;
|
|
43
|
-
}
|
|
1
|
+
import { ABP, ConfigStateService, TrackByService } from '@abp/ng.core';
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, Injector, OnChanges, SimpleChanges } from '@angular/core';
|
|
3
|
+
import { FormGroupDirective, ValidatorFn } from '@angular/forms';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { FormProp } from '../../models/form-props';
|
|
6
|
+
import { PropData } from '../../models/props';
|
|
7
|
+
import { eThemeSharedComponents } from '../../enums/components';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ExtensibleFormPropComponent implements OnChanges, AfterViewInit {
|
|
10
|
+
readonly cdRef: ChangeDetectorRef;
|
|
11
|
+
readonly track: TrackByService;
|
|
12
|
+
protected configState: ConfigStateService;
|
|
13
|
+
private injector;
|
|
14
|
+
data: PropData;
|
|
15
|
+
prop: FormProp;
|
|
16
|
+
first?: boolean;
|
|
17
|
+
private fieldRef;
|
|
18
|
+
injectorForCustomComponent?: Injector;
|
|
19
|
+
asterisk: string;
|
|
20
|
+
containerClassName: string;
|
|
21
|
+
options$: Observable<ABP.Option<any>[]>;
|
|
22
|
+
validators: ValidatorFn[];
|
|
23
|
+
readonly: boolean;
|
|
24
|
+
typeaheadModel: any;
|
|
25
|
+
passwordKey: eThemeSharedComponents;
|
|
26
|
+
private readonly form;
|
|
27
|
+
disabledFn: (data: PropData) => boolean;
|
|
28
|
+
get disabled(): boolean;
|
|
29
|
+
setTypeaheadValue(selectedOption: ABP.Option<string>): void;
|
|
30
|
+
search: (text$: Observable<string>) => Observable<any[]>;
|
|
31
|
+
typeaheadFormatter: (option: ABP.Option<any>) => string;
|
|
32
|
+
get meridian(): any;
|
|
33
|
+
get isInvalid(): boolean;
|
|
34
|
+
constructor(cdRef: ChangeDetectorRef, track: TrackByService, configState: ConfigStateService, groupDirective: FormGroupDirective, injector: Injector);
|
|
35
|
+
private getTypeaheadControls;
|
|
36
|
+
private setAsterisk;
|
|
37
|
+
ngAfterViewInit(): void;
|
|
38
|
+
getComponent(prop: FormProp): string;
|
|
39
|
+
getType(prop: FormProp): string;
|
|
40
|
+
ngOnChanges({ prop, data }: SimpleChanges): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleFormPropComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleFormPropComponent, "abp-extensible-form-prop", never, { "data": { "alias": "data"; "required": false; }; "prop": { "alias": "prop"; "required": false; }; "first": { "alias": "first"; "required": false; }; }, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { TrackByService } from '@abp/ng.core';
|
|
2
|
-
import { ChangeDetectorRef, QueryList } from '@angular/core';
|
|
3
|
-
import { ControlContainer, UntypedFormGroup } from '@angular/forms';
|
|
4
|
-
import { FormPropList, GroupedFormPropList } from '../../models/form-props';
|
|
5
|
-
import { ExtensionsService } from '../../services/extensions.service';
|
|
6
|
-
import { ExtensibleFormPropComponent } from './extensible-form-prop.component';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class ExtensibleFormComponent<R = any> {
|
|
9
|
-
readonly cdRef: ChangeDetectorRef;
|
|
10
|
-
readonly track: TrackByService;
|
|
11
|
-
private container;
|
|
12
|
-
private extensions;
|
|
13
|
-
private identifier;
|
|
14
|
-
formProps: QueryList<ExtensibleFormPropComponent>;
|
|
15
|
-
set selectedRecord(record: R);
|
|
16
|
-
extraPropertiesKey: string;
|
|
17
|
-
groupedPropList: GroupedFormPropList;
|
|
18
|
-
record: R;
|
|
19
|
-
createGroupedList(propList: FormPropList<R>): GroupedFormPropList<any>;
|
|
20
|
-
get form(): UntypedFormGroup;
|
|
21
|
-
get extraProperties(): UntypedFormGroup;
|
|
22
|
-
constructor(cdRef: ChangeDetectorRef, track: TrackByService, container: ControlContainer, extensions: ExtensionsService, identifier: string);
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleFormComponent<any>, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleFormComponent<any>, "abp-extensible-form", ["abpExtensibleForm"], { "selectedRecord": "selectedRecord"; }, {}, never, never, false, never>;
|
|
25
|
-
}
|
|
1
|
+
import { TrackByService } from '@abp/ng.core';
|
|
2
|
+
import { ChangeDetectorRef, QueryList } from '@angular/core';
|
|
3
|
+
import { ControlContainer, UntypedFormGroup } from '@angular/forms';
|
|
4
|
+
import { FormPropList, GroupedFormPropList } from '../../models/form-props';
|
|
5
|
+
import { ExtensionsService } from '../../services/extensions.service';
|
|
6
|
+
import { ExtensibleFormPropComponent } from './extensible-form-prop.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ExtensibleFormComponent<R = any> {
|
|
9
|
+
readonly cdRef: ChangeDetectorRef;
|
|
10
|
+
readonly track: TrackByService;
|
|
11
|
+
private container;
|
|
12
|
+
private extensions;
|
|
13
|
+
private identifier;
|
|
14
|
+
formProps: QueryList<ExtensibleFormPropComponent>;
|
|
15
|
+
set selectedRecord(record: R);
|
|
16
|
+
extraPropertiesKey: string;
|
|
17
|
+
groupedPropList: GroupedFormPropList;
|
|
18
|
+
record: R;
|
|
19
|
+
createGroupedList(propList: FormPropList<R>): GroupedFormPropList<any>;
|
|
20
|
+
get form(): UntypedFormGroup;
|
|
21
|
+
get extraProperties(): UntypedFormGroup;
|
|
22
|
+
constructor(cdRef: ChangeDetectorRef, track: TrackByService, container: ControlContainer, extensions: ExtensionsService, identifier: string);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleFormComponent<any>, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleFormComponent<any>, "abp-extensible-form", ["abpExtensibleForm"], { "selectedRecord": { "alias": "selectedRecord"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { ConfigStateService, ListService } from '@abp/ng.core';
|
|
2
|
-
import { EventEmitter, InjectFlags, InjectionToken, Injector, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, Type } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { EntityActionList } from '../../models/entity-actions';
|
|
5
|
-
import { EntityProp, EntityPropList } from '../../models/entity-props';
|
|
6
|
-
import { PropData } from '../../models/props';
|
|
7
|
-
import { EntityPropTypeClass } from '../../tokens/extensions.token';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class ExtensibleTableComponent<R = any> implements OnChanges {
|
|
10
|
-
private locale;
|
|
11
|
-
private config;
|
|
12
|
-
private injector;
|
|
13
|
-
protected _actionsText: string;
|
|
14
|
-
set actionsText(value: string);
|
|
15
|
-
get actionsText(): string;
|
|
16
|
-
data: R[];
|
|
17
|
-
list: ListService;
|
|
18
|
-
recordsTotal: number;
|
|
19
|
-
set actionsColumnWidth(width: number);
|
|
20
|
-
actionsTemplate?: TemplateRef<any>;
|
|
21
|
-
tableActivate: EventEmitter<any>;
|
|
22
|
-
getInjected: <T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectFlags) => T;
|
|
23
|
-
hasAtLeastOnePermittedAction: boolean;
|
|
24
|
-
entityPropTypeClasses: EntityPropTypeClass;
|
|
25
|
-
readonly columnWidths: number[];
|
|
26
|
-
readonly propList: EntityPropList<R>;
|
|
27
|
-
readonly actionList: EntityActionList<R>;
|
|
28
|
-
readonly trackByFn: TrackByFunction<EntityProp<R>>;
|
|
29
|
-
constructor(locale: string, config: ConfigStateService, injector: Injector);
|
|
30
|
-
private setColumnWidths;
|
|
31
|
-
private getDate;
|
|
32
|
-
private getIcon;
|
|
33
|
-
private getEnum;
|
|
34
|
-
getContent(prop: EntityProp<R>, data: PropData): Observable<string>;
|
|
35
|
-
ngOnChanges({ data }: SimpleChanges): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleTableComponent<any>, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleTableComponent<any>, "abp-extensible-table", ["abpExtensibleTable"], { "actionsText": "actionsText"; "data": "data"; "list": "list"; "recordsTotal": "recordsTotal"; "actionsColumnWidth": "actionsColumnWidth"; "actionsTemplate": "actionsTemplate"; }, { "tableActivate": "tableActivate"; }, never, never, false, never>;
|
|
38
|
-
}
|
|
1
|
+
import { ConfigStateService, ListService } from '@abp/ng.core';
|
|
2
|
+
import { EventEmitter, InjectFlags, InjectionToken, Injector, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, Type } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { EntityActionList } from '../../models/entity-actions';
|
|
5
|
+
import { EntityProp, EntityPropList } from '../../models/entity-props';
|
|
6
|
+
import { PropData } from '../../models/props';
|
|
7
|
+
import { EntityPropTypeClass } from '../../tokens/extensions.token';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ExtensibleTableComponent<R = any> implements OnChanges {
|
|
10
|
+
private locale;
|
|
11
|
+
private config;
|
|
12
|
+
private injector;
|
|
13
|
+
protected _actionsText: string;
|
|
14
|
+
set actionsText(value: string);
|
|
15
|
+
get actionsText(): string;
|
|
16
|
+
data: R[];
|
|
17
|
+
list: ListService;
|
|
18
|
+
recordsTotal: number;
|
|
19
|
+
set actionsColumnWidth(width: number);
|
|
20
|
+
actionsTemplate?: TemplateRef<any>;
|
|
21
|
+
tableActivate: EventEmitter<any>;
|
|
22
|
+
getInjected: <T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectFlags) => T;
|
|
23
|
+
hasAtLeastOnePermittedAction: boolean;
|
|
24
|
+
entityPropTypeClasses: EntityPropTypeClass;
|
|
25
|
+
readonly columnWidths: number[];
|
|
26
|
+
readonly propList: EntityPropList<R>;
|
|
27
|
+
readonly actionList: EntityActionList<R>;
|
|
28
|
+
readonly trackByFn: TrackByFunction<EntityProp<R>>;
|
|
29
|
+
constructor(locale: string, config: ConfigStateService, injector: Injector);
|
|
30
|
+
private setColumnWidths;
|
|
31
|
+
private getDate;
|
|
32
|
+
private getIcon;
|
|
33
|
+
private getEnum;
|
|
34
|
+
getContent(prop: EntityProp<R>, data: PropData): Observable<string>;
|
|
35
|
+
ngOnChanges({ data }: SimpleChanges): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensibleTableComponent<any>, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExtensibleTableComponent<any>, "abp-extensible-table", ["abpExtensibleTable"], { "actionsText": { "alias": "actionsText"; "required": false; }; "data": { "alias": "data"; "required": false; }; "list": { "alias": "list"; "required": false; }; "recordsTotal": { "alias": "recordsTotal"; "required": false; }; "actionsColumnWidth": { "alias": "actionsColumnWidth"; "required": false; }; "actionsTemplate": { "alias": "actionsTemplate"; "required": false; }; }, { "tableActivate": "tableActivate"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Injector, TrackByFunction } from '@angular/core';
|
|
2
|
-
import { EntityAction, EntityActionList } from '../../models/entity-actions';
|
|
3
|
-
import { AbstractActionsComponent } from '../abstract-actions/abstract-actions.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class GridActionsComponent<R = any> extends AbstractActionsComponent<EntityActionList<R>> {
|
|
6
|
-
icon: string;
|
|
7
|
-
readonly index?: number;
|
|
8
|
-
text: string;
|
|
9
|
-
readonly trackByFn: TrackByFunction<EntityAction<R>>;
|
|
10
|
-
constructor(injector: Injector);
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GridActionsComponent<any>, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GridActionsComponent<any>, "abp-grid-actions", ["abpGridActions"], { "icon": "icon"; "index": "index"; "text": "text"; }, {}, never, never, false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { Injector, TrackByFunction } from '@angular/core';
|
|
2
|
+
import { EntityAction, EntityActionList } from '../../models/entity-actions';
|
|
3
|
+
import { AbstractActionsComponent } from '../abstract-actions/abstract-actions.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class GridActionsComponent<R = any> extends AbstractActionsComponent<EntityActionList<R>> {
|
|
6
|
+
icon: string;
|
|
7
|
+
readonly index?: number;
|
|
8
|
+
text: string;
|
|
9
|
+
readonly trackByFn: TrackByFunction<EntityAction<R>>;
|
|
10
|
+
constructor(injector: Injector);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GridActionsComponent<any>, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GridActionsComponent<any>, "abp-grid-actions", ["abpGridActions"], { "icon": { "alias": "icon"; "required": false; }; "index": { "alias": "index"; "required": false; }; "text": { "alias": "text"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Injector, TrackByFunction } from '@angular/core';
|
|
2
|
-
import { HasCreateInjectorPipe, ToolbarAction, ToolbarActionDefault, ToolbarActionList, ToolbarComponent } from '../../models/toolbar-actions';
|
|
3
|
-
import { AbstractActionsComponent } from '../abstract-actions/abstract-actions.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PageToolbarComponent<R = any> extends AbstractActionsComponent<ToolbarActionList<R>> implements HasCreateInjectorPipe<R> {
|
|
6
|
-
readonly injector: Injector;
|
|
7
|
-
defaultBtnClass: string;
|
|
8
|
-
getData: () => {
|
|
9
|
-
readonly index?: number;
|
|
10
|
-
readonly record: R;
|
|
11
|
-
readonly getInjected: <T>(token: import("@angular/core").Type<T> | import("@angular/core").InjectionToken<T>, notFoundValue?: T, flags?: import("@angular/core").InjectOptions | import("@angular/core").InjectFlags) => T;
|
|
12
|
-
};
|
|
13
|
-
readonly trackByFn: TrackByFunction<ToolbarComponent<R>>;
|
|
14
|
-
constructor(injector: Injector);
|
|
15
|
-
asToolbarAction(value: ToolbarActionDefault): {
|
|
16
|
-
value: ToolbarAction;
|
|
17
|
-
};
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageToolbarComponent<any>, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageToolbarComponent<any>, "abp-page-toolbar", ["abpPageToolbar"], {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
1
|
+
import { Injector, TrackByFunction } from '@angular/core';
|
|
2
|
+
import { HasCreateInjectorPipe, ToolbarAction, ToolbarActionDefault, ToolbarActionList, ToolbarComponent } from '../../models/toolbar-actions';
|
|
3
|
+
import { AbstractActionsComponent } from '../abstract-actions/abstract-actions.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PageToolbarComponent<R = any> extends AbstractActionsComponent<ToolbarActionList<R>> implements HasCreateInjectorPipe<R> {
|
|
6
|
+
readonly injector: Injector;
|
|
7
|
+
defaultBtnClass: string;
|
|
8
|
+
getData: () => {
|
|
9
|
+
readonly index?: number;
|
|
10
|
+
readonly record: R;
|
|
11
|
+
readonly getInjected: <T>(token: import("@angular/core").Type<T> | import("@angular/core").InjectionToken<T>, notFoundValue?: T, flags?: import("@angular/core").InjectOptions | import("@angular/core").InjectFlags) => T;
|
|
12
|
+
};
|
|
13
|
+
readonly trackByFn: TrackByFunction<ToolbarComponent<R>>;
|
|
14
|
+
constructor(injector: Injector);
|
|
15
|
+
asToolbarAction(value: ToolbarActionDefault): {
|
|
16
|
+
value: ToolbarAction;
|
|
17
|
+
};
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PageToolbarComponent<any>, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageToolbarComponent<any>, "abp-page-toolbar", ["abpPageToolbar"], {}, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const EXTRA_PROPERTIES_KEY = "extraProperties";
|
|
1
|
+
export declare const EXTRA_PROPERTIES_KEY = "extraProperties";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DisabledDirective implements OnChanges {
|
|
5
|
-
private ngControl;
|
|
6
|
-
abpDisabled: boolean;
|
|
7
|
-
constructor(ngControl: NgControl);
|
|
8
|
-
ngOnChanges({ abpDisabled }: SimpleChanges): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDirective, [{ host: true; }]>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DisabledDirective, "[abpDisabled]", never, { "abpDisabled": "abpDisabled"; }, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class DisabledDirective implements OnChanges {
|
|
5
|
+
private ngControl;
|
|
6
|
+
abpDisabled: boolean;
|
|
7
|
+
constructor(ngControl: NgControl);
|
|
8
|
+
ngOnChanges({ abpDisabled }: SimpleChanges): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDirective, [{ host: true; }]>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DisabledDirective, "[abpDisabled]", never, { "abpDisabled": { "alias": "abpDisabled"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Injector, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { PropData, PropList } from '../models/props';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class PropDataDirective<L extends PropList<any>> extends PropData<InferredData<L>> implements OnChanges, OnDestroy {
|
|
5
|
-
private tempRef;
|
|
6
|
-
private vcRef;
|
|
7
|
-
propList?: L;
|
|
8
|
-
record: InferredData<L>['record'];
|
|
9
|
-
index?: number;
|
|
10
|
-
readonly getInjected: InferredData<L>['getInjected'];
|
|
11
|
-
constructor(tempRef: TemplateRef<any>, vcRef: ViewContainerRef, injector: Injector);
|
|
12
|
-
ngOnChanges(): void;
|
|
13
|
-
ngOnDestroy(): void;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PropDataDirective<any>, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PropDataDirective<any>, "[abpPropData]", ["abpPropData"], { "propList": "abpPropDataFromList"; "record": "abpPropDataWithRecord"; "index": "abpPropDataAtIndex"; }, {}, never, never, false, never>;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export {};
|
|
1
|
+
import { Injector, OnChanges, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { PropData, PropList } from '../models/props';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PropDataDirective<L extends PropList<any>> extends PropData<InferredData<L>> implements OnChanges, OnDestroy {
|
|
5
|
+
private tempRef;
|
|
6
|
+
private vcRef;
|
|
7
|
+
propList?: L;
|
|
8
|
+
record: InferredData<L>['record'];
|
|
9
|
+
index?: number;
|
|
10
|
+
readonly getInjected: InferredData<L>['getInjected'];
|
|
11
|
+
constructor(tempRef: TemplateRef<any>, vcRef: ViewContainerRef, injector: Injector);
|
|
12
|
+
ngOnChanges(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropDataDirective<any>, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PropDataDirective<any>, "[abpPropData]", ["abpPropData"], { "propList": { "alias": "abpPropDataFromList"; "required": false; }; "record": { "alias": "abpPropDataWithRecord"; "required": false; }; "index": { "alias": "abpPropDataAtIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
17
|
+
type InferredData<L> = PropData<InferredRecord<L>>;
|
|
18
|
+
type InferredRecord<L> = L extends PropList<infer R> ? R : never;
|
|
19
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const enum eThemeSharedComponents {
|
|
2
|
-
PasswordComponent = "ThemeShared.Extensions.PasswordComponent"
|
|
3
|
-
}
|
|
1
|
+
export declare const enum eThemeSharedComponents {
|
|
2
|
+
PasswordComponent = "ThemeShared.Extensions.PasswordComponent"
|
|
3
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare const enum ePropType {
|
|
2
|
-
Boolean = "boolean",
|
|
3
|
-
Date = "date",
|
|
4
|
-
DateTime = "datetime",
|
|
5
|
-
Email = "email",
|
|
6
|
-
Enum = "enum",
|
|
7
|
-
Hidden = "hidden",
|
|
8
|
-
MultiSelect = "multiselect",
|
|
9
|
-
Number = "number",
|
|
10
|
-
Password = "password",
|
|
11
|
-
PasswordInputGroup = "passwordinputgroup",
|
|
12
|
-
String = "string",
|
|
13
|
-
Text = "text",
|
|
14
|
-
Time = "time",
|
|
15
|
-
Typeahead = "typeahead"
|
|
16
|
-
}
|
|
1
|
+
export declare const enum ePropType {
|
|
2
|
+
Boolean = "boolean",
|
|
3
|
+
Date = "date",
|
|
4
|
+
DateTime = "datetime",
|
|
5
|
+
Email = "email",
|
|
6
|
+
Enum = "enum",
|
|
7
|
+
Hidden = "hidden",
|
|
8
|
+
MultiSelect = "multiselect",
|
|
9
|
+
Number = "number",
|
|
10
|
+
Password = "password",
|
|
11
|
+
PasswordInputGroup = "passwordinputgroup",
|
|
12
|
+
String = "string",
|
|
13
|
+
Text = "text",
|
|
14
|
+
Time = "time",
|
|
15
|
+
Typeahead = "typeahead"
|
|
16
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { LinkedList } from '@abp/utils';
|
|
2
|
-
import { InjectFlags, InjectionToken, InjectOptions, Type } from '@angular/core';
|
|
3
|
-
import { O } from 'ts-toolbelt';
|
|
4
|
-
export declare abstract class ActionList<R = any, A = Action<R>> extends LinkedList<A> {
|
|
5
|
-
}
|
|
6
|
-
export declare abstract class ActionData<R = any> {
|
|
7
|
-
abstract getInjected: <T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectOptions | InjectFlags) => T;
|
|
8
|
-
index?: number;
|
|
9
|
-
abstract record: R;
|
|
10
|
-
get data(): ReadonlyActionData<R>;
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
export declare abstract class Action<R = any> {
|
|
14
|
-
readonly permission: string;
|
|
15
|
-
readonly visible: ActionPredicate<R>;
|
|
16
|
-
readonly action: ActionCallback<R>;
|
|
17
|
-
constructor(permission: string, visible?: ActionPredicate<R>, action?: ActionCallback<R>);
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export declare abstract class ActionsFactory<C extends Actions<any>> {
|
|
22
|
-
protected abstract _ctor: Type<C>;
|
|
23
|
-
private contributorCallbacks;
|
|
24
|
-
get(name: string): C;
|
|
25
|
-
}
|
|
26
|
-
export declare abstract class Actions<L extends ActionList<any, InferredAction<L>>> {
|
|
27
|
-
private readonly callbackList;
|
|
28
|
-
protected abstract _ctor: Type<L>;
|
|
29
|
-
get actions(): L;
|
|
30
|
-
constructor(callbackList: ActionContributorCallback<L>[]);
|
|
31
|
-
addContributor(contributeCallback: ActionContributorCallback<L>): void;
|
|
32
|
-
clearContributors(): void;
|
|
33
|
-
}
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
1
|
+
import { LinkedList } from '@abp/utils';
|
|
2
|
+
import { InjectFlags, InjectionToken, InjectOptions, Type } from '@angular/core';
|
|
3
|
+
import { O } from 'ts-toolbelt';
|
|
4
|
+
export declare abstract class ActionList<R = any, A = Action<R>> extends LinkedList<A> {
|
|
5
|
+
}
|
|
6
|
+
export declare abstract class ActionData<R = any> {
|
|
7
|
+
abstract getInjected: <T>(token: Type<T> | InjectionToken<T>, notFoundValue?: T, flags?: InjectOptions | InjectFlags) => T;
|
|
8
|
+
index?: number;
|
|
9
|
+
abstract record: R;
|
|
10
|
+
get data(): ReadonlyActionData<R>;
|
|
11
|
+
}
|
|
12
|
+
export type ReadonlyActionData<R = any> = O.Readonly<Omit<ActionData<R>, 'data'>>;
|
|
13
|
+
export declare abstract class Action<R = any> {
|
|
14
|
+
readonly permission: string;
|
|
15
|
+
readonly visible: ActionPredicate<R>;
|
|
16
|
+
readonly action: ActionCallback<R>;
|
|
17
|
+
constructor(permission: string, visible?: ActionPredicate<R>, action?: ActionCallback<R>);
|
|
18
|
+
}
|
|
19
|
+
export type ActionCallback<T, R = any> = (data: Omit<ActionData<T>, 'data'>) => R;
|
|
20
|
+
export type ActionPredicate<T> = (data?: Omit<ActionData<T>, 'data'>) => boolean;
|
|
21
|
+
export declare abstract class ActionsFactory<C extends Actions<any>> {
|
|
22
|
+
protected abstract _ctor: Type<C>;
|
|
23
|
+
private contributorCallbacks;
|
|
24
|
+
get(name: string): C;
|
|
25
|
+
}
|
|
26
|
+
export declare abstract class Actions<L extends ActionList<any, InferredAction<L>>> {
|
|
27
|
+
private readonly callbackList;
|
|
28
|
+
protected abstract _ctor: Type<L>;
|
|
29
|
+
get actions(): L;
|
|
30
|
+
constructor(callbackList: ActionContributorCallback<L>[]);
|
|
31
|
+
addContributor(contributeCallback: ActionContributorCallback<L>): void;
|
|
32
|
+
clearContributors(): void;
|
|
33
|
+
}
|
|
34
|
+
export type ActionContributorCallbacks<L extends ActionList<any, InferredAction<L>>> = Record<string, ActionContributorCallback<L>[]>;
|
|
35
|
+
export type ActionContributorCallback<L extends ActionList<any, InferredAction<L>>> = (actionList: L) => any;
|
|
36
|
+
export type InferredAction<T> = T extends ActionList<any, infer U> ? U : T;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { O } from 'ts-toolbelt';
|
|
3
|
-
import { Action, ActionContributorCallback, ActionContributorCallbacks, ActionList, Actions, ActionsFactory } from './actions';
|
|
4
|
-
export declare class EntityActionList<R = any> extends ActionList<R, EntityAction<R>> {
|
|
5
|
-
}
|
|
6
|
-
export declare class EntityActions<R = any> extends Actions<EntityActionList<R>> {
|
|
7
|
-
protected _ctor: Type<EntityActionList<R>>;
|
|
8
|
-
}
|
|
9
|
-
export declare class EntityActionsFactory<R = any> extends ActionsFactory<EntityActions<R>> {
|
|
10
|
-
protected _ctor: Type<EntityActions<R>>;
|
|
11
|
-
}
|
|
12
|
-
export declare class EntityAction<R = any> extends Action<R> {
|
|
13
|
-
readonly text: string;
|
|
14
|
-
readonly icon: string;
|
|
15
|
-
constructor(options: EntityActionOptions<R>);
|
|
16
|
-
static create<R = any>(options: EntityActionOptions<R>): EntityAction<R>;
|
|
17
|
-
static createMany<R = any>(arrayOfOptions: EntityActionOptions<R>[]): EntityAction<R>[];
|
|
18
|
-
}
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
1
|
+
import { Type } from '@angular/core';
|
|
2
|
+
import { O } from 'ts-toolbelt';
|
|
3
|
+
import { Action, ActionContributorCallback, ActionContributorCallbacks, ActionList, Actions, ActionsFactory } from './actions';
|
|
4
|
+
export declare class EntityActionList<R = any> extends ActionList<R, EntityAction<R>> {
|
|
5
|
+
}
|
|
6
|
+
export declare class EntityActions<R = any> extends Actions<EntityActionList<R>> {
|
|
7
|
+
protected _ctor: Type<EntityActionList<R>>;
|
|
8
|
+
}
|
|
9
|
+
export declare class EntityActionsFactory<R = any> extends ActionsFactory<EntityActions<R>> {
|
|
10
|
+
protected _ctor: Type<EntityActions<R>>;
|
|
11
|
+
}
|
|
12
|
+
export declare class EntityAction<R = any> extends Action<R> {
|
|
13
|
+
readonly text: string;
|
|
14
|
+
readonly icon: string;
|
|
15
|
+
constructor(options: EntityActionOptions<R>);
|
|
16
|
+
static create<R = any>(options: EntityActionOptions<R>): EntityAction<R>;
|
|
17
|
+
static createMany<R = any>(arrayOfOptions: EntityActionOptions<R>[]): EntityAction<R>[];
|
|
18
|
+
}
|
|
19
|
+
export type EntityActionOptions<R = any> = O.Optional<O.Writable<EntityAction<R>>, 'permission' | 'visible' | 'icon'>;
|
|
20
|
+
export type EntityActionDefaults<R = any> = Record<string, EntityAction<R>[]>;
|
|
21
|
+
export type EntityActionContributorCallback<R = any> = ActionContributorCallback<EntityActionList<R>>;
|
|
22
|
+
export type EntityActionContributorCallbacks<R = any> = ActionContributorCallbacks<EntityActionList<R>>;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { ABP } from '@abp/ng.core';
|
|
2
|
-
import { Type } from '@angular/core';
|
|
3
|
-
import { Observable } from 'rxjs';
|
|
4
|
-
import { O } from 'ts-toolbelt';
|
|
5
|
-
import { ActionCallback } from './actions';
|
|
6
|
-
import { Prop, PropCallback, PropContributorCallback, PropContributorCallbacks, PropList, Props, PropsFactory } from './props';
|
|
7
|
-
export declare class EntityPropList<R = any> extends PropList<R, EntityProp<R>> {
|
|
8
|
-
}
|
|
9
|
-
export declare class EntityProps<R = any> extends Props<EntityPropList<R>> {
|
|
10
|
-
protected _ctor: Type<EntityPropList<R>>;
|
|
11
|
-
}
|
|
12
|
-
export declare class EntityPropsFactory<R = any> extends PropsFactory<EntityProps<R>> {
|
|
13
|
-
protected _ctor: Type<EntityProps<R>>;
|
|
14
|
-
}
|
|
15
|
-
export declare class EntityProp<R = any> extends Prop<R> {
|
|
16
|
-
readonly columnWidth: number | undefined;
|
|
17
|
-
readonly sortable: boolean;
|
|
18
|
-
readonly valueResolver: PropCallback<R, Observable<any>>;
|
|
19
|
-
readonly action?: ActionCallback<R>;
|
|
20
|
-
readonly component?: Type<any>;
|
|
21
|
-
readonly enumList?: Array<ABP.Option<any>>;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
static
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
1
|
+
import { ABP } from '@abp/ng.core';
|
|
2
|
+
import { Type } from '@angular/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { O } from 'ts-toolbelt';
|
|
5
|
+
import { ActionCallback } from './actions';
|
|
6
|
+
import { Prop, PropCallback, PropContributorCallback, PropContributorCallbacks, PropList, Props, PropsFactory } from './props';
|
|
7
|
+
export declare class EntityPropList<R = any> extends PropList<R, EntityProp<R>> {
|
|
8
|
+
}
|
|
9
|
+
export declare class EntityProps<R = any> extends Props<EntityPropList<R>> {
|
|
10
|
+
protected _ctor: Type<EntityPropList<R>>;
|
|
11
|
+
}
|
|
12
|
+
export declare class EntityPropsFactory<R = any> extends PropsFactory<EntityProps<R>> {
|
|
13
|
+
protected _ctor: Type<EntityProps<R>>;
|
|
14
|
+
}
|
|
15
|
+
export declare class EntityProp<R = any> extends Prop<R> {
|
|
16
|
+
readonly columnWidth: number | undefined;
|
|
17
|
+
readonly sortable: boolean;
|
|
18
|
+
readonly valueResolver: PropCallback<R, Observable<any>>;
|
|
19
|
+
readonly action?: ActionCallback<R>;
|
|
20
|
+
readonly component?: Type<any>;
|
|
21
|
+
readonly enumList?: Array<ABP.Option<any>>;
|
|
22
|
+
readonly tooltip?: string;
|
|
23
|
+
constructor(options: EntityPropOptions<R>);
|
|
24
|
+
static create<R = any>(options: EntityPropOptions<R>): EntityProp<R>;
|
|
25
|
+
static createMany<R = any>(arrayOfOptions: EntityPropOptions<R>[]): EntityProp<R>[];
|
|
26
|
+
}
|
|
27
|
+
export type EntityPropOptions<R = any> = O.Optional<O.Writable<EntityProp<R>>, 'permission' | 'visible' | 'displayName' | 'isExtra' | 'columnWidth' | 'sortable' | 'valueResolver' | 'action' | 'component' | 'enumList'>;
|
|
28
|
+
export type EntityPropDefaults<R = any> = Record<string, EntityProp<R>[]>;
|
|
29
|
+
export type EntityPropContributorCallback<R = any> = PropContributorCallback<EntityPropList<R>>;
|
|
30
|
+
export type EntityPropContributorCallbacks<R = any> = PropContributorCallbacks<EntityPropList<R>>;
|