monkey-front-components 0.0.434 → 0.0.436
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/components/shared/filter/options/options.component.mjs +2 -2
- package/esm2020/lib/components/shared/filter/selected/item/currency/currency.component.mjs +12 -5
- package/esm2020/lib/components/shared/filter/selected/item/date-range/date-range.component.mjs +12 -5
- package/esm2020/lib/components/shared/filter/selected/item/date-with-action/date-with-action.component.mjs +12 -5
- package/esm2020/lib/components/shared/filter/selected/item/input/input.component.mjs +11 -5
- package/esm2020/lib/components/shared/filter/selected/item/status/status.component.mjs +12 -5
- package/fesm2015/monkey-front-components.mjs +58 -24
- package/fesm2015/monkey-front-components.mjs.map +1 -1
- package/fesm2020/monkey-front-components.mjs +55 -21
- package/fesm2020/monkey-front-components.mjs.map +1 -1
- package/monkey-front-components-0.0.436.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-components-0.0.434.tgz +0 -0
|
@@ -1367,12 +1367,19 @@ class MECXFilterSelectedItemDateWithActionComponent {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
ngOnChanges(changes) {
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1370
|
+
try {
|
|
1371
|
+
if (changes.option) {
|
|
1372
|
+
const { currentValue } = changes.option;
|
|
1373
|
+
if (currentValue && JSON.stringify(currentValue) !== '{}') {
|
|
1374
|
+
this.onHandleSelectedValue(currentValue);
|
|
1375
|
+
}
|
|
1374
1376
|
}
|
|
1375
1377
|
}
|
|
1378
|
+
catch (e) {
|
|
1379
|
+
console.log('=======12');
|
|
1380
|
+
console.log(e);
|
|
1381
|
+
console.log(changes);
|
|
1382
|
+
}
|
|
1376
1383
|
}
|
|
1377
1384
|
}
|
|
1378
1385
|
MECXFilterSelectedItemDateWithActionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemDateWithActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1406,12 +1413,19 @@ class MECXFilterSelectedItemDateRangeComponent {
|
|
|
1406
1413
|
}
|
|
1407
1414
|
}
|
|
1408
1415
|
ngOnChanges(changes) {
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1416
|
+
try {
|
|
1417
|
+
if (changes.option) {
|
|
1418
|
+
const { currentValue } = changes.option;
|
|
1419
|
+
if (currentValue && JSON.stringify(currentValue) !== '{}') {
|
|
1420
|
+
this.onHandleSelectedValue(currentValue);
|
|
1421
|
+
}
|
|
1413
1422
|
}
|
|
1414
1423
|
}
|
|
1424
|
+
catch (e) {
|
|
1425
|
+
console.log('=======12');
|
|
1426
|
+
console.log(e);
|
|
1427
|
+
console.log(changes);
|
|
1428
|
+
}
|
|
1415
1429
|
}
|
|
1416
1430
|
}
|
|
1417
1431
|
MECXFilterSelectedItemDateRangeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemDateRangeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1481,12 +1495,19 @@ class MECXFilterSelectedItemCurrencyComponent {
|
|
|
1481
1495
|
this._value = value;
|
|
1482
1496
|
}
|
|
1483
1497
|
ngOnChanges(changes) {
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1498
|
+
try {
|
|
1499
|
+
if (changes.option) {
|
|
1500
|
+
const { currentValue } = changes.option;
|
|
1501
|
+
if (currentValue && JSON.stringify(currentValue) !== '{}') {
|
|
1502
|
+
this.onHandleSelectedValue(currentValue);
|
|
1503
|
+
}
|
|
1488
1504
|
}
|
|
1489
1505
|
}
|
|
1506
|
+
catch (e) {
|
|
1507
|
+
console.log('=======13');
|
|
1508
|
+
console.log(e);
|
|
1509
|
+
console.log(changes);
|
|
1510
|
+
}
|
|
1490
1511
|
}
|
|
1491
1512
|
}
|
|
1492
1513
|
MECXFilterSelectedItemCurrencyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemCurrencyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1507,12 +1528,18 @@ class MECXFilterSelectedItemInputComponent {
|
|
|
1507
1528
|
this._value = value;
|
|
1508
1529
|
}
|
|
1509
1530
|
ngOnChanges(changes) {
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1531
|
+
try {
|
|
1532
|
+
if (changes.option) {
|
|
1533
|
+
const { currentValue } = changes.option;
|
|
1534
|
+
if (currentValue && JSON.stringify(currentValue) !== '{}') {
|
|
1535
|
+
this.onHandleSelectedValue(currentValue);
|
|
1536
|
+
}
|
|
1514
1537
|
}
|
|
1515
1538
|
}
|
|
1539
|
+
catch (e) {
|
|
1540
|
+
console.log('=======11');
|
|
1541
|
+
console.log(e);
|
|
1542
|
+
}
|
|
1516
1543
|
}
|
|
1517
1544
|
}
|
|
1518
1545
|
MECXFilterSelectedItemInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1541,12 +1568,19 @@ class MECXFilterSelectedItemStatusComponent {
|
|
|
1541
1568
|
this._labelMoreValues = '';
|
|
1542
1569
|
}
|
|
1543
1570
|
ngOnChanges(changes) {
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1571
|
+
try {
|
|
1572
|
+
if (changes.option) {
|
|
1573
|
+
const { currentValue } = changes.option;
|
|
1574
|
+
if (currentValue && JSON.stringify(currentValue) !== '{}') {
|
|
1575
|
+
this.onHandleSelectedValue(currentValue);
|
|
1576
|
+
}
|
|
1548
1577
|
}
|
|
1549
1578
|
}
|
|
1579
|
+
catch (e) {
|
|
1580
|
+
console.log('=======10');
|
|
1581
|
+
console.log(e);
|
|
1582
|
+
console.log(changes);
|
|
1583
|
+
}
|
|
1550
1584
|
}
|
|
1551
1585
|
}
|
|
1552
1586
|
MECXFilterSelectedItemStatusComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.1", ngImport: i0, type: MECXFilterSelectedItemStatusComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -1853,7 +1887,7 @@ class MECXFilterOptionsComponent extends BaseComponent {
|
|
|
1853
1887
|
ngOnInit() {
|
|
1854
1888
|
const { option } = this;
|
|
1855
1889
|
try {
|
|
1856
|
-
option?.values$?.pipe(takeUntil(this.__unsubscribeAll)).subscribe((data) => {
|
|
1890
|
+
option?.values$?.()?.pipe(takeUntil(this.__unsubscribeAll)).subscribe((data) => {
|
|
1857
1891
|
console.log('!@@@@@@@@@@@@@@@@@@@@');
|
|
1858
1892
|
console.log(data);
|
|
1859
1893
|
this.option.values = data;
|