@genesislcap/pbc-notify-ui 15.6.1 → 15.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 -25
|
@@ -6886,156 +6886,6 @@
|
|
|
6886
6886
|
}
|
|
6887
6887
|
]
|
|
6888
6888
|
},
|
|
6889
|
-
{
|
|
6890
|
-
"kind": "javascript-module",
|
|
6891
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
6892
|
-
"declarations": [
|
|
6893
|
-
{
|
|
6894
|
-
"kind": "variable",
|
|
6895
|
-
"name": "RuleConditionGroupTemplate",
|
|
6896
|
-
"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`"
|
|
6897
|
-
}
|
|
6898
|
-
],
|
|
6899
|
-
"exports": [
|
|
6900
|
-
{
|
|
6901
|
-
"kind": "js",
|
|
6902
|
-
"name": "RuleConditionGroupTemplate",
|
|
6903
|
-
"declaration": {
|
|
6904
|
-
"name": "RuleConditionGroupTemplate",
|
|
6905
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
6906
|
-
}
|
|
6907
|
-
}
|
|
6908
|
-
]
|
|
6909
|
-
},
|
|
6910
|
-
{
|
|
6911
|
-
"kind": "javascript-module",
|
|
6912
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
6913
|
-
"declarations": [
|
|
6914
|
-
{
|
|
6915
|
-
"kind": "class",
|
|
6916
|
-
"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.",
|
|
6917
|
-
"name": "RuleConditionGroup",
|
|
6918
|
-
"members": [
|
|
6919
|
-
{
|
|
6920
|
-
"kind": "field",
|
|
6921
|
-
"name": "node",
|
|
6922
|
-
"type": {
|
|
6923
|
-
"text": "ConditionGroupEntity"
|
|
6924
|
-
}
|
|
6925
|
-
},
|
|
6926
|
-
{
|
|
6927
|
-
"kind": "field",
|
|
6928
|
-
"name": "fields",
|
|
6929
|
-
"type": {
|
|
6930
|
-
"text": "Field[]"
|
|
6931
|
-
},
|
|
6932
|
-
"default": "[]"
|
|
6933
|
-
},
|
|
6934
|
-
{
|
|
6935
|
-
"kind": "field",
|
|
6936
|
-
"name": "isFirst",
|
|
6937
|
-
"type": {
|
|
6938
|
-
"text": "boolean"
|
|
6939
|
-
},
|
|
6940
|
-
"default": "false"
|
|
6941
|
-
},
|
|
6942
|
-
{
|
|
6943
|
-
"kind": "field",
|
|
6944
|
-
"name": "joinOperator",
|
|
6945
|
-
"type": {
|
|
6946
|
-
"text": "string"
|
|
6947
|
-
}
|
|
6948
|
-
},
|
|
6949
|
-
{
|
|
6950
|
-
"kind": "field",
|
|
6951
|
-
"name": "groupChildren",
|
|
6952
|
-
"type": {
|
|
6953
|
-
"text": "ConditionNode[]"
|
|
6954
|
-
},
|
|
6955
|
-
"default": "[]"
|
|
6956
|
-
},
|
|
6957
|
-
{
|
|
6958
|
-
"kind": "method",
|
|
6959
|
-
"name": "nodeChanged"
|
|
6960
|
-
},
|
|
6961
|
-
{
|
|
6962
|
-
"kind": "method",
|
|
6963
|
-
"name": "joinOperatorChanged"
|
|
6964
|
-
},
|
|
6965
|
-
{
|
|
6966
|
-
"kind": "method",
|
|
6967
|
-
"name": "newCondition"
|
|
6968
|
-
},
|
|
6969
|
-
{
|
|
6970
|
-
"kind": "method",
|
|
6971
|
-
"name": "newGroup"
|
|
6972
|
-
},
|
|
6973
|
-
{
|
|
6974
|
-
"kind": "method",
|
|
6975
|
-
"name": "editChild",
|
|
6976
|
-
"parameters": [
|
|
6977
|
-
{
|
|
6978
|
-
"name": "_editedChild",
|
|
6979
|
-
"type": {
|
|
6980
|
-
"text": "ConditionNode"
|
|
6981
|
-
}
|
|
6982
|
-
}
|
|
6983
|
-
]
|
|
6984
|
-
},
|
|
6985
|
-
{
|
|
6986
|
-
"kind": "method",
|
|
6987
|
-
"name": "deleteChild",
|
|
6988
|
-
"parameters": [
|
|
6989
|
-
{
|
|
6990
|
-
"name": "deletedChild",
|
|
6991
|
-
"type": {
|
|
6992
|
-
"text": "ConditionNode"
|
|
6993
|
-
}
|
|
6994
|
-
}
|
|
6995
|
-
]
|
|
6996
|
-
},
|
|
6997
|
-
{
|
|
6998
|
-
"kind": "method",
|
|
6999
|
-
"name": "deleteSelf"
|
|
7000
|
-
}
|
|
7001
|
-
],
|
|
7002
|
-
"events": [
|
|
7003
|
-
{
|
|
7004
|
-
"description": "Fired when this whole group should be removed",
|
|
7005
|
-
"name": "delete"
|
|
7006
|
-
},
|
|
7007
|
-
{
|
|
7008
|
-
"description": "Fired when anything inside this group changes",
|
|
7009
|
-
"name": "edit"
|
|
7010
|
-
}
|
|
7011
|
-
],
|
|
7012
|
-
"superclass": {
|
|
7013
|
-
"name": "GenesisElement",
|
|
7014
|
-
"package": "@genesislcap/web-core"
|
|
7015
|
-
},
|
|
7016
|
-
"tagName": "rule-condition-group",
|
|
7017
|
-
"customElement": true
|
|
7018
|
-
}
|
|
7019
|
-
],
|
|
7020
|
-
"exports": [
|
|
7021
|
-
{
|
|
7022
|
-
"kind": "js",
|
|
7023
|
-
"name": "RuleConditionGroup",
|
|
7024
|
-
"declaration": {
|
|
7025
|
-
"name": "RuleConditionGroup",
|
|
7026
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7027
|
-
}
|
|
7028
|
-
},
|
|
7029
|
-
{
|
|
7030
|
-
"kind": "custom-element-definition",
|
|
7031
|
-
"name": "rule-condition-group",
|
|
7032
|
-
"declaration": {
|
|
7033
|
-
"name": "RuleConditionGroup",
|
|
7034
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7035
|
-
}
|
|
7036
|
-
}
|
|
7037
|
-
]
|
|
7038
|
-
},
|
|
7039
6889
|
{
|
|
7040
6890
|
"kind": "javascript-module",
|
|
7041
6891
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -7320,6 +7170,156 @@
|
|
|
7320
7170
|
"declarations": [],
|
|
7321
7171
|
"exports": []
|
|
7322
7172
|
},
|
|
7173
|
+
{
|
|
7174
|
+
"kind": "javascript-module",
|
|
7175
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
7176
|
+
"declarations": [
|
|
7177
|
+
{
|
|
7178
|
+
"kind": "variable",
|
|
7179
|
+
"name": "RuleConditionGroupTemplate",
|
|
7180
|
+
"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`"
|
|
7181
|
+
}
|
|
7182
|
+
],
|
|
7183
|
+
"exports": [
|
|
7184
|
+
{
|
|
7185
|
+
"kind": "js",
|
|
7186
|
+
"name": "RuleConditionGroupTemplate",
|
|
7187
|
+
"declaration": {
|
|
7188
|
+
"name": "RuleConditionGroupTemplate",
|
|
7189
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
7190
|
+
}
|
|
7191
|
+
}
|
|
7192
|
+
]
|
|
7193
|
+
},
|
|
7194
|
+
{
|
|
7195
|
+
"kind": "javascript-module",
|
|
7196
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
7197
|
+
"declarations": [
|
|
7198
|
+
{
|
|
7199
|
+
"kind": "class",
|
|
7200
|
+
"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.",
|
|
7201
|
+
"name": "RuleConditionGroup",
|
|
7202
|
+
"members": [
|
|
7203
|
+
{
|
|
7204
|
+
"kind": "field",
|
|
7205
|
+
"name": "node",
|
|
7206
|
+
"type": {
|
|
7207
|
+
"text": "ConditionGroupEntity"
|
|
7208
|
+
}
|
|
7209
|
+
},
|
|
7210
|
+
{
|
|
7211
|
+
"kind": "field",
|
|
7212
|
+
"name": "fields",
|
|
7213
|
+
"type": {
|
|
7214
|
+
"text": "Field[]"
|
|
7215
|
+
},
|
|
7216
|
+
"default": "[]"
|
|
7217
|
+
},
|
|
7218
|
+
{
|
|
7219
|
+
"kind": "field",
|
|
7220
|
+
"name": "isFirst",
|
|
7221
|
+
"type": {
|
|
7222
|
+
"text": "boolean"
|
|
7223
|
+
},
|
|
7224
|
+
"default": "false"
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
"kind": "field",
|
|
7228
|
+
"name": "joinOperator",
|
|
7229
|
+
"type": {
|
|
7230
|
+
"text": "string"
|
|
7231
|
+
}
|
|
7232
|
+
},
|
|
7233
|
+
{
|
|
7234
|
+
"kind": "field",
|
|
7235
|
+
"name": "groupChildren",
|
|
7236
|
+
"type": {
|
|
7237
|
+
"text": "ConditionNode[]"
|
|
7238
|
+
},
|
|
7239
|
+
"default": "[]"
|
|
7240
|
+
},
|
|
7241
|
+
{
|
|
7242
|
+
"kind": "method",
|
|
7243
|
+
"name": "nodeChanged"
|
|
7244
|
+
},
|
|
7245
|
+
{
|
|
7246
|
+
"kind": "method",
|
|
7247
|
+
"name": "joinOperatorChanged"
|
|
7248
|
+
},
|
|
7249
|
+
{
|
|
7250
|
+
"kind": "method",
|
|
7251
|
+
"name": "newCondition"
|
|
7252
|
+
},
|
|
7253
|
+
{
|
|
7254
|
+
"kind": "method",
|
|
7255
|
+
"name": "newGroup"
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"kind": "method",
|
|
7259
|
+
"name": "editChild",
|
|
7260
|
+
"parameters": [
|
|
7261
|
+
{
|
|
7262
|
+
"name": "_editedChild",
|
|
7263
|
+
"type": {
|
|
7264
|
+
"text": "ConditionNode"
|
|
7265
|
+
}
|
|
7266
|
+
}
|
|
7267
|
+
]
|
|
7268
|
+
},
|
|
7269
|
+
{
|
|
7270
|
+
"kind": "method",
|
|
7271
|
+
"name": "deleteChild",
|
|
7272
|
+
"parameters": [
|
|
7273
|
+
{
|
|
7274
|
+
"name": "deletedChild",
|
|
7275
|
+
"type": {
|
|
7276
|
+
"text": "ConditionNode"
|
|
7277
|
+
}
|
|
7278
|
+
}
|
|
7279
|
+
]
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
"kind": "method",
|
|
7283
|
+
"name": "deleteSelf"
|
|
7284
|
+
}
|
|
7285
|
+
],
|
|
7286
|
+
"events": [
|
|
7287
|
+
{
|
|
7288
|
+
"description": "Fired when this whole group should be removed",
|
|
7289
|
+
"name": "delete"
|
|
7290
|
+
},
|
|
7291
|
+
{
|
|
7292
|
+
"description": "Fired when anything inside this group changes",
|
|
7293
|
+
"name": "edit"
|
|
7294
|
+
}
|
|
7295
|
+
],
|
|
7296
|
+
"superclass": {
|
|
7297
|
+
"name": "GenesisElement",
|
|
7298
|
+
"package": "@genesislcap/web-core"
|
|
7299
|
+
},
|
|
7300
|
+
"tagName": "rule-condition-group",
|
|
7301
|
+
"customElement": true
|
|
7302
|
+
}
|
|
7303
|
+
],
|
|
7304
|
+
"exports": [
|
|
7305
|
+
{
|
|
7306
|
+
"kind": "js",
|
|
7307
|
+
"name": "RuleConditionGroup",
|
|
7308
|
+
"declaration": {
|
|
7309
|
+
"name": "RuleConditionGroup",
|
|
7310
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7311
|
+
}
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"kind": "custom-element-definition",
|
|
7315
|
+
"name": "rule-condition-group",
|
|
7316
|
+
"declaration": {
|
|
7317
|
+
"name": "RuleConditionGroup",
|
|
7318
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7319
|
+
}
|
|
7320
|
+
}
|
|
7321
|
+
]
|
|
7322
|
+
},
|
|
7323
7323
|
{
|
|
7324
7324
|
"kind": "javascript-module",
|
|
7325
7325
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -235,17 +235,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
235
235
|
>;
|
|
236
236
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
237
237
|
|
|
238
|
-
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
239
|
-
React.PropsWithChildren<
|
|
240
|
-
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
241
|
-
HTMLWCProps & {
|
|
242
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
243
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
244
|
-
}
|
|
245
|
-
> & React.RefAttributes<RuleConditionGroupWC>
|
|
246
|
-
>;
|
|
247
|
-
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
248
|
-
|
|
249
238
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
250
239
|
React.PropsWithChildren<
|
|
251
240
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -257,6 +246,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
257
246
|
>;
|
|
258
247
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
259
248
|
|
|
249
|
+
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
250
|
+
React.PropsWithChildren<
|
|
251
|
+
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
252
|
+
HTMLWCProps & {
|
|
253
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
254
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
255
|
+
}
|
|
256
|
+
> & React.RefAttributes<RuleConditionGroupWC>
|
|
257
|
+
>;
|
|
258
|
+
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
259
|
+
|
|
260
260
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
261
261
|
React.PropsWithChildren<
|
|
262
262
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -188,7 +188,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
188
188
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
189
189
|
});
|
|
190
190
|
|
|
191
|
-
const
|
|
191
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
192
192
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
193
193
|
const _innerRef = React.useRef(null);
|
|
194
194
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -207,10 +207,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
207
207
|
el.removeEventListener('edit', _onEditFn);
|
|
208
208
|
};
|
|
209
209
|
}, []);
|
|
210
|
-
return React.createElement(customElements.getName(
|
|
210
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
const
|
|
213
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
214
214
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
215
215
|
const _innerRef = React.useRef(null);
|
|
216
216
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -229,7 +229,7 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
229
229
|
el.removeEventListener('edit', _onEditFn);
|
|
230
230
|
};
|
|
231
231
|
}, []);
|
|
232
|
-
return React.createElement(customElements.getName(
|
|
232
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
233
233
|
});
|
|
234
234
|
|
|
235
235
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -318,8 +318,8 @@ module.exports = {
|
|
|
318
318
|
SlackRouteManagement,
|
|
319
319
|
RuleDialog,
|
|
320
320
|
TemplateDialog,
|
|
321
|
-
RuleConditionGroup,
|
|
322
321
|
RuleConditionBuilder,
|
|
322
|
+
RuleConditionGroup,
|
|
323
323
|
ParameterBuilder,
|
|
324
324
|
TemplateConditionBuilder,
|
|
325
325
|
TemplateConditionGroup,
|
package/dist/react.mjs
CHANGED
|
@@ -186,7 +186,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
186
186
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
-
export const
|
|
189
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
190
190
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
191
191
|
const _innerRef = React.useRef(null);
|
|
192
192
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -205,10 +205,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
205
205
|
el.removeEventListener('edit', _onEditFn);
|
|
206
206
|
};
|
|
207
207
|
}, []);
|
|
208
|
-
return React.createElement(customElements.getName(
|
|
208
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export const
|
|
211
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
212
212
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
213
213
|
const _innerRef = React.useRef(null);
|
|
214
214
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -227,7 +227,7 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
227
227
|
el.removeEventListener('edit', _onEditFn);
|
|
228
228
|
};
|
|
229
229
|
}, []);
|
|
230
|
-
return React.createElement(customElements.getName(
|
|
230
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
231
231
|
});
|
|
232
232
|
|
|
233
233
|
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.6.
|
|
4
|
+
"version": "15.6.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,32 +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
|
-
"@
|
|
85
|
-
"@
|
|
86
|
-
"@genesislcap/
|
|
87
|
-
"@genesislcap/
|
|
88
|
-
"@genesislcap/
|
|
89
|
-
"@genesislcap/
|
|
90
|
-
"@genesislcap/
|
|
91
|
-
"@genesislcap/
|
|
92
|
-
"@genesislcap/
|
|
93
|
-
"@genesislcap/vite-builder": "15.6.1",
|
|
94
|
-
"@genesislcap/webpack-builder": "15.6.1",
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.6.2",
|
|
85
|
+
"@genesislcap/eslint-config": "15.6.2",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.6.2",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.6.2",
|
|
88
|
+
"@genesislcap/genx": "15.6.2",
|
|
89
|
+
"@genesislcap/prettier-config": "15.6.2",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.6.2",
|
|
91
|
+
"@genesislcap/vite-builder": "15.6.2",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.6.2",
|
|
95
93
|
"dayjs": "^1.11.7"
|
|
96
94
|
},
|
|
97
95
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-comms": "15.6.
|
|
99
|
-
"@genesislcap/foundation-criteria": "15.6.
|
|
100
|
-
"@genesislcap/foundation-entity-management": "15.6.
|
|
101
|
-
"@genesislcap/foundation-forms": "15.6.
|
|
102
|
-
"@genesislcap/foundation-layout": "15.6.
|
|
103
|
-
"@genesislcap/foundation-logger": "15.6.
|
|
104
|
-
"@genesislcap/foundation-notifications": "15.6.
|
|
105
|
-
"@genesislcap/foundation-ui": "15.6.
|
|
106
|
-
"@genesislcap/foundation-utils": "15.6.
|
|
107
|
-
"@genesislcap/rapid-design-system": "15.6.
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "15.6.
|
|
109
|
-
"@genesislcap/web-core": "15.6.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.6.2",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.6.2",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.6.2",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.6.2",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.6.2",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.6.2",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.6.2",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.6.2",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.6.2",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.6.2",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.6.2",
|
|
107
|
+
"@genesislcap/web-core": "15.6.2",
|
|
110
108
|
"lodash.debounce": "^4.0.8",
|
|
111
109
|
"rxjs": "^7.5.4"
|
|
112
110
|
},
|
|
@@ -114,5 +112,5 @@
|
|
|
114
112
|
"access": "public"
|
|
115
113
|
},
|
|
116
114
|
"customElements": "dist/custom-elements.json",
|
|
117
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "a5781780cb56906755ddbfc4be75e221719ae4b4"
|
|
118
116
|
}
|