@forgeroute/ui 0.4.73 → 0.4.75

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.
@@ -3646,6 +3646,10 @@ var SendEmailComponent = class SendEmailComponent {
3646
3646
  }, ...ngDevMode ? [{ debugName: "previewContact" }] : /* istanbul ignore next */ []);
3647
3647
  this.videoDefaults = input(null, ...ngDevMode ? [{ debugName: "videoDefaults" }] : /* istanbul ignore next */ []);
3648
3648
  this.attachmentsAndScheduling = input(true, ...ngDevMode ? [{ debugName: "attachmentsAndScheduling" }] : /* istanbul ignore next */ []);
3649
+ this.attachmentsEnabled = input(null, ...ngDevMode ? [{ debugName: "attachmentsEnabled" }] : /* istanbul ignore next */ []);
3650
+ this.schedulingEnabled = input(null, ...ngDevMode ? [{ debugName: "schedulingEnabled" }] : /* istanbul ignore next */ []);
3651
+ this.showAttachments = computed(() => this.attachmentsEnabled() ?? this.attachmentsAndScheduling(), ...ngDevMode ? [{ debugName: "showAttachments" }] : /* istanbul ignore next */ []);
3652
+ this.showScheduling = computed(() => this.schedulingEnabled() ?? this.attachmentsAndScheduling(), ...ngDevMode ? [{ debugName: "showScheduling" }] : /* istanbul ignore next */ []);
3649
3653
  this.showSubject = input(true, ...ngDevMode ? [{ debugName: "showSubject" }] : /* istanbul ignore next */ []);
3650
3654
  this.showTemplates = input(true, ...ngDevMode ? [{ debugName: "showTemplates" }] : /* istanbul ignore next */ []);
3651
3655
  this.showVideo = input(true, ...ngDevMode ? [{ debugName: "showVideo" }] : /* istanbul ignore next */ []);
@@ -4389,6 +4393,20 @@ var SendEmailComponent = class SendEmailComponent {
4389
4393
  isRequired: false,
4390
4394
  transformFunction: null
4391
4395
  },
4396
+ attachmentsEnabled: {
4397
+ classPropertyName: "attachmentsEnabled",
4398
+ publicName: "attachmentsEnabled",
4399
+ isSignal: true,
4400
+ isRequired: false,
4401
+ transformFunction: null
4402
+ },
4403
+ schedulingEnabled: {
4404
+ classPropertyName: "schedulingEnabled",
4405
+ publicName: "schedulingEnabled",
4406
+ isSignal: true,
4407
+ isRequired: false,
4408
+ transformFunction: null
4409
+ },
4392
4410
  showSubject: {
4393
4411
  classPropertyName: "showSubject",
4394
4412
  publicName: "showSubject",
@@ -4503,7 +4521,7 @@ var SendEmailComponent = class SendEmailComponent {
4503
4521
  [error]="composeTagError || bodyLengthError"
4504
4522
  (ngModelChange)="notifyValid()" />
4505
4523
 
4506
- @if (!hasDocuments && attachmentsAndScheduling()) {
4524
+ @if (!hasDocuments && showAttachments()) {
4507
4525
  <div class="sm-field">
4508
4526
  <label class="sm-field-label">Attachments</label>
4509
4527
  @if (attachments.length > 0) {
@@ -4525,6 +4543,9 @@ var SendEmailComponent = class SendEmailComponent {
4525
4543
  </button>
4526
4544
  </div>
4527
4545
 
4546
+ }
4547
+
4548
+ @if (!hasDocuments && showScheduling()) {
4528
4549
  <ui-checkbox [checked]="showSchedule" label="Schedule for later" (checkedChange)="showSchedule = $event; notifyValid()" />
4529
4550
  @if (showSchedule) {
4530
4551
  <ui-datetime-input
@@ -4797,7 +4818,9 @@ var SendEmailComponent = class SendEmailComponent {
4797
4818
  "name",
4798
4819
  "noWrap",
4799
4820
  "orientation",
4800
- "controlsPanels"
4821
+ "controlsPanels",
4822
+ "showDescription",
4823
+ "headingLevel"
4801
4824
  ],
4802
4825
  outputs: ["tabChange"]
4803
4826
  },
@@ -5116,7 +5139,7 @@ i0.ɵɵngDeclareClassMetadata({
5116
5139
  [error]="composeTagError || bodyLengthError"
5117
5140
  (ngModelChange)="notifyValid()" />
5118
5141
 
5119
- @if (!hasDocuments && attachmentsAndScheduling()) {
5142
+ @if (!hasDocuments && showAttachments()) {
5120
5143
  <div class="sm-field">
5121
5144
  <label class="sm-field-label">Attachments</label>
5122
5145
  @if (attachments.length > 0) {
@@ -5138,6 +5161,9 @@ i0.ɵɵngDeclareClassMetadata({
5138
5161
  </button>
5139
5162
  </div>
5140
5163
 
5164
+ }
5165
+
5166
+ @if (!hasDocuments && showScheduling()) {
5141
5167
  <ui-checkbox [checked]="showSchedule" label="Schedule for later" (checkedChange)="showSchedule = $event; notifyValid()" />
5142
5168
  @if (showSchedule) {
5143
5169
  <ui-datetime-input
@@ -5530,6 +5556,22 @@ i0.ɵɵngDeclareClassMetadata({
5530
5556
  required: false
5531
5557
  }]
5532
5558
  }],
5559
+ attachmentsEnabled: [{
5560
+ type: i0.Input,
5561
+ args: [{
5562
+ isSignal: true,
5563
+ alias: "attachmentsEnabled",
5564
+ required: false
5565
+ }]
5566
+ }],
5567
+ schedulingEnabled: [{
5568
+ type: i0.Input,
5569
+ args: [{
5570
+ isSignal: true,
5571
+ alias: "schedulingEnabled",
5572
+ required: false
5573
+ }]
5574
+ }],
5533
5575
  showSubject: [{
5534
5576
  type: i0.Input,
5535
5577
  args: [{
@@ -6182,6 +6224,10 @@ var SendTextComponent = class SendTextComponent {
6182
6224
  this.documentSentMessage = input(null, ...ngDevMode ? [{ debugName: "documentSentMessage" }] : /* istanbul ignore next */ []);
6183
6225
  this.documents = input(false, ...ngDevMode ? [{ debugName: "documents" }] : /* istanbul ignore next */ []);
6184
6226
  this.attachmentsAndScheduling = input(true, ...ngDevMode ? [{ debugName: "attachmentsAndScheduling" }] : /* istanbul ignore next */ []);
6227
+ this.attachmentsEnabled = input(null, ...ngDevMode ? [{ debugName: "attachmentsEnabled" }] : /* istanbul ignore next */ []);
6228
+ this.schedulingEnabled = input(null, ...ngDevMode ? [{ debugName: "schedulingEnabled" }] : /* istanbul ignore next */ []);
6229
+ this.showAttachments = computed(() => this.attachmentsEnabled() ?? this.attachmentsAndScheduling(), ...ngDevMode ? [{ debugName: "showAttachments" }] : /* istanbul ignore next */ []);
6230
+ this.showScheduling = computed(() => this.schedulingEnabled() ?? this.attachmentsAndScheduling(), ...ngDevMode ? [{ debugName: "showScheduling" }] : /* istanbul ignore next */ []);
6185
6231
  this.showTemplates = input(true, ...ngDevMode ? [{ debugName: "showTemplates" }] : /* istanbul ignore next */ []);
6186
6232
  this.showVideo = input(true, ...ngDevMode ? [{ debugName: "showVideo" }] : /* istanbul ignore next */ []);
6187
6233
  this.documentPurposes = input([
@@ -6703,6 +6749,20 @@ var SendTextComponent = class SendTextComponent {
6703
6749
  isRequired: false,
6704
6750
  transformFunction: null
6705
6751
  },
6752
+ attachmentsEnabled: {
6753
+ classPropertyName: "attachmentsEnabled",
6754
+ publicName: "attachmentsEnabled",
6755
+ isSignal: true,
6756
+ isRequired: false,
6757
+ transformFunction: null
6758
+ },
6759
+ schedulingEnabled: {
6760
+ classPropertyName: "schedulingEnabled",
6761
+ publicName: "schedulingEnabled",
6762
+ isSignal: true,
6763
+ isRequired: false,
6764
+ transformFunction: null
6765
+ },
6706
6766
  showTemplates: {
6707
6767
  classPropertyName: "showTemplates",
6708
6768
  publicName: "showTemplates",
@@ -6853,7 +6913,7 @@ var SendTextComponent = class SendTextComponent {
6853
6913
  </div>
6854
6914
  </div>
6855
6915
 
6856
- @if (!hasDocuments && attachmentsAndScheduling()) {
6916
+ @if (!hasDocuments && showAttachments()) {
6857
6917
  <div class="sm-field">
6858
6918
  <label class="sm-field-label">Add Image / Media (MMS)</label>
6859
6919
  @if (mediaAttachment()) {
@@ -6879,6 +6939,9 @@ var SendTextComponent = class SendTextComponent {
6879
6939
  }
6880
6940
  </div>
6881
6941
 
6942
+ }
6943
+
6944
+ @if (!hasDocuments && showScheduling()) {
6882
6945
  <ui-checkbox [checked]="showSchedule" label="Schedule for later" (checkedChange)="showSchedule = $event; notifyValid()" />
6883
6946
  @if (showSchedule) {
6884
6947
  <ui-datetime-input
@@ -7144,7 +7207,9 @@ var SendTextComponent = class SendTextComponent {
7144
7207
  "name",
7145
7208
  "noWrap",
7146
7209
  "orientation",
7147
- "controlsPanels"
7210
+ "controlsPanels",
7211
+ "showDescription",
7212
+ "headingLevel"
7148
7213
  ],
7149
7214
  outputs: ["tabChange"]
7150
7215
  },
@@ -7412,7 +7477,7 @@ i0.ɵɵngDeclareClassMetadata({
7412
7477
  </div>
7413
7478
  </div>
7414
7479
 
7415
- @if (!hasDocuments && attachmentsAndScheduling()) {
7480
+ @if (!hasDocuments && showAttachments()) {
7416
7481
  <div class="sm-field">
7417
7482
  <label class="sm-field-label">Add Image / Media (MMS)</label>
7418
7483
  @if (mediaAttachment()) {
@@ -7438,6 +7503,9 @@ i0.ɵɵngDeclareClassMetadata({
7438
7503
  }
7439
7504
  </div>
7440
7505
 
7506
+ }
7507
+
7508
+ @if (!hasDocuments && showScheduling()) {
7441
7509
  <ui-checkbox [checked]="showSchedule" label="Schedule for later" (checkedChange)="showSchedule = $event; notifyValid()" />
7442
7510
  @if (showSchedule) {
7443
7511
  <ui-datetime-input
@@ -7687,6 +7755,22 @@ i0.ɵɵngDeclareClassMetadata({
7687
7755
  required: false
7688
7756
  }]
7689
7757
  }],
7758
+ attachmentsEnabled: [{
7759
+ type: i0.Input,
7760
+ args: [{
7761
+ isSignal: true,
7762
+ alias: "attachmentsEnabled",
7763
+ required: false
7764
+ }]
7765
+ }],
7766
+ schedulingEnabled: [{
7767
+ type: i0.Input,
7768
+ args: [{
7769
+ isSignal: true,
7770
+ alias: "schedulingEnabled",
7771
+ required: false
7772
+ }]
7773
+ }],
7690
7774
  showTemplates: [{
7691
7775
  type: i0.Input,
7692
7776
  args: [{
@@ -7899,6 +7983,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
7899
7983
  this.BULK_NO_SEND_MESSAGE = BULK_NO_SEND_MESSAGE;
7900
7984
  this.BULK_MERGE_TAG_HINT = BULK_MERGE_TAG_HINT;
7901
7985
  this.attachmentsAndScheduling = input(true, ...ngDevMode ? [{ debugName: "attachmentsAndScheduling" }] : /* istanbul ignore next */ []);
7986
+ this.allowAttachments = input(null, ...ngDevMode ? [{ debugName: "allowAttachments" }] : /* istanbul ignore next */ []);
7987
+ this.allowScheduling = input(null, ...ngDevMode ? [{ debugName: "allowScheduling" }] : /* istanbul ignore next */ []);
7902
7988
  this.documentPurposes = input([
7903
7989
  "ESIGN",
7904
7990
  "ATTACH",
@@ -8352,6 +8438,20 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8352
8438
  isRequired: false,
8353
8439
  transformFunction: null
8354
8440
  },
8441
+ allowAttachments: {
8442
+ classPropertyName: "allowAttachments",
8443
+ publicName: "allowAttachments",
8444
+ isSignal: true,
8445
+ isRequired: false,
8446
+ transformFunction: null
8447
+ },
8448
+ allowScheduling: {
8449
+ classPropertyName: "allowScheduling",
8450
+ publicName: "allowScheduling",
8451
+ isSignal: true,
8452
+ isRequired: false,
8453
+ transformFunction: null
8454
+ },
8355
8455
  documentPurposes: {
8356
8456
  classPropertyName: "documentPurposes",
8357
8457
  publicName: "documentPurposes",
@@ -8690,6 +8790,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8690
8790
  [videoDefaults]="videoDefaults()"
8691
8791
  [showCc]="showCc()"
8692
8792
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
8793
+ [attachmentsEnabled]="allowAttachments()"
8794
+ [schedulingEnabled]="allowScheduling()"
8693
8795
  [showSubject]="showSubject()"
8694
8796
  [showTemplates]="showTemplates()"
8695
8797
  [showVideo]="showVideo()"
@@ -8710,6 +8812,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8710
8812
  [context]="context()"
8711
8813
  [sendFn]="sendText()"
8712
8814
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
8815
+ [attachmentsEnabled]="allowAttachments()"
8816
+ [schedulingEnabled]="allowScheduling()"
8713
8817
  [documents]="documentsOn()"
8714
8818
  [documentPurposes]="documentPurposes()"
8715
8819
  [initialDocuments]="bulkMode() ? [] : initialDocuments()"
@@ -8806,6 +8910,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8806
8910
  "documentPreview",
8807
8911
  "videoDefaults",
8808
8912
  "attachmentsAndScheduling",
8913
+ "attachmentsEnabled",
8914
+ "schedulingEnabled",
8809
8915
  "showSubject",
8810
8916
  "showTemplates",
8811
8917
  "showVideo"
@@ -8854,6 +8960,8 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8854
8960
  "documentSentMessage",
8855
8961
  "documents",
8856
8962
  "attachmentsAndScheduling",
8963
+ "attachmentsEnabled",
8964
+ "schedulingEnabled",
8857
8965
  "showTemplates",
8858
8966
  "showVideo",
8859
8967
  "documentPurposes",
@@ -8949,7 +9057,11 @@ var SendMessagePanelComponent = class SendMessagePanelComponent {
8949
9057
  kind: "component",
8950
9058
  type: BadgeComponent,
8951
9059
  selector: "ui-badge",
8952
- inputs: ["label", "variant"]
9060
+ inputs: [
9061
+ "label",
9062
+ "variant",
9063
+ "color"
9064
+ ]
8953
9065
  },
8954
9066
  {
8955
9067
  kind: "component",
@@ -9154,6 +9266,8 @@ i0.ɵɵngDeclareClassMetadata({
9154
9266
  [videoDefaults]="videoDefaults()"
9155
9267
  [showCc]="showCc()"
9156
9268
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
9269
+ [attachmentsEnabled]="allowAttachments()"
9270
+ [schedulingEnabled]="allowScheduling()"
9157
9271
  [showSubject]="showSubject()"
9158
9272
  [showTemplates]="showTemplates()"
9159
9273
  [showVideo]="showVideo()"
@@ -9174,6 +9288,8 @@ i0.ɵɵngDeclareClassMetadata({
9174
9288
  [context]="context()"
9175
9289
  [sendFn]="sendText()"
9176
9290
  [attachmentsAndScheduling]="attachmentsAndScheduling()"
9291
+ [attachmentsEnabled]="allowAttachments()"
9292
+ [schedulingEnabled]="allowScheduling()"
9177
9293
  [documents]="documentsOn()"
9178
9294
  [documentPurposes]="documentPurposes()"
9179
9295
  [initialDocuments]="bulkMode() ? [] : initialDocuments()"
@@ -9446,6 +9562,22 @@ i0.ɵɵngDeclareClassMetadata({
9446
9562
  required: false
9447
9563
  }]
9448
9564
  }],
9565
+ allowAttachments: [{
9566
+ type: i0.Input,
9567
+ args: [{
9568
+ isSignal: true,
9569
+ alias: "allowAttachments",
9570
+ required: false
9571
+ }]
9572
+ }],
9573
+ allowScheduling: [{
9574
+ type: i0.Input,
9575
+ args: [{
9576
+ isSignal: true,
9577
+ alias: "allowScheduling",
9578
+ required: false
9579
+ }]
9580
+ }],
9449
9581
  documentPurposes: [{
9450
9582
  type: i0.Input,
9451
9583
  args: [{