monkey-front-core 0.0.565 → 0.0.566
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/utils/index.mjs +4 -4
- package/fesm2015/monkey-front-core.mjs +44 -44
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +47 -47
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/utils/index.d.ts +3 -3
- package/monkey-front-core-0.0.566.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.565.tgz +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* eslint-disable object-curly-newline */
|
|
2
|
-
import { MonkeyEcxUtils } from './utils';
|
|
3
|
-
import * as ValidateUtils from './validate-utils';
|
|
4
2
|
import * as DecoratorsUtils from './decorators-utils';
|
|
5
3
|
import * as Statics from './statics';
|
|
6
|
-
|
|
4
|
+
import { MonkeyEcxLogs, MonkeyEcxUtils } from './utils';
|
|
5
|
+
import * as ValidateUtils from './validate-utils';
|
|
7
6
|
export * from './validators';
|
|
8
|
-
|
|
7
|
+
export { DecoratorsUtils, MonkeyEcxLogs, MonkeyEcxUtils, Statics, ValidateUtils };
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9tb25rZXktZnJvbnQtY29yZS9zcmMvbGliL2NvcmUvdXRpbHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEseUNBQXlDO0FBQ3pDLE9BQU8sS0FBSyxlQUFlLE1BQU0sb0JBQW9CLENBQUM7QUFDdEQsT0FBTyxLQUFLLE9BQU8sTUFBTSxXQUFXLENBQUM7QUFDckMsT0FBTyxFQUFFLGFBQWEsRUFBRSxjQUFjLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDeEQsT0FBTyxLQUFLLGFBQWEsTUFBTSxrQkFBa0IsQ0FBQztBQUVsRCxjQUFjLGNBQWMsQ0FBQztBQUM3QixPQUFPLEVBQUUsZUFBZSxFQUFFLGFBQWEsRUFBRSxjQUFjLEVBQUUsT0FBTyxFQUFFLGFBQWEsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyogZXNsaW50LWRpc2FibGUgb2JqZWN0LWN1cmx5LW5ld2xpbmUgKi9cbmltcG9ydCAqIGFzIERlY29yYXRvcnNVdGlscyBmcm9tICcuL2RlY29yYXRvcnMtdXRpbHMnO1xuaW1wb3J0ICogYXMgU3RhdGljcyBmcm9tICcuL3N0YXRpY3MnO1xuaW1wb3J0IHsgTW9ua2V5RWN4TG9ncywgTW9ua2V5RWN4VXRpbHMgfSBmcm9tICcuL3V0aWxzJztcbmltcG9ydCAqIGFzIFZhbGlkYXRlVXRpbHMgZnJvbSAnLi92YWxpZGF0ZS11dGlscyc7XG5cbmV4cG9ydCAqIGZyb20gJy4vdmFsaWRhdG9ycyc7XG5leHBvcnQgeyBEZWNvcmF0b3JzVXRpbHMsIE1vbmtleUVjeExvZ3MsIE1vbmtleUVjeFV0aWxzLCBTdGF0aWNzLCBWYWxpZGF0ZVV0aWxzIH07XG4iXX0=
|
|
@@ -1055,6 +1055,49 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
1055
1055
|
}]
|
|
1056
1056
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
1057
1057
|
|
|
1058
|
+
function buildQueuePropertys(queue) {
|
|
1059
|
+
const params = {
|
|
1060
|
+
item: Object.assign(Object.assign({}, queue), { id: MonkeyEcxUtils.getRandomString(40) }),
|
|
1061
|
+
status: MonkeyEcxQueueEvents.OnGoing
|
|
1062
|
+
};
|
|
1063
|
+
return params;
|
|
1064
|
+
}
|
|
1065
|
+
function buildDownloadPropertys(name, description, size) {
|
|
1066
|
+
const params = {
|
|
1067
|
+
item: {
|
|
1068
|
+
name,
|
|
1069
|
+
description,
|
|
1070
|
+
id: `${MonkeyEcxUtils.getRandomString(40)}`,
|
|
1071
|
+
size,
|
|
1072
|
+
createdAt: new Date()
|
|
1073
|
+
},
|
|
1074
|
+
status: MonkeyEcxQueueEvents.OnGoing
|
|
1075
|
+
};
|
|
1076
|
+
return params;
|
|
1077
|
+
}
|
|
1078
|
+
function buildUploadPropertys(name, description) {
|
|
1079
|
+
const params = {
|
|
1080
|
+
item: {
|
|
1081
|
+
name,
|
|
1082
|
+
description,
|
|
1083
|
+
id: `${MonkeyEcxUtils.getRandomString(40)}`
|
|
1084
|
+
},
|
|
1085
|
+
status: MonkeyEcxUploadEvents.OnGoing
|
|
1086
|
+
};
|
|
1087
|
+
return params;
|
|
1088
|
+
}
|
|
1089
|
+
function hasMonkeyEcxServiceAndHandlingProperties(context) {
|
|
1090
|
+
return Object.prototype.hasOwnProperty.call(context, 'monkeyecxService');
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
var decoratorsUtils = /*#__PURE__*/Object.freeze({
|
|
1094
|
+
__proto__: null,
|
|
1095
|
+
buildQueuePropertys: buildQueuePropertys,
|
|
1096
|
+
buildDownloadPropertys: buildDownloadPropertys,
|
|
1097
|
+
buildUploadPropertys: buildUploadPropertys,
|
|
1098
|
+
hasMonkeyEcxServiceAndHandlingProperties: hasMonkeyEcxServiceAndHandlingProperties
|
|
1099
|
+
});
|
|
1100
|
+
|
|
1058
1101
|
const moment$3 = moment_;
|
|
1059
1102
|
class DateValidator {
|
|
1060
1103
|
static do(control) {
|
|
@@ -1294,49 +1337,6 @@ var validateUtils = /*#__PURE__*/Object.freeze({
|
|
|
1294
1337
|
DateRangeValidator: DateRangeValidator
|
|
1295
1338
|
});
|
|
1296
1339
|
|
|
1297
|
-
function buildQueuePropertys(queue) {
|
|
1298
|
-
const params = {
|
|
1299
|
-
item: Object.assign(Object.assign({}, queue), { id: MonkeyEcxUtils.getRandomString(40) }),
|
|
1300
|
-
status: MonkeyEcxQueueEvents.OnGoing
|
|
1301
|
-
};
|
|
1302
|
-
return params;
|
|
1303
|
-
}
|
|
1304
|
-
function buildDownloadPropertys(name, description, size) {
|
|
1305
|
-
const params = {
|
|
1306
|
-
item: {
|
|
1307
|
-
name,
|
|
1308
|
-
description,
|
|
1309
|
-
id: `${MonkeyEcxUtils.getRandomString(40)}`,
|
|
1310
|
-
size,
|
|
1311
|
-
createdAt: new Date()
|
|
1312
|
-
},
|
|
1313
|
-
status: MonkeyEcxQueueEvents.OnGoing
|
|
1314
|
-
};
|
|
1315
|
-
return params;
|
|
1316
|
-
}
|
|
1317
|
-
function buildUploadPropertys(name, description) {
|
|
1318
|
-
const params = {
|
|
1319
|
-
item: {
|
|
1320
|
-
name,
|
|
1321
|
-
description,
|
|
1322
|
-
id: `${MonkeyEcxUtils.getRandomString(40)}`
|
|
1323
|
-
},
|
|
1324
|
-
status: MonkeyEcxUploadEvents.OnGoing
|
|
1325
|
-
};
|
|
1326
|
-
return params;
|
|
1327
|
-
}
|
|
1328
|
-
function hasMonkeyEcxServiceAndHandlingProperties(context) {
|
|
1329
|
-
return Object.prototype.hasOwnProperty.call(context, 'monkeyecxService');
|
|
1330
|
-
}
|
|
1331
|
-
|
|
1332
|
-
var decoratorsUtils = /*#__PURE__*/Object.freeze({
|
|
1333
|
-
__proto__: null,
|
|
1334
|
-
buildQueuePropertys: buildQueuePropertys,
|
|
1335
|
-
buildDownloadPropertys: buildDownloadPropertys,
|
|
1336
|
-
buildUploadPropertys: buildUploadPropertys,
|
|
1337
|
-
hasMonkeyEcxServiceAndHandlingProperties: hasMonkeyEcxServiceAndHandlingProperties
|
|
1338
|
-
});
|
|
1339
|
-
|
|
1340
1340
|
const moment$2 = moment_;
|
|
1341
1341
|
const EMAIL_REGEXP = /^[\w-.]+@([\w-]+\.)+[\w-]{1,64}$/;
|
|
1342
1342
|
function isEmptyInputValue(value) {
|
|
@@ -7144,5 +7144,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.1", ngImpor
|
|
|
7144
7144
|
* Generated bundle index. Do not edit.
|
|
7145
7145
|
*/
|
|
7146
7146
|
|
|
7147
|
-
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, LService, Link, MECX_ALPHA, MECX_BETA, 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, MonkeyEcxCurrencyCodePipe, 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, minYearsValidator, passwordConfirmValidator, registerValidator, requiredWithTrimValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
7147
|
+
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, LService, Link, MECX_ALPHA, MECX_BETA, 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, MonkeyEcxCurrencyCodePipe, 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, MonkeyEcxLogs, 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, minYearsValidator, passwordConfirmValidator, registerValidator, requiredWithTrimValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
7148
7148
|
//# sourceMappingURL=monkey-front-core.mjs.map
|