@forgeroute/ui 0.5.5 → 0.5.7

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.
@@ -3705,10 +3705,14 @@ var SendEmailComponent = class SendEmailComponent {
3705
3705
  }
3706
3706
  ngOnInit() {
3707
3707
  this.includeReceipt = this.receiptDefault();
3708
- this.http.get(`${this.apiBase}/service-areas?size=100`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({ next: (resp) => {
3709
- this.marketVars = marketVarsFrom(resp);
3710
- this.notifyValid();
3711
- } });
3708
+ if (!this.marketValues()) return;
3709
+ this.http.get(`${this.apiBase}/service-areas?size=100`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
3710
+ next: (resp) => {
3711
+ this.marketVars = marketVarsFrom(resp);
3712
+ this.notifyValid();
3713
+ },
3714
+ error: () => {}
3715
+ });
3712
3716
  }
3713
3717
  constructor() {
3714
3718
  this.labels = inject(UiLabelsService);
@@ -3809,6 +3813,7 @@ var SendEmailComponent = class SendEmailComponent {
3809
3813
  key: "template",
3810
3814
  label: this.labels.t("messagingSendMessagePanel.tabTemplate")
3811
3815
  }], ...ngDevMode ? [{ debugName: "modeTabs" }] : /* istanbul ignore next */ []);
3816
+ this.marketValues = input(true, ...ngDevMode ? [{ debugName: "marketValues" }] : /* istanbul ignore next */ []);
3812
3817
  this.marketVars = {};
3813
3818
  this._appliedDefaults = {
3814
3819
  subject: "",
@@ -4564,6 +4569,13 @@ var SendEmailComponent = class SendEmailComponent {
4564
4569
  isSignal: true,
4565
4570
  isRequired: false,
4566
4571
  transformFunction: null
4572
+ },
4573
+ marketValues: {
4574
+ classPropertyName: "marketValues",
4575
+ publicName: "marketValues",
4576
+ isSignal: true,
4577
+ isRequired: false,
4578
+ transformFunction: null
4567
4579
  }
4568
4580
  },
4569
4581
  outputs: {
@@ -5744,6 +5756,14 @@ i0.ɵɵngDeclareClassMetadata({
5744
5756
  mapFieldsClick: [{
5745
5757
  type: i0.Output,
5746
5758
  args: ["mapFieldsClick"]
5759
+ }],
5760
+ marketValues: [{
5761
+ type: i0.Input,
5762
+ args: [{
5763
+ isSignal: true,
5764
+ alias: "marketValues",
5765
+ required: false
5766
+ }]
5747
5767
  }]
5748
5768
  }
5749
5769
  });
@@ -6336,10 +6356,14 @@ var SendTextComponent = class SendTextComponent {
6336
6356
  return this.bulk() ? PERSONAL_TAG_KEYS : [];
6337
6357
  }
6338
6358
  ngOnInit() {
6339
- this.http.get(`${this.apiBase}/service-areas?size=100`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({ next: (resp) => {
6340
- this.marketVars = marketVarsFrom(resp);
6341
- this.notifyValid();
6342
- } });
6359
+ if (!this.marketValues()) return;
6360
+ this.http.get(`${this.apiBase}/service-areas?size=100`).pipe(takeUntilDestroyed(this.destroyRef)).subscribe({
6361
+ next: (resp) => {
6362
+ this.marketVars = marketVarsFrom(resp);
6363
+ this.notifyValid();
6364
+ },
6365
+ error: () => {}
6366
+ });
6343
6367
  }
6344
6368
  constructor() {
6345
6369
  this.labels = inject(UiLabelsService);
@@ -6424,6 +6448,7 @@ var SendTextComponent = class SendTextComponent {
6424
6448
  key: "template",
6425
6449
  label: this.labels.t("messagingSendMessagePanel.tabTemplate")
6426
6450
  }], ...ngDevMode ? [{ debugName: "modeTabs" }] : /* istanbul ignore next */ []);
6451
+ this.marketValues = input(true, ...ngDevMode ? [{ debugName: "marketValues" }] : /* istanbul ignore next */ []);
6427
6452
  this.marketVars = {};
6428
6453
  this._appliedDefaultBody = "";
6429
6454
  this.forwardedContext = computed(() => forwardContext(this.sendContext(), this.documentContextTypes()).context, ...ngDevMode ? [{ debugName: "forwardedContext" }] : /* istanbul ignore next */ []);
@@ -6987,6 +7012,13 @@ var SendTextComponent = class SendTextComponent {
6987
7012
  isSignal: true,
6988
7013
  isRequired: false,
6989
7014
  transformFunction: null
7015
+ },
7016
+ marketValues: {
7017
+ classPropertyName: "marketValues",
7018
+ publicName: "marketValues",
7019
+ isSignal: true,
7020
+ isRequired: false,
7021
+ transformFunction: null
6990
7022
  }
6991
7023
  },
6992
7024
  outputs: {
@@ -8011,6 +8043,14 @@ i0.ɵɵngDeclareClassMetadata({
8011
8043
  rejected: [{
8012
8044
  type: i0.Output,
8013
8045
  args: ["rejected"]
8046
+ }],
8047
+ marketValues: [{
8048
+ type: i0.Input,
8049
+ args: [{
8050
+ isSignal: true,
8051
+ alias: "marketValues",
8052
+ required: false
8053
+ }]
8014
8054
  }]
8015
8055
  }
8016
8056
  });
@@ -8109,6 +8149,7 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8109
8149
  this.documents = input(false, ...ngDevMode ? [{ debugName: "documents" }] : /* istanbul ignore next */ []);
8110
8150
  this.documentsEnabled = input(true, ...ngDevMode ? [{ debugName: "documentsEnabled" }] : /* istanbul ignore next */ []);
8111
8151
  this.showCc = input(false, ...ngDevMode ? [{ debugName: "showCc" }] : /* istanbul ignore next */ []);
8152
+ this.marketValues = input(true, ...ngDevMode ? [{ debugName: "marketValues" }] : /* istanbul ignore next */ []);
8112
8153
  this.recipientMode = input("contact", ...ngDevMode ? [{ debugName: "recipientMode" }] : /* istanbul ignore next */ []);
8113
8154
  this.sendMessage = input(null, ...ngDevMode ? [{ debugName: "sendMessage" }] : /* istanbul ignore next */ []);
8114
8155
  this.maxBodyLength = input(null, ...ngDevMode ? [{ debugName: "maxBodyLength" }] : /* istanbul ignore next */ []);
@@ -8537,6 +8578,13 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8537
8578
  isRequired: false,
8538
8579
  transformFunction: null
8539
8580
  },
8581
+ marketValues: {
8582
+ classPropertyName: "marketValues",
8583
+ publicName: "marketValues",
8584
+ isSignal: true,
8585
+ isRequired: false,
8586
+ transformFunction: null
8587
+ },
8540
8588
  recipientMode: {
8541
8589
  classPropertyName: "recipientMode",
8542
8590
  publicName: "recipientMode",
@@ -8925,6 +8973,7 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8925
8973
  [defaultBody]="defaultBody()"
8926
8974
  [context]="context()"
8927
8975
  [sendFn]="sendEmail()"
8976
+ [marketValues]="marketValues()"
8928
8977
  [showReceiptOption]="showReceiptOption()"
8929
8978
  [receiptLabel]="receiptLabel()"
8930
8979
  [receiptDefault]="receiptDefault()"
@@ -8967,6 +9016,7 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8967
9016
  [bulkRecipients]="bulkRecipientsFor('text')"
8968
9017
  [defaultBody]="defaultMessage()"
8969
9018
  [context]="context()"
9019
+ [marketValues]="marketValues()"
8970
9020
  [sendFn]="sendText()"
8971
9021
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
8972
9022
  [attachmentsEnabled]="allowAttachments()"
@@ -9072,7 +9122,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
9072
9122
  "schedulingEnabled",
9073
9123
  "showSubject",
9074
9124
  "showTemplates",
9075
- "showVideo"
9125
+ "showVideo",
9126
+ "marketValues"
9076
9127
  ],
9077
9128
  outputs: [
9078
9129
  "sent",
@@ -9136,7 +9187,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
9136
9187
  "documentEnvelope",
9137
9188
  "documentSigningOptions",
9138
9189
  "documentPreview",
9139
- "videoDefaults"
9190
+ "videoDefaults",
9191
+ "marketValues"
9140
9192
  ],
9141
9193
  outputs: [
9142
9194
  "sent",
@@ -9403,6 +9455,7 @@ i0.ɵɵngDeclareClassMetadata({
9403
9455
  [defaultBody]="defaultBody()"
9404
9456
  [context]="context()"
9405
9457
  [sendFn]="sendEmail()"
9458
+ [marketValues]="marketValues()"
9406
9459
  [showReceiptOption]="showReceiptOption()"
9407
9460
  [receiptLabel]="receiptLabel()"
9408
9461
  [receiptDefault]="receiptDefault()"
@@ -9445,6 +9498,7 @@ i0.ɵɵngDeclareClassMetadata({
9445
9498
  [bulkRecipients]="bulkRecipientsFor('text')"
9446
9499
  [defaultBody]="defaultMessage()"
9447
9500
  [context]="context()"
9501
+ [marketValues]="marketValues()"
9448
9502
  [sendFn]="sendText()"
9449
9503
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
9450
9504
  [attachmentsEnabled]="allowAttachments()"
@@ -9650,6 +9704,14 @@ i0.ɵɵngDeclareClassMetadata({
9650
9704
  required: false
9651
9705
  }]
9652
9706
  }],
9707
+ marketValues: [{
9708
+ type: i0.Input,
9709
+ args: [{
9710
+ isSignal: true,
9711
+ alias: "marketValues",
9712
+ required: false
9713
+ }]
9714
+ }],
9653
9715
  recipientMode: [{
9654
9716
  type: i0.Input,
9655
9717
  args: [{