@genesislcap/pbc-notify-ui 15.95.2-GENC-1665.2 → 15.96.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.
@@ -8075,70 +8075,70 @@
8075
8075
  },
8076
8076
  {
8077
8077
  "kind": "javascript-module",
8078
- "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
8078
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
8079
8079
  "declarations": [
8080
8080
  {
8081
8081
  "kind": "class",
8082
8082
  "description": "",
8083
- "name": "RouteManagement",
8083
+ "name": "NotifyAuditManagement",
8084
8084
  "superclass": {
8085
8085
  "name": "GenesisElement",
8086
8086
  "package": "@genesislcap/web-core"
8087
8087
  },
8088
- "tagName": "route-management",
8088
+ "tagName": "notify-audit-management",
8089
8089
  "customElement": true
8090
8090
  }
8091
8091
  ],
8092
8092
  "exports": [
8093
8093
  {
8094
8094
  "kind": "js",
8095
- "name": "RouteManagement",
8095
+ "name": "NotifyAuditManagement",
8096
8096
  "declaration": {
8097
- "name": "RouteManagement",
8098
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8097
+ "name": "NotifyAuditManagement",
8098
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
8099
8099
  }
8100
8100
  },
8101
8101
  {
8102
8102
  "kind": "custom-element-definition",
8103
- "name": "route-management",
8103
+ "name": "notify-audit-management",
8104
8104
  "declaration": {
8105
- "name": "RouteManagement",
8106
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8105
+ "name": "NotifyAuditManagement",
8106
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
8107
8107
  }
8108
8108
  }
8109
8109
  ]
8110
8110
  },
8111
8111
  {
8112
8112
  "kind": "javascript-module",
8113
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
8113
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
8114
8114
  "declarations": [
8115
8115
  {
8116
8116
  "kind": "class",
8117
8117
  "description": "",
8118
- "name": "NotifyAuditManagement",
8118
+ "name": "RouteManagement",
8119
8119
  "superclass": {
8120
8120
  "name": "GenesisElement",
8121
8121
  "package": "@genesislcap/web-core"
8122
8122
  },
8123
- "tagName": "notify-audit-management",
8123
+ "tagName": "route-management",
8124
8124
  "customElement": true
8125
8125
  }
8126
8126
  ],
8127
8127
  "exports": [
8128
8128
  {
8129
8129
  "kind": "js",
8130
- "name": "NotifyAuditManagement",
8130
+ "name": "RouteManagement",
8131
8131
  "declaration": {
8132
- "name": "NotifyAuditManagement",
8133
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
8132
+ "name": "RouteManagement",
8133
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8134
8134
  }
8135
8135
  },
8136
8136
  {
8137
8137
  "kind": "custom-element-definition",
8138
- "name": "notify-audit-management",
8138
+ "name": "route-management",
8139
8139
  "declaration": {
8140
- "name": "NotifyAuditManagement",
8141
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
8140
+ "name": "RouteManagement",
8141
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
8142
8142
  }
8143
8143
  }
8144
8144
  ]
@@ -10302,6 +10302,156 @@
10302
10302
  }
10303
10303
  ]
10304
10304
  },
10305
+ {
10306
+ "kind": "javascript-module",
10307
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10308
+ "declarations": [
10309
+ {
10310
+ "kind": "variable",
10311
+ "name": "RuleConditionGroupTemplate",
10312
+ "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`"
10313
+ }
10314
+ ],
10315
+ "exports": [
10316
+ {
10317
+ "kind": "js",
10318
+ "name": "RuleConditionGroupTemplate",
10319
+ "declaration": {
10320
+ "name": "RuleConditionGroupTemplate",
10321
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10322
+ }
10323
+ }
10324
+ ]
10325
+ },
10326
+ {
10327
+ "kind": "javascript-module",
10328
+ "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10329
+ "declarations": [
10330
+ {
10331
+ "kind": "class",
10332
+ "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.",
10333
+ "name": "RuleConditionGroup",
10334
+ "members": [
10335
+ {
10336
+ "kind": "field",
10337
+ "name": "node",
10338
+ "type": {
10339
+ "text": "ConditionGroupEntity"
10340
+ }
10341
+ },
10342
+ {
10343
+ "kind": "field",
10344
+ "name": "fields",
10345
+ "type": {
10346
+ "text": "Field[]"
10347
+ },
10348
+ "default": "[]"
10349
+ },
10350
+ {
10351
+ "kind": "field",
10352
+ "name": "isFirst",
10353
+ "type": {
10354
+ "text": "boolean"
10355
+ },
10356
+ "default": "false"
10357
+ },
10358
+ {
10359
+ "kind": "field",
10360
+ "name": "joinOperator",
10361
+ "type": {
10362
+ "text": "string"
10363
+ }
10364
+ },
10365
+ {
10366
+ "kind": "field",
10367
+ "name": "groupChildren",
10368
+ "type": {
10369
+ "text": "ConditionNode[]"
10370
+ },
10371
+ "default": "[]"
10372
+ },
10373
+ {
10374
+ "kind": "method",
10375
+ "name": "nodeChanged"
10376
+ },
10377
+ {
10378
+ "kind": "method",
10379
+ "name": "joinOperatorChanged"
10380
+ },
10381
+ {
10382
+ "kind": "method",
10383
+ "name": "newCondition"
10384
+ },
10385
+ {
10386
+ "kind": "method",
10387
+ "name": "newGroup"
10388
+ },
10389
+ {
10390
+ "kind": "method",
10391
+ "name": "editChild",
10392
+ "parameters": [
10393
+ {
10394
+ "name": "_editedChild",
10395
+ "type": {
10396
+ "text": "ConditionNode"
10397
+ }
10398
+ }
10399
+ ]
10400
+ },
10401
+ {
10402
+ "kind": "method",
10403
+ "name": "deleteChild",
10404
+ "parameters": [
10405
+ {
10406
+ "name": "deletedChild",
10407
+ "type": {
10408
+ "text": "ConditionNode"
10409
+ }
10410
+ }
10411
+ ]
10412
+ },
10413
+ {
10414
+ "kind": "method",
10415
+ "name": "deleteSelf"
10416
+ }
10417
+ ],
10418
+ "events": [
10419
+ {
10420
+ "description": "Fired when this whole group should be removed",
10421
+ "name": "delete"
10422
+ },
10423
+ {
10424
+ "description": "Fired when anything inside this group changes",
10425
+ "name": "edit"
10426
+ }
10427
+ ],
10428
+ "superclass": {
10429
+ "name": "GenesisElement",
10430
+ "package": "@genesislcap/web-core"
10431
+ },
10432
+ "tagName": "rule-condition-group",
10433
+ "customElement": true
10434
+ }
10435
+ ],
10436
+ "exports": [
10437
+ {
10438
+ "kind": "js",
10439
+ "name": "RuleConditionGroup",
10440
+ "declaration": {
10441
+ "name": "RuleConditionGroup",
10442
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10443
+ }
10444
+ },
10445
+ {
10446
+ "kind": "custom-element-definition",
10447
+ "name": "rule-condition-group",
10448
+ "declaration": {
10449
+ "name": "RuleConditionGroup",
10450
+ "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10451
+ }
10452
+ }
10453
+ ]
10454
+ },
10305
10455
  {
10306
10456
  "kind": "javascript-module",
10307
10457
  "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
@@ -10588,239 +10738,89 @@
10588
10738
  },
10589
10739
  {
10590
10740
  "kind": "javascript-module",
10591
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
10741
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10592
10742
  "declarations": [
10593
10743
  {
10594
10744
  "kind": "variable",
10595
- "name": "RuleConditionGroupTemplate",
10596
- "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`"
10745
+ "name": "ParameterBuilderStyles",
10746
+ "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
10597
10747
  }
10598
10748
  ],
10599
10749
  "exports": [
10600
10750
  {
10601
10751
  "kind": "js",
10602
- "name": "RuleConditionGroupTemplate",
10752
+ "name": "ParameterBuilderStyles",
10603
10753
  "declaration": {
10604
- "name": "RuleConditionGroupTemplate",
10605
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
10754
+ "name": "ParameterBuilderStyles",
10755
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10606
10756
  }
10607
10757
  }
10608
10758
  ]
10609
10759
  },
10610
10760
  {
10611
10761
  "kind": "javascript-module",
10612
- "path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
10762
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10763
+ "declarations": [
10764
+ {
10765
+ "kind": "variable",
10766
+ "name": "ParameterBuilderTemplate",
10767
+ "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\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`"
10768
+ }
10769
+ ],
10770
+ "exports": [
10771
+ {
10772
+ "kind": "js",
10773
+ "name": "ParameterBuilderTemplate",
10774
+ "declaration": {
10775
+ "name": "ParameterBuilderTemplate",
10776
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10777
+ }
10778
+ }
10779
+ ]
10780
+ },
10781
+ {
10782
+ "kind": "javascript-module",
10783
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10613
10784
  "declarations": [
10614
10785
  {
10615
10786
  "kind": "class",
10616
- "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.",
10617
- "name": "RuleConditionGroup",
10787
+ "description": "Parameter builder for notification templates.",
10788
+ "name": "ParameterBuilder",
10618
10789
  "members": [
10619
10790
  {
10620
10791
  "kind": "field",
10621
- "name": "node",
10792
+ "name": "parameter",
10622
10793
  "type": {
10623
- "text": "ConditionGroupEntity"
10794
+ "text": "ParameterBuilderEntity"
10624
10795
  }
10625
10796
  },
10626
10797
  {
10627
10798
  "kind": "field",
10628
- "name": "fields",
10799
+ "name": "name",
10629
10800
  "type": {
10630
- "text": "Field[]"
10631
- },
10632
- "default": "[]"
10801
+ "text": "string"
10802
+ }
10633
10803
  },
10634
10804
  {
10635
10805
  "kind": "field",
10636
- "name": "isFirst",
10806
+ "name": "label",
10637
10807
  "type": {
10638
- "text": "boolean"
10639
- },
10640
- "default": "false"
10808
+ "text": "string"
10809
+ }
10641
10810
  },
10642
10811
  {
10643
10812
  "kind": "field",
10644
- "name": "joinOperator",
10813
+ "name": "type",
10645
10814
  "type": {
10646
10815
  "text": "string"
10647
10816
  }
10648
10817
  },
10649
10818
  {
10650
10819
  "kind": "field",
10651
- "name": "groupChildren",
10820
+ "name": "sourceType",
10652
10821
  "type": {
10653
- "text": "ConditionNode[]"
10654
- },
10655
- "default": "[]"
10656
- },
10657
- {
10658
- "kind": "method",
10659
- "name": "nodeChanged"
10660
- },
10661
- {
10662
- "kind": "method",
10663
- "name": "joinOperatorChanged"
10664
- },
10665
- {
10666
- "kind": "method",
10667
- "name": "newCondition"
10668
- },
10669
- {
10670
- "kind": "method",
10671
- "name": "newGroup"
10672
- },
10673
- {
10674
- "kind": "method",
10675
- "name": "editChild",
10676
- "parameters": [
10677
- {
10678
- "name": "_editedChild",
10679
- "type": {
10680
- "text": "ConditionNode"
10681
- }
10682
- }
10683
- ]
10684
- },
10685
- {
10686
- "kind": "method",
10687
- "name": "deleteChild",
10688
- "parameters": [
10689
- {
10690
- "name": "deletedChild",
10691
- "type": {
10692
- "text": "ConditionNode"
10693
- }
10694
- }
10695
- ]
10696
- },
10697
- {
10698
- "kind": "method",
10699
- "name": "deleteSelf"
10700
- }
10701
- ],
10702
- "events": [
10703
- {
10704
- "description": "Fired when this whole group should be removed",
10705
- "name": "delete"
10706
- },
10707
- {
10708
- "description": "Fired when anything inside this group changes",
10709
- "name": "edit"
10710
- }
10711
- ],
10712
- "superclass": {
10713
- "name": "GenesisElement",
10714
- "package": "@genesislcap/web-core"
10715
- },
10716
- "tagName": "rule-condition-group",
10717
- "customElement": true
10718
- }
10719
- ],
10720
- "exports": [
10721
- {
10722
- "kind": "js",
10723
- "name": "RuleConditionGroup",
10724
- "declaration": {
10725
- "name": "RuleConditionGroup",
10726
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10727
- }
10728
- },
10729
- {
10730
- "kind": "custom-element-definition",
10731
- "name": "rule-condition-group",
10732
- "declaration": {
10733
- "name": "RuleConditionGroup",
10734
- "module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
10735
- }
10736
- }
10737
- ]
10738
- },
10739
- {
10740
- "kind": "javascript-module",
10741
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
10742
- "declarations": [
10743
- {
10744
- "kind": "variable",
10745
- "name": "ParameterBuilderStyles",
10746
- "default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
10747
- }
10748
- ],
10749
- "exports": [
10750
- {
10751
- "kind": "js",
10752
- "name": "ParameterBuilderStyles",
10753
- "declaration": {
10754
- "name": "ParameterBuilderStyles",
10755
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
10756
- }
10757
- }
10758
- ]
10759
- },
10760
- {
10761
- "kind": "javascript-module",
10762
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
10763
- "declarations": [
10764
- {
10765
- "kind": "variable",
10766
- "name": "ParameterBuilderTemplate",
10767
- "default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\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`"
10768
- }
10769
- ],
10770
- "exports": [
10771
- {
10772
- "kind": "js",
10773
- "name": "ParameterBuilderTemplate",
10774
- "declaration": {
10775
- "name": "ParameterBuilderTemplate",
10776
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
10777
- }
10778
- }
10779
- ]
10780
- },
10781
- {
10782
- "kind": "javascript-module",
10783
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
10784
- "declarations": [
10785
- {
10786
- "kind": "class",
10787
- "description": "Parameter builder for notification templates.",
10788
- "name": "ParameterBuilder",
10789
- "members": [
10790
- {
10791
- "kind": "field",
10792
- "name": "parameter",
10793
- "type": {
10794
- "text": "ParameterBuilderEntity"
10795
- }
10796
- },
10797
- {
10798
- "kind": "field",
10799
- "name": "name",
10800
- "type": {
10801
- "text": "string"
10802
- }
10803
- },
10804
- {
10805
- "kind": "field",
10806
- "name": "label",
10807
- "type": {
10808
- "text": "string"
10809
- }
10810
- },
10811
- {
10812
- "kind": "field",
10813
- "name": "type",
10814
- "type": {
10815
- "text": "string"
10816
- }
10817
- },
10818
- {
10819
- "kind": "field",
10820
- "name": "sourceType",
10821
- "type": {
10822
- "text": "string"
10823
- }
10822
+ "text": "string"
10823
+ }
10824
10824
  },
10825
10825
  {
10826
10826
  "kind": "field",
@@ -10950,164 +10950,6 @@
10950
10950
  }
10951
10951
  ]
10952
10952
  },
10953
- {
10954
- "kind": "javascript-module",
10955
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
10956
- "declarations": [
10957
- {
10958
- "kind": "variable",
10959
- "name": "TemplateConditionGroupTemplate",
10960
- "default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
10961
- }
10962
- ],
10963
- "exports": [
10964
- {
10965
- "kind": "js",
10966
- "name": "TemplateConditionGroupTemplate",
10967
- "declaration": {
10968
- "name": "TemplateConditionGroupTemplate",
10969
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
10970
- }
10971
- }
10972
- ]
10973
- },
10974
- {
10975
- "kind": "javascript-module",
10976
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
10977
- "declarations": [
10978
- {
10979
- "kind": "class",
10980
- "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
10981
- "name": "TemplateConditionGroup",
10982
- "members": [
10983
- {
10984
- "kind": "field",
10985
- "name": "node",
10986
- "type": {
10987
- "text": "ConditionGroupEntity"
10988
- }
10989
- },
10990
- {
10991
- "kind": "field",
10992
- "name": "fields",
10993
- "type": {
10994
- "text": "Field[]"
10995
- },
10996
- "default": "[]"
10997
- },
10998
- {
10999
- "kind": "field",
11000
- "name": "parameters",
11001
- "type": {
11002
- "text": "Array<ParameterBuilderEntity>"
11003
- },
11004
- "default": "[]"
11005
- },
11006
- {
11007
- "kind": "field",
11008
- "name": "isFirst",
11009
- "type": {
11010
- "text": "boolean"
11011
- },
11012
- "default": "false"
11013
- },
11014
- {
11015
- "kind": "field",
11016
- "name": "joinOperator",
11017
- "type": {
11018
- "text": "string"
11019
- }
11020
- },
11021
- {
11022
- "kind": "field",
11023
- "name": "groupChildren",
11024
- "type": {
11025
- "text": "ConditionNode[]"
11026
- },
11027
- "default": "[]"
11028
- },
11029
- {
11030
- "kind": "method",
11031
- "name": "nodeChanged"
11032
- },
11033
- {
11034
- "kind": "method",
11035
- "name": "joinOperatorChanged"
11036
- },
11037
- {
11038
- "kind": "method",
11039
- "name": "newCondition"
11040
- },
11041
- {
11042
- "kind": "method",
11043
- "name": "newGroup"
11044
- },
11045
- {
11046
- "kind": "method",
11047
- "name": "editChild",
11048
- "parameters": [
11049
- {
11050
- "name": "_editedChild",
11051
- "type": {
11052
- "text": "ConditionNode"
11053
- }
11054
- }
11055
- ]
11056
- },
11057
- {
11058
- "kind": "method",
11059
- "name": "deleteChild",
11060
- "parameters": [
11061
- {
11062
- "name": "deletedChild",
11063
- "type": {
11064
- "text": "ConditionNode"
11065
- }
11066
- }
11067
- ]
11068
- },
11069
- {
11070
- "kind": "method",
11071
- "name": "deleteSelf"
11072
- }
11073
- ],
11074
- "events": [
11075
- {
11076
- "description": "Fired when this whole group should be removed",
11077
- "name": "delete"
11078
- },
11079
- {
11080
- "description": "Fired when anything inside this group changes",
11081
- "name": "edit"
11082
- }
11083
- ],
11084
- "superclass": {
11085
- "name": "GenesisElement",
11086
- "package": "@genesislcap/web-core"
11087
- },
11088
- "tagName": "template-condition-group",
11089
- "customElement": true
11090
- }
11091
- ],
11092
- "exports": [
11093
- {
11094
- "kind": "js",
11095
- "name": "TemplateConditionGroup",
11096
- "declaration": {
11097
- "name": "TemplateConditionGroup",
11098
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11099
- }
11100
- },
11101
- {
11102
- "kind": "custom-element-definition",
11103
- "name": "template-condition-group",
11104
- "declaration": {
11105
- "name": "TemplateConditionGroup",
11106
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11107
- }
11108
- }
11109
- ]
11110
- },
11111
10953
  {
11112
10954
  "kind": "javascript-module",
11113
10955
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -11391,6 +11233,164 @@
11391
11233
  }
11392
11234
  }
11393
11235
  ]
11236
+ },
11237
+ {
11238
+ "kind": "javascript-module",
11239
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
11240
+ "declarations": [
11241
+ {
11242
+ "kind": "variable",
11243
+ "name": "TemplateConditionGroupTemplate",
11244
+ "default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
11245
+ }
11246
+ ],
11247
+ "exports": [
11248
+ {
11249
+ "kind": "js",
11250
+ "name": "TemplateConditionGroupTemplate",
11251
+ "declaration": {
11252
+ "name": "TemplateConditionGroupTemplate",
11253
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
11254
+ }
11255
+ }
11256
+ ]
11257
+ },
11258
+ {
11259
+ "kind": "javascript-module",
11260
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
11261
+ "declarations": [
11262
+ {
11263
+ "kind": "class",
11264
+ "description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
11265
+ "name": "TemplateConditionGroup",
11266
+ "members": [
11267
+ {
11268
+ "kind": "field",
11269
+ "name": "node",
11270
+ "type": {
11271
+ "text": "ConditionGroupEntity"
11272
+ }
11273
+ },
11274
+ {
11275
+ "kind": "field",
11276
+ "name": "fields",
11277
+ "type": {
11278
+ "text": "Field[]"
11279
+ },
11280
+ "default": "[]"
11281
+ },
11282
+ {
11283
+ "kind": "field",
11284
+ "name": "parameters",
11285
+ "type": {
11286
+ "text": "Array<ParameterBuilderEntity>"
11287
+ },
11288
+ "default": "[]"
11289
+ },
11290
+ {
11291
+ "kind": "field",
11292
+ "name": "isFirst",
11293
+ "type": {
11294
+ "text": "boolean"
11295
+ },
11296
+ "default": "false"
11297
+ },
11298
+ {
11299
+ "kind": "field",
11300
+ "name": "joinOperator",
11301
+ "type": {
11302
+ "text": "string"
11303
+ }
11304
+ },
11305
+ {
11306
+ "kind": "field",
11307
+ "name": "groupChildren",
11308
+ "type": {
11309
+ "text": "ConditionNode[]"
11310
+ },
11311
+ "default": "[]"
11312
+ },
11313
+ {
11314
+ "kind": "method",
11315
+ "name": "nodeChanged"
11316
+ },
11317
+ {
11318
+ "kind": "method",
11319
+ "name": "joinOperatorChanged"
11320
+ },
11321
+ {
11322
+ "kind": "method",
11323
+ "name": "newCondition"
11324
+ },
11325
+ {
11326
+ "kind": "method",
11327
+ "name": "newGroup"
11328
+ },
11329
+ {
11330
+ "kind": "method",
11331
+ "name": "editChild",
11332
+ "parameters": [
11333
+ {
11334
+ "name": "_editedChild",
11335
+ "type": {
11336
+ "text": "ConditionNode"
11337
+ }
11338
+ }
11339
+ ]
11340
+ },
11341
+ {
11342
+ "kind": "method",
11343
+ "name": "deleteChild",
11344
+ "parameters": [
11345
+ {
11346
+ "name": "deletedChild",
11347
+ "type": {
11348
+ "text": "ConditionNode"
11349
+ }
11350
+ }
11351
+ ]
11352
+ },
11353
+ {
11354
+ "kind": "method",
11355
+ "name": "deleteSelf"
11356
+ }
11357
+ ],
11358
+ "events": [
11359
+ {
11360
+ "description": "Fired when this whole group should be removed",
11361
+ "name": "delete"
11362
+ },
11363
+ {
11364
+ "description": "Fired when anything inside this group changes",
11365
+ "name": "edit"
11366
+ }
11367
+ ],
11368
+ "superclass": {
11369
+ "name": "GenesisElement",
11370
+ "package": "@genesislcap/web-core"
11371
+ },
11372
+ "tagName": "template-condition-group",
11373
+ "customElement": true
11374
+ }
11375
+ ],
11376
+ "exports": [
11377
+ {
11378
+ "kind": "js",
11379
+ "name": "TemplateConditionGroup",
11380
+ "declaration": {
11381
+ "name": "TemplateConditionGroup",
11382
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11383
+ }
11384
+ },
11385
+ {
11386
+ "kind": "custom-element-definition",
11387
+ "name": "template-condition-group",
11388
+ "declaration": {
11389
+ "name": "TemplateConditionGroup",
11390
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
11391
+ }
11392
+ }
11393
+ ]
11394
11394
  }
11395
11395
  ]
11396
11396
  }
@@ -135,23 +135,23 @@ export declare const InboxSubscription: React.ForwardRefExoticComponent<
135
135
  >;
136
136
  export type InboxSubscriptionRef = InboxSubscriptionWC;
137
137
 
138
- export declare const RouteManagement: React.ForwardRefExoticComponent<
138
+ export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
139
139
  React.PropsWithChildren<
140
- Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
140
+ Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
141
141
  HTMLWCProps & {
142
142
  }
143
- > & React.RefAttributes<RouteManagementWC>
143
+ > & React.RefAttributes<NotifyAuditManagementWC>
144
144
  >;
145
- export type RouteManagementRef = RouteManagementWC;
145
+ export type NotifyAuditManagementRef = NotifyAuditManagementWC;
146
146
 
147
- export declare const NotifyAuditManagement: React.ForwardRefExoticComponent<
147
+ export declare const RouteManagement: React.ForwardRefExoticComponent<
148
148
  React.PropsWithChildren<
149
- Omit<PublicOf<NotifyAuditManagementWC>, 'children' | 'style'> &
149
+ Omit<PublicOf<RouteManagementWC>, 'children' | 'style'> &
150
150
  HTMLWCProps & {
151
151
  }
152
- > & React.RefAttributes<NotifyAuditManagementWC>
152
+ > & React.RefAttributes<RouteManagementWC>
153
153
  >;
154
- export type NotifyAuditManagementRef = NotifyAuditManagementWC;
154
+ export type RouteManagementRef = RouteManagementWC;
155
155
 
156
156
  export declare const RuleManagement: React.ForwardRefExoticComponent<
157
157
  React.PropsWithChildren<
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
255
255
  >;
256
256
  export type TemplateDialogRef = TemplateDialogWC;
257
257
 
258
- export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
259
- React.PropsWithChildren<
260
- Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
261
- HTMLWCProps & {
262
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
263
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
264
- }
265
- > & React.RefAttributes<RuleConditionBuilderWC>
266
- >;
267
- export type RuleConditionBuilderRef = RuleConditionBuilderWC;
268
-
269
258
  export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
270
259
  React.PropsWithChildren<
271
260
  Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
@@ -277,6 +266,17 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
277
266
  >;
278
267
  export type RuleConditionGroupRef = RuleConditionGroupWC;
279
268
 
269
+ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
270
+ React.PropsWithChildren<
271
+ Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
272
+ HTMLWCProps & {
273
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
274
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
275
+ }
276
+ > & React.RefAttributes<RuleConditionBuilderWC>
277
+ >;
278
+ export type RuleConditionBuilderRef = RuleConditionBuilderWC;
279
+
280
280
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
281
281
  React.PropsWithChildren<
282
282
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
@@ -288,17 +288,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
288
288
  >;
289
289
  export type ParameterBuilderRef = ParameterBuilderWC;
290
290
 
291
- export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
292
- React.PropsWithChildren<
293
- Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
294
- HTMLWCProps & {
295
- onDelete?: (event: CustomEvent<unknown>) => void;
296
- onEdit?: (event: CustomEvent<unknown>) => void;
297
- }
298
- > & React.RefAttributes<TemplateConditionGroupWC>
299
- >;
300
- export type TemplateConditionGroupRef = TemplateConditionGroupWC;
301
-
302
291
  export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
303
292
  React.PropsWithChildren<
304
293
  Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
@@ -310,4 +299,15 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
310
299
  >;
311
300
  export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
312
301
 
302
+ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
303
+ React.PropsWithChildren<
304
+ Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
305
+ HTMLWCProps & {
306
+ onDelete?: (event: CustomEvent<unknown>) => void;
307
+ onEdit?: (event: CustomEvent<unknown>) => void;
308
+ }
309
+ > & React.RefAttributes<TemplateConditionGroupWC>
310
+ >;
311
+ export type TemplateConditionGroupRef = TemplateConditionGroupWC;
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 RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
102
+ const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
103
103
  const { children, ...rest } = props;
104
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
104
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
107
+ const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-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,7 +241,7 @@ 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
247
  const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
@@ -266,7 +266,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
266
266
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
267
267
  });
268
268
 
269
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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,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(TemplateConditionBuilderWC) ?? 'template-condition-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
- RouteManagement,
323
322
  NotifyAuditManagement,
323
+ RouteManagement,
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
337
  ParameterBuilder,
338
- TemplateConditionGroup,
339
338
  TemplateConditionBuilder,
339
+ TemplateConditionGroup,
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 RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
100
+ export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
101
101
  const { children, ...rest } = props;
102
- return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-management', { ...rest, ref }, children);
102
+ return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const NotifyAuditManagement = React.forwardRef(function NotifyAuditManagement(props, ref) {
105
+ export const RouteManagement = React.forwardRef(function RouteManagement(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(NotifyAuditManagementWC) ?? 'notify-audit-management', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(RouteManagementWC) ?? 'route-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,7 +239,7 @@ 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
245
  export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
@@ -264,7 +264,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
264
264
  return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
265
265
  });
266
266
 
267
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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,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(TemplateConditionBuilderWC) ?? 'template-condition-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.95.2-GENC-1665.2",
4
+ "version": "15.96.0",
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.95.2-GENC-1665.2",
84
- "@genesislcap/eslint-config": "15.95.2-GENC-1665.2",
85
- "@genesislcap/eslint-stylelint-builder": "15.95.2-GENC-1665.2",
86
- "@genesislcap/foundation-testing": "15.95.2-GENC-1665.2",
87
- "@genesislcap/genx": "15.95.2-GENC-1665.2",
88
- "@genesislcap/prettier-config": "15.95.2-GENC-1665.2",
89
- "@genesislcap/stylelint-config": "15.95.2-GENC-1665.2",
90
- "@genesislcap/vite-builder": "15.95.2-GENC-1665.2",
91
- "@genesislcap/webpack-builder": "15.95.2-GENC-1665.2",
83
+ "@genesislcap/design-system-configurator": "15.96.0",
84
+ "@genesislcap/eslint-config": "15.96.0",
85
+ "@genesislcap/eslint-stylelint-builder": "15.96.0",
86
+ "@genesislcap/foundation-testing": "15.96.0",
87
+ "@genesislcap/genx": "15.96.0",
88
+ "@genesislcap/prettier-config": "15.96.0",
89
+ "@genesislcap/stylelint-config": "15.96.0",
90
+ "@genesislcap/vite-builder": "15.96.0",
91
+ "@genesislcap/webpack-builder": "15.96.0",
92
92
  "dayjs": "^1.11.7"
93
93
  },
94
94
  "dependencies": {
95
- "@genesislcap/foundation-comms": "15.95.2-GENC-1665.2",
96
- "@genesislcap/foundation-criteria": "15.95.2-GENC-1665.2",
97
- "@genesislcap/foundation-entity-management": "15.95.2-GENC-1665.2",
98
- "@genesislcap/foundation-forms": "15.95.2-GENC-1665.2",
99
- "@genesislcap/foundation-layout": "15.95.2-GENC-1665.2",
100
- "@genesislcap/foundation-logger": "15.95.2-GENC-1665.2",
101
- "@genesislcap/foundation-notifications": "15.95.2-GENC-1665.2",
102
- "@genesislcap/foundation-ui": "15.95.2-GENC-1665.2",
103
- "@genesislcap/foundation-utils": "15.95.2-GENC-1665.2",
104
- "@genesislcap/rapid-design-system": "15.95.2-GENC-1665.2",
105
- "@genesislcap/rapid-grid-pro": "15.95.2-GENC-1665.2",
106
- "@genesislcap/web-core": "15.95.2-GENC-1665.2",
95
+ "@genesislcap/foundation-comms": "15.96.0",
96
+ "@genesislcap/foundation-criteria": "15.96.0",
97
+ "@genesislcap/foundation-entity-management": "15.96.0",
98
+ "@genesislcap/foundation-forms": "15.96.0",
99
+ "@genesislcap/foundation-layout": "15.96.0",
100
+ "@genesislcap/foundation-logger": "15.96.0",
101
+ "@genesislcap/foundation-notifications": "15.96.0",
102
+ "@genesislcap/foundation-ui": "15.96.0",
103
+ "@genesislcap/foundation-utils": "15.96.0",
104
+ "@genesislcap/rapid-design-system": "15.96.0",
105
+ "@genesislcap/rapid-grid-pro": "15.96.0",
106
+ "@genesislcap/web-core": "15.96.0",
107
107
  "lodash.debounce": "^4.0.8",
108
108
  "rxjs": "^7.5.4"
109
109
  },