@genesislcap/pbc-notify-ui 15.2.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 +362 -362
- package/dist/dts/react.d.ts +22 -22
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- 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",
|
|
@@ -7375,284 +7375,126 @@
|
|
|
7375
7375
|
"kind": "field",
|
|
7376
7376
|
"name": "sourceSelected",
|
|
7377
7377
|
"type": {
|
|
7378
|
-
"text": "string"
|
|
7379
|
-
}
|
|
7380
|
-
},
|
|
7381
|
-
{
|
|
7382
|
-
"kind": "field",
|
|
7383
|
-
"name": "sourceTyped",
|
|
7384
|
-
"type": {
|
|
7385
|
-
"text": "string"
|
|
7386
|
-
}
|
|
7387
|
-
},
|
|
7388
|
-
{
|
|
7389
|
-
"kind": "field",
|
|
7390
|
-
"name": "sourceTextField",
|
|
7391
|
-
"type": {
|
|
7392
|
-
"text": "TextField"
|
|
7393
|
-
}
|
|
7394
|
-
},
|
|
7395
|
-
{
|
|
7396
|
-
"kind": "field",
|
|
7397
|
-
"name": "sourceSelect",
|
|
7398
|
-
"type": {
|
|
7399
|
-
"text": "Select"
|
|
7400
|
-
}
|
|
7401
|
-
},
|
|
7402
|
-
{
|
|
7403
|
-
"kind": "field",
|
|
7404
|
-
"name": "reqRepItems",
|
|
7405
|
-
"type": {
|
|
7406
|
-
"text": "array"
|
|
7407
|
-
},
|
|
7408
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
7409
|
-
},
|
|
7410
|
-
{
|
|
7411
|
-
"kind": "method",
|
|
7412
|
-
"name": "deleteParameter"
|
|
7413
|
-
},
|
|
7414
|
-
{
|
|
7415
|
-
"kind": "method",
|
|
7416
|
-
"name": "parameterChanged"
|
|
7417
|
-
},
|
|
7418
|
-
{
|
|
7419
|
-
"kind": "method",
|
|
7420
|
-
"name": "nameChanged"
|
|
7421
|
-
},
|
|
7422
|
-
{
|
|
7423
|
-
"kind": "method",
|
|
7424
|
-
"name": "labelChanged"
|
|
7425
|
-
},
|
|
7426
|
-
{
|
|
7427
|
-
"kind": "method",
|
|
7428
|
-
"name": "typeChanged"
|
|
7429
|
-
},
|
|
7430
|
-
{
|
|
7431
|
-
"kind": "method",
|
|
7432
|
-
"name": "sourceTypeChanged"
|
|
7433
|
-
},
|
|
7434
|
-
{
|
|
7435
|
-
"kind": "method",
|
|
7436
|
-
"name": "sourceSelectedChanged"
|
|
7437
|
-
},
|
|
7438
|
-
{
|
|
7439
|
-
"kind": "method",
|
|
7440
|
-
"name": "sourceTypedChanged"
|
|
7441
|
-
},
|
|
7442
|
-
{
|
|
7443
|
-
"kind": "method",
|
|
7444
|
-
"name": "genericChanged",
|
|
7445
|
-
"privacy": "private",
|
|
7446
|
-
"parameters": [
|
|
7447
|
-
{
|
|
7448
|
-
"name": "parameterAttribute"
|
|
7449
|
-
},
|
|
7450
|
-
{
|
|
7451
|
-
"name": "value"
|
|
7452
|
-
}
|
|
7453
|
-
]
|
|
7454
|
-
}
|
|
7455
|
-
],
|
|
7456
|
-
"events": [
|
|
7457
|
-
{
|
|
7458
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
7459
|
-
"name": "delete"
|
|
7460
|
-
},
|
|
7461
|
-
{
|
|
7462
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
7463
|
-
"name": "edit"
|
|
7464
|
-
}
|
|
7465
|
-
],
|
|
7466
|
-
"attributes": [
|
|
7467
|
-
{
|
|
7468
|
-
"name": "parameter",
|
|
7469
|
-
"type": {
|
|
7470
|
-
"text": "ParameterBuilderEntity"
|
|
7471
|
-
},
|
|
7472
|
-
"fieldName": "parameter"
|
|
7473
|
-
}
|
|
7474
|
-
],
|
|
7475
|
-
"superclass": {
|
|
7476
|
-
"name": "GenesisElement",
|
|
7477
|
-
"package": "@genesislcap/web-core"
|
|
7478
|
-
},
|
|
7479
|
-
"tagName": "parameter-builder",
|
|
7480
|
-
"customElement": true
|
|
7481
|
-
}
|
|
7482
|
-
],
|
|
7483
|
-
"exports": [
|
|
7484
|
-
{
|
|
7485
|
-
"kind": "js",
|
|
7486
|
-
"name": "ParameterBuilder",
|
|
7487
|
-
"declaration": {
|
|
7488
|
-
"name": "ParameterBuilder",
|
|
7489
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7490
|
-
}
|
|
7491
|
-
},
|
|
7492
|
-
{
|
|
7493
|
-
"kind": "custom-element-definition",
|
|
7494
|
-
"name": "parameter-builder",
|
|
7495
|
-
"declaration": {
|
|
7496
|
-
"name": "ParameterBuilder",
|
|
7497
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7498
|
-
}
|
|
7499
|
-
}
|
|
7500
|
-
]
|
|
7501
|
-
},
|
|
7502
|
-
{
|
|
7503
|
-
"kind": "javascript-module",
|
|
7504
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
7505
|
-
"declarations": [
|
|
7506
|
-
{
|
|
7507
|
-
"kind": "variable",
|
|
7508
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7509
|
-
"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`"
|
|
7510
|
-
}
|
|
7511
|
-
],
|
|
7512
|
-
"exports": [
|
|
7513
|
-
{
|
|
7514
|
-
"kind": "js",
|
|
7515
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7516
|
-
"declaration": {
|
|
7517
|
-
"name": "TemplateConditionGroupTemplate",
|
|
7518
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
7519
|
-
}
|
|
7520
|
-
}
|
|
7521
|
-
]
|
|
7522
|
-
},
|
|
7523
|
-
{
|
|
7524
|
-
"kind": "javascript-module",
|
|
7525
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
7526
|
-
"declarations": [
|
|
7527
|
-
{
|
|
7528
|
-
"kind": "class",
|
|
7529
|
-
"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.",
|
|
7530
|
-
"name": "TemplateConditionGroup",
|
|
7531
|
-
"members": [
|
|
7532
|
-
{
|
|
7533
|
-
"kind": "field",
|
|
7534
|
-
"name": "node",
|
|
7535
|
-
"type": {
|
|
7536
|
-
"text": "ConditionGroupEntity"
|
|
7537
|
-
}
|
|
7538
|
-
},
|
|
7539
|
-
{
|
|
7540
|
-
"kind": "field",
|
|
7541
|
-
"name": "fields",
|
|
7542
|
-
"type": {
|
|
7543
|
-
"text": "Field[]"
|
|
7544
|
-
},
|
|
7545
|
-
"default": "[]"
|
|
7378
|
+
"text": "string"
|
|
7379
|
+
}
|
|
7546
7380
|
},
|
|
7547
7381
|
{
|
|
7548
7382
|
"kind": "field",
|
|
7549
|
-
"name": "
|
|
7383
|
+
"name": "sourceTyped",
|
|
7550
7384
|
"type": {
|
|
7551
|
-
"text": "
|
|
7552
|
-
}
|
|
7553
|
-
"default": "[]"
|
|
7385
|
+
"text": "string"
|
|
7386
|
+
}
|
|
7554
7387
|
},
|
|
7555
7388
|
{
|
|
7556
7389
|
"kind": "field",
|
|
7557
|
-
"name": "
|
|
7390
|
+
"name": "sourceTextField",
|
|
7558
7391
|
"type": {
|
|
7559
|
-
"text": "
|
|
7560
|
-
}
|
|
7561
|
-
"default": "false"
|
|
7392
|
+
"text": "TextField"
|
|
7393
|
+
}
|
|
7562
7394
|
},
|
|
7563
7395
|
{
|
|
7564
7396
|
"kind": "field",
|
|
7565
|
-
"name": "
|
|
7397
|
+
"name": "sourceSelect",
|
|
7566
7398
|
"type": {
|
|
7567
|
-
"text": "
|
|
7399
|
+
"text": "Select"
|
|
7568
7400
|
}
|
|
7569
7401
|
},
|
|
7570
7402
|
{
|
|
7571
7403
|
"kind": "field",
|
|
7572
|
-
"name": "
|
|
7404
|
+
"name": "reqRepItems",
|
|
7573
7405
|
"type": {
|
|
7574
|
-
"text": "
|
|
7406
|
+
"text": "array"
|
|
7575
7407
|
},
|
|
7576
|
-
"default": "[]"
|
|
7408
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
7577
7409
|
},
|
|
7578
7410
|
{
|
|
7579
7411
|
"kind": "method",
|
|
7580
|
-
"name": "
|
|
7412
|
+
"name": "deleteParameter"
|
|
7581
7413
|
},
|
|
7582
7414
|
{
|
|
7583
7415
|
"kind": "method",
|
|
7584
|
-
"name": "
|
|
7416
|
+
"name": "parameterChanged"
|
|
7585
7417
|
},
|
|
7586
7418
|
{
|
|
7587
7419
|
"kind": "method",
|
|
7588
|
-
"name": "
|
|
7420
|
+
"name": "nameChanged"
|
|
7589
7421
|
},
|
|
7590
7422
|
{
|
|
7591
7423
|
"kind": "method",
|
|
7592
|
-
"name": "
|
|
7424
|
+
"name": "labelChanged"
|
|
7593
7425
|
},
|
|
7594
7426
|
{
|
|
7595
7427
|
"kind": "method",
|
|
7596
|
-
"name": "
|
|
7597
|
-
"parameters": [
|
|
7598
|
-
{
|
|
7599
|
-
"name": "_editedChild",
|
|
7600
|
-
"type": {
|
|
7601
|
-
"text": "ConditionNode"
|
|
7602
|
-
}
|
|
7603
|
-
}
|
|
7604
|
-
]
|
|
7428
|
+
"name": "typeChanged"
|
|
7605
7429
|
},
|
|
7606
7430
|
{
|
|
7607
7431
|
"kind": "method",
|
|
7608
|
-
"name": "
|
|
7432
|
+
"name": "sourceTypeChanged"
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
"kind": "method",
|
|
7436
|
+
"name": "sourceSelectedChanged"
|
|
7437
|
+
},
|
|
7438
|
+
{
|
|
7439
|
+
"kind": "method",
|
|
7440
|
+
"name": "sourceTypedChanged"
|
|
7441
|
+
},
|
|
7442
|
+
{
|
|
7443
|
+
"kind": "method",
|
|
7444
|
+
"name": "genericChanged",
|
|
7445
|
+
"privacy": "private",
|
|
7609
7446
|
"parameters": [
|
|
7610
7447
|
{
|
|
7611
|
-
"name": "
|
|
7612
|
-
|
|
7613
|
-
|
|
7614
|
-
|
|
7448
|
+
"name": "parameterAttribute"
|
|
7449
|
+
},
|
|
7450
|
+
{
|
|
7451
|
+
"name": "value"
|
|
7615
7452
|
}
|
|
7616
7453
|
]
|
|
7617
|
-
},
|
|
7618
|
-
{
|
|
7619
|
-
"kind": "method",
|
|
7620
|
-
"name": "deleteSelf"
|
|
7621
7454
|
}
|
|
7622
7455
|
],
|
|
7623
7456
|
"events": [
|
|
7624
7457
|
{
|
|
7625
|
-
"description": "Fired when
|
|
7458
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
7626
7459
|
"name": "delete"
|
|
7627
7460
|
},
|
|
7628
7461
|
{
|
|
7629
|
-
"description": "Fired when
|
|
7462
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
7630
7463
|
"name": "edit"
|
|
7631
7464
|
}
|
|
7632
7465
|
],
|
|
7466
|
+
"attributes": [
|
|
7467
|
+
{
|
|
7468
|
+
"name": "parameter",
|
|
7469
|
+
"type": {
|
|
7470
|
+
"text": "ParameterBuilderEntity"
|
|
7471
|
+
},
|
|
7472
|
+
"fieldName": "parameter"
|
|
7473
|
+
}
|
|
7474
|
+
],
|
|
7633
7475
|
"superclass": {
|
|
7634
7476
|
"name": "GenesisElement",
|
|
7635
7477
|
"package": "@genesislcap/web-core"
|
|
7636
7478
|
},
|
|
7637
|
-
"tagName": "
|
|
7479
|
+
"tagName": "parameter-builder",
|
|
7638
7480
|
"customElement": true
|
|
7639
7481
|
}
|
|
7640
7482
|
],
|
|
7641
7483
|
"exports": [
|
|
7642
7484
|
{
|
|
7643
7485
|
"kind": "js",
|
|
7644
|
-
"name": "
|
|
7486
|
+
"name": "ParameterBuilder",
|
|
7645
7487
|
"declaration": {
|
|
7646
|
-
"name": "
|
|
7647
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
7488
|
+
"name": "ParameterBuilder",
|
|
7489
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7648
7490
|
}
|
|
7649
7491
|
},
|
|
7650
7492
|
{
|
|
7651
7493
|
"kind": "custom-element-definition",
|
|
7652
|
-
"name": "
|
|
7494
|
+
"name": "parameter-builder",
|
|
7653
7495
|
"declaration": {
|
|
7654
|
-
"name": "
|
|
7655
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
7496
|
+
"name": "ParameterBuilder",
|
|
7497
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7656
7498
|
}
|
|
7657
7499
|
}
|
|
7658
7500
|
]
|
|
@@ -7948,6 +7790,164 @@
|
|
|
7948
7790
|
}
|
|
7949
7791
|
}
|
|
7950
7792
|
]
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
"kind": "javascript-module",
|
|
7796
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
7797
|
+
"declarations": [
|
|
7798
|
+
{
|
|
7799
|
+
"kind": "variable",
|
|
7800
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7801
|
+
"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`"
|
|
7802
|
+
}
|
|
7803
|
+
],
|
|
7804
|
+
"exports": [
|
|
7805
|
+
{
|
|
7806
|
+
"kind": "js",
|
|
7807
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7808
|
+
"declaration": {
|
|
7809
|
+
"name": "TemplateConditionGroupTemplate",
|
|
7810
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
7811
|
+
}
|
|
7812
|
+
}
|
|
7813
|
+
]
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
"kind": "javascript-module",
|
|
7817
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
7818
|
+
"declarations": [
|
|
7819
|
+
{
|
|
7820
|
+
"kind": "class",
|
|
7821
|
+
"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.",
|
|
7822
|
+
"name": "TemplateConditionGroup",
|
|
7823
|
+
"members": [
|
|
7824
|
+
{
|
|
7825
|
+
"kind": "field",
|
|
7826
|
+
"name": "node",
|
|
7827
|
+
"type": {
|
|
7828
|
+
"text": "ConditionGroupEntity"
|
|
7829
|
+
}
|
|
7830
|
+
},
|
|
7831
|
+
{
|
|
7832
|
+
"kind": "field",
|
|
7833
|
+
"name": "fields",
|
|
7834
|
+
"type": {
|
|
7835
|
+
"text": "Field[]"
|
|
7836
|
+
},
|
|
7837
|
+
"default": "[]"
|
|
7838
|
+
},
|
|
7839
|
+
{
|
|
7840
|
+
"kind": "field",
|
|
7841
|
+
"name": "parameters",
|
|
7842
|
+
"type": {
|
|
7843
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
7844
|
+
},
|
|
7845
|
+
"default": "[]"
|
|
7846
|
+
},
|
|
7847
|
+
{
|
|
7848
|
+
"kind": "field",
|
|
7849
|
+
"name": "isFirst",
|
|
7850
|
+
"type": {
|
|
7851
|
+
"text": "boolean"
|
|
7852
|
+
},
|
|
7853
|
+
"default": "false"
|
|
7854
|
+
},
|
|
7855
|
+
{
|
|
7856
|
+
"kind": "field",
|
|
7857
|
+
"name": "joinOperator",
|
|
7858
|
+
"type": {
|
|
7859
|
+
"text": "string"
|
|
7860
|
+
}
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"kind": "field",
|
|
7864
|
+
"name": "groupChildren",
|
|
7865
|
+
"type": {
|
|
7866
|
+
"text": "ConditionNode[]"
|
|
7867
|
+
},
|
|
7868
|
+
"default": "[]"
|
|
7869
|
+
},
|
|
7870
|
+
{
|
|
7871
|
+
"kind": "method",
|
|
7872
|
+
"name": "nodeChanged"
|
|
7873
|
+
},
|
|
7874
|
+
{
|
|
7875
|
+
"kind": "method",
|
|
7876
|
+
"name": "joinOperatorChanged"
|
|
7877
|
+
},
|
|
7878
|
+
{
|
|
7879
|
+
"kind": "method",
|
|
7880
|
+
"name": "newCondition"
|
|
7881
|
+
},
|
|
7882
|
+
{
|
|
7883
|
+
"kind": "method",
|
|
7884
|
+
"name": "newGroup"
|
|
7885
|
+
},
|
|
7886
|
+
{
|
|
7887
|
+
"kind": "method",
|
|
7888
|
+
"name": "editChild",
|
|
7889
|
+
"parameters": [
|
|
7890
|
+
{
|
|
7891
|
+
"name": "_editedChild",
|
|
7892
|
+
"type": {
|
|
7893
|
+
"text": "ConditionNode"
|
|
7894
|
+
}
|
|
7895
|
+
}
|
|
7896
|
+
]
|
|
7897
|
+
},
|
|
7898
|
+
{
|
|
7899
|
+
"kind": "method",
|
|
7900
|
+
"name": "deleteChild",
|
|
7901
|
+
"parameters": [
|
|
7902
|
+
{
|
|
7903
|
+
"name": "deletedChild",
|
|
7904
|
+
"type": {
|
|
7905
|
+
"text": "ConditionNode"
|
|
7906
|
+
}
|
|
7907
|
+
}
|
|
7908
|
+
]
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"kind": "method",
|
|
7912
|
+
"name": "deleteSelf"
|
|
7913
|
+
}
|
|
7914
|
+
],
|
|
7915
|
+
"events": [
|
|
7916
|
+
{
|
|
7917
|
+
"description": "Fired when this whole group should be removed",
|
|
7918
|
+
"name": "delete"
|
|
7919
|
+
},
|
|
7920
|
+
{
|
|
7921
|
+
"description": "Fired when anything inside this group changes",
|
|
7922
|
+
"name": "edit"
|
|
7923
|
+
}
|
|
7924
|
+
],
|
|
7925
|
+
"superclass": {
|
|
7926
|
+
"name": "GenesisElement",
|
|
7927
|
+
"package": "@genesislcap/web-core"
|
|
7928
|
+
},
|
|
7929
|
+
"tagName": "template-condition-group",
|
|
7930
|
+
"customElement": true
|
|
7931
|
+
}
|
|
7932
|
+
],
|
|
7933
|
+
"exports": [
|
|
7934
|
+
{
|
|
7935
|
+
"kind": "js",
|
|
7936
|
+
"name": "TemplateConditionGroup",
|
|
7937
|
+
"declaration": {
|
|
7938
|
+
"name": "TemplateConditionGroup",
|
|
7939
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7940
|
+
}
|
|
7941
|
+
},
|
|
7942
|
+
{
|
|
7943
|
+
"kind": "custom-element-definition",
|
|
7944
|
+
"name": "template-condition-group",
|
|
7945
|
+
"declaration": {
|
|
7946
|
+
"name": "TemplateConditionGroup",
|
|
7947
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
7948
|
+
}
|
|
7949
|
+
}
|
|
7950
|
+
]
|
|
7951
7951
|
}
|
|
7952
7952
|
]
|
|
7953
7953
|
}
|
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'> &
|
|
@@ -258,17 +258,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
258
258
|
>;
|
|
259
259
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
260
260
|
|
|
261
|
-
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
262
|
-
React.PropsWithChildren<
|
|
263
|
-
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
264
|
-
HTMLWCProps & {
|
|
265
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
266
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
267
|
-
}
|
|
268
|
-
> & React.RefAttributes<TemplateConditionGroupWC>
|
|
269
|
-
>;
|
|
270
|
-
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
271
|
-
|
|
272
261
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
273
262
|
React.PropsWithChildren<
|
|
274
263
|
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -280,4 +269,15 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
280
269
|
>;
|
|
281
270
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
282
271
|
|
|
272
|
+
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
273
|
+
React.PropsWithChildren<
|
|
274
|
+
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
275
|
+
HTMLWCProps & {
|
|
276
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
277
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
278
|
+
}
|
|
279
|
+
> & React.RefAttributes<TemplateConditionGroupWC>
|
|
280
|
+
>;
|
|
281
|
+
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
282
|
+
|
|
283
283
|
export {};
|
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) {
|
|
@@ -248,7 +248,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
248
248
|
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
249
249
|
});
|
|
250
250
|
|
|
251
|
-
const
|
|
251
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
252
252
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
253
253
|
const _innerRef = React.useRef(null);
|
|
254
254
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -267,10 +267,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
267
267
|
el.removeEventListener('edit', _onEditFn);
|
|
268
268
|
};
|
|
269
269
|
}, []);
|
|
270
|
-
return React.createElement(customElements.getName(
|
|
270
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
271
271
|
});
|
|
272
272
|
|
|
273
|
-
const
|
|
273
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
274
274
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
275
275
|
const _innerRef = React.useRef(null);
|
|
276
276
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -289,7 +289,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
289
289
|
el.removeEventListener('edit', _onEditFn);
|
|
290
290
|
};
|
|
291
291
|
}, []);
|
|
292
|
-
return React.createElement(customElements.getName(
|
|
292
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
293
293
|
});
|
|
294
294
|
|
|
295
295
|
module.exports = {
|
|
@@ -311,9 +311,9 @@ module.exports = {
|
|
|
311
311
|
ScreenRouteManagement,
|
|
312
312
|
RuleDialog,
|
|
313
313
|
TemplateDialog,
|
|
314
|
-
RuleConditionBuilder,
|
|
315
314
|
RuleConditionGroup,
|
|
315
|
+
RuleConditionBuilder,
|
|
316
316
|
ParameterBuilder,
|
|
317
|
-
TemplateConditionGroup,
|
|
318
317
|
TemplateConditionBuilder,
|
|
318
|
+
TemplateConditionGroup,
|
|
319
319
|
};
|
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) {
|
|
@@ -246,7 +246,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
246
246
|
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
export const
|
|
249
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
250
250
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
251
251
|
const _innerRef = React.useRef(null);
|
|
252
252
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -265,10 +265,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
265
265
|
el.removeEventListener('edit', _onEditFn);
|
|
266
266
|
};
|
|
267
267
|
}, []);
|
|
268
|
-
return React.createElement(customElements.getName(
|
|
268
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
269
269
|
});
|
|
270
270
|
|
|
271
|
-
export const
|
|
271
|
+
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
272
272
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
273
273
|
const _innerRef = React.useRef(null);
|
|
274
274
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -287,5 +287,5 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
287
287
|
el.removeEventListener('edit', _onEditFn);
|
|
288
288
|
};
|
|
289
289
|
}, []);
|
|
290
|
-
return React.createElement(customElements.getName(
|
|
290
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
291
291
|
});
|
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.2.
|
|
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.2.
|
|
87
|
-
"@genesislcap/eslint-config": "15.2.
|
|
88
|
-
"@genesislcap/eslint-stylelint-builder": "15.2.
|
|
89
|
-
"@genesislcap/foundation-testing": "15.2.
|
|
90
|
-
"@genesislcap/genx": "15.2.
|
|
91
|
-
"@genesislcap/prettier-config": "15.2.
|
|
92
|
-
"@genesislcap/stylelint-config": "15.2.
|
|
93
|
-
"@genesislcap/vite-builder": "15.2.
|
|
94
|
-
"@genesislcap/webpack-builder": "15.2.
|
|
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.2.
|
|
99
|
-
"@genesislcap/foundation-criteria": "15.2.
|
|
100
|
-
"@genesislcap/foundation-entity-management": "15.2.
|
|
101
|
-
"@genesislcap/foundation-forms": "15.2.
|
|
102
|
-
"@genesislcap/foundation-layout": "15.2.
|
|
103
|
-
"@genesislcap/foundation-logger": "15.2.
|
|
104
|
-
"@genesislcap/foundation-notifications": "15.2.
|
|
105
|
-
"@genesislcap/foundation-ui": "15.2.
|
|
106
|
-
"@genesislcap/foundation-utils": "15.2.
|
|
107
|
-
"@genesislcap/rapid-design-system": "15.2.
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "15.2.
|
|
109
|
-
"@genesislcap/web-core": "15.2.
|
|
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
|
}
|