@genesislcap/pbc-notify-ui 15.1.0 → 15.2.1
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 +150 -150
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +23 -23
|
@@ -6851,6 +6851,156 @@
|
|
|
6851
6851
|
}
|
|
6852
6852
|
]
|
|
6853
6853
|
},
|
|
6854
|
+
{
|
|
6855
|
+
"kind": "javascript-module",
|
|
6856
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
6857
|
+
"declarations": [
|
|
6858
|
+
{
|
|
6859
|
+
"kind": "variable",
|
|
6860
|
+
"name": "RuleConditionGroupTemplate",
|
|
6861
|
+
"default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
6862
|
+
}
|
|
6863
|
+
],
|
|
6864
|
+
"exports": [
|
|
6865
|
+
{
|
|
6866
|
+
"kind": "js",
|
|
6867
|
+
"name": "RuleConditionGroupTemplate",
|
|
6868
|
+
"declaration": {
|
|
6869
|
+
"name": "RuleConditionGroupTemplate",
|
|
6870
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
6871
|
+
}
|
|
6872
|
+
}
|
|
6873
|
+
]
|
|
6874
|
+
},
|
|
6875
|
+
{
|
|
6876
|
+
"kind": "javascript-module",
|
|
6877
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
6878
|
+
"declarations": [
|
|
6879
|
+
{
|
|
6880
|
+
"kind": "class",
|
|
6881
|
+
"description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
|
|
6882
|
+
"name": "RuleConditionGroup",
|
|
6883
|
+
"members": [
|
|
6884
|
+
{
|
|
6885
|
+
"kind": "field",
|
|
6886
|
+
"name": "node",
|
|
6887
|
+
"type": {
|
|
6888
|
+
"text": "ConditionGroupEntity"
|
|
6889
|
+
}
|
|
6890
|
+
},
|
|
6891
|
+
{
|
|
6892
|
+
"kind": "field",
|
|
6893
|
+
"name": "fields",
|
|
6894
|
+
"type": {
|
|
6895
|
+
"text": "Field[]"
|
|
6896
|
+
},
|
|
6897
|
+
"default": "[]"
|
|
6898
|
+
},
|
|
6899
|
+
{
|
|
6900
|
+
"kind": "field",
|
|
6901
|
+
"name": "isFirst",
|
|
6902
|
+
"type": {
|
|
6903
|
+
"text": "boolean"
|
|
6904
|
+
},
|
|
6905
|
+
"default": "false"
|
|
6906
|
+
},
|
|
6907
|
+
{
|
|
6908
|
+
"kind": "field",
|
|
6909
|
+
"name": "joinOperator",
|
|
6910
|
+
"type": {
|
|
6911
|
+
"text": "string"
|
|
6912
|
+
}
|
|
6913
|
+
},
|
|
6914
|
+
{
|
|
6915
|
+
"kind": "field",
|
|
6916
|
+
"name": "groupChildren",
|
|
6917
|
+
"type": {
|
|
6918
|
+
"text": "ConditionNode[]"
|
|
6919
|
+
},
|
|
6920
|
+
"default": "[]"
|
|
6921
|
+
},
|
|
6922
|
+
{
|
|
6923
|
+
"kind": "method",
|
|
6924
|
+
"name": "nodeChanged"
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
"kind": "method",
|
|
6928
|
+
"name": "joinOperatorChanged"
|
|
6929
|
+
},
|
|
6930
|
+
{
|
|
6931
|
+
"kind": "method",
|
|
6932
|
+
"name": "newCondition"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
"kind": "method",
|
|
6936
|
+
"name": "newGroup"
|
|
6937
|
+
},
|
|
6938
|
+
{
|
|
6939
|
+
"kind": "method",
|
|
6940
|
+
"name": "editChild",
|
|
6941
|
+
"parameters": [
|
|
6942
|
+
{
|
|
6943
|
+
"name": "_editedChild",
|
|
6944
|
+
"type": {
|
|
6945
|
+
"text": "ConditionNode"
|
|
6946
|
+
}
|
|
6947
|
+
}
|
|
6948
|
+
]
|
|
6949
|
+
},
|
|
6950
|
+
{
|
|
6951
|
+
"kind": "method",
|
|
6952
|
+
"name": "deleteChild",
|
|
6953
|
+
"parameters": [
|
|
6954
|
+
{
|
|
6955
|
+
"name": "deletedChild",
|
|
6956
|
+
"type": {
|
|
6957
|
+
"text": "ConditionNode"
|
|
6958
|
+
}
|
|
6959
|
+
}
|
|
6960
|
+
]
|
|
6961
|
+
},
|
|
6962
|
+
{
|
|
6963
|
+
"kind": "method",
|
|
6964
|
+
"name": "deleteSelf"
|
|
6965
|
+
}
|
|
6966
|
+
],
|
|
6967
|
+
"events": [
|
|
6968
|
+
{
|
|
6969
|
+
"description": "Fired when this whole group should be removed",
|
|
6970
|
+
"name": "delete"
|
|
6971
|
+
},
|
|
6972
|
+
{
|
|
6973
|
+
"description": "Fired when anything inside this group changes",
|
|
6974
|
+
"name": "edit"
|
|
6975
|
+
}
|
|
6976
|
+
],
|
|
6977
|
+
"superclass": {
|
|
6978
|
+
"name": "GenesisElement",
|
|
6979
|
+
"package": "@genesislcap/web-core"
|
|
6980
|
+
},
|
|
6981
|
+
"tagName": "rule-condition-group",
|
|
6982
|
+
"customElement": true
|
|
6983
|
+
}
|
|
6984
|
+
],
|
|
6985
|
+
"exports": [
|
|
6986
|
+
{
|
|
6987
|
+
"kind": "js",
|
|
6988
|
+
"name": "RuleConditionGroup",
|
|
6989
|
+
"declaration": {
|
|
6990
|
+
"name": "RuleConditionGroup",
|
|
6991
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
6992
|
+
}
|
|
6993
|
+
},
|
|
6994
|
+
{
|
|
6995
|
+
"kind": "custom-element-definition",
|
|
6996
|
+
"name": "rule-condition-group",
|
|
6997
|
+
"declaration": {
|
|
6998
|
+
"name": "RuleConditionGroup",
|
|
6999
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7000
|
+
}
|
|
7001
|
+
}
|
|
7002
|
+
]
|
|
7003
|
+
},
|
|
6854
7004
|
{
|
|
6855
7005
|
"kind": "javascript-module",
|
|
6856
7006
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -7135,156 +7285,6 @@
|
|
|
7135
7285
|
"declarations": [],
|
|
7136
7286
|
"exports": []
|
|
7137
7287
|
},
|
|
7138
|
-
{
|
|
7139
|
-
"kind": "javascript-module",
|
|
7140
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
7141
|
-
"declarations": [
|
|
7142
|
-
{
|
|
7143
|
-
"kind": "variable",
|
|
7144
|
-
"name": "RuleConditionGroupTemplate",
|
|
7145
|
-
"default": "html<RuleConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, RuleConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <rule-condition-group\n :fields=${(x, c) => c.parent.fields}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <rule-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></rule-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
7146
|
-
}
|
|
7147
|
-
],
|
|
7148
|
-
"exports": [
|
|
7149
|
-
{
|
|
7150
|
-
"kind": "js",
|
|
7151
|
-
"name": "RuleConditionGroupTemplate",
|
|
7152
|
-
"declaration": {
|
|
7153
|
-
"name": "RuleConditionGroupTemplate",
|
|
7154
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
7155
|
-
}
|
|
7156
|
-
}
|
|
7157
|
-
]
|
|
7158
|
-
},
|
|
7159
|
-
{
|
|
7160
|
-
"kind": "javascript-module",
|
|
7161
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
7162
|
-
"declarations": [
|
|
7163
|
-
{
|
|
7164
|
-
"kind": "class",
|
|
7165
|
-
"description": "Parenthesized group of conditions/nested groups for notification rule\ncriteria, joined to the previous sibling via AND/OR like a single\ncondition row - but bracketing its own children off from the rest of the\nlist, so e.g. \"(A && B) || C\" can be expressed without the AND silently\nspanning more than intended.",
|
|
7166
|
-
"name": "RuleConditionGroup",
|
|
7167
|
-
"members": [
|
|
7168
|
-
{
|
|
7169
|
-
"kind": "field",
|
|
7170
|
-
"name": "node",
|
|
7171
|
-
"type": {
|
|
7172
|
-
"text": "ConditionGroupEntity"
|
|
7173
|
-
}
|
|
7174
|
-
},
|
|
7175
|
-
{
|
|
7176
|
-
"kind": "field",
|
|
7177
|
-
"name": "fields",
|
|
7178
|
-
"type": {
|
|
7179
|
-
"text": "Field[]"
|
|
7180
|
-
},
|
|
7181
|
-
"default": "[]"
|
|
7182
|
-
},
|
|
7183
|
-
{
|
|
7184
|
-
"kind": "field",
|
|
7185
|
-
"name": "isFirst",
|
|
7186
|
-
"type": {
|
|
7187
|
-
"text": "boolean"
|
|
7188
|
-
},
|
|
7189
|
-
"default": "false"
|
|
7190
|
-
},
|
|
7191
|
-
{
|
|
7192
|
-
"kind": "field",
|
|
7193
|
-
"name": "joinOperator",
|
|
7194
|
-
"type": {
|
|
7195
|
-
"text": "string"
|
|
7196
|
-
}
|
|
7197
|
-
},
|
|
7198
|
-
{
|
|
7199
|
-
"kind": "field",
|
|
7200
|
-
"name": "groupChildren",
|
|
7201
|
-
"type": {
|
|
7202
|
-
"text": "ConditionNode[]"
|
|
7203
|
-
},
|
|
7204
|
-
"default": "[]"
|
|
7205
|
-
},
|
|
7206
|
-
{
|
|
7207
|
-
"kind": "method",
|
|
7208
|
-
"name": "nodeChanged"
|
|
7209
|
-
},
|
|
7210
|
-
{
|
|
7211
|
-
"kind": "method",
|
|
7212
|
-
"name": "joinOperatorChanged"
|
|
7213
|
-
},
|
|
7214
|
-
{
|
|
7215
|
-
"kind": "method",
|
|
7216
|
-
"name": "newCondition"
|
|
7217
|
-
},
|
|
7218
|
-
{
|
|
7219
|
-
"kind": "method",
|
|
7220
|
-
"name": "newGroup"
|
|
7221
|
-
},
|
|
7222
|
-
{
|
|
7223
|
-
"kind": "method",
|
|
7224
|
-
"name": "editChild",
|
|
7225
|
-
"parameters": [
|
|
7226
|
-
{
|
|
7227
|
-
"name": "_editedChild",
|
|
7228
|
-
"type": {
|
|
7229
|
-
"text": "ConditionNode"
|
|
7230
|
-
}
|
|
7231
|
-
}
|
|
7232
|
-
]
|
|
7233
|
-
},
|
|
7234
|
-
{
|
|
7235
|
-
"kind": "method",
|
|
7236
|
-
"name": "deleteChild",
|
|
7237
|
-
"parameters": [
|
|
7238
|
-
{
|
|
7239
|
-
"name": "deletedChild",
|
|
7240
|
-
"type": {
|
|
7241
|
-
"text": "ConditionNode"
|
|
7242
|
-
}
|
|
7243
|
-
}
|
|
7244
|
-
]
|
|
7245
|
-
},
|
|
7246
|
-
{
|
|
7247
|
-
"kind": "method",
|
|
7248
|
-
"name": "deleteSelf"
|
|
7249
|
-
}
|
|
7250
|
-
],
|
|
7251
|
-
"events": [
|
|
7252
|
-
{
|
|
7253
|
-
"description": "Fired when this whole group should be removed",
|
|
7254
|
-
"name": "delete"
|
|
7255
|
-
},
|
|
7256
|
-
{
|
|
7257
|
-
"description": "Fired when anything inside this group changes",
|
|
7258
|
-
"name": "edit"
|
|
7259
|
-
}
|
|
7260
|
-
],
|
|
7261
|
-
"superclass": {
|
|
7262
|
-
"name": "GenesisElement",
|
|
7263
|
-
"package": "@genesislcap/web-core"
|
|
7264
|
-
},
|
|
7265
|
-
"tagName": "rule-condition-group",
|
|
7266
|
-
"customElement": true
|
|
7267
|
-
}
|
|
7268
|
-
],
|
|
7269
|
-
"exports": [
|
|
7270
|
-
{
|
|
7271
|
-
"kind": "js",
|
|
7272
|
-
"name": "RuleConditionGroup",
|
|
7273
|
-
"declaration": {
|
|
7274
|
-
"name": "RuleConditionGroup",
|
|
7275
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7276
|
-
}
|
|
7277
|
-
},
|
|
7278
|
-
{
|
|
7279
|
-
"kind": "custom-element-definition",
|
|
7280
|
-
"name": "rule-condition-group",
|
|
7281
|
-
"declaration": {
|
|
7282
|
-
"name": "RuleConditionGroup",
|
|
7283
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7284
|
-
}
|
|
7285
|
-
}
|
|
7286
|
-
]
|
|
7287
|
-
},
|
|
7288
7288
|
{
|
|
7289
7289
|
"kind": "javascript-module",
|
|
7290
7290
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -225,17 +225,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
225
225
|
>;
|
|
226
226
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
227
227
|
|
|
228
|
-
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
229
|
-
React.PropsWithChildren<
|
|
230
|
-
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
231
|
-
HTMLWCProps & {
|
|
232
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
233
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
234
|
-
}
|
|
235
|
-
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
236
|
-
>;
|
|
237
|
-
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
238
|
-
|
|
239
228
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
240
229
|
React.PropsWithChildren<
|
|
241
230
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -247,6 +236,17 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
247
236
|
>;
|
|
248
237
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
249
238
|
|
|
239
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
240
|
+
React.PropsWithChildren<
|
|
241
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
242
|
+
HTMLWCProps & {
|
|
243
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
244
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
245
|
+
}
|
|
246
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
247
|
+
>;
|
|
248
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
249
|
+
|
|
250
250
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
251
251
|
React.PropsWithChildren<
|
|
252
252
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -182,7 +182,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
182
182
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
const
|
|
185
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
186
186
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
187
187
|
const _innerRef = React.useRef(null);
|
|
188
188
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -201,10 +201,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
201
201
|
el.removeEventListener('edit', _onEditFn);
|
|
202
202
|
};
|
|
203
203
|
}, []);
|
|
204
|
-
return React.createElement(customElements.getName(
|
|
204
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
205
205
|
});
|
|
206
206
|
|
|
207
|
-
const
|
|
207
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
208
208
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
209
209
|
const _innerRef = React.useRef(null);
|
|
210
210
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -223,7 +223,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
223
223
|
el.removeEventListener('edit', _onEditFn);
|
|
224
224
|
};
|
|
225
225
|
}, []);
|
|
226
|
-
return React.createElement(customElements.getName(
|
|
226
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
227
227
|
});
|
|
228
228
|
|
|
229
229
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -311,8 +311,8 @@ module.exports = {
|
|
|
311
311
|
ScreenRouteManagement,
|
|
312
312
|
RuleDialog,
|
|
313
313
|
TemplateDialog,
|
|
314
|
-
RuleConditionBuilder,
|
|
315
314
|
RuleConditionGroup,
|
|
315
|
+
RuleConditionBuilder,
|
|
316
316
|
ParameterBuilder,
|
|
317
317
|
TemplateConditionBuilder,
|
|
318
318
|
TemplateConditionGroup,
|
package/dist/react.mjs
CHANGED
|
@@ -180,7 +180,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
180
180
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
181
181
|
});
|
|
182
182
|
|
|
183
|
-
export const
|
|
183
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
184
184
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
185
185
|
const _innerRef = React.useRef(null);
|
|
186
186
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -199,10 +199,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
199
199
|
el.removeEventListener('edit', _onEditFn);
|
|
200
200
|
};
|
|
201
201
|
}, []);
|
|
202
|
-
return React.createElement(customElements.getName(
|
|
202
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
203
203
|
});
|
|
204
204
|
|
|
205
|
-
export const
|
|
205
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
206
206
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
207
207
|
const _innerRef = React.useRef(null);
|
|
208
208
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -221,7 +221,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
221
221
|
el.removeEventListener('edit', _onEditFn);
|
|
222
222
|
};
|
|
223
223
|
}, []);
|
|
224
|
-
return React.createElement(customElements.getName(
|
|
224
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
225
225
|
});
|
|
226
226
|
|
|
227
227
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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.1
|
|
4
|
+
"version": "15.2.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -83,30 +83,30 @@
|
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
84
|
"@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
|
|
85
85
|
"@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
|
|
86
|
-
"@genesislcap/design-system-configurator": "15.1
|
|
87
|
-
"@genesislcap/eslint-config": "15.1
|
|
88
|
-
"@genesislcap/eslint-stylelint-builder": "15.1
|
|
89
|
-
"@genesislcap/foundation-testing": "15.1
|
|
90
|
-
"@genesislcap/genx": "15.1
|
|
91
|
-
"@genesislcap/prettier-config": "15.1
|
|
92
|
-
"@genesislcap/stylelint-config": "15.1
|
|
93
|
-
"@genesislcap/vite-builder": "15.1
|
|
94
|
-
"@genesislcap/webpack-builder": "15.1
|
|
86
|
+
"@genesislcap/design-system-configurator": "15.2.1",
|
|
87
|
+
"@genesislcap/eslint-config": "15.2.1",
|
|
88
|
+
"@genesislcap/eslint-stylelint-builder": "15.2.1",
|
|
89
|
+
"@genesislcap/foundation-testing": "15.2.1",
|
|
90
|
+
"@genesislcap/genx": "15.2.1",
|
|
91
|
+
"@genesislcap/prettier-config": "15.2.1",
|
|
92
|
+
"@genesislcap/stylelint-config": "15.2.1",
|
|
93
|
+
"@genesislcap/vite-builder": "15.2.1",
|
|
94
|
+
"@genesislcap/webpack-builder": "15.2.1",
|
|
95
95
|
"dayjs": "^1.11.7"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-comms": "15.1
|
|
99
|
-
"@genesislcap/foundation-criteria": "15.1
|
|
100
|
-
"@genesislcap/foundation-entity-management": "15.1
|
|
101
|
-
"@genesislcap/foundation-forms": "15.1
|
|
102
|
-
"@genesislcap/foundation-layout": "15.1
|
|
103
|
-
"@genesislcap/foundation-logger": "15.1
|
|
104
|
-
"@genesislcap/foundation-notifications": "15.1
|
|
105
|
-
"@genesislcap/foundation-ui": "15.1
|
|
106
|
-
"@genesislcap/foundation-utils": "15.1
|
|
107
|
-
"@genesislcap/rapid-design-system": "15.1
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "15.1
|
|
109
|
-
"@genesislcap/web-core": "15.1
|
|
98
|
+
"@genesislcap/foundation-comms": "15.2.1",
|
|
99
|
+
"@genesislcap/foundation-criteria": "15.2.1",
|
|
100
|
+
"@genesislcap/foundation-entity-management": "15.2.1",
|
|
101
|
+
"@genesislcap/foundation-forms": "15.2.1",
|
|
102
|
+
"@genesislcap/foundation-layout": "15.2.1",
|
|
103
|
+
"@genesislcap/foundation-logger": "15.2.1",
|
|
104
|
+
"@genesislcap/foundation-notifications": "15.2.1",
|
|
105
|
+
"@genesislcap/foundation-ui": "15.2.1",
|
|
106
|
+
"@genesislcap/foundation-utils": "15.2.1",
|
|
107
|
+
"@genesislcap/rapid-design-system": "15.2.1",
|
|
108
|
+
"@genesislcap/rapid-grid-pro": "15.2.1",
|
|
109
|
+
"@genesislcap/web-core": "15.2.1",
|
|
110
110
|
"lodash.debounce": "^4.0.8",
|
|
111
111
|
"rxjs": "^7.5.4"
|
|
112
112
|
},
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"customElements": "dist/custom-elements.json",
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "3917f3dc0bb5f4487bd30b37360fa0cddda92f0c"
|
|
118
118
|
}
|