monkey-front-core 0.0.537 → 0.0.538
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/core/directives/index.mjs +2 -1
- package/esm2020/lib/core/directives/monkeyecx-directives-module.mjs +6 -1
- package/esm2020/lib/core/directives/monkeyecx-loading.mjs +48 -0
- package/fesm2015/monkey-front-core.mjs +51 -1
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +51 -1
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/directives/index.d.ts +1 -0
- package/lib/core/directives/monkeyecx-directives-module.d.ts +7 -6
- package/lib/core/directives/monkeyecx-loading.d.ts +16 -0
- package/monkey-front-core-0.0.538.tgz +0 -0
- package/package.json +3 -3
- package/monkey-front-core-0.0.537.tgz +0 -0
|
@@ -6503,6 +6503,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6503
6503
|
args: ['featureName']
|
|
6504
6504
|
}] } });
|
|
6505
6505
|
|
|
6506
|
+
class MonkeyEcxLoadingDirective {
|
|
6507
|
+
constructor(templateRef, viewContainer, elementRef) {
|
|
6508
|
+
this.templateRef = templateRef;
|
|
6509
|
+
this.viewContainer = viewContainer;
|
|
6510
|
+
this.elementRef = elementRef;
|
|
6511
|
+
this.view = null;
|
|
6512
|
+
this.loadingElement = null;
|
|
6513
|
+
this.monkeyecxLoading = false;
|
|
6514
|
+
this.monkeyecxLoadingSize = 'sm';
|
|
6515
|
+
}
|
|
6516
|
+
ngOnChanges(changes) {
|
|
6517
|
+
if (changes['monkeyecxLoading'] || changes['monkeyecxLoadingSize']) {
|
|
6518
|
+
this.updateView();
|
|
6519
|
+
}
|
|
6520
|
+
}
|
|
6521
|
+
updateView() {
|
|
6522
|
+
if (this.monkeyecxLoading) {
|
|
6523
|
+
if (this.view)
|
|
6524
|
+
this.viewContainer.clear();
|
|
6525
|
+
this.loadingElement = document.createElement('div');
|
|
6526
|
+
this.loadingElement.className = `mecx-loading ${this.monkeyecxLoadingSize}`;
|
|
6527
|
+
this.elementRef.nativeElement.parentNode.insertBefore(this.loadingElement, this.elementRef.nativeElement.nextSibling);
|
|
6528
|
+
}
|
|
6529
|
+
else {
|
|
6530
|
+
if (this.loadingElement && this.loadingElement.parentNode) {
|
|
6531
|
+
this.loadingElement.parentNode.removeChild(this.loadingElement);
|
|
6532
|
+
this.loadingElement = null;
|
|
6533
|
+
}
|
|
6534
|
+
this.viewContainer.clear();
|
|
6535
|
+
this.view = this.viewContainer.createEmbeddedView(this.templateRef);
|
|
6536
|
+
}
|
|
6537
|
+
}
|
|
6538
|
+
}
|
|
6539
|
+
MonkeyEcxLoadingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLoadingDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6540
|
+
MonkeyEcxLoadingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.1.1", type: MonkeyEcxLoadingDirective, selector: "[monkeyecxLoading]", inputs: { monkeyecxLoading: "monkeyecxLoading", monkeyecxLoadingSize: "monkeyecxLoadingSize" }, usesOnChanges: true, ngImport: i0 });
|
|
6541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxLoadingDirective, decorators: [{
|
|
6542
|
+
type: Directive,
|
|
6543
|
+
args: [{
|
|
6544
|
+
selector: '[monkeyecxLoading]'
|
|
6545
|
+
}]
|
|
6546
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }]; }, propDecorators: { monkeyecxLoading: [{
|
|
6547
|
+
type: Input
|
|
6548
|
+
}], monkeyecxLoadingSize: [{
|
|
6549
|
+
type: Input
|
|
6550
|
+
}] } });
|
|
6551
|
+
|
|
6506
6552
|
class MonkeyEcxDirectivesModule {
|
|
6507
6553
|
}
|
|
6508
6554
|
MonkeyEcxDirectivesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MonkeyEcxDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -6514,6 +6560,7 @@ MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
6514
6560
|
MonkeyEcxOnlyAlphaNumericDirective,
|
|
6515
6561
|
MonkeyEcxOnlyNumbersDirective,
|
|
6516
6562
|
MonkeyEcxSecurityDirective,
|
|
6563
|
+
MonkeyEcxLoadingDirective,
|
|
6517
6564
|
MonkeyEcxTooltipDirective,
|
|
6518
6565
|
MonkeyEcxPopoverDirective,
|
|
6519
6566
|
MonkeyEcxPopoverOptionsDirective], imports: [CommonModule, OverlayModule], exports: [MonkeyEcxDragDropDirective,
|
|
@@ -6521,6 +6568,7 @@ MonkeyEcxDirectivesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0
|
|
|
6521
6568
|
MonkeyEcxFeatureDirective,
|
|
6522
6569
|
MonkeyEcxFeatureByProgramDirective,
|
|
6523
6570
|
MonkeyEcxFormatUpper,
|
|
6571
|
+
MonkeyEcxLoadingDirective,
|
|
6524
6572
|
MonkeyEcxOnlyAlphaNumericDirective,
|
|
6525
6573
|
MonkeyEcxOnlyNumbersDirective,
|
|
6526
6574
|
MonkeyEcxSecurityDirective,
|
|
@@ -6540,6 +6588,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6540
6588
|
MonkeyEcxOnlyAlphaNumericDirective,
|
|
6541
6589
|
MonkeyEcxOnlyNumbersDirective,
|
|
6542
6590
|
MonkeyEcxSecurityDirective,
|
|
6591
|
+
MonkeyEcxLoadingDirective,
|
|
6543
6592
|
MonkeyEcxTooltipDirective,
|
|
6544
6593
|
MonkeyEcxPopoverDirective,
|
|
6545
6594
|
MonkeyEcxPopoverOptionsDirective
|
|
@@ -6551,6 +6600,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6551
6600
|
MonkeyEcxFeatureDirective,
|
|
6552
6601
|
MonkeyEcxFeatureByProgramDirective,
|
|
6553
6602
|
MonkeyEcxFormatUpper,
|
|
6603
|
+
MonkeyEcxLoadingDirective,
|
|
6554
6604
|
MonkeyEcxOnlyAlphaNumericDirective,
|
|
6555
6605
|
MonkeyEcxOnlyNumbersDirective,
|
|
6556
6606
|
MonkeyEcxSecurityDirective,
|
|
@@ -6930,5 +6980,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
6930
6980
|
* Generated bundle index. Do not edit.
|
|
6931
6981
|
*/
|
|
6932
6982
|
|
|
6933
|
-
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MECX_DATE_FORMAT, MECX_ENV, MECX_LANG, MECX_TIMEZONEOFFSET, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsActions, MonkeyEcxCommonsResolveBaseService, MonkeyEcxCommonsResolveService, MonkeyEcxCommonsSelectors, MonkeyEcxCommonsService, MonkeyEcxCommonsStoreBaseService, MonkeyEcxCommonsStoreService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDisplaySupportPhone, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDatePipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLinksModel, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPaginationService, MonkeyEcxPipesModule, MonkeyEcxPopoverDirective, MonkeyEcxPopoverOptionsDirective, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModule, OpSearch, POPOVER_OPTIONS, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, differentFromZero, documentValidator, documentValidatorByType, emailValidator, passwordConfirmValidator, registerValidator, requiredWithTrimValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
6983
|
+
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MECX_DATE_FORMAT, MECX_ENV, MECX_LANG, MECX_TIMEZONEOFFSET, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardByRole, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsActions, MonkeyEcxCommonsResolveBaseService, MonkeyEcxCommonsResolveService, MonkeyEcxCommonsSelectors, MonkeyEcxCommonsService, MonkeyEcxCommonsStoreBaseService, MonkeyEcxCommonsStoreService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDisplaySupportPhone, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDatePipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, MonkeyEcxLinksModel, MonkeyEcxLoadingDirective, MonkeyEcxLoggedHandlingService, MonkeyEcxLogsConfigService, MonkeyEcxMaintenanceConfigService, MonkeyEcxModel, MonkeyEcxOnlyAlphaNumericDirective, MonkeyEcxOnlyNumbersDirective, MonkeyEcxOthersErrorsHandlingService, MonkeyEcxPaginationService, MonkeyEcxPipesModule, MonkeyEcxPopoverDirective, MonkeyEcxPopoverOptionsDirective, MonkeyEcxProgressBarComponent, MonkeyEcxProgressBarModule, MonkeyEcxProgressBarService, MonkeyEcxRequestDownloadHandlingService, MonkeyEcxRequestDownloadedHandlingService, MonkeyEcxRequestPagedHandling, MonkeyEcxRequestQueueHandlingService, MonkeyEcxRequestQueueModalHandlingService, MonkeyEcxRequestScheduleService, MonkeyEcxSecurityConsoleConfigService, MonkeyEcxSecurityDirective, MonkeyEcxService, MonkeyEcxServiceDownload, MonkeyEcxServiceUpload, MonkeyEcxServiceWorkerConfigService, MonkeyEcxSpecificationSearch, MonkeyEcxTextTruncatePipe, MonkeyEcxTokenStorageService, MonkeyEcxTooltipDirective, MonkeyEcxTruncateQtdPipe, MonkeyEcxUtils, MonkeyEcxi18nConfigService, MonkeyFrontCoreModule, OpSearch, POPOVER_OPTIONS, statics as Statics, validateUtils as ValidateUtils, Validators, VersionChangedComponent, VersionChangedModule, comboValidator, dateRangeValidator, dateStartEndValidator, dateValidator, differentFromZero, documentValidator, documentValidatorByType, emailValidator, passwordConfirmValidator, registerValidator, requiredWithTrimValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
6934
6984
|
//# sourceMappingURL=monkey-front-core.mjs.map
|