@osovitny/anatoly 2.14.50 → 2.14.52
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/esm2020/lib/ui/components/base/base-edit.component.mjs +138 -0
- package/esm2020/lib/ui/components/base/base.component.mjs +47 -0
- package/esm2020/lib/ui/components/base/base.dialog.mjs +46 -0
- package/esm2020/lib/ui/components/base/base.list.mjs +65 -0
- package/esm2020/lib/ui/components/base/base.page.mjs +31 -0
- package/esm2020/lib/ui/components/base/base.paged.page.mjs +65 -0
- package/esm2020/lib/ui/components/base.list.mjs +2 -2
- package/esm2020/lib/ui/components/base.page.mjs +31 -0
- package/esm2020/lib/ui/components/base.paged.page.mjs +65 -0
- package/esm2020/lib/ui/components/html-editor/base-html-editor.component.mjs +2 -2
- package/esm2020/lib/ui/components/index.mjs +7 -5
- package/esm2020/lib/ui/components/nodata/nodata.component.mjs +3 -3
- package/esm2020/lib/ui/dialogs/contact-us/contact-us.dialog.mjs +2 -2
- package/esm2020/lib/ui/forms/components/dropdownlists/timezone/timezone.dropdownlist.mjs +2 -2
- package/esm2020/lib/ui/forms/components/urlslug/urlslug.component.mjs +2 -2
- package/esm2020/lib/ui/forms/contact-us/contact-us.mjs +2 -2
- package/esm2020/lib/ui/validation/validation-summary.component.mjs +2 -2
- package/fesm2015/osovitny-anatoly.mjs +90 -4
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +90 -4
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/ui/components/base/base-edit.component.d.ts +58 -0
- package/lib/ui/components/base/base.component.d.ts +13 -0
- package/lib/ui/components/base/base.dialog.d.ts +11 -0
- package/lib/ui/components/base/base.list.d.ts +17 -0
- package/lib/ui/components/base/base.page.d.ts +6 -0
- package/lib/ui/components/base/base.paged.page.d.ts +17 -0
- package/lib/ui/components/base.page.d.ts +6 -0
- package/lib/ui/components/base.paged.page.d.ts +17 -0
- package/lib/ui/components/html-editor/base-html-editor.component.d.ts +1 -1
- package/lib/ui/components/index.d.ts +6 -4
- package/lib/ui/dialogs/contact-us/contact-us.dialog.d.ts +1 -1
- package/lib/ui/forms/components/dropdownlists/timezone/timezone.dropdownlist.d.ts +1 -1
- package/lib/ui/forms/components/urlslug/urlslug.component.d.ts +1 -1
- package/lib/ui/forms/contact-us/contact-us.d.ts +1 -1
- package/lib/ui/validation/validation-summary.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3229,10 +3229,10 @@ class NodataComponent {
|
|
|
3229
3229
|
}
|
|
3230
3230
|
}
|
|
3231
3231
|
NodataComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3232
|
-
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\">\r\n <div class='loaded'
|
|
3232
|
+
NodataComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: NodataComponent, selector: "anatoly-nodata", inputs: { dataLoading: "dataLoading", dataLoaded: "dataLoaded", dataFound: "dataFound", icon: "icon", heading: "heading", headingClass: "headingClass" }, ngImport: i0, template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\r\n <div class='loaded'>\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", dependencies: [{ kind: "directive", type: i1$5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3233
3233
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: NodataComponent, decorators: [{
|
|
3234
3234
|
type: Component,
|
|
3235
|
-
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\">\r\n <div class='loaded'
|
|
3235
|
+
args: [{ selector: 'anatoly-nodata', template: "<div class=\"no-data\" *ngIf='dataLoaded && !dataFound'>\r\n <div class='loaded'>\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" }]
|
|
3236
3236
|
}], ctorParameters: function () { return []; }, propDecorators: { dataLoading: [{
|
|
3237
3237
|
type: Input
|
|
3238
3238
|
}], dataLoaded: [{
|
|
@@ -3429,7 +3429,7 @@ class BaseList extends BaseComponent {
|
|
|
3429
3429
|
this.currentFilter = filter;
|
|
3430
3430
|
this.loadPageOne();
|
|
3431
3431
|
}
|
|
3432
|
-
reload(drop2pageOne =
|
|
3432
|
+
reload(drop2pageOne = false) {
|
|
3433
3433
|
if (drop2pageOne) {
|
|
3434
3434
|
this.loadPageOne();
|
|
3435
3435
|
}
|
|
@@ -3454,6 +3454,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
3454
3454
|
}]
|
|
3455
3455
|
}] });
|
|
3456
3456
|
|
|
3457
|
+
/*
|
|
3458
|
+
<file>
|
|
3459
|
+
Project:
|
|
3460
|
+
@osovitny/anatoly
|
|
3461
|
+
|
|
3462
|
+
Authors:
|
|
3463
|
+
Vadim Osovitny
|
|
3464
|
+
Anatoly Osovitny
|
|
3465
|
+
|
|
3466
|
+
Created:
|
|
3467
|
+
20 Aug 2022
|
|
3468
|
+
|
|
3469
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3470
|
+
</file>
|
|
3471
|
+
*/
|
|
3472
|
+
class BasePage extends BaseComponent {
|
|
3473
|
+
}
|
|
3474
|
+
BasePage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BasePage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3475
|
+
BasePage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BasePage, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
3476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BasePage, decorators: [{
|
|
3477
|
+
type: Component,
|
|
3478
|
+
args: [{
|
|
3479
|
+
template: ''
|
|
3480
|
+
}]
|
|
3481
|
+
}] });
|
|
3482
|
+
|
|
3483
|
+
/*
|
|
3484
|
+
<file>
|
|
3485
|
+
Project:
|
|
3486
|
+
@osovitny/anatoly
|
|
3487
|
+
|
|
3488
|
+
Authors:
|
|
3489
|
+
Vadim Osovitny
|
|
3490
|
+
Anatoly Osovitny
|
|
3491
|
+
|
|
3492
|
+
Created:
|
|
3493
|
+
20 Aug 2022
|
|
3494
|
+
|
|
3495
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
3496
|
+
</file>
|
|
3497
|
+
*/
|
|
3498
|
+
class BasePagedPage extends BasePage {
|
|
3499
|
+
constructor() {
|
|
3500
|
+
super(...arguments);
|
|
3501
|
+
this.currentFilter = null;
|
|
3502
|
+
this.totalItems = 0;
|
|
3503
|
+
this.pageSize = 10;
|
|
3504
|
+
this.skipItems = 0;
|
|
3505
|
+
this.currentPage = 1;
|
|
3506
|
+
}
|
|
3507
|
+
loadPageOne() {
|
|
3508
|
+
this.skipItems = 0;
|
|
3509
|
+
this.currentPage = 1;
|
|
3510
|
+
if (this.loadPage) {
|
|
3511
|
+
this.loadPage();
|
|
3512
|
+
}
|
|
3513
|
+
}
|
|
3514
|
+
setFilter(filter) {
|
|
3515
|
+
this.currentFilter = filter;
|
|
3516
|
+
this.loadPageOne();
|
|
3517
|
+
}
|
|
3518
|
+
reload(drop2pageOne = false) {
|
|
3519
|
+
if (drop2pageOne) {
|
|
3520
|
+
this.loadPageOne();
|
|
3521
|
+
}
|
|
3522
|
+
else {
|
|
3523
|
+
this.loadPage();
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
//Events
|
|
3527
|
+
onPageChange(e) {
|
|
3528
|
+
this.pageSize = e.take;
|
|
3529
|
+
this.skipItems = e.skip;
|
|
3530
|
+
this.currentPage = (this.skipItems / this.pageSize) + 1;
|
|
3531
|
+
this.loadPage();
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
BasePagedPage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BasePagedPage, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
3535
|
+
BasePagedPage.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.6", type: BasePagedPage, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
3536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImport: i0, type: BasePagedPage, decorators: [{
|
|
3537
|
+
type: Component,
|
|
3538
|
+
args: [{
|
|
3539
|
+
template: ''
|
|
3540
|
+
}]
|
|
3541
|
+
}] });
|
|
3542
|
+
|
|
3457
3543
|
/*
|
|
3458
3544
|
<file>
|
|
3459
3545
|
Project:
|
|
@@ -4483,5 +4569,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
4483
4569
|
* Generated bundle index. Do not edit.
|
|
4484
4570
|
*/
|
|
4485
4571
|
|
|
4486
|
-
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BaseList, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, CoreApiService, DOM, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, 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, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
4572
|
+
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BaseList, BasePage, BasePagedPage, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, CoreApiService, DOM, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, 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, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
4487
4573
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|