@genesislcap/pbc-notify-ui 15.10.1 → 15.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6389,70 +6389,70 @@
6389
6389
  },
6390
6390
  {
6391
6391
  "kind": "javascript-module",
6392
- "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
6392
+ "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
6393
6393
  "declarations": [
6394
6394
  {
6395
6395
  "kind": "class",
6396
6396
  "description": "",
6397
- "name": "RouteManagement",
6397
+ "name": "NotifyAuditManagement",
6398
6398
  "superclass": {
6399
6399
  "name": "GenesisElement",
6400
6400
  "package": "@genesislcap/web-core"
6401
6401
  },
6402
- "tagName": "route-management",
6402
+ "tagName": "notify-audit-management",
6403
6403
  "customElement": true
6404
6404
  }
6405
6405
  ],
6406
6406
  "exports": [
6407
6407
  {
6408
6408
  "kind": "js",
6409
- "name": "RouteManagement",
6409
+ "name": "NotifyAuditManagement",
6410
6410
  "declaration": {
6411
- "name": "RouteManagement",
6412
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6411
+ "name": "NotifyAuditManagement",
6412
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
6413
6413
  }
6414
6414
  },
6415
6415
  {
6416
6416
  "kind": "custom-element-definition",
6417
- "name": "route-management",
6417
+ "name": "notify-audit-management",
6418
6418
  "declaration": {
6419
- "name": "RouteManagement",
6420
- "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6419
+ "name": "NotifyAuditManagement",
6420
+ "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
6421
6421
  }
6422
6422
  }
6423
6423
  ]
6424
6424
  },
6425
6425
  {
6426
6426
  "kind": "javascript-module",
6427
- "path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
6427
+ "path": "src/components/foundation-notification-dashboard/components/routes/route-management.ts",
6428
6428
  "declarations": [
6429
6429
  {
6430
6430
  "kind": "class",
6431
6431
  "description": "",
6432
- "name": "NotifyAuditManagement",
6432
+ "name": "RouteManagement",
6433
6433
  "superclass": {
6434
6434
  "name": "GenesisElement",
6435
6435
  "package": "@genesislcap/web-core"
6436
6436
  },
6437
- "tagName": "notify-audit-management",
6437
+ "tagName": "route-management",
6438
6438
  "customElement": true
6439
6439
  }
6440
6440
  ],
6441
6441
  "exports": [
6442
6442
  {
6443
6443
  "kind": "js",
6444
- "name": "NotifyAuditManagement",
6444
+ "name": "RouteManagement",
6445
6445
  "declaration": {
6446
- "name": "NotifyAuditManagement",
6447
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
6446
+ "name": "RouteManagement",
6447
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6448
6448
  }
6449
6449
  },
6450
6450
  {
6451
6451
  "kind": "custom-element-definition",
6452
- "name": "notify-audit-management",
6452
+ "name": "route-management",
6453
6453
  "declaration": {
6454
- "name": "NotifyAuditManagement",
6455
- "module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
6454
+ "name": "RouteManagement",
6455
+ "module": "src/components/foundation-notification-dashboard/components/routes/route-management.ts"
6456
6456
  }
6457
6457
  }
6458
6458
  ]
@@ -8984,6 +8984,164 @@
8984
8984
  }
8985
8985
  ]
8986
8986
  },
8987
+ {
8988
+ "kind": "javascript-module",
8989
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
8990
+ "declarations": [
8991
+ {
8992
+ "kind": "variable",
8993
+ "name": "TemplateConditionGroupTemplate",
8994
+ "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`"
8995
+ }
8996
+ ],
8997
+ "exports": [
8998
+ {
8999
+ "kind": "js",
9000
+ "name": "TemplateConditionGroupTemplate",
9001
+ "declaration": {
9002
+ "name": "TemplateConditionGroupTemplate",
9003
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
9004
+ }
9005
+ }
9006
+ ]
9007
+ },
9008
+ {
9009
+ "kind": "javascript-module",
9010
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
9011
+ "declarations": [
9012
+ {
9013
+ "kind": "class",
9014
+ "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.",
9015
+ "name": "TemplateConditionGroup",
9016
+ "members": [
9017
+ {
9018
+ "kind": "field",
9019
+ "name": "node",
9020
+ "type": {
9021
+ "text": "ConditionGroupEntity"
9022
+ }
9023
+ },
9024
+ {
9025
+ "kind": "field",
9026
+ "name": "fields",
9027
+ "type": {
9028
+ "text": "Field[]"
9029
+ },
9030
+ "default": "[]"
9031
+ },
9032
+ {
9033
+ "kind": "field",
9034
+ "name": "parameters",
9035
+ "type": {
9036
+ "text": "Array<ParameterBuilderEntity>"
9037
+ },
9038
+ "default": "[]"
9039
+ },
9040
+ {
9041
+ "kind": "field",
9042
+ "name": "isFirst",
9043
+ "type": {
9044
+ "text": "boolean"
9045
+ },
9046
+ "default": "false"
9047
+ },
9048
+ {
9049
+ "kind": "field",
9050
+ "name": "joinOperator",
9051
+ "type": {
9052
+ "text": "string"
9053
+ }
9054
+ },
9055
+ {
9056
+ "kind": "field",
9057
+ "name": "groupChildren",
9058
+ "type": {
9059
+ "text": "ConditionNode[]"
9060
+ },
9061
+ "default": "[]"
9062
+ },
9063
+ {
9064
+ "kind": "method",
9065
+ "name": "nodeChanged"
9066
+ },
9067
+ {
9068
+ "kind": "method",
9069
+ "name": "joinOperatorChanged"
9070
+ },
9071
+ {
9072
+ "kind": "method",
9073
+ "name": "newCondition"
9074
+ },
9075
+ {
9076
+ "kind": "method",
9077
+ "name": "newGroup"
9078
+ },
9079
+ {
9080
+ "kind": "method",
9081
+ "name": "editChild",
9082
+ "parameters": [
9083
+ {
9084
+ "name": "_editedChild",
9085
+ "type": {
9086
+ "text": "ConditionNode"
9087
+ }
9088
+ }
9089
+ ]
9090
+ },
9091
+ {
9092
+ "kind": "method",
9093
+ "name": "deleteChild",
9094
+ "parameters": [
9095
+ {
9096
+ "name": "deletedChild",
9097
+ "type": {
9098
+ "text": "ConditionNode"
9099
+ }
9100
+ }
9101
+ ]
9102
+ },
9103
+ {
9104
+ "kind": "method",
9105
+ "name": "deleteSelf"
9106
+ }
9107
+ ],
9108
+ "events": [
9109
+ {
9110
+ "description": "Fired when this whole group should be removed",
9111
+ "name": "delete"
9112
+ },
9113
+ {
9114
+ "description": "Fired when anything inside this group changes",
9115
+ "name": "edit"
9116
+ }
9117
+ ],
9118
+ "superclass": {
9119
+ "name": "GenesisElement",
9120
+ "package": "@genesislcap/web-core"
9121
+ },
9122
+ "tagName": "template-condition-group",
9123
+ "customElement": true
9124
+ }
9125
+ ],
9126
+ "exports": [
9127
+ {
9128
+ "kind": "js",
9129
+ "name": "TemplateConditionGroup",
9130
+ "declaration": {
9131
+ "name": "TemplateConditionGroup",
9132
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
9133
+ }
9134
+ },
9135
+ {
9136
+ "kind": "custom-element-definition",
9137
+ "name": "template-condition-group",
9138
+ "declaration": {
9139
+ "name": "TemplateConditionGroup",
9140
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
9141
+ }
9142
+ }
9143
+ ]
9144
+ },
8987
9145
  {
8988
9146
  "kind": "javascript-module",
8989
9147
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -9275,164 +9433,6 @@
9275
9433
  }
9276
9434
  }
9277
9435
  ]
9278
- },
9279
- {
9280
- "kind": "javascript-module",
9281
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
9282
- "declarations": [
9283
- {
9284
- "kind": "variable",
9285
- "name": "TemplateConditionGroupTemplate",
9286
- "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`"
9287
- }
9288
- ],
9289
- "exports": [
9290
- {
9291
- "kind": "js",
9292
- "name": "TemplateConditionGroupTemplate",
9293
- "declaration": {
9294
- "name": "TemplateConditionGroupTemplate",
9295
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
9296
- }
9297
- }
9298
- ]
9299
- },
9300
- {
9301
- "kind": "javascript-module",
9302
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
9303
- "declarations": [
9304
- {
9305
- "kind": "class",
9306
- "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.",
9307
- "name": "TemplateConditionGroup",
9308
- "members": [
9309
- {
9310
- "kind": "field",
9311
- "name": "node",
9312
- "type": {
9313
- "text": "ConditionGroupEntity"
9314
- }
9315
- },
9316
- {
9317
- "kind": "field",
9318
- "name": "fields",
9319
- "type": {
9320
- "text": "Field[]"
9321
- },
9322
- "default": "[]"
9323
- },
9324
- {
9325
- "kind": "field",
9326
- "name": "parameters",
9327
- "type": {
9328
- "text": "Array<ParameterBuilderEntity>"
9329
- },
9330
- "default": "[]"
9331
- },
9332
- {
9333
- "kind": "field",
9334
- "name": "isFirst",
9335
- "type": {
9336
- "text": "boolean"
9337
- },
9338
- "default": "false"
9339
- },
9340
- {
9341
- "kind": "field",
9342
- "name": "joinOperator",
9343
- "type": {
9344
- "text": "string"
9345
- }
9346
- },
9347
- {
9348
- "kind": "field",
9349
- "name": "groupChildren",
9350
- "type": {
9351
- "text": "ConditionNode[]"
9352
- },
9353
- "default": "[]"
9354
- },
9355
- {
9356
- "kind": "method",
9357
- "name": "nodeChanged"
9358
- },
9359
- {
9360
- "kind": "method",
9361
- "name": "joinOperatorChanged"
9362
- },
9363
- {
9364
- "kind": "method",
9365
- "name": "newCondition"
9366
- },
9367
- {
9368
- "kind": "method",
9369
- "name": "newGroup"
9370
- },
9371
- {
9372
- "kind": "method",
9373
- "name": "editChild",
9374
- "parameters": [
9375
- {
9376
- "name": "_editedChild",
9377
- "type": {
9378
- "text": "ConditionNode"
9379
- }
9380
- }
9381
- ]
9382
- },
9383
- {
9384
- "kind": "method",
9385
- "name": "deleteChild",
9386
- "parameters": [
9387
- {
9388
- "name": "deletedChild",
9389
- "type": {
9390
- "text": "ConditionNode"
9391
- }
9392
- }
9393
- ]
9394
- },
9395
- {
9396
- "kind": "method",
9397
- "name": "deleteSelf"
9398
- }
9399
- ],
9400
- "events": [
9401
- {
9402
- "description": "Fired when this whole group should be removed",
9403
- "name": "delete"
9404
- },
9405
- {
9406
- "description": "Fired when anything inside this group changes",
9407
- "name": "edit"
9408
- }
9409
- ],
9410
- "superclass": {
9411
- "name": "GenesisElement",
9412
- "package": "@genesislcap/web-core"
9413
- },
9414
- "tagName": "template-condition-group",
9415
- "customElement": true
9416
- }
9417
- ],
9418
- "exports": [
9419
- {
9420
- "kind": "js",
9421
- "name": "TemplateConditionGroup",
9422
- "declaration": {
9423
- "name": "TemplateConditionGroup",
9424
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
9425
- }
9426
- },
9427
- {
9428
- "kind": "custom-element-definition",
9429
- "name": "template-condition-group",
9430
- "declaration": {
9431
- "name": "TemplateConditionGroup",
9432
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
9433
- }
9434
- }
9435
- ]
9436
9436
  }
9437
9437
  ]
9438
9438
  }
@@ -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<
@@ -288,17 +288,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
288
288
  >;
289
289
  export type ParameterBuilderRef = ParameterBuilderWC;
290
290
 
291
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
292
- React.PropsWithChildren<
293
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
294
- HTMLWCProps & {
295
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
296
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
297
- }
298
- > & React.RefAttributes<TemplateConditionBuilderWC>
299
- >;
300
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
301
-
302
291
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
303
292
  React.PropsWithChildren<
304
293
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
@@ -310,4 +299,15 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
310
299
  >;
311
300
  export type TemplateConditionGroupRef = TemplateConditionGroupWC;
312
301
 
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 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) {
@@ -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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
269
+ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
285
285
  el.removeEventListener('edit', _onEditFn);
286
286
  };
287
287
  }, []);
288
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
288
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
289
289
  });
290
290
 
291
- const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
291
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
307
307
  el.removeEventListener('edit', _onEditFn);
308
308
  };
309
309
  }, []);
310
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
310
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...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,
@@ -335,6 +335,6 @@ module.exports = {
335
335
  RuleConditionBuilder,
336
336
  RuleConditionGroup,
337
337
  ParameterBuilder,
338
- TemplateConditionBuilder,
339
338
  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 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) {
@@ -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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
267
+ export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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 TemplateConditionBuilder = React.forwardRef(function TemplateCondit
283
283
  el.removeEventListener('edit', _onEditFn);
284
284
  };
285
285
  }, []);
286
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
286
+ return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
287
287
  });
288
288
 
289
- export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
289
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 TemplateConditionGroup = React.forwardRef(function TemplateConditio
305
305
  el.removeEventListener('edit', _onEditFn);
306
306
  };
307
307
  }, []);
308
- return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
308
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...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.10.1",
4
+ "version": "15.10.2",
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.10.1",
85
- "@genesislcap/eslint-config": "15.10.1",
86
- "@genesislcap/eslint-stylelint-builder": "15.10.1",
87
- "@genesislcap/foundation-testing": "15.10.1",
88
- "@genesislcap/genx": "15.10.1",
89
- "@genesislcap/prettier-config": "15.10.1",
90
- "@genesislcap/stylelint-config": "15.10.1",
91
- "@genesislcap/vite-builder": "15.10.1",
92
- "@genesislcap/webpack-builder": "15.10.1",
84
+ "@genesislcap/design-system-configurator": "15.10.2",
85
+ "@genesislcap/eslint-config": "15.10.2",
86
+ "@genesislcap/eslint-stylelint-builder": "15.10.2",
87
+ "@genesislcap/foundation-testing": "15.10.2",
88
+ "@genesislcap/genx": "15.10.2",
89
+ "@genesislcap/prettier-config": "15.10.2",
90
+ "@genesislcap/stylelint-config": "15.10.2",
91
+ "@genesislcap/vite-builder": "15.10.2",
92
+ "@genesislcap/webpack-builder": "15.10.2",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.10.1",
97
- "@genesislcap/foundation-criteria": "15.10.1",
98
- "@genesislcap/foundation-entity-management": "15.10.1",
99
- "@genesislcap/foundation-forms": "15.10.1",
100
- "@genesislcap/foundation-layout": "15.10.1",
101
- "@genesislcap/foundation-logger": "15.10.1",
102
- "@genesislcap/foundation-notifications": "15.10.1",
103
- "@genesislcap/foundation-ui": "15.10.1",
104
- "@genesislcap/foundation-utils": "15.10.1",
105
- "@genesislcap/rapid-design-system": "15.10.1",
106
- "@genesislcap/rapid-grid-pro": "15.10.1",
107
- "@genesislcap/web-core": "15.10.1",
96
+ "@genesislcap/foundation-comms": "15.10.2",
97
+ "@genesislcap/foundation-criteria": "15.10.2",
98
+ "@genesislcap/foundation-entity-management": "15.10.2",
99
+ "@genesislcap/foundation-forms": "15.10.2",
100
+ "@genesislcap/foundation-layout": "15.10.2",
101
+ "@genesislcap/foundation-logger": "15.10.2",
102
+ "@genesislcap/foundation-notifications": "15.10.2",
103
+ "@genesislcap/foundation-ui": "15.10.2",
104
+ "@genesislcap/foundation-utils": "15.10.2",
105
+ "@genesislcap/rapid-design-system": "15.10.2",
106
+ "@genesislcap/rapid-grid-pro": "15.10.2",
107
+ "@genesislcap/web-core": "15.10.2",
108
108
  "lodash.debounce": "^4.0.8",
109
109
  "rxjs": "^7.5.4"
110
110
  },
@@ -112,5 +112,5 @@
112
112
  "access": "public"
113
113
  },
114
114
  "customElements": "dist/custom-elements.json",
115
- "gitHead": "37e7d73f7494436cdf07f1b34eb7563450d77428"
115
+ "gitHead": "85189092e1be3c1876961cce085154f263c11cb1"
116
116
  }