cat-qw-lib 0.41.15 → 0.41.18

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.
@@ -2263,7 +2263,9 @@ class ApiAdminFormComponent extends BaseFormComponent {
2263
2263
  const payload = {
2264
2264
  path: this.record.path,
2265
2265
  getByIDPath: this.record.getByIDPath,
2266
- idProperty: this.record.idProperty
2266
+ idProperty: this.record.idProperty,
2267
+ authHeaderName: this.record.authHeaderName,
2268
+ authToken: this.record.authToken
2267
2269
  };
2268
2270
  if (this.record.path) {
2269
2271
  this.apiAdminService.checkApiByPathName(ROUTES.VALIDATEAPI, payload).subscribe({
@@ -3422,7 +3424,15 @@ class DdAdminItemFormComponent {
3422
3424
  this.baseStore = baseStore;
3423
3425
  this.attributeRecord = new DdAttributeSidebarViewModel();
3424
3426
  }
3427
+ ngOnInit() {
3428
+ this.loadPropertyOption();
3429
+ }
3425
3430
  ngOnChanges(changes) {
3431
+ if (changes[SHARED.ISITEMEXPRESSION]) {
3432
+ this.attributeRecord.mappingInfo = (this.isItemExpression ? this.ddItemRecord.itemExpression : this.ddItemRecord.styleExpression) ?? SHARED.EMPTY;
3433
+ }
3434
+ }
3435
+ loadPropertyOption() {
3426
3436
  this.subscriptions.add(this.dictionaryQuery.selectPropertyData().subscribe((res) => {
3427
3437
  if (res) {
3428
3438
  if (res?.properties?.length) {
@@ -3439,9 +3449,6 @@ class DdAdminItemFormComponent {
3439
3449
  }
3440
3450
  }
3441
3451
  }));
3442
- if (changes[SHARED.ISITEMEXPRESSION]) {
3443
- this.attributeRecord.mappingInfo = (this.isItemExpression ? this.ddItemRecord.itemExpression : this.ddItemRecord.styleExpression) ?? SHARED.EMPTY;
3444
- }
3445
3452
  }
3446
3453
  handleSaveBtnClick(event) {
3447
3454
  if (this.isItemExpression) {
@@ -3517,6 +3524,7 @@ class DdAdminFormComponent extends BaseFormComponent {
3517
3524
  this.init();
3518
3525
  this.sidebarVisibility = new Array(this.record.dictionaryItems.length).fill(false);
3519
3526
  if (this.record.queueID) {
3527
+ console.log(this.record.queueID);
3520
3528
  this.handleGetProperties(this.record.queueID);
3521
3529
  }
3522
3530
  }
@@ -3547,6 +3555,7 @@ class DdAdminFormComponent extends BaseFormComponent {
3547
3555
  this.isItemExpression = SHARED.FALSE;
3548
3556
  }
3549
3557
  handleGetProperties(event) {
3558
+ console.log(event);
3550
3559
  this.service.getAllApiProperties(DATASOURCES.QUEUESAPICONFIG, event).subscribe();
3551
3560
  }
3552
3561
  onSidebarClose(isVisible) {