@osovitny/anatoly 2.14.10 → 2.14.11
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/assets/styles/scss/mixins/_cards.scss +99 -0
- package/assets/styles/styles.scss +19 -0
- package/esm2020/lib/core/services/appcontext.service.mjs +1 -1
- package/esm2020/lib/ui/components/card/card-body.component.mjs +31 -0
- package/esm2020/lib/ui/components/card/card-footer.component.mjs +29 -0
- package/esm2020/lib/ui/components/card/card-header.component.mjs +45 -0
- package/esm2020/lib/ui/components/card/card.component.mjs +29 -0
- package/esm2020/lib/ui/components/nodata/nodata.component.mjs +38 -0
- package/esm2020/lib/ui/ui.module.mjs +26 -6
- package/esm2020/public-api.mjs +7 -2
- package/fesm2015/osovitny-anatoly.mjs +177 -39
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +177 -39
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/card/card-body.component.d.ts +7 -0
- package/lib/ui/components/card/card-footer.component.d.ts +6 -0
- package/lib/ui/components/card/card-header.component.d.ts +11 -0
- package/lib/ui/components/card/card.component.d.ts +6 -0
- package/lib/ui/components/nodata/nodata.component.d.ts +8 -0
- package/lib/ui/ui.module.d.ts +24 -20
- package/package.json +1 -1
- package/public-api.d.ts +5 -1
- package/esm2020/lib/ui/components/content-header/content-header.component.mjs +0 -37
- package/lib/ui/components/content-header/content-header.component.d.ts +0 -8
|
@@ -2402,40 +2402,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
2402
2402
|
type: Input
|
|
2403
2403
|
}] } });
|
|
2404
2404
|
|
|
2405
|
-
/*
|
|
2406
|
-
<file>
|
|
2407
|
-
Project:
|
|
2408
|
-
@osovitny/anatoly
|
|
2409
|
-
|
|
2410
|
-
Authors:
|
|
2411
|
-
Vadim Osovitny
|
|
2412
|
-
Anatoly Osovitny
|
|
2413
|
-
|
|
2414
|
-
Created:
|
|
2415
|
-
23 Apr 2018
|
|
2416
|
-
|
|
2417
|
-
Version:
|
|
2418
|
-
1.0
|
|
2419
|
-
|
|
2420
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2421
|
-
</file>
|
|
2422
|
-
*/
|
|
2423
|
-
class ContentHeaderComponent {
|
|
2424
|
-
ngOnInit() {
|
|
2425
|
-
if (this.title == null) {
|
|
2426
|
-
this.title = "";
|
|
2427
|
-
}
|
|
2428
|
-
}
|
|
2429
|
-
}
|
|
2430
|
-
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2431
|
-
ContentHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: ContentHeaderComponent, selector: "anatoly-content-header", inputs: { title: "title" }, ngImport: i0, template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" });
|
|
2432
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2433
|
-
type: Component,
|
|
2434
|
-
args: [{ selector: "anatoly-content-header", template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" }]
|
|
2435
|
-
}], propDecorators: { title: [{
|
|
2436
|
-
type: Input
|
|
2437
|
-
}] } });
|
|
2438
|
-
|
|
2439
2405
|
/*
|
|
2440
2406
|
<file>
|
|
2441
2407
|
Project:
|
|
@@ -3076,6 +3042,162 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3076
3042
|
type: Input
|
|
3077
3043
|
}] } });
|
|
3078
3044
|
|
|
3045
|
+
/*
|
|
3046
|
+
<file>
|
|
3047
|
+
Project:
|
|
3048
|
+
@osovitny/anatoly
|
|
3049
|
+
|
|
3050
|
+
Authors:
|
|
3051
|
+
Vadim Osovitny
|
|
3052
|
+
Anatoly Osovitny
|
|
3053
|
+
|
|
3054
|
+
Created:
|
|
3055
|
+
29 Jul 2022
|
|
3056
|
+
|
|
3057
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3058
|
+
</file>
|
|
3059
|
+
*/
|
|
3060
|
+
class NodataComponent {
|
|
3061
|
+
constructor() {
|
|
3062
|
+
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
3063
|
+
this.heading = 'No data found';
|
|
3064
|
+
this.headingClass = 'text-uppercase text-primary';
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3068
|
+
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class=\"text-center\">\r\n <i class='{{icon}}'></i>\r\n <h2 class='{{headingClass}}'>{{heading}}</h2>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" });
|
|
3069
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3070
|
+
type: Component,
|
|
3071
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class=\"text-center\">\r\n <i class='{{icon}}'></i>\r\n <h2 class='{{headingClass}}'>{{heading}}</h2>\r\n <ng-content></ng-content>\r\n </div>\r\n</div>\r\n" }]
|
|
3072
|
+
}], propDecorators: { icon: [{
|
|
3073
|
+
type: Input
|
|
3074
|
+
}], heading: [{
|
|
3075
|
+
type: Input
|
|
3076
|
+
}], headingClass: [{
|
|
3077
|
+
type: Input
|
|
3078
|
+
}] } });
|
|
3079
|
+
|
|
3080
|
+
/*
|
|
3081
|
+
<file>
|
|
3082
|
+
Project:
|
|
3083
|
+
@osovitny/anatoly
|
|
3084
|
+
|
|
3085
|
+
Authors:
|
|
3086
|
+
Vadim Osovitny
|
|
3087
|
+
Anatoly Osovitny
|
|
3088
|
+
|
|
3089
|
+
Created:
|
|
3090
|
+
29 July 2022
|
|
3091
|
+
|
|
3092
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3093
|
+
</file>
|
|
3094
|
+
*/
|
|
3095
|
+
class CardComponent {
|
|
3096
|
+
}
|
|
3097
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3098
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardComponent, selector: "anatoly-card", inputs: { class: "class" }, ngImport: i0, template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" });
|
|
3099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, decorators: [{
|
|
3100
|
+
type: Component,
|
|
3101
|
+
args: [{ selector: 'anatoly-card', template: "<div class='card {{class}}'>\r\n <ng-content select='mex-card-header'></ng-content>\r\n <ng-content select='mex-card-body'></ng-content>\r\n <ng-content></ng-content>\r\n <ng-content select='mex-card-footer'></ng-content>\r\n</div>\r\n" }]
|
|
3102
|
+
}], propDecorators: { class: [{
|
|
3103
|
+
type: Input
|
|
3104
|
+
}] } });
|
|
3105
|
+
|
|
3106
|
+
/*
|
|
3107
|
+
<file>
|
|
3108
|
+
Project:
|
|
3109
|
+
@osovitny/anatoly
|
|
3110
|
+
|
|
3111
|
+
Authors:
|
|
3112
|
+
Vadim Osovitny
|
|
3113
|
+
Anatoly Osovitny
|
|
3114
|
+
|
|
3115
|
+
Created:
|
|
3116
|
+
29 July 2022
|
|
3117
|
+
|
|
3118
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3119
|
+
</file>
|
|
3120
|
+
*/
|
|
3121
|
+
class CardHeaderComponent {
|
|
3122
|
+
constructor() {
|
|
3123
|
+
this.isTitleVisible = false;
|
|
3124
|
+
}
|
|
3125
|
+
set title(val) {
|
|
3126
|
+
if (val) {
|
|
3127
|
+
this.isTitleVisible = true;
|
|
3128
|
+
this.titleValue = val;
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
ngOnInit() {
|
|
3132
|
+
if (this.title)
|
|
3133
|
+
this.isTitleVisible = true;
|
|
3134
|
+
}
|
|
3135
|
+
}
|
|
3136
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3137
|
+
CardHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardHeaderComponent, selector: "anatoly-card-header", inputs: { class: "class", title: "title" }, ngImport: i0, template: "<div class='card-header {{class}}'>\r\n <h3 *ngIf='isTitleVisible' class='card-title'>{{titleValue}}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
3139
|
+
type: Component,
|
|
3140
|
+
args: [{ selector: 'anatoly-card-header', template: "<div class='card-header {{class}}'>\r\n <h3 *ngIf='isTitleVisible' class='card-title'>{{titleValue}}</h3>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3141
|
+
}], propDecorators: { class: [{
|
|
3142
|
+
type: Input
|
|
3143
|
+
}], title: [{
|
|
3144
|
+
type: Input
|
|
3145
|
+
}] } });
|
|
3146
|
+
|
|
3147
|
+
/*
|
|
3148
|
+
<file>
|
|
3149
|
+
Project:
|
|
3150
|
+
@osovitny/anatoly
|
|
3151
|
+
|
|
3152
|
+
Authors:
|
|
3153
|
+
Vadim Osovitny
|
|
3154
|
+
Anatoly Osovitny
|
|
3155
|
+
|
|
3156
|
+
Created:
|
|
3157
|
+
29 July 2022
|
|
3158
|
+
|
|
3159
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3160
|
+
</file>
|
|
3161
|
+
*/
|
|
3162
|
+
class CardBodyComponent {
|
|
3163
|
+
}
|
|
3164
|
+
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3165
|
+
CardBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardBodyComponent, selector: "anatoly-card-body", inputs: { class: "class", styles: "styles" }, ngImport: i0, template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
3166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
3167
|
+
type: Component,
|
|
3168
|
+
args: [{ selector: 'anatoly-card-body', template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3169
|
+
}], propDecorators: { class: [{
|
|
3170
|
+
type: Input
|
|
3171
|
+
}], styles: [{
|
|
3172
|
+
type: Input
|
|
3173
|
+
}] } });
|
|
3174
|
+
|
|
3175
|
+
/*
|
|
3176
|
+
<file>
|
|
3177
|
+
Project:
|
|
3178
|
+
@osovitny/anatoly
|
|
3179
|
+
|
|
3180
|
+
Authors:
|
|
3181
|
+
Vadim Osovitny
|
|
3182
|
+
Anatoly Osovitny
|
|
3183
|
+
|
|
3184
|
+
Created:
|
|
3185
|
+
29 July 2022
|
|
3186
|
+
|
|
3187
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3188
|
+
</file>
|
|
3189
|
+
*/
|
|
3190
|
+
class CardFooterComponent {
|
|
3191
|
+
}
|
|
3192
|
+
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3193
|
+
CardFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: CardFooterComponent, selector: "anatoly-card-footer", inputs: { class: "class" }, ngImport: i0, template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" });
|
|
3194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
3195
|
+
type: Component,
|
|
3196
|
+
args: [{ selector: 'anatoly-card-footer', template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3197
|
+
}], propDecorators: { class: [{
|
|
3198
|
+
type: Input
|
|
3199
|
+
}] } });
|
|
3200
|
+
|
|
3079
3201
|
/*
|
|
3080
3202
|
<file>
|
|
3081
3203
|
Project:
|
|
@@ -3563,9 +3685,13 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3563
3685
|
SignInButtonComponent,
|
|
3564
3686
|
SignUpButtonComponent,
|
|
3565
3687
|
SignOutButtonComponent,
|
|
3566
|
-
ContentHeaderComponent,
|
|
3567
3688
|
SpinnerComponent,
|
|
3568
3689
|
LoadingComponent,
|
|
3690
|
+
NodataComponent,
|
|
3691
|
+
CardComponent,
|
|
3692
|
+
CardHeaderComponent,
|
|
3693
|
+
CardBodyComponent,
|
|
3694
|
+
CardFooterComponent,
|
|
3569
3695
|
HtmlEditorComponent,
|
|
3570
3696
|
FormsHtmlEditorComponent,
|
|
3571
3697
|
//Directives
|
|
@@ -3591,9 +3717,13 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3591
3717
|
SignInButtonComponent,
|
|
3592
3718
|
SignUpButtonComponent,
|
|
3593
3719
|
SignOutButtonComponent,
|
|
3594
|
-
ContentHeaderComponent,
|
|
3595
3720
|
SpinnerComponent,
|
|
3596
3721
|
LoadingComponent,
|
|
3722
|
+
NodataComponent,
|
|
3723
|
+
CardComponent,
|
|
3724
|
+
CardHeaderComponent,
|
|
3725
|
+
CardBodyComponent,
|
|
3726
|
+
CardFooterComponent,
|
|
3597
3727
|
HtmlEditorComponent,
|
|
3598
3728
|
FormsHtmlEditorComponent,
|
|
3599
3729
|
//Directives
|
|
@@ -3637,9 +3767,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3637
3767
|
SignInButtonComponent,
|
|
3638
3768
|
SignUpButtonComponent,
|
|
3639
3769
|
SignOutButtonComponent,
|
|
3640
|
-
ContentHeaderComponent,
|
|
3641
3770
|
SpinnerComponent,
|
|
3642
3771
|
LoadingComponent,
|
|
3772
|
+
NodataComponent,
|
|
3773
|
+
CardComponent,
|
|
3774
|
+
CardHeaderComponent,
|
|
3775
|
+
CardBodyComponent,
|
|
3776
|
+
CardFooterComponent,
|
|
3643
3777
|
HtmlEditorComponent,
|
|
3644
3778
|
FormsHtmlEditorComponent,
|
|
3645
3779
|
//Directives
|
|
@@ -3663,9 +3797,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3663
3797
|
SignInButtonComponent,
|
|
3664
3798
|
SignUpButtonComponent,
|
|
3665
3799
|
SignOutButtonComponent,
|
|
3666
|
-
ContentHeaderComponent,
|
|
3667
3800
|
SpinnerComponent,
|
|
3668
3801
|
LoadingComponent,
|
|
3802
|
+
NodataComponent,
|
|
3803
|
+
CardComponent,
|
|
3804
|
+
CardHeaderComponent,
|
|
3805
|
+
CardBodyComponent,
|
|
3806
|
+
CardFooterComponent,
|
|
3669
3807
|
HtmlEditorComponent,
|
|
3670
3808
|
FormsHtmlEditorComponent,
|
|
3671
3809
|
//Directives
|
|
@@ -3693,5 +3831,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3693
3831
|
* Generated bundle index. Do not edit.
|
|
3694
3832
|
*/
|
|
3695
3833
|
|
|
3696
|
-
export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContactUsDialog, ContactUsForm,
|
|
3834
|
+
export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, ContactUsDialog, ContactUsForm, ContextInitState, Convert, DefaultEditorOptions, DigitalMarketingService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NodataComponent, NotificationService, NotificationsApiService, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, SpinnerComponent, Subs, SubscribePlanButtonComponent, TranslateModuleAtRoot, UpgradePlanButtonComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
3697
3835
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|