@genesislcap/pbc-notify-ui 15.76.0 → 15.77.0-GENC-1660.7
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
|
@@ -10633,164 +10633,6 @@
|
|
|
10633
10633
|
}
|
|
10634
10634
|
]
|
|
10635
10635
|
},
|
|
10636
|
-
{
|
|
10637
|
-
"kind": "javascript-module",
|
|
10638
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10639
|
-
"declarations": [
|
|
10640
|
-
{
|
|
10641
|
-
"kind": "variable",
|
|
10642
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10643
|
-
"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`"
|
|
10644
|
-
}
|
|
10645
|
-
],
|
|
10646
|
-
"exports": [
|
|
10647
|
-
{
|
|
10648
|
-
"kind": "js",
|
|
10649
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10650
|
-
"declaration": {
|
|
10651
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10652
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10653
|
-
}
|
|
10654
|
-
}
|
|
10655
|
-
]
|
|
10656
|
-
},
|
|
10657
|
-
{
|
|
10658
|
-
"kind": "javascript-module",
|
|
10659
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10660
|
-
"declarations": [
|
|
10661
|
-
{
|
|
10662
|
-
"kind": "class",
|
|
10663
|
-
"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.",
|
|
10664
|
-
"name": "TemplateConditionGroup",
|
|
10665
|
-
"members": [
|
|
10666
|
-
{
|
|
10667
|
-
"kind": "field",
|
|
10668
|
-
"name": "node",
|
|
10669
|
-
"type": {
|
|
10670
|
-
"text": "ConditionGroupEntity"
|
|
10671
|
-
}
|
|
10672
|
-
},
|
|
10673
|
-
{
|
|
10674
|
-
"kind": "field",
|
|
10675
|
-
"name": "fields",
|
|
10676
|
-
"type": {
|
|
10677
|
-
"text": "Field[]"
|
|
10678
|
-
},
|
|
10679
|
-
"default": "[]"
|
|
10680
|
-
},
|
|
10681
|
-
{
|
|
10682
|
-
"kind": "field",
|
|
10683
|
-
"name": "parameters",
|
|
10684
|
-
"type": {
|
|
10685
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
10686
|
-
},
|
|
10687
|
-
"default": "[]"
|
|
10688
|
-
},
|
|
10689
|
-
{
|
|
10690
|
-
"kind": "field",
|
|
10691
|
-
"name": "isFirst",
|
|
10692
|
-
"type": {
|
|
10693
|
-
"text": "boolean"
|
|
10694
|
-
},
|
|
10695
|
-
"default": "false"
|
|
10696
|
-
},
|
|
10697
|
-
{
|
|
10698
|
-
"kind": "field",
|
|
10699
|
-
"name": "joinOperator",
|
|
10700
|
-
"type": {
|
|
10701
|
-
"text": "string"
|
|
10702
|
-
}
|
|
10703
|
-
},
|
|
10704
|
-
{
|
|
10705
|
-
"kind": "field",
|
|
10706
|
-
"name": "groupChildren",
|
|
10707
|
-
"type": {
|
|
10708
|
-
"text": "ConditionNode[]"
|
|
10709
|
-
},
|
|
10710
|
-
"default": "[]"
|
|
10711
|
-
},
|
|
10712
|
-
{
|
|
10713
|
-
"kind": "method",
|
|
10714
|
-
"name": "nodeChanged"
|
|
10715
|
-
},
|
|
10716
|
-
{
|
|
10717
|
-
"kind": "method",
|
|
10718
|
-
"name": "joinOperatorChanged"
|
|
10719
|
-
},
|
|
10720
|
-
{
|
|
10721
|
-
"kind": "method",
|
|
10722
|
-
"name": "newCondition"
|
|
10723
|
-
},
|
|
10724
|
-
{
|
|
10725
|
-
"kind": "method",
|
|
10726
|
-
"name": "newGroup"
|
|
10727
|
-
},
|
|
10728
|
-
{
|
|
10729
|
-
"kind": "method",
|
|
10730
|
-
"name": "editChild",
|
|
10731
|
-
"parameters": [
|
|
10732
|
-
{
|
|
10733
|
-
"name": "_editedChild",
|
|
10734
|
-
"type": {
|
|
10735
|
-
"text": "ConditionNode"
|
|
10736
|
-
}
|
|
10737
|
-
}
|
|
10738
|
-
]
|
|
10739
|
-
},
|
|
10740
|
-
{
|
|
10741
|
-
"kind": "method",
|
|
10742
|
-
"name": "deleteChild",
|
|
10743
|
-
"parameters": [
|
|
10744
|
-
{
|
|
10745
|
-
"name": "deletedChild",
|
|
10746
|
-
"type": {
|
|
10747
|
-
"text": "ConditionNode"
|
|
10748
|
-
}
|
|
10749
|
-
}
|
|
10750
|
-
]
|
|
10751
|
-
},
|
|
10752
|
-
{
|
|
10753
|
-
"kind": "method",
|
|
10754
|
-
"name": "deleteSelf"
|
|
10755
|
-
}
|
|
10756
|
-
],
|
|
10757
|
-
"events": [
|
|
10758
|
-
{
|
|
10759
|
-
"description": "Fired when this whole group should be removed",
|
|
10760
|
-
"name": "delete"
|
|
10761
|
-
},
|
|
10762
|
-
{
|
|
10763
|
-
"description": "Fired when anything inside this group changes",
|
|
10764
|
-
"name": "edit"
|
|
10765
|
-
}
|
|
10766
|
-
],
|
|
10767
|
-
"superclass": {
|
|
10768
|
-
"name": "GenesisElement",
|
|
10769
|
-
"package": "@genesislcap/web-core"
|
|
10770
|
-
},
|
|
10771
|
-
"tagName": "template-condition-group",
|
|
10772
|
-
"customElement": true
|
|
10773
|
-
}
|
|
10774
|
-
],
|
|
10775
|
-
"exports": [
|
|
10776
|
-
{
|
|
10777
|
-
"kind": "js",
|
|
10778
|
-
"name": "TemplateConditionGroup",
|
|
10779
|
-
"declaration": {
|
|
10780
|
-
"name": "TemplateConditionGroup",
|
|
10781
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10782
|
-
}
|
|
10783
|
-
},
|
|
10784
|
-
{
|
|
10785
|
-
"kind": "custom-element-definition",
|
|
10786
|
-
"name": "template-condition-group",
|
|
10787
|
-
"declaration": {
|
|
10788
|
-
"name": "TemplateConditionGroup",
|
|
10789
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10790
|
-
}
|
|
10791
|
-
}
|
|
10792
|
-
]
|
|
10793
|
-
},
|
|
10794
10636
|
{
|
|
10795
10637
|
"kind": "javascript-module",
|
|
10796
10638
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -11074,6 +10916,164 @@
|
|
|
11074
10916
|
}
|
|
11075
10917
|
}
|
|
11076
10918
|
]
|
|
10919
|
+
},
|
|
10920
|
+
{
|
|
10921
|
+
"kind": "javascript-module",
|
|
10922
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10923
|
+
"declarations": [
|
|
10924
|
+
{
|
|
10925
|
+
"kind": "variable",
|
|
10926
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10927
|
+
"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`"
|
|
10928
|
+
}
|
|
10929
|
+
],
|
|
10930
|
+
"exports": [
|
|
10931
|
+
{
|
|
10932
|
+
"kind": "js",
|
|
10933
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10934
|
+
"declaration": {
|
|
10935
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10936
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10937
|
+
}
|
|
10938
|
+
}
|
|
10939
|
+
]
|
|
10940
|
+
},
|
|
10941
|
+
{
|
|
10942
|
+
"kind": "javascript-module",
|
|
10943
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10944
|
+
"declarations": [
|
|
10945
|
+
{
|
|
10946
|
+
"kind": "class",
|
|
10947
|
+
"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.",
|
|
10948
|
+
"name": "TemplateConditionGroup",
|
|
10949
|
+
"members": [
|
|
10950
|
+
{
|
|
10951
|
+
"kind": "field",
|
|
10952
|
+
"name": "node",
|
|
10953
|
+
"type": {
|
|
10954
|
+
"text": "ConditionGroupEntity"
|
|
10955
|
+
}
|
|
10956
|
+
},
|
|
10957
|
+
{
|
|
10958
|
+
"kind": "field",
|
|
10959
|
+
"name": "fields",
|
|
10960
|
+
"type": {
|
|
10961
|
+
"text": "Field[]"
|
|
10962
|
+
},
|
|
10963
|
+
"default": "[]"
|
|
10964
|
+
},
|
|
10965
|
+
{
|
|
10966
|
+
"kind": "field",
|
|
10967
|
+
"name": "parameters",
|
|
10968
|
+
"type": {
|
|
10969
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10970
|
+
},
|
|
10971
|
+
"default": "[]"
|
|
10972
|
+
},
|
|
10973
|
+
{
|
|
10974
|
+
"kind": "field",
|
|
10975
|
+
"name": "isFirst",
|
|
10976
|
+
"type": {
|
|
10977
|
+
"text": "boolean"
|
|
10978
|
+
},
|
|
10979
|
+
"default": "false"
|
|
10980
|
+
},
|
|
10981
|
+
{
|
|
10982
|
+
"kind": "field",
|
|
10983
|
+
"name": "joinOperator",
|
|
10984
|
+
"type": {
|
|
10985
|
+
"text": "string"
|
|
10986
|
+
}
|
|
10987
|
+
},
|
|
10988
|
+
{
|
|
10989
|
+
"kind": "field",
|
|
10990
|
+
"name": "groupChildren",
|
|
10991
|
+
"type": {
|
|
10992
|
+
"text": "ConditionNode[]"
|
|
10993
|
+
},
|
|
10994
|
+
"default": "[]"
|
|
10995
|
+
},
|
|
10996
|
+
{
|
|
10997
|
+
"kind": "method",
|
|
10998
|
+
"name": "nodeChanged"
|
|
10999
|
+
},
|
|
11000
|
+
{
|
|
11001
|
+
"kind": "method",
|
|
11002
|
+
"name": "joinOperatorChanged"
|
|
11003
|
+
},
|
|
11004
|
+
{
|
|
11005
|
+
"kind": "method",
|
|
11006
|
+
"name": "newCondition"
|
|
11007
|
+
},
|
|
11008
|
+
{
|
|
11009
|
+
"kind": "method",
|
|
11010
|
+
"name": "newGroup"
|
|
11011
|
+
},
|
|
11012
|
+
{
|
|
11013
|
+
"kind": "method",
|
|
11014
|
+
"name": "editChild",
|
|
11015
|
+
"parameters": [
|
|
11016
|
+
{
|
|
11017
|
+
"name": "_editedChild",
|
|
11018
|
+
"type": {
|
|
11019
|
+
"text": "ConditionNode"
|
|
11020
|
+
}
|
|
11021
|
+
}
|
|
11022
|
+
]
|
|
11023
|
+
},
|
|
11024
|
+
{
|
|
11025
|
+
"kind": "method",
|
|
11026
|
+
"name": "deleteChild",
|
|
11027
|
+
"parameters": [
|
|
11028
|
+
{
|
|
11029
|
+
"name": "deletedChild",
|
|
11030
|
+
"type": {
|
|
11031
|
+
"text": "ConditionNode"
|
|
11032
|
+
}
|
|
11033
|
+
}
|
|
11034
|
+
]
|
|
11035
|
+
},
|
|
11036
|
+
{
|
|
11037
|
+
"kind": "method",
|
|
11038
|
+
"name": "deleteSelf"
|
|
11039
|
+
}
|
|
11040
|
+
],
|
|
11041
|
+
"events": [
|
|
11042
|
+
{
|
|
11043
|
+
"description": "Fired when this whole group should be removed",
|
|
11044
|
+
"name": "delete"
|
|
11045
|
+
},
|
|
11046
|
+
{
|
|
11047
|
+
"description": "Fired when anything inside this group changes",
|
|
11048
|
+
"name": "edit"
|
|
11049
|
+
}
|
|
11050
|
+
],
|
|
11051
|
+
"superclass": {
|
|
11052
|
+
"name": "GenesisElement",
|
|
11053
|
+
"package": "@genesislcap/web-core"
|
|
11054
|
+
},
|
|
11055
|
+
"tagName": "template-condition-group",
|
|
11056
|
+
"customElement": true
|
|
11057
|
+
}
|
|
11058
|
+
],
|
|
11059
|
+
"exports": [
|
|
11060
|
+
{
|
|
11061
|
+
"kind": "js",
|
|
11062
|
+
"name": "TemplateConditionGroup",
|
|
11063
|
+
"declaration": {
|
|
11064
|
+
"name": "TemplateConditionGroup",
|
|
11065
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11066
|
+
}
|
|
11067
|
+
},
|
|
11068
|
+
{
|
|
11069
|
+
"kind": "custom-element-definition",
|
|
11070
|
+
"name": "template-condition-group",
|
|
11071
|
+
"declaration": {
|
|
11072
|
+
"name": "TemplateConditionGroup",
|
|
11073
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11074
|
+
}
|
|
11075
|
+
}
|
|
11076
|
+
]
|
|
11077
11077
|
}
|
|
11078
11078
|
]
|
|
11079
11079
|
}
|
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 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
|
@@ -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 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(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
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(
|
|
310
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...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
|
-
TemplateConditionGroup,
|
|
339
338
|
TemplateConditionBuilder,
|
|
339
|
+
TemplateConditionGroup,
|
|
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 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(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
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(
|
|
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.
|
|
4
|
+
"version": "15.77.0-GENC-1660.7",
|
|
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.
|
|
84
|
-
"@genesislcap/eslint-config": "15.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.
|
|
87
|
-
"@genesislcap/genx": "15.
|
|
88
|
-
"@genesislcap/prettier-config": "15.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.
|
|
90
|
-
"@genesislcap/vite-builder": "15.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.77.0-GENC-1660.7",
|
|
84
|
+
"@genesislcap/eslint-config": "15.77.0-GENC-1660.7",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.77.0-GENC-1660.7",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.77.0-GENC-1660.7",
|
|
87
|
+
"@genesislcap/genx": "15.77.0-GENC-1660.7",
|
|
88
|
+
"@genesislcap/prettier-config": "15.77.0-GENC-1660.7",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.77.0-GENC-1660.7",
|
|
90
|
+
"@genesislcap/vite-builder": "15.77.0-GENC-1660.7",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.77.0-GENC-1660.7",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
106
|
-
"@genesislcap/web-core": "15.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.77.0-GENC-1660.7",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.77.0-GENC-1660.7",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.77.0-GENC-1660.7",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.77.0-GENC-1660.7",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.77.0-GENC-1660.7",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.77.0-GENC-1660.7",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.77.0-GENC-1660.7",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.77.0-GENC-1660.7",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.77.0-GENC-1660.7",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.77.0-GENC-1660.7",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.77.0-GENC-1660.7",
|
|
106
|
+
"@genesislcap/web-core": "15.77.0-GENC-1660.7",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|