@genesislcap/pbc-notify-ui 15.8.2 → 15.8.3

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.
@@ -7320,6 +7320,220 @@
7320
7320
  "declarations": [],
7321
7321
  "exports": []
7322
7322
  },
7323
+ {
7324
+ "kind": "javascript-module",
7325
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
7326
+ "declarations": [
7327
+ {
7328
+ "kind": "variable",
7329
+ "name": "ParameterBuilderStyles",
7330
+ "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`"
7331
+ }
7332
+ ],
7333
+ "exports": [
7334
+ {
7335
+ "kind": "js",
7336
+ "name": "ParameterBuilderStyles",
7337
+ "declaration": {
7338
+ "name": "ParameterBuilderStyles",
7339
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
7340
+ }
7341
+ }
7342
+ ]
7343
+ },
7344
+ {
7345
+ "kind": "javascript-module",
7346
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
7347
+ "declarations": [
7348
+ {
7349
+ "kind": "variable",
7350
+ "name": "ParameterBuilderTemplate",
7351
+ "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`"
7352
+ }
7353
+ ],
7354
+ "exports": [
7355
+ {
7356
+ "kind": "js",
7357
+ "name": "ParameterBuilderTemplate",
7358
+ "declaration": {
7359
+ "name": "ParameterBuilderTemplate",
7360
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
7361
+ }
7362
+ }
7363
+ ]
7364
+ },
7365
+ {
7366
+ "kind": "javascript-module",
7367
+ "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
7368
+ "declarations": [
7369
+ {
7370
+ "kind": "class",
7371
+ "description": "Parameter builder for notification templates.",
7372
+ "name": "ParameterBuilder",
7373
+ "members": [
7374
+ {
7375
+ "kind": "field",
7376
+ "name": "parameter",
7377
+ "type": {
7378
+ "text": "ParameterBuilderEntity"
7379
+ }
7380
+ },
7381
+ {
7382
+ "kind": "field",
7383
+ "name": "name",
7384
+ "type": {
7385
+ "text": "string"
7386
+ }
7387
+ },
7388
+ {
7389
+ "kind": "field",
7390
+ "name": "label",
7391
+ "type": {
7392
+ "text": "string"
7393
+ }
7394
+ },
7395
+ {
7396
+ "kind": "field",
7397
+ "name": "type",
7398
+ "type": {
7399
+ "text": "string"
7400
+ }
7401
+ },
7402
+ {
7403
+ "kind": "field",
7404
+ "name": "sourceType",
7405
+ "type": {
7406
+ "text": "string"
7407
+ }
7408
+ },
7409
+ {
7410
+ "kind": "field",
7411
+ "name": "sourceSelected",
7412
+ "type": {
7413
+ "text": "string"
7414
+ }
7415
+ },
7416
+ {
7417
+ "kind": "field",
7418
+ "name": "sourceTyped",
7419
+ "type": {
7420
+ "text": "string"
7421
+ }
7422
+ },
7423
+ {
7424
+ "kind": "field",
7425
+ "name": "sourceTextField",
7426
+ "type": {
7427
+ "text": "TextField"
7428
+ }
7429
+ },
7430
+ {
7431
+ "kind": "field",
7432
+ "name": "sourceSelect",
7433
+ "type": {
7434
+ "text": "Select"
7435
+ }
7436
+ },
7437
+ {
7438
+ "kind": "field",
7439
+ "name": "reqRepItems",
7440
+ "type": {
7441
+ "text": "array"
7442
+ },
7443
+ "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
7444
+ },
7445
+ {
7446
+ "kind": "method",
7447
+ "name": "deleteParameter"
7448
+ },
7449
+ {
7450
+ "kind": "method",
7451
+ "name": "parameterChanged"
7452
+ },
7453
+ {
7454
+ "kind": "method",
7455
+ "name": "nameChanged"
7456
+ },
7457
+ {
7458
+ "kind": "method",
7459
+ "name": "labelChanged"
7460
+ },
7461
+ {
7462
+ "kind": "method",
7463
+ "name": "typeChanged"
7464
+ },
7465
+ {
7466
+ "kind": "method",
7467
+ "name": "sourceTypeChanged"
7468
+ },
7469
+ {
7470
+ "kind": "method",
7471
+ "name": "sourceSelectedChanged"
7472
+ },
7473
+ {
7474
+ "kind": "method",
7475
+ "name": "sourceTypedChanged"
7476
+ },
7477
+ {
7478
+ "kind": "method",
7479
+ "name": "genericChanged",
7480
+ "privacy": "private",
7481
+ "parameters": [
7482
+ {
7483
+ "name": "parameterAttribute"
7484
+ },
7485
+ {
7486
+ "name": "value"
7487
+ }
7488
+ ]
7489
+ }
7490
+ ],
7491
+ "events": [
7492
+ {
7493
+ "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
7494
+ "name": "delete"
7495
+ },
7496
+ {
7497
+ "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
7498
+ "name": "edit"
7499
+ }
7500
+ ],
7501
+ "attributes": [
7502
+ {
7503
+ "name": "parameter",
7504
+ "type": {
7505
+ "text": "ParameterBuilderEntity"
7506
+ },
7507
+ "fieldName": "parameter"
7508
+ }
7509
+ ],
7510
+ "superclass": {
7511
+ "name": "GenesisElement",
7512
+ "package": "@genesislcap/web-core"
7513
+ },
7514
+ "tagName": "parameter-builder",
7515
+ "customElement": true
7516
+ }
7517
+ ],
7518
+ "exports": [
7519
+ {
7520
+ "kind": "js",
7521
+ "name": "ParameterBuilder",
7522
+ "declaration": {
7523
+ "name": "ParameterBuilder",
7524
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7525
+ }
7526
+ },
7527
+ {
7528
+ "kind": "custom-element-definition",
7529
+ "name": "parameter-builder",
7530
+ "declaration": {
7531
+ "name": "ParameterBuilder",
7532
+ "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7533
+ }
7534
+ }
7535
+ ]
7536
+ },
7323
7537
  {
7324
7538
  "kind": "javascript-module",
7325
7539
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
@@ -7612,220 +7826,6 @@
7612
7826
  }
7613
7827
  ]
7614
7828
  },
7615
- {
7616
- "kind": "javascript-module",
7617
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
7618
- "declarations": [
7619
- {
7620
- "kind": "variable",
7621
- "name": "ParameterBuilderStyles",
7622
- "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`"
7623
- }
7624
- ],
7625
- "exports": [
7626
- {
7627
- "kind": "js",
7628
- "name": "ParameterBuilderStyles",
7629
- "declaration": {
7630
- "name": "ParameterBuilderStyles",
7631
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
7632
- }
7633
- }
7634
- ]
7635
- },
7636
- {
7637
- "kind": "javascript-module",
7638
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
7639
- "declarations": [
7640
- {
7641
- "kind": "variable",
7642
- "name": "ParameterBuilderTemplate",
7643
- "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`"
7644
- }
7645
- ],
7646
- "exports": [
7647
- {
7648
- "kind": "js",
7649
- "name": "ParameterBuilderTemplate",
7650
- "declaration": {
7651
- "name": "ParameterBuilderTemplate",
7652
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
7653
- }
7654
- }
7655
- ]
7656
- },
7657
- {
7658
- "kind": "javascript-module",
7659
- "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
7660
- "declarations": [
7661
- {
7662
- "kind": "class",
7663
- "description": "Parameter builder for notification templates.",
7664
- "name": "ParameterBuilder",
7665
- "members": [
7666
- {
7667
- "kind": "field",
7668
- "name": "parameter",
7669
- "type": {
7670
- "text": "ParameterBuilderEntity"
7671
- }
7672
- },
7673
- {
7674
- "kind": "field",
7675
- "name": "name",
7676
- "type": {
7677
- "text": "string"
7678
- }
7679
- },
7680
- {
7681
- "kind": "field",
7682
- "name": "label",
7683
- "type": {
7684
- "text": "string"
7685
- }
7686
- },
7687
- {
7688
- "kind": "field",
7689
- "name": "type",
7690
- "type": {
7691
- "text": "string"
7692
- }
7693
- },
7694
- {
7695
- "kind": "field",
7696
- "name": "sourceType",
7697
- "type": {
7698
- "text": "string"
7699
- }
7700
- },
7701
- {
7702
- "kind": "field",
7703
- "name": "sourceSelected",
7704
- "type": {
7705
- "text": "string"
7706
- }
7707
- },
7708
- {
7709
- "kind": "field",
7710
- "name": "sourceTyped",
7711
- "type": {
7712
- "text": "string"
7713
- }
7714
- },
7715
- {
7716
- "kind": "field",
7717
- "name": "sourceTextField",
7718
- "type": {
7719
- "text": "TextField"
7720
- }
7721
- },
7722
- {
7723
- "kind": "field",
7724
- "name": "sourceSelect",
7725
- "type": {
7726
- "text": "Select"
7727
- }
7728
- },
7729
- {
7730
- "kind": "field",
7731
- "name": "reqRepItems",
7732
- "type": {
7733
- "text": "array"
7734
- },
7735
- "default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
7736
- },
7737
- {
7738
- "kind": "method",
7739
- "name": "deleteParameter"
7740
- },
7741
- {
7742
- "kind": "method",
7743
- "name": "parameterChanged"
7744
- },
7745
- {
7746
- "kind": "method",
7747
- "name": "nameChanged"
7748
- },
7749
- {
7750
- "kind": "method",
7751
- "name": "labelChanged"
7752
- },
7753
- {
7754
- "kind": "method",
7755
- "name": "typeChanged"
7756
- },
7757
- {
7758
- "kind": "method",
7759
- "name": "sourceTypeChanged"
7760
- },
7761
- {
7762
- "kind": "method",
7763
- "name": "sourceSelectedChanged"
7764
- },
7765
- {
7766
- "kind": "method",
7767
- "name": "sourceTypedChanged"
7768
- },
7769
- {
7770
- "kind": "method",
7771
- "name": "genericChanged",
7772
- "privacy": "private",
7773
- "parameters": [
7774
- {
7775
- "name": "parameterAttribute"
7776
- },
7777
- {
7778
- "name": "value"
7779
- }
7780
- ]
7781
- }
7782
- ],
7783
- "events": [
7784
- {
7785
- "description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
7786
- "name": "delete"
7787
- },
7788
- {
7789
- "description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
7790
- "name": "edit"
7791
- }
7792
- ],
7793
- "attributes": [
7794
- {
7795
- "name": "parameter",
7796
- "type": {
7797
- "text": "ParameterBuilderEntity"
7798
- },
7799
- "fieldName": "parameter"
7800
- }
7801
- ],
7802
- "superclass": {
7803
- "name": "GenesisElement",
7804
- "package": "@genesislcap/web-core"
7805
- },
7806
- "tagName": "parameter-builder",
7807
- "customElement": true
7808
- }
7809
- ],
7810
- "exports": [
7811
- {
7812
- "kind": "js",
7813
- "name": "ParameterBuilder",
7814
- "declaration": {
7815
- "name": "ParameterBuilder",
7816
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7817
- }
7818
- },
7819
- {
7820
- "kind": "custom-element-definition",
7821
- "name": "parameter-builder",
7822
- "declaration": {
7823
- "name": "ParameterBuilder",
7824
- "module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
7825
- }
7826
- }
7827
- ]
7828
- },
7829
7829
  {
7830
7830
  "kind": "javascript-module",
7831
7831
  "path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
@@ -257,17 +257,6 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
257
257
  >;
258
258
  export type RuleConditionBuilderRef = RuleConditionBuilderWC;
259
259
 
260
- export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
261
- React.PropsWithChildren<
262
- Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
263
- HTMLWCProps & {
264
- onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
265
- onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
266
- }
267
- > & React.RefAttributes<TemplateConditionBuilderWC>
268
- >;
269
- export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
270
-
271
260
  export declare const ParameterBuilder: React.ForwardRefExoticComponent<
272
261
  React.PropsWithChildren<
273
262
  Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
@@ -279,6 +268,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
279
268
  >;
280
269
  export type ParameterBuilderRef = ParameterBuilderWC;
281
270
 
271
+ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
272
+ React.PropsWithChildren<
273
+ Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
274
+ HTMLWCProps & {
275
+ onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
276
+ onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
277
+ }
278
+ > & React.RefAttributes<TemplateConditionBuilderWC>
279
+ >;
280
+ export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
281
+
282
282
  export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
283
283
  React.PropsWithChildren<
284
284
  Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
package/dist/react.cjs CHANGED
@@ -232,7 +232,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
232
232
  return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
233
233
  });
234
234
 
235
- const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
235
+ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
236
236
  const { onDelete, onEdit, children, ...rest } = props;
237
237
  const _innerRef = React.useRef(null);
238
238
  const _onDeleteRef = React.useRef(onDelete);
@@ -251,10 +251,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
251
251
  el.removeEventListener('edit', _onEditFn);
252
252
  };
253
253
  }, []);
254
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
254
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
255
255
  });
256
256
 
257
- const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
257
+ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
258
258
  const { onDelete, onEdit, children, ...rest } = props;
259
259
  const _innerRef = React.useRef(null);
260
260
  const _onDeleteRef = React.useRef(onDelete);
@@ -273,7 +273,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
273
273
  el.removeEventListener('edit', _onEditFn);
274
274
  };
275
275
  }, []);
276
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
276
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
277
277
  });
278
278
 
279
279
  const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
@@ -320,7 +320,7 @@ module.exports = {
320
320
  TemplateDialog,
321
321
  RuleConditionGroup,
322
322
  RuleConditionBuilder,
323
- TemplateConditionBuilder,
324
323
  ParameterBuilder,
324
+ TemplateConditionBuilder,
325
325
  TemplateConditionGroup,
326
326
  };
package/dist/react.mjs CHANGED
@@ -230,7 +230,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
230
230
  return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
231
231
  });
232
232
 
233
- export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
233
+ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
234
234
  const { onDelete, onEdit, children, ...rest } = props;
235
235
  const _innerRef = React.useRef(null);
236
236
  const _onDeleteRef = React.useRef(onDelete);
@@ -249,10 +249,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
249
249
  el.removeEventListener('edit', _onEditFn);
250
250
  };
251
251
  }, []);
252
- return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
252
+ return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
253
253
  });
254
254
 
255
- export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
255
+ export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
256
256
  const { onDelete, onEdit, children, ...rest } = props;
257
257
  const _innerRef = React.useRef(null);
258
258
  const _onDeleteRef = React.useRef(onDelete);
@@ -271,7 +271,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
271
271
  el.removeEventListener('edit', _onEditFn);
272
272
  };
273
273
  }, []);
274
- return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
274
+ return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
275
275
  });
276
276
 
277
277
  export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "15.8.2",
4
+ "version": "15.8.3",
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.8.2",
85
- "@genesislcap/eslint-config": "15.8.2",
86
- "@genesislcap/eslint-stylelint-builder": "15.8.2",
87
- "@genesislcap/foundation-testing": "15.8.2",
88
- "@genesislcap/genx": "15.8.2",
89
- "@genesislcap/prettier-config": "15.8.2",
90
- "@genesislcap/stylelint-config": "15.8.2",
91
- "@genesislcap/vite-builder": "15.8.2",
92
- "@genesislcap/webpack-builder": "15.8.2",
84
+ "@genesislcap/design-system-configurator": "15.8.3",
85
+ "@genesislcap/eslint-config": "15.8.3",
86
+ "@genesislcap/eslint-stylelint-builder": "15.8.3",
87
+ "@genesislcap/foundation-testing": "15.8.3",
88
+ "@genesislcap/genx": "15.8.3",
89
+ "@genesislcap/prettier-config": "15.8.3",
90
+ "@genesislcap/stylelint-config": "15.8.3",
91
+ "@genesislcap/vite-builder": "15.8.3",
92
+ "@genesislcap/webpack-builder": "15.8.3",
93
93
  "dayjs": "^1.11.7"
94
94
  },
95
95
  "dependencies": {
96
- "@genesislcap/foundation-comms": "15.8.2",
97
- "@genesislcap/foundation-criteria": "15.8.2",
98
- "@genesislcap/foundation-entity-management": "15.8.2",
99
- "@genesislcap/foundation-forms": "15.8.2",
100
- "@genesislcap/foundation-layout": "15.8.2",
101
- "@genesislcap/foundation-logger": "15.8.2",
102
- "@genesislcap/foundation-notifications": "15.8.2",
103
- "@genesislcap/foundation-ui": "15.8.2",
104
- "@genesislcap/foundation-utils": "15.8.2",
105
- "@genesislcap/rapid-design-system": "15.8.2",
106
- "@genesislcap/rapid-grid-pro": "15.8.2",
107
- "@genesislcap/web-core": "15.8.2",
96
+ "@genesislcap/foundation-comms": "15.8.3",
97
+ "@genesislcap/foundation-criteria": "15.8.3",
98
+ "@genesislcap/foundation-entity-management": "15.8.3",
99
+ "@genesislcap/foundation-forms": "15.8.3",
100
+ "@genesislcap/foundation-layout": "15.8.3",
101
+ "@genesislcap/foundation-logger": "15.8.3",
102
+ "@genesislcap/foundation-notifications": "15.8.3",
103
+ "@genesislcap/foundation-ui": "15.8.3",
104
+ "@genesislcap/foundation-utils": "15.8.3",
105
+ "@genesislcap/rapid-design-system": "15.8.3",
106
+ "@genesislcap/rapid-grid-pro": "15.8.3",
107
+ "@genesislcap/web-core": "15.8.3",
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": "c62567e4acee7219798579d18a023be909bdd0a0"
115
+ "gitHead": "0001fb4c5a056b22bb1a3d316cc4f2e2aa79cff4"
116
116
  }