@genesislcap/pbc-notify-ui 15.8.1 → 15.8.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 +171 -171
- 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
|
@@ -415,6 +415,27 @@
|
|
|
415
415
|
}
|
|
416
416
|
]
|
|
417
417
|
},
|
|
418
|
+
{
|
|
419
|
+
"kind": "javascript-module",
|
|
420
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
421
|
+
"declarations": [
|
|
422
|
+
{
|
|
423
|
+
"kind": "variable",
|
|
424
|
+
"name": "scrollbarStyles",
|
|
425
|
+
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"exports": [
|
|
429
|
+
{
|
|
430
|
+
"kind": "js",
|
|
431
|
+
"name": "scrollbarStyles",
|
|
432
|
+
"declaration": {
|
|
433
|
+
"name": "scrollbarStyles",
|
|
434
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
},
|
|
418
439
|
{
|
|
419
440
|
"kind": "javascript-module",
|
|
420
441
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -736,27 +757,6 @@
|
|
|
736
757
|
}
|
|
737
758
|
]
|
|
738
759
|
},
|
|
739
|
-
{
|
|
740
|
-
"kind": "javascript-module",
|
|
741
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
742
|
-
"declarations": [
|
|
743
|
-
{
|
|
744
|
-
"kind": "variable",
|
|
745
|
-
"name": "scrollbarStyles",
|
|
746
|
-
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"exports": [
|
|
750
|
-
{
|
|
751
|
-
"kind": "js",
|
|
752
|
-
"name": "scrollbarStyles",
|
|
753
|
-
"declaration": {
|
|
754
|
-
"name": "scrollbarStyles",
|
|
755
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
]
|
|
759
|
-
},
|
|
760
760
|
{
|
|
761
761
|
"kind": "javascript-module",
|
|
762
762
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -6886,6 +6886,156 @@
|
|
|
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
|
+
},
|
|
6889
7039
|
{
|
|
6890
7040
|
"kind": "javascript-module",
|
|
6891
7041
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -7170,156 +7320,6 @@
|
|
|
7170
7320
|
"declarations": [],
|
|
7171
7321
|
"exports": []
|
|
7172
7322
|
},
|
|
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/template-condition-builder/template-condition-builder.template.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 RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
239
|
-
React.PropsWithChildren<
|
|
240
|
-
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
241
|
-
HTMLWCProps & {
|
|
242
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
243
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
244
|
-
}
|
|
245
|
-
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
246
|
-
>;
|
|
247
|
-
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
248
|
-
|
|
249
238
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
250
239
|
React.PropsWithChildren<
|
|
251
240
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -257,6 +246,17 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
257
246
|
>;
|
|
258
247
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
259
248
|
|
|
249
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
250
|
+
React.PropsWithChildren<
|
|
251
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
252
|
+
HTMLWCProps & {
|
|
253
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
254
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
255
|
+
}
|
|
256
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
257
|
+
>;
|
|
258
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
259
|
+
|
|
260
260
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
261
261
|
React.PropsWithChildren<
|
|
262
262
|
Omit<PublicOf<TemplateConditionBuilderWC>, '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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
207
207
|
el.removeEventListener('edit', _onEditFn);
|
|
208
208
|
};
|
|
209
209
|
}, []);
|
|
210
|
-
return React.createElement(customElements.getName(
|
|
210
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
const
|
|
213
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
229
229
|
el.removeEventListener('edit', _onEditFn);
|
|
230
230
|
};
|
|
231
231
|
}, []);
|
|
232
|
-
return React.createElement(customElements.getName(
|
|
232
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
233
233
|
});
|
|
234
234
|
|
|
235
235
|
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
@@ -318,8 +318,8 @@ module.exports = {
|
|
|
318
318
|
SlackRouteManagement,
|
|
319
319
|
RuleDialog,
|
|
320
320
|
TemplateDialog,
|
|
321
|
-
RuleConditionBuilder,
|
|
322
321
|
RuleConditionGroup,
|
|
322
|
+
RuleConditionBuilder,
|
|
323
323
|
TemplateConditionBuilder,
|
|
324
324
|
ParameterBuilder,
|
|
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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
205
205
|
el.removeEventListener('edit', _onEditFn);
|
|
206
206
|
};
|
|
207
207
|
}, []);
|
|
208
|
-
return React.createElement(customElements.getName(
|
|
208
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export const
|
|
211
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
227
227
|
el.removeEventListener('edit', _onEditFn);
|
|
228
228
|
};
|
|
229
229
|
}, []);
|
|
230
|
-
return React.createElement(customElements.getName(
|
|
230
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
231
231
|
});
|
|
232
232
|
|
|
233
233
|
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "15.8.
|
|
4
|
+
"version": "15.8.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.8.
|
|
85
|
-
"@genesislcap/eslint-config": "15.8.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.8.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.8.
|
|
88
|
-
"@genesislcap/genx": "15.8.
|
|
89
|
-
"@genesislcap/prettier-config": "15.8.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.8.
|
|
91
|
-
"@genesislcap/vite-builder": "15.8.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.8.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.8.2",
|
|
85
|
+
"@genesislcap/eslint-config": "15.8.2",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.8.2",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.8.2",
|
|
88
|
+
"@genesislcap/genx": "15.8.2",
|
|
89
|
+
"@genesislcap/prettier-config": "15.8.2",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.8.2",
|
|
91
|
+
"@genesislcap/vite-builder": "15.8.2",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.8.2",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.8.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.8.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.8.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.8.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.8.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.8.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.8.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.8.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.8.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.8.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.8.
|
|
107
|
-
"@genesislcap/web-core": "15.8.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.8.2",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.8.2",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.8.2",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.8.2",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.8.2",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.8.2",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.8.2",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.8.2",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.8.2",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.8.2",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.8.2",
|
|
107
|
+
"@genesislcap/web-core": "15.8.2",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
114
114
|
"customElements": "dist/custom-elements.json",
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "c62567e4acee7219798579d18a023be909bdd0a0"
|
|
116
116
|
}
|