@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
|
@@ -2417,40 +2417,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
2417
2417
|
type: Input
|
|
2418
2418
|
}] } });
|
|
2419
2419
|
|
|
2420
|
-
/*
|
|
2421
|
-
<file>
|
|
2422
|
-
Project:
|
|
2423
|
-
@osovitny/anatoly
|
|
2424
|
-
|
|
2425
|
-
Authors:
|
|
2426
|
-
Vadim Osovitny
|
|
2427
|
-
Anatoly Osovitny
|
|
2428
|
-
|
|
2429
|
-
Created:
|
|
2430
|
-
23 Apr 2018
|
|
2431
|
-
|
|
2432
|
-
Version:
|
|
2433
|
-
1.0
|
|
2434
|
-
|
|
2435
|
-
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
2436
|
-
</file>
|
|
2437
|
-
*/
|
|
2438
|
-
class ContentHeaderComponent {
|
|
2439
|
-
ngOnInit() {
|
|
2440
|
-
if (this.title == null) {
|
|
2441
|
-
this.title = "";
|
|
2442
|
-
}
|
|
2443
|
-
}
|
|
2444
|
-
}
|
|
2445
|
-
ContentHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2446
|
-
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" });
|
|
2447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: ContentHeaderComponent, decorators: [{
|
|
2448
|
-
type: Component,
|
|
2449
|
-
args: [{ selector: "anatoly-content-header", template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n" }]
|
|
2450
|
-
}], propDecorators: { title: [{
|
|
2451
|
-
type: Input
|
|
2452
|
-
}] } });
|
|
2453
|
-
|
|
2454
2420
|
/*
|
|
2455
2421
|
<file>
|
|
2456
2422
|
Project:
|
|
@@ -3088,6 +3054,162 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3088
3054
|
type: Input
|
|
3089
3055
|
}] } });
|
|
3090
3056
|
|
|
3057
|
+
/*
|
|
3058
|
+
<file>
|
|
3059
|
+
Project:
|
|
3060
|
+
@osovitny/anatoly
|
|
3061
|
+
|
|
3062
|
+
Authors:
|
|
3063
|
+
Vadim Osovitny
|
|
3064
|
+
Anatoly Osovitny
|
|
3065
|
+
|
|
3066
|
+
Created:
|
|
3067
|
+
29 Jul 2022
|
|
3068
|
+
|
|
3069
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3070
|
+
</file>
|
|
3071
|
+
*/
|
|
3072
|
+
class NodataComponent {
|
|
3073
|
+
constructor() {
|
|
3074
|
+
this.icon = 'fas fa-cubes fa-w-16 fa-9x';
|
|
3075
|
+
this.heading = 'No data found';
|
|
3076
|
+
this.headingClass = 'text-uppercase text-primary';
|
|
3077
|
+
}
|
|
3078
|
+
}
|
|
3079
|
+
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3080
|
+
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" });
|
|
3081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3082
|
+
type: Component,
|
|
3083
|
+
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" }]
|
|
3084
|
+
}], propDecorators: { icon: [{
|
|
3085
|
+
type: Input
|
|
3086
|
+
}], heading: [{
|
|
3087
|
+
type: Input
|
|
3088
|
+
}], headingClass: [{
|
|
3089
|
+
type: Input
|
|
3090
|
+
}] } });
|
|
3091
|
+
|
|
3092
|
+
/*
|
|
3093
|
+
<file>
|
|
3094
|
+
Project:
|
|
3095
|
+
@osovitny/anatoly
|
|
3096
|
+
|
|
3097
|
+
Authors:
|
|
3098
|
+
Vadim Osovitny
|
|
3099
|
+
Anatoly Osovitny
|
|
3100
|
+
|
|
3101
|
+
Created:
|
|
3102
|
+
29 July 2022
|
|
3103
|
+
|
|
3104
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3105
|
+
</file>
|
|
3106
|
+
*/
|
|
3107
|
+
class CardComponent {
|
|
3108
|
+
}
|
|
3109
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3110
|
+
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" });
|
|
3111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardComponent, decorators: [{
|
|
3112
|
+
type: Component,
|
|
3113
|
+
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" }]
|
|
3114
|
+
}], propDecorators: { class: [{
|
|
3115
|
+
type: Input
|
|
3116
|
+
}] } });
|
|
3117
|
+
|
|
3118
|
+
/*
|
|
3119
|
+
<file>
|
|
3120
|
+
Project:
|
|
3121
|
+
@osovitny/anatoly
|
|
3122
|
+
|
|
3123
|
+
Authors:
|
|
3124
|
+
Vadim Osovitny
|
|
3125
|
+
Anatoly Osovitny
|
|
3126
|
+
|
|
3127
|
+
Created:
|
|
3128
|
+
29 July 2022
|
|
3129
|
+
|
|
3130
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3131
|
+
</file>
|
|
3132
|
+
*/
|
|
3133
|
+
class CardHeaderComponent {
|
|
3134
|
+
constructor() {
|
|
3135
|
+
this.isTitleVisible = false;
|
|
3136
|
+
}
|
|
3137
|
+
set title(val) {
|
|
3138
|
+
if (val) {
|
|
3139
|
+
this.isTitleVisible = true;
|
|
3140
|
+
this.titleValue = val;
|
|
3141
|
+
}
|
|
3142
|
+
}
|
|
3143
|
+
ngOnInit() {
|
|
3144
|
+
if (this.title)
|
|
3145
|
+
this.isTitleVisible = true;
|
|
3146
|
+
}
|
|
3147
|
+
}
|
|
3148
|
+
CardHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3149
|
+
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"] }] });
|
|
3150
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardHeaderComponent, decorators: [{
|
|
3151
|
+
type: Component,
|
|
3152
|
+
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" }]
|
|
3153
|
+
}], propDecorators: { class: [{
|
|
3154
|
+
type: Input
|
|
3155
|
+
}], title: [{
|
|
3156
|
+
type: Input
|
|
3157
|
+
}] } });
|
|
3158
|
+
|
|
3159
|
+
/*
|
|
3160
|
+
<file>
|
|
3161
|
+
Project:
|
|
3162
|
+
@osovitny/anatoly
|
|
3163
|
+
|
|
3164
|
+
Authors:
|
|
3165
|
+
Vadim Osovitny
|
|
3166
|
+
Anatoly Osovitny
|
|
3167
|
+
|
|
3168
|
+
Created:
|
|
3169
|
+
29 July 2022
|
|
3170
|
+
|
|
3171
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3172
|
+
</file>
|
|
3173
|
+
*/
|
|
3174
|
+
class CardBodyComponent {
|
|
3175
|
+
}
|
|
3176
|
+
CardBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3177
|
+
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" });
|
|
3178
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardBodyComponent, decorators: [{
|
|
3179
|
+
type: Component,
|
|
3180
|
+
args: [{ selector: 'anatoly-card-body', template: "<div class='card-body {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3181
|
+
}], propDecorators: { class: [{
|
|
3182
|
+
type: Input
|
|
3183
|
+
}], styles: [{
|
|
3184
|
+
type: Input
|
|
3185
|
+
}] } });
|
|
3186
|
+
|
|
3187
|
+
/*
|
|
3188
|
+
<file>
|
|
3189
|
+
Project:
|
|
3190
|
+
@osovitny/anatoly
|
|
3191
|
+
|
|
3192
|
+
Authors:
|
|
3193
|
+
Vadim Osovitny
|
|
3194
|
+
Anatoly Osovitny
|
|
3195
|
+
|
|
3196
|
+
Created:
|
|
3197
|
+
29 July 2022
|
|
3198
|
+
|
|
3199
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3200
|
+
</file>
|
|
3201
|
+
*/
|
|
3202
|
+
class CardFooterComponent {
|
|
3203
|
+
}
|
|
3204
|
+
CardFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3205
|
+
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" });
|
|
3206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: CardFooterComponent, decorators: [{
|
|
3207
|
+
type: Component,
|
|
3208
|
+
args: [{ selector: 'anatoly-card-footer', template: "<div class='card-footer {{class}}'>\r\n <ng-content></ng-content>\r\n</div>\r\n" }]
|
|
3209
|
+
}], propDecorators: { class: [{
|
|
3210
|
+
type: Input
|
|
3211
|
+
}] } });
|
|
3212
|
+
|
|
3091
3213
|
/*
|
|
3092
3214
|
<file>
|
|
3093
3215
|
Project:
|
|
@@ -3570,9 +3692,13 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3570
3692
|
SignInButtonComponent,
|
|
3571
3693
|
SignUpButtonComponent,
|
|
3572
3694
|
SignOutButtonComponent,
|
|
3573
|
-
ContentHeaderComponent,
|
|
3574
3695
|
SpinnerComponent,
|
|
3575
3696
|
LoadingComponent,
|
|
3697
|
+
NodataComponent,
|
|
3698
|
+
CardComponent,
|
|
3699
|
+
CardHeaderComponent,
|
|
3700
|
+
CardBodyComponent,
|
|
3701
|
+
CardFooterComponent,
|
|
3576
3702
|
HtmlEditorComponent,
|
|
3577
3703
|
FormsHtmlEditorComponent,
|
|
3578
3704
|
//Directives
|
|
@@ -3598,9 +3724,13 @@ AnatolyUIModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version
|
|
|
3598
3724
|
SignInButtonComponent,
|
|
3599
3725
|
SignUpButtonComponent,
|
|
3600
3726
|
SignOutButtonComponent,
|
|
3601
|
-
ContentHeaderComponent,
|
|
3602
3727
|
SpinnerComponent,
|
|
3603
3728
|
LoadingComponent,
|
|
3729
|
+
NodataComponent,
|
|
3730
|
+
CardComponent,
|
|
3731
|
+
CardHeaderComponent,
|
|
3732
|
+
CardBodyComponent,
|
|
3733
|
+
CardFooterComponent,
|
|
3604
3734
|
HtmlEditorComponent,
|
|
3605
3735
|
FormsHtmlEditorComponent,
|
|
3606
3736
|
//Directives
|
|
@@ -3644,9 +3774,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3644
3774
|
SignInButtonComponent,
|
|
3645
3775
|
SignUpButtonComponent,
|
|
3646
3776
|
SignOutButtonComponent,
|
|
3647
|
-
ContentHeaderComponent,
|
|
3648
3777
|
SpinnerComponent,
|
|
3649
3778
|
LoadingComponent,
|
|
3779
|
+
NodataComponent,
|
|
3780
|
+
CardComponent,
|
|
3781
|
+
CardHeaderComponent,
|
|
3782
|
+
CardBodyComponent,
|
|
3783
|
+
CardFooterComponent,
|
|
3650
3784
|
HtmlEditorComponent,
|
|
3651
3785
|
FormsHtmlEditorComponent,
|
|
3652
3786
|
//Directives
|
|
@@ -3670,9 +3804,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3670
3804
|
SignInButtonComponent,
|
|
3671
3805
|
SignUpButtonComponent,
|
|
3672
3806
|
SignOutButtonComponent,
|
|
3673
|
-
ContentHeaderComponent,
|
|
3674
3807
|
SpinnerComponent,
|
|
3675
3808
|
LoadingComponent,
|
|
3809
|
+
NodataComponent,
|
|
3810
|
+
CardComponent,
|
|
3811
|
+
CardHeaderComponent,
|
|
3812
|
+
CardBodyComponent,
|
|
3813
|
+
CardFooterComponent,
|
|
3676
3814
|
HtmlEditorComponent,
|
|
3677
3815
|
FormsHtmlEditorComponent,
|
|
3678
3816
|
//Directives
|
|
@@ -3700,5 +3838,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3700
3838
|
* Generated bundle index. Do not edit.
|
|
3701
3839
|
*/
|
|
3702
3840
|
|
|
3703
|
-
export { Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BillingApiService, BuyAccessButtonComponent, ContactUsDialog, ContactUsForm,
|
|
3841
|
+
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 };
|
|
3704
3842
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|