@genesislcap/pbc-notify-ui 15.41.0 → 15.43.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.
- package/dist/custom-elements.json +158 -158
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +22 -22
|
@@ -10479,6 +10479,164 @@
|
|
|
10479
10479
|
}
|
|
10480
10480
|
]
|
|
10481
10481
|
},
|
|
10482
|
+
{
|
|
10483
|
+
"kind": "javascript-module",
|
|
10484
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10485
|
+
"declarations": [
|
|
10486
|
+
{
|
|
10487
|
+
"kind": "variable",
|
|
10488
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10489
|
+
"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`"
|
|
10490
|
+
}
|
|
10491
|
+
],
|
|
10492
|
+
"exports": [
|
|
10493
|
+
{
|
|
10494
|
+
"kind": "js",
|
|
10495
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10496
|
+
"declaration": {
|
|
10497
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10498
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10499
|
+
}
|
|
10500
|
+
}
|
|
10501
|
+
]
|
|
10502
|
+
},
|
|
10503
|
+
{
|
|
10504
|
+
"kind": "javascript-module",
|
|
10505
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10506
|
+
"declarations": [
|
|
10507
|
+
{
|
|
10508
|
+
"kind": "class",
|
|
10509
|
+
"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.",
|
|
10510
|
+
"name": "TemplateConditionGroup",
|
|
10511
|
+
"members": [
|
|
10512
|
+
{
|
|
10513
|
+
"kind": "field",
|
|
10514
|
+
"name": "node",
|
|
10515
|
+
"type": {
|
|
10516
|
+
"text": "ConditionGroupEntity"
|
|
10517
|
+
}
|
|
10518
|
+
},
|
|
10519
|
+
{
|
|
10520
|
+
"kind": "field",
|
|
10521
|
+
"name": "fields",
|
|
10522
|
+
"type": {
|
|
10523
|
+
"text": "Field[]"
|
|
10524
|
+
},
|
|
10525
|
+
"default": "[]"
|
|
10526
|
+
},
|
|
10527
|
+
{
|
|
10528
|
+
"kind": "field",
|
|
10529
|
+
"name": "parameters",
|
|
10530
|
+
"type": {
|
|
10531
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10532
|
+
},
|
|
10533
|
+
"default": "[]"
|
|
10534
|
+
},
|
|
10535
|
+
{
|
|
10536
|
+
"kind": "field",
|
|
10537
|
+
"name": "isFirst",
|
|
10538
|
+
"type": {
|
|
10539
|
+
"text": "boolean"
|
|
10540
|
+
},
|
|
10541
|
+
"default": "false"
|
|
10542
|
+
},
|
|
10543
|
+
{
|
|
10544
|
+
"kind": "field",
|
|
10545
|
+
"name": "joinOperator",
|
|
10546
|
+
"type": {
|
|
10547
|
+
"text": "string"
|
|
10548
|
+
}
|
|
10549
|
+
},
|
|
10550
|
+
{
|
|
10551
|
+
"kind": "field",
|
|
10552
|
+
"name": "groupChildren",
|
|
10553
|
+
"type": {
|
|
10554
|
+
"text": "ConditionNode[]"
|
|
10555
|
+
},
|
|
10556
|
+
"default": "[]"
|
|
10557
|
+
},
|
|
10558
|
+
{
|
|
10559
|
+
"kind": "method",
|
|
10560
|
+
"name": "nodeChanged"
|
|
10561
|
+
},
|
|
10562
|
+
{
|
|
10563
|
+
"kind": "method",
|
|
10564
|
+
"name": "joinOperatorChanged"
|
|
10565
|
+
},
|
|
10566
|
+
{
|
|
10567
|
+
"kind": "method",
|
|
10568
|
+
"name": "newCondition"
|
|
10569
|
+
},
|
|
10570
|
+
{
|
|
10571
|
+
"kind": "method",
|
|
10572
|
+
"name": "newGroup"
|
|
10573
|
+
},
|
|
10574
|
+
{
|
|
10575
|
+
"kind": "method",
|
|
10576
|
+
"name": "editChild",
|
|
10577
|
+
"parameters": [
|
|
10578
|
+
{
|
|
10579
|
+
"name": "_editedChild",
|
|
10580
|
+
"type": {
|
|
10581
|
+
"text": "ConditionNode"
|
|
10582
|
+
}
|
|
10583
|
+
}
|
|
10584
|
+
]
|
|
10585
|
+
},
|
|
10586
|
+
{
|
|
10587
|
+
"kind": "method",
|
|
10588
|
+
"name": "deleteChild",
|
|
10589
|
+
"parameters": [
|
|
10590
|
+
{
|
|
10591
|
+
"name": "deletedChild",
|
|
10592
|
+
"type": {
|
|
10593
|
+
"text": "ConditionNode"
|
|
10594
|
+
}
|
|
10595
|
+
}
|
|
10596
|
+
]
|
|
10597
|
+
},
|
|
10598
|
+
{
|
|
10599
|
+
"kind": "method",
|
|
10600
|
+
"name": "deleteSelf"
|
|
10601
|
+
}
|
|
10602
|
+
],
|
|
10603
|
+
"events": [
|
|
10604
|
+
{
|
|
10605
|
+
"description": "Fired when this whole group should be removed",
|
|
10606
|
+
"name": "delete"
|
|
10607
|
+
},
|
|
10608
|
+
{
|
|
10609
|
+
"description": "Fired when anything inside this group changes",
|
|
10610
|
+
"name": "edit"
|
|
10611
|
+
}
|
|
10612
|
+
],
|
|
10613
|
+
"superclass": {
|
|
10614
|
+
"name": "GenesisElement",
|
|
10615
|
+
"package": "@genesislcap/web-core"
|
|
10616
|
+
},
|
|
10617
|
+
"tagName": "template-condition-group",
|
|
10618
|
+
"customElement": true
|
|
10619
|
+
}
|
|
10620
|
+
],
|
|
10621
|
+
"exports": [
|
|
10622
|
+
{
|
|
10623
|
+
"kind": "js",
|
|
10624
|
+
"name": "TemplateConditionGroup",
|
|
10625
|
+
"declaration": {
|
|
10626
|
+
"name": "TemplateConditionGroup",
|
|
10627
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10628
|
+
}
|
|
10629
|
+
},
|
|
10630
|
+
{
|
|
10631
|
+
"kind": "custom-element-definition",
|
|
10632
|
+
"name": "template-condition-group",
|
|
10633
|
+
"declaration": {
|
|
10634
|
+
"name": "TemplateConditionGroup",
|
|
10635
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10636
|
+
}
|
|
10637
|
+
}
|
|
10638
|
+
]
|
|
10639
|
+
},
|
|
10482
10640
|
{
|
|
10483
10641
|
"kind": "javascript-module",
|
|
10484
10642
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -10762,164 +10920,6 @@
|
|
|
10762
10920
|
}
|
|
10763
10921
|
}
|
|
10764
10922
|
]
|
|
10765
|
-
},
|
|
10766
|
-
{
|
|
10767
|
-
"kind": "javascript-module",
|
|
10768
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10769
|
-
"declarations": [
|
|
10770
|
-
{
|
|
10771
|
-
"kind": "variable",
|
|
10772
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10773
|
-
"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`"
|
|
10774
|
-
}
|
|
10775
|
-
],
|
|
10776
|
-
"exports": [
|
|
10777
|
-
{
|
|
10778
|
-
"kind": "js",
|
|
10779
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10780
|
-
"declaration": {
|
|
10781
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10782
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10783
|
-
}
|
|
10784
|
-
}
|
|
10785
|
-
]
|
|
10786
|
-
},
|
|
10787
|
-
{
|
|
10788
|
-
"kind": "javascript-module",
|
|
10789
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10790
|
-
"declarations": [
|
|
10791
|
-
{
|
|
10792
|
-
"kind": "class",
|
|
10793
|
-
"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.",
|
|
10794
|
-
"name": "TemplateConditionGroup",
|
|
10795
|
-
"members": [
|
|
10796
|
-
{
|
|
10797
|
-
"kind": "field",
|
|
10798
|
-
"name": "node",
|
|
10799
|
-
"type": {
|
|
10800
|
-
"text": "ConditionGroupEntity"
|
|
10801
|
-
}
|
|
10802
|
-
},
|
|
10803
|
-
{
|
|
10804
|
-
"kind": "field",
|
|
10805
|
-
"name": "fields",
|
|
10806
|
-
"type": {
|
|
10807
|
-
"text": "Field[]"
|
|
10808
|
-
},
|
|
10809
|
-
"default": "[]"
|
|
10810
|
-
},
|
|
10811
|
-
{
|
|
10812
|
-
"kind": "field",
|
|
10813
|
-
"name": "parameters",
|
|
10814
|
-
"type": {
|
|
10815
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
10816
|
-
},
|
|
10817
|
-
"default": "[]"
|
|
10818
|
-
},
|
|
10819
|
-
{
|
|
10820
|
-
"kind": "field",
|
|
10821
|
-
"name": "isFirst",
|
|
10822
|
-
"type": {
|
|
10823
|
-
"text": "boolean"
|
|
10824
|
-
},
|
|
10825
|
-
"default": "false"
|
|
10826
|
-
},
|
|
10827
|
-
{
|
|
10828
|
-
"kind": "field",
|
|
10829
|
-
"name": "joinOperator",
|
|
10830
|
-
"type": {
|
|
10831
|
-
"text": "string"
|
|
10832
|
-
}
|
|
10833
|
-
},
|
|
10834
|
-
{
|
|
10835
|
-
"kind": "field",
|
|
10836
|
-
"name": "groupChildren",
|
|
10837
|
-
"type": {
|
|
10838
|
-
"text": "ConditionNode[]"
|
|
10839
|
-
},
|
|
10840
|
-
"default": "[]"
|
|
10841
|
-
},
|
|
10842
|
-
{
|
|
10843
|
-
"kind": "method",
|
|
10844
|
-
"name": "nodeChanged"
|
|
10845
|
-
},
|
|
10846
|
-
{
|
|
10847
|
-
"kind": "method",
|
|
10848
|
-
"name": "joinOperatorChanged"
|
|
10849
|
-
},
|
|
10850
|
-
{
|
|
10851
|
-
"kind": "method",
|
|
10852
|
-
"name": "newCondition"
|
|
10853
|
-
},
|
|
10854
|
-
{
|
|
10855
|
-
"kind": "method",
|
|
10856
|
-
"name": "newGroup"
|
|
10857
|
-
},
|
|
10858
|
-
{
|
|
10859
|
-
"kind": "method",
|
|
10860
|
-
"name": "editChild",
|
|
10861
|
-
"parameters": [
|
|
10862
|
-
{
|
|
10863
|
-
"name": "_editedChild",
|
|
10864
|
-
"type": {
|
|
10865
|
-
"text": "ConditionNode"
|
|
10866
|
-
}
|
|
10867
|
-
}
|
|
10868
|
-
]
|
|
10869
|
-
},
|
|
10870
|
-
{
|
|
10871
|
-
"kind": "method",
|
|
10872
|
-
"name": "deleteChild",
|
|
10873
|
-
"parameters": [
|
|
10874
|
-
{
|
|
10875
|
-
"name": "deletedChild",
|
|
10876
|
-
"type": {
|
|
10877
|
-
"text": "ConditionNode"
|
|
10878
|
-
}
|
|
10879
|
-
}
|
|
10880
|
-
]
|
|
10881
|
-
},
|
|
10882
|
-
{
|
|
10883
|
-
"kind": "method",
|
|
10884
|
-
"name": "deleteSelf"
|
|
10885
|
-
}
|
|
10886
|
-
],
|
|
10887
|
-
"events": [
|
|
10888
|
-
{
|
|
10889
|
-
"description": "Fired when this whole group should be removed",
|
|
10890
|
-
"name": "delete"
|
|
10891
|
-
},
|
|
10892
|
-
{
|
|
10893
|
-
"description": "Fired when anything inside this group changes",
|
|
10894
|
-
"name": "edit"
|
|
10895
|
-
}
|
|
10896
|
-
],
|
|
10897
|
-
"superclass": {
|
|
10898
|
-
"name": "GenesisElement",
|
|
10899
|
-
"package": "@genesislcap/web-core"
|
|
10900
|
-
},
|
|
10901
|
-
"tagName": "template-condition-group",
|
|
10902
|
-
"customElement": true
|
|
10903
|
-
}
|
|
10904
|
-
],
|
|
10905
|
-
"exports": [
|
|
10906
|
-
{
|
|
10907
|
-
"kind": "js",
|
|
10908
|
-
"name": "TemplateConditionGroup",
|
|
10909
|
-
"declaration": {
|
|
10910
|
-
"name": "TemplateConditionGroup",
|
|
10911
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10912
|
-
}
|
|
10913
|
-
},
|
|
10914
|
-
{
|
|
10915
|
-
"kind": "custom-element-definition",
|
|
10916
|
-
"name": "template-condition-group",
|
|
10917
|
-
"declaration": {
|
|
10918
|
-
"name": "TemplateConditionGroup",
|
|
10919
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10920
|
-
}
|
|
10921
|
-
}
|
|
10922
|
-
]
|
|
10923
10923
|
}
|
|
10924
10924
|
]
|
|
10925
10925
|
}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
|
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(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
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(
|
|
310
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -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
|
@@ -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
|
|
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(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
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(
|
|
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.
|
|
4
|
+
"version": "15.43.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.
|
|
85
|
-
"@genesislcap/eslint-config": "15.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.
|
|
88
|
-
"@genesislcap/genx": "15.
|
|
89
|
-
"@genesislcap/prettier-config": "15.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.
|
|
91
|
-
"@genesislcap/vite-builder": "15.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.43.0",
|
|
85
|
+
"@genesislcap/eslint-config": "15.43.0",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.43.0",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.43.0",
|
|
88
|
+
"@genesislcap/genx": "15.43.0",
|
|
89
|
+
"@genesislcap/prettier-config": "15.43.0",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.43.0",
|
|
91
|
+
"@genesislcap/vite-builder": "15.43.0",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.43.0",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
107
|
-
"@genesislcap/web-core": "15.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.43.0",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.43.0",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.43.0",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.43.0",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.43.0",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.43.0",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.43.0",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.43.0",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.43.0",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.43.0",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.43.0",
|
|
107
|
+
"@genesislcap/web-core": "15.43.0",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|