monkey-front-core 0.0.297 → 0.0.299
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/store/reducers/monkeyecx-seeder.reducer.mjs +6 -1
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs +36 -26
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +36 -26
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.299.tgz +0 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/monkey-front-core-0.0.297.tgz +0 -0
|
@@ -5440,34 +5440,11 @@ var monkeyecxStorage_actions = /*#__PURE__*/Object.freeze({
|
|
|
5440
5440
|
deleteOne: deleteOne
|
|
5441
5441
|
});
|
|
5442
5442
|
|
|
5443
|
-
var index$
|
|
5443
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
5444
5444
|
__proto__: null,
|
|
5445
5445
|
monkeyecxStorage: monkeyecxStorage_actions
|
|
5446
5446
|
});
|
|
5447
5447
|
|
|
5448
|
-
const seederReducer = (reducer) => {
|
|
5449
|
-
return (state, action) => {
|
|
5450
|
-
/* if (action.type === INIT || action.type === UPDATE) {
|
|
5451
|
-
const storageValue = localStorage.getItem('state');
|
|
5452
|
-
if (storageValue) {
|
|
5453
|
-
try {
|
|
5454
|
-
return JSON.parse(storageValue);
|
|
5455
|
-
} catch {
|
|
5456
|
-
localStorage.removeItem('state');
|
|
5457
|
-
}
|
|
5458
|
-
}
|
|
5459
|
-
} */
|
|
5460
|
-
const nextState = reducer(state, action);
|
|
5461
|
-
localStorage.setItem('state', JSON.stringify(nextState));
|
|
5462
|
-
return nextState;
|
|
5463
|
-
};
|
|
5464
|
-
};
|
|
5465
|
-
|
|
5466
|
-
var monkeyecxSeeder_reducer = /*#__PURE__*/Object.freeze({
|
|
5467
|
-
__proto__: null,
|
|
5468
|
-
seederReducer: seederReducer
|
|
5469
|
-
});
|
|
5470
|
-
|
|
5471
5448
|
const featureKey = 'mecx-core-storage';
|
|
5472
5449
|
const adapter = createEntityAdapter({
|
|
5473
5450
|
selectId: (item) => {
|
|
@@ -5517,12 +5494,45 @@ var monkeyecxStorage_reducer = /*#__PURE__*/Object.freeze({
|
|
|
5517
5494
|
selectTotal: selectTotal
|
|
5518
5495
|
});
|
|
5519
5496
|
|
|
5520
|
-
|
|
5497
|
+
const seederReducer = (reducer) => {
|
|
5498
|
+
return (state, action) => {
|
|
5499
|
+
/* if (action.type === INIT || action.type === UPDATE) {
|
|
5500
|
+
const storageValue = localStorage.getItem('state');
|
|
5501
|
+
if (storageValue) {
|
|
5502
|
+
try {
|
|
5503
|
+
return JSON.parse(storageValue);
|
|
5504
|
+
} catch {
|
|
5505
|
+
localStorage.removeItem('state');
|
|
5506
|
+
}
|
|
5507
|
+
}
|
|
5508
|
+
} */
|
|
5509
|
+
const nextState = reducer(state, action);
|
|
5510
|
+
const data = nextState?.[featureKey];
|
|
5511
|
+
console.log('@#@@@@@');
|
|
5512
|
+
console.log(data);
|
|
5513
|
+
console.log('@#@@@@@');
|
|
5514
|
+
localStorage.setItem('state', JSON.stringify(nextState));
|
|
5515
|
+
return nextState;
|
|
5516
|
+
};
|
|
5517
|
+
};
|
|
5518
|
+
|
|
5519
|
+
var monkeyecxSeeder_reducer = /*#__PURE__*/Object.freeze({
|
|
5520
|
+
__proto__: null,
|
|
5521
|
+
seederReducer: seederReducer
|
|
5522
|
+
});
|
|
5523
|
+
|
|
5524
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
5521
5525
|
__proto__: null,
|
|
5522
5526
|
fromMonkeyecxSeeder: monkeyecxSeeder_reducer,
|
|
5523
5527
|
fromMonkeyecxStorage: monkeyecxStorage_reducer
|
|
5524
5528
|
});
|
|
5525
5529
|
|
|
5530
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
5531
|
+
__proto__: null,
|
|
5532
|
+
actions: index$2,
|
|
5533
|
+
reducers: index$1
|
|
5534
|
+
});
|
|
5535
|
+
|
|
5526
5536
|
/*
|
|
5527
5537
|
* Public API Surface of monkey-front-core
|
|
5528
5538
|
*/
|
|
@@ -5531,5 +5541,5 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
5531
5541
|
* Generated bundle index. Do not edit.
|
|
5532
5542
|
*/
|
|
5533
5543
|
|
|
5534
|
-
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, 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,
|
|
5544
|
+
export { AlertsComponent, AlertsModule, ClosedToMaintenanceComponent, ClosedToMaintenanceModule, CurrencyConfigComponent, CurrencyConfigModule, decoratorsUtils as DecoratorsUtils, Link, MonkeyEcxAlertsService, MonkeyEcxAuthGuard, MonkeyEcxAuthGuardCompany, MonkeyEcxAuthGuardLogin, MonkeyEcxAuthenticationService, MonkeyEcxBlobSecurePipe, MonkeyEcxCommonsService, MonkeyEcxConfigModule, MonkeyEcxConfigService, MonkeyEcxCookieStorageService, MonkeyEcxCoreCharts, MonkeyEcxCoreClearDecorators, MonkeyEcxCoreLog, MonkeyEcxCoreService, MonkeyEcxCoreServiceConstructor, MonkeyEcxCoreServicePaged, MonkeyEcxCoreServiceQueue, MonkeyEcxCurrencyConfigService, MonkeyEcxDirectivesModule, MonkeyEcxDiscoveryParamsService, MonkeyEcxDisplayFirstNamePipe, MonkeyEcxDisplayInitialsPipe, MonkeyEcxDragDropDirective, MonkeyEcxErrorConfigService, MonkeyEcxErrorHandlingModule, MonkeyEcxErrorHandlingService, MonkeyEcxFeatureByProgramDirective, MonkeyEcxFeatureDirective, MonkeyEcxFeatureToggleService, MonkeyEcxFormatAddressPipe, MonkeyEcxFormatBeaufityJSONPipe, MonkeyEcxFormatCurrency, MonkeyEcxFormatCurrencyPipe, MonkeyEcxFormatDateGroupPipe, MonkeyEcxFormatDateTimelapsePipe, MonkeyEcxFormatDateUnixTimelapsePipe, MonkeyEcxFormatDocumentPipe, MonkeyEcxFormatDocumentTypePipe, MonkeyEcxFormatNumberPipe, MonkeyEcxFormatPhonePipe, MonkeyEcxFormatSizePipe, MonkeyEcxFormatTaxPipe, MonkeyEcxFormatUpper, MonkeyEcxFormatValue, MonkeyEcxFormatZipCodePipe, MonkeyEcxHandlingService, MonkeyEcxHttpConfigErrorInterceptor, MonkeyEcxHttpConfigHeaderInterceptor, MonkeyEcxHttpConfigInterceptorModule, MonkeyEcxHttpConfigLoadingInProgressInterceptor, MonkeyEcxHttpConfigQueueInterceptor, MonkeyEcxHttpErrorHandlingService, 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, documentValidator, emailValidator, passwordConfirmValidator, registerValidator, index as store, trueValidator, urlValidator, valueGreaterThanZero, zipCodeValidator };
|
|
5535
5545
|
//# sourceMappingURL=monkey-front-core.mjs.map
|