@genesislcap/pbc-notify-ui 15.46.2-FUI-2628.2 → 15.46.2-FUI-2625.2

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.
@@ -9831,156 +9831,6 @@
9831
9831
  }
9832
9832
  ]
9833
9833
  },
9834
- {
9835
- "kind": "javascript-module",
9836
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
9837
- "declarations": [
9838
- {
9839
- "kind": "variable",
9840
- "name": "RuleConditionGroupTemplate",
9841
- "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
9842
- }
9843
- ],
9844
- "exports": [
9845
- {
9846
- "kind": "js",
9847
- "name": "RuleConditionGroupTemplate",
9848
- "declaration": {
9849
- "name": "RuleConditionGroupTemplate",
9850
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
9851
- }
9852
- }
9853
- ]
9854
- },
9855
- {
9856
- "kind": "javascript-module",
9857
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
9858
- "declarations": [
9859
- {
9860
- "kind": "class",
9861
- "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
9862
- "name": "RuleConditionGroup",
9863
- "members": [
9864
- {
9865
- "kind": "field",
9866
- "name": "node",
9867
- "type": {
9868
- "text": "ConditionGroupEntity"
9869
- }
9870
- },
9871
- {
9872
- "kind": "field",
9873
- "name": "fields",
9874
- "type": {
9875
- "text": "Field[]"
9876
- },
9877
- "default": "[]"
9878
- },
9879
- {
9880
- "kind": "field",
9881
- "name": "isFirst",
9882
- "type": {
9883
- "text": "boolean"
9884
- },
9885
- "default": "false"
9886
- },
9887
- {
9888
- "kind": "field",
9889
- "name": "joinOperator",
9890
- "type": {
9891
- "text": "string"
9892
- }
9893
- },
9894
- {
9895
- "kind": "field",
9896
- "name": "groupChildren",
9897
- "type": {
9898
- "text": "ConditionNode[]"
9899
- },
9900
- "default": "[]"
9901
- },
9902
- {
9903
- "kind": "method",
9904
- "name": "nodeChanged"
9905
- },
9906
- {
9907
- "kind": "method",
9908
- "name": "joinOperatorChanged"
9909
- },
9910
- {
9911
- "kind": "method",
9912
- "name": "newCondition"
9913
- },
9914
- {
9915
- "kind": "method",
9916
- "name": "newGroup"
9917
- },
9918
- {
9919
- "kind": "method",
9920
- "name": "editChild",
9921
- "parameters": [
9922
- {
9923
- "name": "_editedChild",
9924
- "type": {
9925
- "text": "ConditionNode"
9926
- }
9927
- }
9928
- ]
9929
- },
9930
- {
9931
- "kind": "method",
9932
- "name": "deleteChild",
9933
- "parameters": [
9934
- {
9935
- "name": "deletedChild",
9936
- "type": {
9937
- "text": "ConditionNode"
9938
- }
9939
- }
9940
- ]
9941
- },
9942
- {
9943
- "kind": "method",
9944
- "name": "deleteSelf"
9945
- }
9946
- ],
9947
- "events": [
9948
- {
9949
- "description": "Fired when this whole group should be removed",
9950
- "name": "delete"
9951
- },
9952
- {
9953
- "description": "Fired when anything inside this group changes",
9954
- "name": "edit"
9955
- }
9956
- ],
9957
- "superclass": {
9958
- "name": "GenesisElement",
9959
- "package": "@genesislcap/web-core"
9960
- },
9961
- "tagName": "rule-condition-group",
9962
- "customElement": true
9963
- }
9964
- ],
9965
- "exports": [
9966
- {
9967
- "kind": "js",
9968
- "name": "RuleConditionGroup",
9969
- "declaration": {
9970
- "name": "RuleConditionGroup",
9971
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9972
- }
9973
- },
9974
- {
9975
- "kind": "custom-element-definition",
9976
- "name": "rule-condition-group",
9977
- "declaration": {
9978
- "name": "RuleConditionGroup",
9979
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
9980
- }
9981
- }
9982
- ]
9983
- },
9984
9834
  {
9985
9835
  "kind": "javascript-module",
9986
9836
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
@@ -10267,49 +10117,41 @@
10267
10117
  },
10268
10118
  {
10269
10119
  "kind": "javascript-module",
10270
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10120
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10271
10121
  "declarations": [
10272
10122
  {
10273
10123
  "kind": "variable",
10274
- "name": "TemplateConditionBuilderTemplate",
10275
- "default": "html<TemplateConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10124
+ "name": "RuleConditionGroupTemplate",
10125
+ "default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
10276
10126
  }
10277
10127
  ],
10278
10128
  "exports": [
10279
10129
  {
10280
10130
  "kind": "js",
10281
- "name": "TemplateConditionBuilderTemplate",
10131
+ "name": "RuleConditionGroupTemplate",
10282
10132
  "declaration": {
10283
- "name": "TemplateConditionBuilderTemplate",
10284
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10133
+ "name": "RuleConditionGroupTemplate",
10134
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10285
10135
  }
10286
10136
  }
10287
10137
  ]
10288
10138
  },
10289
10139
  {
10290
10140
  "kind": "javascript-module",
10291
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10141
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10292
10142
  "declarations": [
10293
10143
  {
10294
10144
  "kind": "class",
10295
- "description": "Condition builder for template notification rules.",
10296
- "name": "TemplateConditionBuilder",
10145
+ "description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
10146
+ "name": "RuleConditionGroup",
10297
10147
  "members": [
10298
10148
  {
10299
10149
  "kind": "field",
10300
- "name": "condition",
10150
+ "name": "node",
10301
10151
  "type": {
10302
- "text": "ConditionBuilderEntity"
10152
+ "text": "ConditionGroupEntity"
10303
10153
  }
10304
10154
  },
10305
- {
10306
- "kind": "field",
10307
- "name": "parameters",
10308
- "type": {
10309
- "text": "Array<ParameterBuilderEntity>"
10310
- },
10311
- "default": "[]"
10312
- },
10313
10155
  {
10314
10156
  "kind": "field",
10315
10157
  "name": "fields",
@@ -10335,190 +10177,64 @@
10335
10177
  },
10336
10178
  {
10337
10179
  "kind": "field",
10338
- "name": "leftValue",
10339
- "type": {
10340
- "text": "any"
10341
- },
10342
- "default": "null"
10343
- },
10344
- {
10345
- "kind": "field",
10346
- "name": "leftValueItems",
10180
+ "name": "groupChildren",
10347
10181
  "type": {
10348
- "text": "Array<any>"
10182
+ "text": "ConditionNode[]"
10349
10183
  },
10350
10184
  "default": "[]"
10351
10185
  },
10352
10186
  {
10353
- "kind": "field",
10354
- "name": "logicalOperator",
10355
- "type": {
10356
- "text": "string"
10357
- },
10358
- "default": "null"
10187
+ "kind": "method",
10188
+ "name": "nodeChanged"
10359
10189
  },
10360
10190
  {
10361
- "kind": "field",
10362
- "name": "rightCriteria",
10363
- "type": {
10364
- "text": "string"
10365
- }
10191
+ "kind": "method",
10192
+ "name": "joinOperatorChanged"
10366
10193
  },
10367
10194
  {
10368
- "kind": "field",
10369
- "name": "rightValueText",
10370
- "type": {
10371
- "text": "string"
10372
- },
10373
- "default": "null"
10195
+ "kind": "method",
10196
+ "name": "newCondition"
10374
10197
  },
10375
10198
  {
10376
- "kind": "field",
10377
- "name": "rightValueSelect",
10378
- "type": {
10379
- "text": "string"
10380
- },
10381
- "default": "null"
10199
+ "kind": "method",
10200
+ "name": "newGroup"
10382
10201
  },
10383
10202
  {
10384
- "kind": "field",
10385
- "name": "rightValueItems",
10386
- "type": {
10387
- "text": "Array<any>"
10388
- },
10389
- "default": "[]"
10203
+ "kind": "method",
10204
+ "name": "editChild",
10205
+ "parameters": [
10206
+ {
10207
+ "name": "_editedChild",
10208
+ "type": {
10209
+ "text": "ConditionNode"
10210
+ }
10211
+ }
10212
+ ]
10390
10213
  },
10391
10214
  {
10392
- "kind": "field",
10393
- "name": "rightValueMultiSelect",
10394
- "type": {
10395
- "text": "string[]"
10396
- },
10397
- "default": "[]"
10398
- },
10399
- {
10400
- "kind": "field",
10401
- "name": "rightCriteriaOptions",
10402
- "type": {
10403
- "text": "RightCriteria[]"
10404
- },
10405
- "readonly": true
10406
- },
10407
- {
10408
- "kind": "field",
10409
- "name": "isStringLeftValue",
10410
- "type": {
10411
- "text": "boolean"
10412
- },
10413
- "privacy": "private",
10414
- "readonly": true
10415
- },
10416
- {
10417
- "kind": "method",
10418
- "name": "deleteCondition"
10419
- },
10420
- {
10421
- "kind": "method",
10422
- "name": "conditionChanged"
10423
- },
10424
- {
10425
- "kind": "method",
10426
- "name": "joinOperatorChanged"
10427
- },
10428
- {
10429
- "kind": "method",
10430
- "name": "parametersChanged"
10431
- },
10432
- {
10433
- "kind": "method",
10434
- "name": "getMatchingParameter",
10435
- "privacy": "private",
10436
- "return": {
10437
- "type": {
10438
- "text": "ParameterBuilderEntity | undefined"
10439
- }
10440
- }
10441
- },
10442
- {
10443
- "kind": "method",
10444
- "name": "syncParameterBinding",
10445
- "privacy": "private",
10446
- "return": {
10447
- "type": {
10448
- "text": "boolean"
10449
- }
10450
- }
10215
+ "kind": "method",
10216
+ "name": "deleteChild",
10217
+ "parameters": [
10218
+ {
10219
+ "name": "deletedChild",
10220
+ "type": {
10221
+ "text": "ConditionNode"
10222
+ }
10223
+ }
10224
+ ]
10451
10225
  },
10452
10226
  {
10453
10227
  "kind": "method",
10454
- "name": "resetToValueEditor",
10455
- "privacy": "private"
10456
- },
10457
- {
10458
- "kind": "method",
10459
- "name": "fieldsChanged"
10460
- },
10461
- {
10462
- "kind": "method",
10463
- "name": "logicalOperatorChanged"
10464
- },
10465
- {
10466
- "kind": "method",
10467
- "name": "assignLeftValue",
10468
- "privacy": "private"
10469
- },
10470
- {
10471
- "kind": "method",
10472
- "name": "leftValueChanged"
10473
- },
10474
- {
10475
- "kind": "method",
10476
- "name": "assignRightValue",
10477
- "privacy": "private"
10478
- },
10479
- {
10480
- "kind": "method",
10481
- "name": "rightCriteriaChanged"
10482
- },
10483
- {
10484
- "kind": "method",
10485
- "name": "clearRightValueText",
10486
- "privacy": "private"
10487
- },
10488
- {
10489
- "kind": "method",
10490
- "name": "clearRightValueSelect",
10491
- "privacy": "private"
10492
- },
10493
- {
10494
- "kind": "method",
10495
- "name": "rightValueTextChanged"
10496
- },
10497
- {
10498
- "kind": "method",
10499
- "name": "rightValueSelectChanged"
10500
- },
10501
- {
10502
- "kind": "method",
10503
- "name": "rightValueMultiSelectChanged"
10504
- },
10505
- {
10506
- "kind": "method",
10507
- "name": "getEnumValues",
10508
- "return": {
10509
- "type": {
10510
- "text": "string[]"
10511
- }
10512
- }
10228
+ "name": "deleteSelf"
10513
10229
  }
10514
10230
  ],
10515
10231
  "events": [
10516
10232
  {
10517
- "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10233
+ "description": "Fired when this whole group should be removed",
10518
10234
  "name": "delete"
10519
10235
  },
10520
10236
  {
10521
- "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10237
+ "description": "Fired when anything inside this group changes",
10522
10238
  "name": "edit"
10523
10239
  }
10524
10240
  ],
@@ -10526,25 +10242,25 @@
10526
10242
  "name": "GenesisElement",
10527
10243
  "package": "@genesislcap/web-core"
10528
10244
  },
10529
- "tagName": "template-condition-builder",
10245
+ "tagName": "rule-condition-group",
10530
10246
  "customElement": true
10531
10247
  }
10532
10248
  ],
10533
10249
  "exports": [
10534
10250
  {
10535
10251
  "kind": "js",
10536
- "name": "TemplateConditionBuilder",
10252
+ "name": "RuleConditionGroup",
10537
10253
  "declaration": {
10538
- "name": "TemplateConditionBuilder",
10539
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10254
+ "name": "RuleConditionGroup",
10255
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10540
10256
  }
10541
10257
  },
10542
10258
  {
10543
10259
  "kind": "custom-element-definition",
10544
- "name": "template-condition-builder",
10260
+ "name": "rule-condition-group",
10545
10261
  "declaration": {
10546
- "name": "TemplateConditionBuilder",
10547
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10262
+ "name": "RuleConditionGroup",
10263
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10548
10264
  }
10549
10265
  }
10550
10266
  ]
@@ -10763,6 +10479,290 @@
10763
10479
  }
10764
10480
  ]
10765
10481
  },
10482
+ {
10483
+ "kind": "javascript-module",
10484
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10485
+ "declarations": [
10486
+ {
10487
+ "kind": "variable",
10488
+ "name": "TemplateConditionBuilderTemplate",
10489
+ "default": "html<TemplateConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
10490
+ }
10491
+ ],
10492
+ "exports": [
10493
+ {
10494
+ "kind": "js",
10495
+ "name": "TemplateConditionBuilderTemplate",
10496
+ "declaration": {
10497
+ "name": "TemplateConditionBuilderTemplate",
10498
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10499
+ }
10500
+ }
10501
+ ]
10502
+ },
10503
+ {
10504
+ "kind": "javascript-module",
10505
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10506
+ "declarations": [
10507
+ {
10508
+ "kind": "class",
10509
+ "description": "Condition builder for template notification rules.",
10510
+ "name": "TemplateConditionBuilder",
10511
+ "members": [
10512
+ {
10513
+ "kind": "field",
10514
+ "name": "condition",
10515
+ "type": {
10516
+ "text": "ConditionBuilderEntity"
10517
+ }
10518
+ },
10519
+ {
10520
+ "kind": "field",
10521
+ "name": "parameters",
10522
+ "type": {
10523
+ "text": "Array<ParameterBuilderEntity>"
10524
+ },
10525
+ "default": "[]"
10526
+ },
10527
+ {
10528
+ "kind": "field",
10529
+ "name": "fields",
10530
+ "type": {
10531
+ "text": "Field[]"
10532
+ },
10533
+ "default": "[]"
10534
+ },
10535
+ {
10536
+ "kind": "field",
10537
+ "name": "isFirst",
10538
+ "type": {
10539
+ "text": "boolean"
10540
+ },
10541
+ "default": "false"
10542
+ },
10543
+ {
10544
+ "kind": "field",
10545
+ "name": "joinOperator",
10546
+ "type": {
10547
+ "text": "string"
10548
+ }
10549
+ },
10550
+ {
10551
+ "kind": "field",
10552
+ "name": "leftValue",
10553
+ "type": {
10554
+ "text": "any"
10555
+ },
10556
+ "default": "null"
10557
+ },
10558
+ {
10559
+ "kind": "field",
10560
+ "name": "leftValueItems",
10561
+ "type": {
10562
+ "text": "Array<any>"
10563
+ },
10564
+ "default": "[]"
10565
+ },
10566
+ {
10567
+ "kind": "field",
10568
+ "name": "logicalOperator",
10569
+ "type": {
10570
+ "text": "string"
10571
+ },
10572
+ "default": "null"
10573
+ },
10574
+ {
10575
+ "kind": "field",
10576
+ "name": "rightCriteria",
10577
+ "type": {
10578
+ "text": "string"
10579
+ }
10580
+ },
10581
+ {
10582
+ "kind": "field",
10583
+ "name": "rightValueText",
10584
+ "type": {
10585
+ "text": "string"
10586
+ },
10587
+ "default": "null"
10588
+ },
10589
+ {
10590
+ "kind": "field",
10591
+ "name": "rightValueSelect",
10592
+ "type": {
10593
+ "text": "string"
10594
+ },
10595
+ "default": "null"
10596
+ },
10597
+ {
10598
+ "kind": "field",
10599
+ "name": "rightValueItems",
10600
+ "type": {
10601
+ "text": "Array<any>"
10602
+ },
10603
+ "default": "[]"
10604
+ },
10605
+ {
10606
+ "kind": "field",
10607
+ "name": "rightValueMultiSelect",
10608
+ "type": {
10609
+ "text": "string[]"
10610
+ },
10611
+ "default": "[]"
10612
+ },
10613
+ {
10614
+ "kind": "field",
10615
+ "name": "rightCriteriaOptions",
10616
+ "type": {
10617
+ "text": "RightCriteria[]"
10618
+ },
10619
+ "readonly": true
10620
+ },
10621
+ {
10622
+ "kind": "field",
10623
+ "name": "isStringLeftValue",
10624
+ "type": {
10625
+ "text": "boolean"
10626
+ },
10627
+ "privacy": "private",
10628
+ "readonly": true
10629
+ },
10630
+ {
10631
+ "kind": "method",
10632
+ "name": "deleteCondition"
10633
+ },
10634
+ {
10635
+ "kind": "method",
10636
+ "name": "conditionChanged"
10637
+ },
10638
+ {
10639
+ "kind": "method",
10640
+ "name": "joinOperatorChanged"
10641
+ },
10642
+ {
10643
+ "kind": "method",
10644
+ "name": "parametersChanged"
10645
+ },
10646
+ {
10647
+ "kind": "method",
10648
+ "name": "getMatchingParameter",
10649
+ "privacy": "private",
10650
+ "return": {
10651
+ "type": {
10652
+ "text": "ParameterBuilderEntity | undefined"
10653
+ }
10654
+ }
10655
+ },
10656
+ {
10657
+ "kind": "method",
10658
+ "name": "syncParameterBinding",
10659
+ "privacy": "private",
10660
+ "return": {
10661
+ "type": {
10662
+ "text": "boolean"
10663
+ }
10664
+ }
10665
+ },
10666
+ {
10667
+ "kind": "method",
10668
+ "name": "resetToValueEditor",
10669
+ "privacy": "private"
10670
+ },
10671
+ {
10672
+ "kind": "method",
10673
+ "name": "fieldsChanged"
10674
+ },
10675
+ {
10676
+ "kind": "method",
10677
+ "name": "logicalOperatorChanged"
10678
+ },
10679
+ {
10680
+ "kind": "method",
10681
+ "name": "assignLeftValue",
10682
+ "privacy": "private"
10683
+ },
10684
+ {
10685
+ "kind": "method",
10686
+ "name": "leftValueChanged"
10687
+ },
10688
+ {
10689
+ "kind": "method",
10690
+ "name": "assignRightValue",
10691
+ "privacy": "private"
10692
+ },
10693
+ {
10694
+ "kind": "method",
10695
+ "name": "rightCriteriaChanged"
10696
+ },
10697
+ {
10698
+ "kind": "method",
10699
+ "name": "clearRightValueText",
10700
+ "privacy": "private"
10701
+ },
10702
+ {
10703
+ "kind": "method",
10704
+ "name": "clearRightValueSelect",
10705
+ "privacy": "private"
10706
+ },
10707
+ {
10708
+ "kind": "method",
10709
+ "name": "rightValueTextChanged"
10710
+ },
10711
+ {
10712
+ "kind": "method",
10713
+ "name": "rightValueSelectChanged"
10714
+ },
10715
+ {
10716
+ "kind": "method",
10717
+ "name": "rightValueMultiSelectChanged"
10718
+ },
10719
+ {
10720
+ "kind": "method",
10721
+ "name": "getEnumValues",
10722
+ "return": {
10723
+ "type": {
10724
+ "text": "string[]"
10725
+ }
10726
+ }
10727
+ }
10728
+ ],
10729
+ "events": [
10730
+ {
10731
+ "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10732
+ "name": "delete"
10733
+ },
10734
+ {
10735
+ "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10736
+ "name": "edit"
10737
+ }
10738
+ ],
10739
+ "superclass": {
10740
+ "name": "GenesisElement",
10741
+ "package": "@genesislcap/web-core"
10742
+ },
10743
+ "tagName": "template-condition-builder",
10744
+ "customElement": true
10745
+ }
10746
+ ],
10747
+ "exports": [
10748
+ {
10749
+ "kind": "js",
10750
+ "name": "TemplateConditionBuilder",
10751
+ "declaration": {
10752
+ "name": "TemplateConditionBuilder",
10753
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10754
+ }
10755
+ },
10756
+ {
10757
+ "kind": "custom-element-definition",
10758
+ "name": "template-condition-builder",
10759
+ "declaration": {
10760
+ "name": "TemplateConditionBuilder",
10761
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10762
+ }
10763
+ }
10764
+ ]
10765
+ },
10766
10766
  {
10767
10767
  "kind": "javascript-module",
10768
10768
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
255
255
  >;
256
256
  export type TemplateDialogRef = TemplateDialogWC;
257
257
 
258
- export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
259
- React.PropsWithChildren<
260
- Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
261
- HTMLWCProps & {
262
- onDelete?: (event: CustomEvent<unknown>) => void;
263
- onEdit?: (event: CustomEvent<unknown>) => void;
264
- }
265
- > & React.RefAttributes<RuleConditionGroupWC>
266
- >;
267
- export type RuleConditionGroupRef = RuleConditionGroupWC;
268
-
269
258
  export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
270
259
  React.PropsWithChildren<
271
260
  Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
@@ -277,16 +266,16 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
277
266
  >;
278
267
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
279
268
 
280
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
269
+ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
281
270
  React.PropsWithChildren<
282
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
271
+ Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
283
272
  HTMLWCProps & {
284
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
285
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
273
+ onDelete?: (event: CustomEvent<unknown>) => void;
274
+ onEdit?: (event: CustomEvent<unknown>) => void;
286
275
  }
287
- > & React.RefAttributes<TemplateConditionBuilderWC>
276
+ > & React.RefAttributes<RuleConditionGroupWC>
288
277
  >;
289
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
278
+ export type RuleConditionGroupRef = RuleConditionGroupWC;
290
279
 
291
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
292
281
  React.PropsWithChildren<
@@ -299,6 +288,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
299
288
  >;
300
289
  export type ParameterBuilderRef = ParameterBuilderWC;
301
290
 
291
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
292
+ React.PropsWithChildren<
293
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
294
+ HTMLWCProps & {
295
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
296
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
297
+ }
298
+ > & React.RefAttributes<TemplateConditionBuilderWC>
299
+ >;
300
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
301
+
302
302
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
303
303
  React.PropsWithChildren<
304
304
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
200
200
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
201
201
  });
202
202
 
203
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
203
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
204
204
  const { onDelete, onEdit, children, ...rest } = props;
205
205
  const _innerRef = React.useRef(null);
206
206
  const _onDeleteRef = React.useRef(onDelete);
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
225
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
226
226
  const { onDelete, onEdit, children, ...rest } = props;
227
227
  const _innerRef = React.useRef(null);
228
228
  const _onDeleteRef = React.useRef(onDelete);
@@ -241,10 +241,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
247
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
248
248
  const { onDelete, onEdit, children, ...rest } = props;
249
249
  const _innerRef = React.useRef(null);
250
250
  const _onDeleteRef = React.useRef(onDelete);
@@ -263,10 +263,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
263
263
  el.removeEventListener('edit', _onEditFn);
264
264
  };
265
265
  }, []);
266
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
266
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
269
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
270
270
  const { onDelete, onEdit, children, ...rest } = props;
271
271
  const _innerRef = React.useRef(null);
272
272
  const _onDeleteRef = React.useRef(onDelete);
@@ -285,7 +285,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
291
  const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
@@ -332,9 +332,9 @@ module.exports = {
332
332
  SlackRouteManagement,
333
333
  RuleDialog,
334
334
  TemplateDialog,
335
- RuleConditionGroup,
336
335
  RuleConditionBuilder,
337
- TemplateConditionBuilder,
336
+ RuleConditionGroup,
338
337
  ParameterBuilder,
338
+ TemplateConditionBuilder,
339
339
  TemplateConditionGroup,
340
340
  };
package/dist/react.mjs CHANGED
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
198
198
  return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
199
199
  });
200
200
 
201
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
201
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
202
202
  const { onDelete, onEdit, children, ...rest } = props;
203
203
  const _innerRef = React.useRef(null);
204
204
  const _onDeleteRef = React.useRef(onDelete);
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
223
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
224
224
  const { onDelete, onEdit, children, ...rest } = props;
225
225
  const _innerRef = React.useRef(null);
226
226
  const _onDeleteRef = React.useRef(onDelete);
@@ -239,10 +239,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
245
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
246
246
  const { onDelete, onEdit, children, ...rest } = props;
247
247
  const _innerRef = React.useRef(null);
248
248
  const _onDeleteRef = React.useRef(onDelete);
@@ -261,10 +261,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
261
261
  el.removeEventListener('edit', _onEditFn);
262
262
  };
263
263
  }, []);
264
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
264
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
267
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
268
268
  const { onDelete, onEdit, children, ...rest } = props;
269
269
  const _innerRef = React.useRef(null);
270
270
  const _onDeleteRef = React.useRef(onDelete);
@@ -283,7 +283,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
289
  export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "15.46.2-FUI-2628.2",
4
+ "version": "15.46.2-FUI-2625.2",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -80,30 +80,30 @@
80
80
  "@commitlint/cli": "^19.2.1",
81
81
  "@commitlint/config-conventional": "^19.1.0",
82
82
  "@commitlint/format": "^19.0.3",
83
- "@genesislcap/design-system-configurator": "15.46.2-FUI-2628.2",
84
- "@genesislcap/eslint-config": "15.46.2-FUI-2628.2",
85
- "@genesislcap/eslint-stylelint-builder": "15.46.2-FUI-2628.2",
86
- "@genesislcap/foundation-testing": "15.46.2-FUI-2628.2",
87
- "@genesislcap/genx": "15.46.2-FUI-2628.2",
88
- "@genesislcap/prettier-config": "15.46.2-FUI-2628.2",
89
- "@genesislcap/stylelint-config": "15.46.2-FUI-2628.2",
90
- "@genesislcap/vite-builder": "15.46.2-FUI-2628.2",
91
- "@genesislcap/webpack-builder": "15.46.2-FUI-2628.2",
83
+ "@genesislcap/design-system-configurator": "15.46.2-FUI-2625.2",
84
+ "@genesislcap/eslint-config": "15.46.2-FUI-2625.2",
85
+ "@genesislcap/eslint-stylelint-builder": "15.46.2-FUI-2625.2",
86
+ "@genesislcap/foundation-testing": "15.46.2-FUI-2625.2",
87
+ "@genesislcap/genx": "15.46.2-FUI-2625.2",
88
+ "@genesislcap/prettier-config": "15.46.2-FUI-2625.2",
89
+ "@genesislcap/stylelint-config": "15.46.2-FUI-2625.2",
90
+ "@genesislcap/vite-builder": "15.46.2-FUI-2625.2",
91
+ "@genesislcap/webpack-builder": "15.46.2-FUI-2625.2",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.46.2-FUI-2628.2",
96
- "@genesislcap/foundation-criteria": "15.46.2-FUI-2628.2",
97
- "@genesislcap/foundation-entity-management": "15.46.2-FUI-2628.2",
98
- "@genesislcap/foundation-forms": "15.46.2-FUI-2628.2",
99
- "@genesislcap/foundation-layout": "15.46.2-FUI-2628.2",
100
- "@genesislcap/foundation-logger": "15.46.2-FUI-2628.2",
101
- "@genesislcap/foundation-notifications": "15.46.2-FUI-2628.2",
102
- "@genesislcap/foundation-ui": "15.46.2-FUI-2628.2",
103
- "@genesislcap/foundation-utils": "15.46.2-FUI-2628.2",
104
- "@genesislcap/rapid-design-system": "15.46.2-FUI-2628.2",
105
- "@genesislcap/rapid-grid-pro": "15.46.2-FUI-2628.2",
106
- "@genesislcap/web-core": "15.46.2-FUI-2628.2",
95
+ "@genesislcap/foundation-comms": "15.46.2-FUI-2625.2",
96
+ "@genesislcap/foundation-criteria": "15.46.2-FUI-2625.2",
97
+ "@genesislcap/foundation-entity-management": "15.46.2-FUI-2625.2",
98
+ "@genesislcap/foundation-forms": "15.46.2-FUI-2625.2",
99
+ "@genesislcap/foundation-layout": "15.46.2-FUI-2625.2",
100
+ "@genesislcap/foundation-logger": "15.46.2-FUI-2625.2",
101
+ "@genesislcap/foundation-notifications": "15.46.2-FUI-2625.2",
102
+ "@genesislcap/foundation-ui": "15.46.2-FUI-2625.2",
103
+ "@genesislcap/foundation-utils": "15.46.2-FUI-2625.2",
104
+ "@genesislcap/rapid-design-system": "15.46.2-FUI-2625.2",
105
+ "@genesislcap/rapid-grid-pro": "15.46.2-FUI-2625.2",
106
+ "@genesislcap/web-core": "15.46.2-FUI-2625.2",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },