@genesislcap/pbc-notify-ui 15.43.0 → 15.45.0

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.
@@ -7604,70 +7604,70 @@
7604
7604
  },
7605
7605
  {
7606
7606
  "kind": "javascript-module",
7607
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7607
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
7608
7608
  "declarations": [
7609
7609
  {
7610
7610
  "kind": "class",
7611
7611
  "description": "",
7612
- "name": "NotifyAuditManagement",
7612
+ "name": "RouteManagement",
7613
7613
  "superclass": {
7614
7614
  "name": "GenesisElement",
7615
7615
  "package": "@genesislcap/web-core"
7616
7616
  },
7617
- "tagName": "notify-audit-management",
7617
+ "tagName": "route-management",
7618
7618
  "customElement": true
7619
7619
  }
7620
7620
  ],
7621
7621
  "exports": [
7622
7622
  {
7623
7623
  "kind": "js",
7624
- "name": "NotifyAuditManagement",
7624
+ "name": "RouteManagement",
7625
7625
  "declaration": {
7626
- "name": "NotifyAuditManagement",
7627
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7626
+ "name": "RouteManagement",
7627
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7628
7628
  }
7629
7629
  },
7630
7630
  {
7631
7631
  "kind": "custom-element-definition",
7632
- "name": "notify-audit-management",
7632
+ "name": "route-management",
7633
7633
  "declaration": {
7634
- "name": "NotifyAuditManagement",
7635
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7634
+ "name": "RouteManagement",
7635
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7636
7636
  }
7637
7637
  }
7638
7638
  ]
7639
7639
  },
7640
7640
  {
7641
7641
  "kind": "javascript-module",
7642
- "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
7642
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
7643
7643
  "declarations": [
7644
7644
  {
7645
7645
  "kind": "class",
7646
7646
  "description": "",
7647
- "name": "RouteManagement",
7647
+ "name": "NotifyAuditManagement",
7648
7648
  "superclass": {
7649
7649
  "name": "GenesisElement",
7650
7650
  "package": "@genesislcap/web-core"
7651
7651
  },
7652
- "tagName": "route-management",
7652
+ "tagName": "notify-audit-management",
7653
7653
  "customElement": true
7654
7654
  }
7655
7655
  ],
7656
7656
  "exports": [
7657
7657
  {
7658
7658
  "kind": "js",
7659
- "name": "RouteManagement",
7659
+ "name": "NotifyAuditManagement",
7660
7660
  "declaration": {
7661
- "name": "RouteManagement",
7662
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7661
+ "name": "NotifyAuditManagement",
7662
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7663
7663
  }
7664
7664
  },
7665
7665
  {
7666
7666
  "kind": "custom-element-definition",
7667
- "name": "route-management",
7667
+ "name": "notify-audit-management",
7668
7668
  "declaration": {
7669
- "name": "RouteManagement",
7670
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
7669
+ "name": "NotifyAuditManagement",
7670
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
7671
7671
  }
7672
7672
  }
7673
7673
  ]
@@ -9831,6 +9831,156 @@
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
+ },
9834
9984
  {
9835
9985
  "kind": "javascript-module",
9836
9986
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
@@ -10117,41 +10267,49 @@
10117
10267
  },
10118
10268
  {
10119
10269
  "kind": "javascript-module",
10120
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10270
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10121
10271
  "declarations": [
10122
10272
  {
10123
10273
  "kind": "variable",
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`"
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`"
10126
10276
  }
10127
10277
  ],
10128
10278
  "exports": [
10129
10279
  {
10130
10280
  "kind": "js",
10131
- "name": "RuleConditionGroupTemplate",
10281
+ "name": "TemplateConditionBuilderTemplate",
10132
10282
  "declaration": {
10133
- "name": "RuleConditionGroupTemplate",
10134
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10283
+ "name": "TemplateConditionBuilderTemplate",
10284
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10135
10285
  }
10136
10286
  }
10137
10287
  ]
10138
10288
  },
10139
10289
  {
10140
10290
  "kind": "javascript-module",
10141
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10291
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10142
10292
  "declarations": [
10143
10293
  {
10144
10294
  "kind": "class",
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",
10295
+ "description": "Condition builder for template notification rules.",
10296
+ "name": "TemplateConditionBuilder",
10147
10297
  "members": [
10148
10298
  {
10149
10299
  "kind": "field",
10150
- "name": "node",
10300
+ "name": "condition",
10151
10301
  "type": {
10152
- "text": "ConditionGroupEntity"
10302
+ "text": "ConditionBuilderEntity"
10153
10303
  }
10154
10304
  },
10305
+ {
10306
+ "kind": "field",
10307
+ "name": "parameters",
10308
+ "type": {
10309
+ "text": "Array<ParameterBuilderEntity>"
10310
+ },
10311
+ "default": "[]"
10312
+ },
10155
10313
  {
10156
10314
  "kind": "field",
10157
10315
  "name": "fields",
@@ -10177,64 +10335,190 @@
10177
10335
  },
10178
10336
  {
10179
10337
  "kind": "field",
10180
- "name": "groupChildren",
10338
+ "name": "leftValue",
10181
10339
  "type": {
10182
- "text": "ConditionNode[]"
10340
+ "text": "any"
10183
10341
  },
10184
- "default": "[]"
10342
+ "default": "null"
10185
10343
  },
10186
10344
  {
10187
- "kind": "method",
10188
- "name": "nodeChanged"
10345
+ "kind": "field",
10346
+ "name": "leftValueItems",
10347
+ "type": {
10348
+ "text": "Array<any>"
10349
+ },
10350
+ "default": "[]"
10189
10351
  },
10190
10352
  {
10191
- "kind": "method",
10192
- "name": "joinOperatorChanged"
10353
+ "kind": "field",
10354
+ "name": "logicalOperator",
10355
+ "type": {
10356
+ "text": "string"
10357
+ },
10358
+ "default": "null"
10193
10359
  },
10194
10360
  {
10195
- "kind": "method",
10196
- "name": "newCondition"
10361
+ "kind": "field",
10362
+ "name": "rightCriteria",
10363
+ "type": {
10364
+ "text": "string"
10365
+ }
10197
10366
  },
10198
10367
  {
10199
- "kind": "method",
10200
- "name": "newGroup"
10368
+ "kind": "field",
10369
+ "name": "rightValueText",
10370
+ "type": {
10371
+ "text": "string"
10372
+ },
10373
+ "default": "null"
10201
10374
  },
10202
10375
  {
10203
- "kind": "method",
10204
- "name": "editChild",
10205
- "parameters": [
10206
- {
10207
- "name": "_editedChild",
10208
- "type": {
10209
- "text": "ConditionNode"
10210
- }
10376
+ "kind": "field",
10377
+ "name": "rightValueSelect",
10378
+ "type": {
10379
+ "text": "string"
10380
+ },
10381
+ "default": "null"
10382
+ },
10383
+ {
10384
+ "kind": "field",
10385
+ "name": "rightValueItems",
10386
+ "type": {
10387
+ "text": "Array<any>"
10388
+ },
10389
+ "default": "[]"
10390
+ },
10391
+ {
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"
10211
10439
  }
10212
- ]
10440
+ }
10213
10441
  },
10214
10442
  {
10215
10443
  "kind": "method",
10216
- "name": "deleteChild",
10217
- "parameters": [
10218
- {
10219
- "name": "deletedChild",
10220
- "type": {
10221
- "text": "ConditionNode"
10222
- }
10444
+ "name": "syncParameterBinding",
10445
+ "privacy": "private",
10446
+ "return": {
10447
+ "type": {
10448
+ "text": "boolean"
10223
10449
  }
10224
- ]
10450
+ }
10225
10451
  },
10226
10452
  {
10227
10453
  "kind": "method",
10228
- "name": "deleteSelf"
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
+ }
10229
10513
  }
10230
10514
  ],
10231
10515
  "events": [
10232
10516
  {
10233
- "description": "Fired when this whole group should be removed",
10517
+ "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10234
10518
  "name": "delete"
10235
10519
  },
10236
10520
  {
10237
- "description": "Fired when anything inside this group changes",
10521
+ "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10238
10522
  "name": "edit"
10239
10523
  }
10240
10524
  ],
@@ -10242,25 +10526,25 @@
10242
10526
  "name": "GenesisElement",
10243
10527
  "package": "@genesislcap/web-core"
10244
10528
  },
10245
- "tagName": "rule-condition-group",
10529
+ "tagName": "template-condition-builder",
10246
10530
  "customElement": true
10247
10531
  }
10248
10532
  ],
10249
10533
  "exports": [
10250
10534
  {
10251
10535
  "kind": "js",
10252
- "name": "RuleConditionGroup",
10536
+ "name": "TemplateConditionBuilder",
10253
10537
  "declaration": {
10254
- "name": "RuleConditionGroup",
10255
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10538
+ "name": "TemplateConditionBuilder",
10539
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10256
10540
  }
10257
10541
  },
10258
10542
  {
10259
10543
  "kind": "custom-element-definition",
10260
- "name": "rule-condition-group",
10544
+ "name": "template-condition-builder",
10261
10545
  "declaration": {
10262
- "name": "RuleConditionGroup",
10263
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10546
+ "name": "TemplateConditionBuilder",
10547
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10264
10548
  }
10265
10549
  }
10266
10550
  ]
@@ -10636,290 +10920,6 @@
10636
10920
  }
10637
10921
  }
10638
10922
  ]
10639
- },
10640
- {
10641
- "kind": "javascript-module",
10642
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
10643
- "declarations": [
10644
- {
10645
- "kind": "variable",
10646
- "name": "TemplateConditionBuilderTemplate",
10647
- "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`"
10648
- }
10649
- ],
10650
- "exports": [
10651
- {
10652
- "kind": "js",
10653
- "name": "TemplateConditionBuilderTemplate",
10654
- "declaration": {
10655
- "name": "TemplateConditionBuilderTemplate",
10656
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
10657
- }
10658
- }
10659
- ]
10660
- },
10661
- {
10662
- "kind": "javascript-module",
10663
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
10664
- "declarations": [
10665
- {
10666
- "kind": "class",
10667
- "description": "Condition builder for template notification rules.",
10668
- "name": "TemplateConditionBuilder",
10669
- "members": [
10670
- {
10671
- "kind": "field",
10672
- "name": "condition",
10673
- "type": {
10674
- "text": "ConditionBuilderEntity"
10675
- }
10676
- },
10677
- {
10678
- "kind": "field",
10679
- "name": "parameters",
10680
- "type": {
10681
- "text": "Array<ParameterBuilderEntity>"
10682
- },
10683
- "default": "[]"
10684
- },
10685
- {
10686
- "kind": "field",
10687
- "name": "fields",
10688
- "type": {
10689
- "text": "Field[]"
10690
- },
10691
- "default": "[]"
10692
- },
10693
- {
10694
- "kind": "field",
10695
- "name": "isFirst",
10696
- "type": {
10697
- "text": "boolean"
10698
- },
10699
- "default": "false"
10700
- },
10701
- {
10702
- "kind": "field",
10703
- "name": "joinOperator",
10704
- "type": {
10705
- "text": "string"
10706
- }
10707
- },
10708
- {
10709
- "kind": "field",
10710
- "name": "leftValue",
10711
- "type": {
10712
- "text": "any"
10713
- },
10714
- "default": "null"
10715
- },
10716
- {
10717
- "kind": "field",
10718
- "name": "leftValueItems",
10719
- "type": {
10720
- "text": "Array<any>"
10721
- },
10722
- "default": "[]"
10723
- },
10724
- {
10725
- "kind": "field",
10726
- "name": "logicalOperator",
10727
- "type": {
10728
- "text": "string"
10729
- },
10730
- "default": "null"
10731
- },
10732
- {
10733
- "kind": "field",
10734
- "name": "rightCriteria",
10735
- "type": {
10736
- "text": "string"
10737
- }
10738
- },
10739
- {
10740
- "kind": "field",
10741
- "name": "rightValueText",
10742
- "type": {
10743
- "text": "string"
10744
- },
10745
- "default": "null"
10746
- },
10747
- {
10748
- "kind": "field",
10749
- "name": "rightValueSelect",
10750
- "type": {
10751
- "text": "string"
10752
- },
10753
- "default": "null"
10754
- },
10755
- {
10756
- "kind": "field",
10757
- "name": "rightValueItems",
10758
- "type": {
10759
- "text": "Array<any>"
10760
- },
10761
- "default": "[]"
10762
- },
10763
- {
10764
- "kind": "field",
10765
- "name": "rightValueMultiSelect",
10766
- "type": {
10767
- "text": "string[]"
10768
- },
10769
- "default": "[]"
10770
- },
10771
- {
10772
- "kind": "field",
10773
- "name": "rightCriteriaOptions",
10774
- "type": {
10775
- "text": "RightCriteria[]"
10776
- },
10777
- "readonly": true
10778
- },
10779
- {
10780
- "kind": "field",
10781
- "name": "isStringLeftValue",
10782
- "type": {
10783
- "text": "boolean"
10784
- },
10785
- "privacy": "private",
10786
- "readonly": true
10787
- },
10788
- {
10789
- "kind": "method",
10790
- "name": "deleteCondition"
10791
- },
10792
- {
10793
- "kind": "method",
10794
- "name": "conditionChanged"
10795
- },
10796
- {
10797
- "kind": "method",
10798
- "name": "joinOperatorChanged"
10799
- },
10800
- {
10801
- "kind": "method",
10802
- "name": "parametersChanged"
10803
- },
10804
- {
10805
- "kind": "method",
10806
- "name": "getMatchingParameter",
10807
- "privacy": "private",
10808
- "return": {
10809
- "type": {
10810
- "text": "ParameterBuilderEntity | undefined"
10811
- }
10812
- }
10813
- },
10814
- {
10815
- "kind": "method",
10816
- "name": "syncParameterBinding",
10817
- "privacy": "private",
10818
- "return": {
10819
- "type": {
10820
- "text": "boolean"
10821
- }
10822
- }
10823
- },
10824
- {
10825
- "kind": "method",
10826
- "name": "resetToValueEditor",
10827
- "privacy": "private"
10828
- },
10829
- {
10830
- "kind": "method",
10831
- "name": "fieldsChanged"
10832
- },
10833
- {
10834
- "kind": "method",
10835
- "name": "logicalOperatorChanged"
10836
- },
10837
- {
10838
- "kind": "method",
10839
- "name": "assignLeftValue",
10840
- "privacy": "private"
10841
- },
10842
- {
10843
- "kind": "method",
10844
- "name": "leftValueChanged"
10845
- },
10846
- {
10847
- "kind": "method",
10848
- "name": "assignRightValue",
10849
- "privacy": "private"
10850
- },
10851
- {
10852
- "kind": "method",
10853
- "name": "rightCriteriaChanged"
10854
- },
10855
- {
10856
- "kind": "method",
10857
- "name": "clearRightValueText",
10858
- "privacy": "private"
10859
- },
10860
- {
10861
- "kind": "method",
10862
- "name": "clearRightValueSelect",
10863
- "privacy": "private"
10864
- },
10865
- {
10866
- "kind": "method",
10867
- "name": "rightValueTextChanged"
10868
- },
10869
- {
10870
- "kind": "method",
10871
- "name": "rightValueSelectChanged"
10872
- },
10873
- {
10874
- "kind": "method",
10875
- "name": "rightValueMultiSelectChanged"
10876
- },
10877
- {
10878
- "kind": "method",
10879
- "name": "getEnumValues",
10880
- "return": {
10881
- "type": {
10882
- "text": "string[]"
10883
- }
10884
- }
10885
- }
10886
- ],
10887
- "events": [
10888
- {
10889
- "description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
10890
- "name": "delete"
10891
- },
10892
- {
10893
- "description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
10894
- "name": "edit"
10895
- }
10896
- ],
10897
- "superclass": {
10898
- "name": "GenesisElement",
10899
- "package": "@genesislcap/web-core"
10900
- },
10901
- "tagName": "template-condition-builder",
10902
- "customElement": true
10903
- }
10904
- ],
10905
- "exports": [
10906
- {
10907
- "kind": "js",
10908
- "name": "TemplateConditionBuilder",
10909
- "declaration": {
10910
- "name": "TemplateConditionBuilder",
10911
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10912
- }
10913
- },
10914
- {
10915
- "kind": "custom-element-definition",
10916
- "name": "template-condition-builder",
10917
- "declaration": {
10918
- "name": "TemplateConditionBuilder",
10919
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
10920
- }
10921
- }
10922
- ]
10923
10923
  }
10924
10924
  ]
10925
10925
  }
@@ -135,23 +135,23 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
135
135
  >;
136
136
  export type InboxSubscriptionRef = InboxSubscriptionWC;
137
137
 
138
- export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
138
+ export declare const RouteManagement: React.ForwardRefExoticComponent<
139
139
  React.PropsWithChildren<
140
- Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
140
+ Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
141
141
  HTMLWCProps & {
142
142
  }
143
- > & React.RefAttributes<NotifyAuditManagementWC>
143
+ > & React.RefAttributes<RouteManagementWC>
144
144
  >;
145
- export type NotifyAuditManagementRef = NotifyAuditManagementWC;
145
+ export type RouteManagementRef = RouteManagementWC;
146
146
 
147
- export declare const RouteManagement: React.ForwardRefExoticComponent<
147
+ export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
148
148
  React.PropsWithChildren<
149
- Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
149
+ Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
150
150
  HTMLWCProps & {
151
151
  }
152
- > & React.RefAttributes<RouteManagementWC>
152
+ > & React.RefAttributes<NotifyAuditManagementWC>
153
153
  >;
154
- export type RouteManagementRef = RouteManagementWC;
154
+ export type NotifyAuditManagementRef = NotifyAuditManagementWC;
155
155
 
156
156
  export declare const RuleManagement: React.ForwardRefExoticComponent<
157
157
  React.PropsWithChildren<
@@ -255,6 +255,17 @@ 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
+
258
269
  export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
259
270
  React.PropsWithChildren<
260
271
  Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
@@ -266,16 +277,16 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
266
277
  >;
267
278
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
268
279
 
269
- export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
280
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
270
281
  React.PropsWithChildren<
271
- Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
282
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
272
283
  HTMLWCProps & {
273
- onDelete?: (event: CustomEvent<unknown>) => void;
274
- onEdit?: (event: CustomEvent<unknown>) => void;
284
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
285
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
275
286
  }
276
- > & React.RefAttributes<RuleConditionGroupWC>
287
+ > & React.RefAttributes<TemplateConditionBuilderWC>
277
288
  >;
278
- export type RuleConditionGroupRef = RuleConditionGroupWC;
289
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
279
290
 
280
291
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
281
292
  React.PropsWithChildren<
@@ -299,15 +310,4 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
299
310
  >;
300
311
  export type TemplateConditionGroupRef = TemplateConditionGroupWC;
301
312
 
302
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
303
- React.PropsWithChildren<
304
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
305
- HTMLWCProps & {
306
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
307
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
308
- }
309
- > & React.RefAttributes<TemplateConditionBuilderWC>
310
- >;
311
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
312
-
313
313
  export {};
package/dist/react.cjs CHANGED
@@ -99,14 +99,14 @@ const InboxSubscription = React.forwardRef(function InboxSubscription(props, ref
99
99
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
100
100
  });
101
101
 
102
- const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
102
+ const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
103
103
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
107
+ const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
110
110
  });
111
111
 
112
112
  const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
@@ -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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
203
+ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
219
219
  el.removeEventListener('edit', _onEditFn);
220
220
  };
221
221
  }, []);
222
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
222
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
223
223
  });
224
224
 
225
- const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
225
+ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
241
241
  el.removeEventListener('edit', _onEditFn);
242
242
  };
243
243
  }, []);
244
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
244
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
245
245
  });
246
246
 
247
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
247
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
263
263
  el.removeEventListener('edit', _onEditFn);
264
264
  };
265
265
  }, []);
266
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
266
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
269
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(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,10 +285,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
291
+ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
292
292
  const { onDelete, onEdit, children, ...rest } = props;
293
293
  const _innerRef = React.useRef(null);
294
294
  const _onDeleteRef = React.useRef(onDelete);
@@ -307,7 +307,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
307
307
  el.removeEventListener('edit', _onEditFn);
308
308
  };
309
309
  }, []);
310
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
310
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
311
311
  });
312
312
 
313
313
  module.exports = {
@@ -319,8 +319,8 @@ module.exports = {
319
319
  FoundationInboxCounter,
320
320
  FoundationInboxFlyout,
321
321
  InboxSubscription,
322
- NotifyAuditManagement,
323
322
  RouteManagement,
323
+ NotifyAuditManagement,
324
324
  RuleManagement,
325
325
  TemplateManagement,
326
326
  RuleParameter,
@@ -332,9 +332,9 @@ module.exports = {
332
332
  SlackRouteManagement,
333
333
  RuleDialog,
334
334
  TemplateDialog,
335
- RuleConditionBuilder,
336
335
  RuleConditionGroup,
336
+ RuleConditionBuilder,
337
+ TemplateConditionBuilder,
337
338
  ParameterBuilder,
338
339
  TemplateConditionGroup,
339
- TemplateConditionBuilder,
340
340
  };
package/dist/react.mjs CHANGED
@@ -97,14 +97,14 @@ export const InboxSubscription = React.forwardRef(function InboxSubscription(pro
97
97
  return React.createElement(customElements.getName(InboxSubscriptionWC) ?? 'inbox-subscription', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
98
98
  });
99
99
 
100
- export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
100
+ export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
101
101
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
105
+ export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
108
108
  });
109
109
 
110
110
  export const RuleManagement = React.forwardRef(function RuleManagement(props, ref) {
@@ -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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
201
+ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
217
217
  el.removeEventListener('edit', _onEditFn);
218
218
  };
219
219
  }, []);
220
- return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
220
+ return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
221
221
  });
222
222
 
223
- export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
223
+ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
239
239
  el.removeEventListener('edit', _onEditFn);
240
240
  };
241
241
  }, []);
242
- return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
242
+ return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
243
243
  });
244
244
 
245
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
245
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props
261
261
  el.removeEventListener('edit', _onEditFn);
262
262
  };
263
263
  }, []);
264
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
264
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
267
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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,10 +283,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
289
+ export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
290
290
  const { onDelete, onEdit, children, ...rest } = props;
291
291
  const _innerRef = React.useRef(null);
292
292
  const _onDeleteRef = React.useRef(onDelete);
@@ -305,5 +305,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
305
305
  el.removeEventListener('edit', _onEditFn);
306
306
  };
307
307
  }, []);
308
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
308
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
309
309
  });
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.43.0",
4
+ "version": "15.45.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "workspaces": [
7
7
  "client"
@@ -81,30 +81,30 @@
81
81
  "@commitlint/cli": "^19.2.1",
82
82
  "@commitlint/config-conventional": "^19.1.0",
83
83
  "@commitlint/format": "^19.0.3",
84
- "@genesislcap/design-system-configurator": "15.43.0",
85
- "@genesislcap/eslint-config": "15.43.0",
86
- "@genesislcap/eslint-stylelint-builder": "15.43.0",
87
- "@genesislcap/foundation-testing": "15.43.0",
88
- "@genesislcap/genx": "15.43.0",
89
- "@genesislcap/prettier-config": "15.43.0",
90
- "@genesislcap/stylelint-config": "15.43.0",
91
- "@genesislcap/vite-builder": "15.43.0",
92
- "@genesislcap/webpack-builder": "15.43.0",
84
+ "@genesislcap/design-system-configurator": "15.45.0",
85
+ "@genesislcap/eslint-config": "15.45.0",
86
+ "@genesislcap/eslint-stylelint-builder": "15.45.0",
87
+ "@genesislcap/foundation-testing": "15.45.0",
88
+ "@genesislcap/genx": "15.45.0",
89
+ "@genesislcap/prettier-config": "15.45.0",
90
+ "@genesislcap/stylelint-config": "15.45.0",
91
+ "@genesislcap/vite-builder": "15.45.0",
92
+ "@genesislcap/webpack-builder": "15.45.0",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.43.0",
97
- "@genesislcap/foundation-criteria": "15.43.0",
98
- "@genesislcap/foundation-entity-management": "15.43.0",
99
- "@genesislcap/foundation-forms": "15.43.0",
100
- "@genesislcap/foundation-layout": "15.43.0",
101
- "@genesislcap/foundation-logger": "15.43.0",
102
- "@genesislcap/foundation-notifications": "15.43.0",
103
- "@genesislcap/foundation-ui": "15.43.0",
104
- "@genesislcap/foundation-utils": "15.43.0",
105
- "@genesislcap/rapid-design-system": "15.43.0",
106
- "@genesislcap/rapid-grid-pro": "15.43.0",
107
- "@genesislcap/web-core": "15.43.0",
96
+ "@genesislcap/foundation-comms": "15.45.0",
97
+ "@genesislcap/foundation-criteria": "15.45.0",
98
+ "@genesislcap/foundation-entity-management": "15.45.0",
99
+ "@genesislcap/foundation-forms": "15.45.0",
100
+ "@genesislcap/foundation-layout": "15.45.0",
101
+ "@genesislcap/foundation-logger": "15.45.0",
102
+ "@genesislcap/foundation-notifications": "15.45.0",
103
+ "@genesislcap/foundation-ui": "15.45.0",
104
+ "@genesislcap/foundation-utils": "15.45.0",
105
+ "@genesislcap/rapid-design-system": "15.45.0",
106
+ "@genesislcap/rapid-grid-pro": "15.45.0",
107
+ "@genesislcap/web-core": "15.45.0",
108
108
  "lodash.debounce": "^4.0.8",
109
109
  "rxjs": "^7.5.4"
110
110
  },