@genesislcap/pbc-notify-ui 15.85.1 → 15.86.0
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 +352 -352
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -505,6 +505,27 @@
|
|
|
505
505
|
}
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"kind": "javascript-module",
|
|
510
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
511
|
+
"declarations": [
|
|
512
|
+
{
|
|
513
|
+
"kind": "variable",
|
|
514
|
+
"name": "scrollbarStyles",
|
|
515
|
+
"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`"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"exports": [
|
|
519
|
+
{
|
|
520
|
+
"kind": "js",
|
|
521
|
+
"name": "scrollbarStyles",
|
|
522
|
+
"declaration": {
|
|
523
|
+
"name": "scrollbarStyles",
|
|
524
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
508
529
|
{
|
|
509
530
|
"kind": "javascript-module",
|
|
510
531
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -826,27 +847,6 @@
|
|
|
826
847
|
}
|
|
827
848
|
]
|
|
828
849
|
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "javascript-module",
|
|
831
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
832
|
-
"declarations": [
|
|
833
|
-
{
|
|
834
|
-
"kind": "variable",
|
|
835
|
-
"name": "scrollbarStyles",
|
|
836
|
-
"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`"
|
|
837
|
-
}
|
|
838
|
-
],
|
|
839
|
-
"exports": [
|
|
840
|
-
{
|
|
841
|
-
"kind": "js",
|
|
842
|
-
"name": "scrollbarStyles",
|
|
843
|
-
"declaration": {
|
|
844
|
-
"name": "scrollbarStyles",
|
|
845
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
]
|
|
849
|
-
},
|
|
850
850
|
{
|
|
851
851
|
"kind": "javascript-module",
|
|
852
852
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -9985,156 +9985,6 @@
|
|
|
9985
9985
|
}
|
|
9986
9986
|
]
|
|
9987
9987
|
},
|
|
9988
|
-
{
|
|
9989
|
-
"kind": "javascript-module",
|
|
9990
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9991
|
-
"declarations": [
|
|
9992
|
-
{
|
|
9993
|
-
"kind": "variable",
|
|
9994
|
-
"name": "RuleConditionGroupTemplate",
|
|
9995
|
-
"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`"
|
|
9996
|
-
}
|
|
9997
|
-
],
|
|
9998
|
-
"exports": [
|
|
9999
|
-
{
|
|
10000
|
-
"kind": "js",
|
|
10001
|
-
"name": "RuleConditionGroupTemplate",
|
|
10002
|
-
"declaration": {
|
|
10003
|
-
"name": "RuleConditionGroupTemplate",
|
|
10004
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10005
|
-
}
|
|
10006
|
-
}
|
|
10007
|
-
]
|
|
10008
|
-
},
|
|
10009
|
-
{
|
|
10010
|
-
"kind": "javascript-module",
|
|
10011
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10012
|
-
"declarations": [
|
|
10013
|
-
{
|
|
10014
|
-
"kind": "class",
|
|
10015
|
-
"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.",
|
|
10016
|
-
"name": "RuleConditionGroup",
|
|
10017
|
-
"members": [
|
|
10018
|
-
{
|
|
10019
|
-
"kind": "field",
|
|
10020
|
-
"name": "node",
|
|
10021
|
-
"type": {
|
|
10022
|
-
"text": "ConditionGroupEntity"
|
|
10023
|
-
}
|
|
10024
|
-
},
|
|
10025
|
-
{
|
|
10026
|
-
"kind": "field",
|
|
10027
|
-
"name": "fields",
|
|
10028
|
-
"type": {
|
|
10029
|
-
"text": "Field[]"
|
|
10030
|
-
},
|
|
10031
|
-
"default": "[]"
|
|
10032
|
-
},
|
|
10033
|
-
{
|
|
10034
|
-
"kind": "field",
|
|
10035
|
-
"name": "isFirst",
|
|
10036
|
-
"type": {
|
|
10037
|
-
"text": "boolean"
|
|
10038
|
-
},
|
|
10039
|
-
"default": "false"
|
|
10040
|
-
},
|
|
10041
|
-
{
|
|
10042
|
-
"kind": "field",
|
|
10043
|
-
"name": "joinOperator",
|
|
10044
|
-
"type": {
|
|
10045
|
-
"text": "string"
|
|
10046
|
-
}
|
|
10047
|
-
},
|
|
10048
|
-
{
|
|
10049
|
-
"kind": "field",
|
|
10050
|
-
"name": "groupChildren",
|
|
10051
|
-
"type": {
|
|
10052
|
-
"text": "ConditionNode[]"
|
|
10053
|
-
},
|
|
10054
|
-
"default": "[]"
|
|
10055
|
-
},
|
|
10056
|
-
{
|
|
10057
|
-
"kind": "method",
|
|
10058
|
-
"name": "nodeChanged"
|
|
10059
|
-
},
|
|
10060
|
-
{
|
|
10061
|
-
"kind": "method",
|
|
10062
|
-
"name": "joinOperatorChanged"
|
|
10063
|
-
},
|
|
10064
|
-
{
|
|
10065
|
-
"kind": "method",
|
|
10066
|
-
"name": "newCondition"
|
|
10067
|
-
},
|
|
10068
|
-
{
|
|
10069
|
-
"kind": "method",
|
|
10070
|
-
"name": "newGroup"
|
|
10071
|
-
},
|
|
10072
|
-
{
|
|
10073
|
-
"kind": "method",
|
|
10074
|
-
"name": "editChild",
|
|
10075
|
-
"parameters": [
|
|
10076
|
-
{
|
|
10077
|
-
"name": "_editedChild",
|
|
10078
|
-
"type": {
|
|
10079
|
-
"text": "ConditionNode"
|
|
10080
|
-
}
|
|
10081
|
-
}
|
|
10082
|
-
]
|
|
10083
|
-
},
|
|
10084
|
-
{
|
|
10085
|
-
"kind": "method",
|
|
10086
|
-
"name": "deleteChild",
|
|
10087
|
-
"parameters": [
|
|
10088
|
-
{
|
|
10089
|
-
"name": "deletedChild",
|
|
10090
|
-
"type": {
|
|
10091
|
-
"text": "ConditionNode"
|
|
10092
|
-
}
|
|
10093
|
-
}
|
|
10094
|
-
]
|
|
10095
|
-
},
|
|
10096
|
-
{
|
|
10097
|
-
"kind": "method",
|
|
10098
|
-
"name": "deleteSelf"
|
|
10099
|
-
}
|
|
10100
|
-
],
|
|
10101
|
-
"events": [
|
|
10102
|
-
{
|
|
10103
|
-
"description": "Fired when this whole group should be removed",
|
|
10104
|
-
"name": "delete"
|
|
10105
|
-
},
|
|
10106
|
-
{
|
|
10107
|
-
"description": "Fired when anything inside this group changes",
|
|
10108
|
-
"name": "edit"
|
|
10109
|
-
}
|
|
10110
|
-
],
|
|
10111
|
-
"superclass": {
|
|
10112
|
-
"name": "GenesisElement",
|
|
10113
|
-
"package": "@genesislcap/web-core"
|
|
10114
|
-
},
|
|
10115
|
-
"tagName": "rule-condition-group",
|
|
10116
|
-
"customElement": true
|
|
10117
|
-
}
|
|
10118
|
-
],
|
|
10119
|
-
"exports": [
|
|
10120
|
-
{
|
|
10121
|
-
"kind": "js",
|
|
10122
|
-
"name": "RuleConditionGroup",
|
|
10123
|
-
"declaration": {
|
|
10124
|
-
"name": "RuleConditionGroup",
|
|
10125
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10126
|
-
}
|
|
10127
|
-
},
|
|
10128
|
-
{
|
|
10129
|
-
"kind": "custom-element-definition",
|
|
10130
|
-
"name": "rule-condition-group",
|
|
10131
|
-
"declaration": {
|
|
10132
|
-
"name": "RuleConditionGroup",
|
|
10133
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10134
|
-
}
|
|
10135
|
-
}
|
|
10136
|
-
]
|
|
10137
|
-
},
|
|
10138
9988
|
{
|
|
10139
9989
|
"kind": "javascript-module",
|
|
10140
9990
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10421,49 +10271,41 @@
|
|
|
10421
10271
|
},
|
|
10422
10272
|
{
|
|
10423
10273
|
"kind": "javascript-module",
|
|
10424
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10274
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
10425
10275
|
"declarations": [
|
|
10426
10276
|
{
|
|
10427
10277
|
"kind": "variable",
|
|
10428
|
-
"name": "
|
|
10429
|
-
"default": "html<
|
|
10278
|
+
"name": "RuleConditionGroupTemplate",
|
|
10279
|
+
"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`"
|
|
10430
10280
|
}
|
|
10431
10281
|
],
|
|
10432
10282
|
"exports": [
|
|
10433
10283
|
{
|
|
10434
10284
|
"kind": "js",
|
|
10435
|
-
"name": "
|
|
10285
|
+
"name": "RuleConditionGroupTemplate",
|
|
10436
10286
|
"declaration": {
|
|
10437
|
-
"name": "
|
|
10438
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10287
|
+
"name": "RuleConditionGroupTemplate",
|
|
10288
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10439
10289
|
}
|
|
10440
10290
|
}
|
|
10441
10291
|
]
|
|
10442
10292
|
},
|
|
10443
10293
|
{
|
|
10444
10294
|
"kind": "javascript-module",
|
|
10445
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10295
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10446
10296
|
"declarations": [
|
|
10447
10297
|
{
|
|
10448
10298
|
"kind": "class",
|
|
10449
|
-
"description": "
|
|
10450
|
-
"name": "
|
|
10299
|
+
"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.",
|
|
10300
|
+
"name": "RuleConditionGroup",
|
|
10451
10301
|
"members": [
|
|
10452
10302
|
{
|
|
10453
10303
|
"kind": "field",
|
|
10454
|
-
"name": "
|
|
10304
|
+
"name": "node",
|
|
10455
10305
|
"type": {
|
|
10456
|
-
"text": "
|
|
10306
|
+
"text": "ConditionGroupEntity"
|
|
10457
10307
|
}
|
|
10458
10308
|
},
|
|
10459
|
-
{
|
|
10460
|
-
"kind": "field",
|
|
10461
|
-
"name": "parameters",
|
|
10462
|
-
"type": {
|
|
10463
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
10464
|
-
},
|
|
10465
|
-
"default": "[]"
|
|
10466
|
-
},
|
|
10467
10309
|
{
|
|
10468
10310
|
"kind": "field",
|
|
10469
10311
|
"name": "fields",
|
|
@@ -10489,190 +10331,64 @@
|
|
|
10489
10331
|
},
|
|
10490
10332
|
{
|
|
10491
10333
|
"kind": "field",
|
|
10492
|
-
"name": "
|
|
10334
|
+
"name": "groupChildren",
|
|
10493
10335
|
"type": {
|
|
10494
|
-
"text": "
|
|
10336
|
+
"text": "ConditionNode[]"
|
|
10495
10337
|
},
|
|
10496
|
-
"default": "
|
|
10338
|
+
"default": "[]"
|
|
10497
10339
|
},
|
|
10498
10340
|
{
|
|
10499
|
-
"kind": "
|
|
10500
|
-
"name": "
|
|
10501
|
-
"type": {
|
|
10502
|
-
"text": "Array<any>"
|
|
10503
|
-
},
|
|
10504
|
-
"default": "[]"
|
|
10341
|
+
"kind": "method",
|
|
10342
|
+
"name": "nodeChanged"
|
|
10505
10343
|
},
|
|
10506
10344
|
{
|
|
10507
|
-
"kind": "
|
|
10508
|
-
"name": "
|
|
10509
|
-
"type": {
|
|
10510
|
-
"text": "string"
|
|
10511
|
-
},
|
|
10512
|
-
"default": "null"
|
|
10345
|
+
"kind": "method",
|
|
10346
|
+
"name": "joinOperatorChanged"
|
|
10513
10347
|
},
|
|
10514
10348
|
{
|
|
10515
|
-
"kind": "
|
|
10516
|
-
"name": "
|
|
10517
|
-
"type": {
|
|
10518
|
-
"text": "string"
|
|
10519
|
-
}
|
|
10520
|
-
},
|
|
10521
|
-
{
|
|
10522
|
-
"kind": "field",
|
|
10523
|
-
"name": "rightValueText",
|
|
10524
|
-
"type": {
|
|
10525
|
-
"text": "string"
|
|
10526
|
-
},
|
|
10527
|
-
"default": "null"
|
|
10528
|
-
},
|
|
10529
|
-
{
|
|
10530
|
-
"kind": "field",
|
|
10531
|
-
"name": "rightValueSelect",
|
|
10532
|
-
"type": {
|
|
10533
|
-
"text": "string"
|
|
10534
|
-
},
|
|
10535
|
-
"default": "null"
|
|
10536
|
-
},
|
|
10537
|
-
{
|
|
10538
|
-
"kind": "field",
|
|
10539
|
-
"name": "rightValueItems",
|
|
10540
|
-
"type": {
|
|
10541
|
-
"text": "Array<any>"
|
|
10542
|
-
},
|
|
10543
|
-
"default": "[]"
|
|
10544
|
-
},
|
|
10545
|
-
{
|
|
10546
|
-
"kind": "field",
|
|
10547
|
-
"name": "rightValueMultiSelect",
|
|
10548
|
-
"type": {
|
|
10549
|
-
"text": "string[]"
|
|
10550
|
-
},
|
|
10551
|
-
"default": "[]"
|
|
10552
|
-
},
|
|
10553
|
-
{
|
|
10554
|
-
"kind": "field",
|
|
10555
|
-
"name": "rightCriteriaOptions",
|
|
10556
|
-
"type": {
|
|
10557
|
-
"text": "RightCriteria[]"
|
|
10558
|
-
},
|
|
10559
|
-
"readonly": true
|
|
10560
|
-
},
|
|
10561
|
-
{
|
|
10562
|
-
"kind": "field",
|
|
10563
|
-
"name": "isStringLeftValue",
|
|
10564
|
-
"type": {
|
|
10565
|
-
"text": "boolean"
|
|
10566
|
-
},
|
|
10567
|
-
"privacy": "private",
|
|
10568
|
-
"readonly": true
|
|
10569
|
-
},
|
|
10570
|
-
{
|
|
10571
|
-
"kind": "method",
|
|
10572
|
-
"name": "deleteCondition"
|
|
10573
|
-
},
|
|
10574
|
-
{
|
|
10575
|
-
"kind": "method",
|
|
10576
|
-
"name": "conditionChanged"
|
|
10577
|
-
},
|
|
10578
|
-
{
|
|
10579
|
-
"kind": "method",
|
|
10580
|
-
"name": "joinOperatorChanged"
|
|
10349
|
+
"kind": "method",
|
|
10350
|
+
"name": "newCondition"
|
|
10581
10351
|
},
|
|
10582
10352
|
{
|
|
10583
10353
|
"kind": "method",
|
|
10584
|
-
"name": "
|
|
10354
|
+
"name": "newGroup"
|
|
10585
10355
|
},
|
|
10586
10356
|
{
|
|
10587
10357
|
"kind": "method",
|
|
10588
|
-
"name": "
|
|
10589
|
-
"
|
|
10590
|
-
|
|
10591
|
-
|
|
10592
|
-
"
|
|
10358
|
+
"name": "editChild",
|
|
10359
|
+
"parameters": [
|
|
10360
|
+
{
|
|
10361
|
+
"name": "_editedChild",
|
|
10362
|
+
"type": {
|
|
10363
|
+
"text": "ConditionNode"
|
|
10364
|
+
}
|
|
10593
10365
|
}
|
|
10594
|
-
|
|
10366
|
+
]
|
|
10595
10367
|
},
|
|
10596
10368
|
{
|
|
10597
10369
|
"kind": "method",
|
|
10598
|
-
"name": "
|
|
10599
|
-
"
|
|
10600
|
-
|
|
10601
|
-
|
|
10602
|
-
"
|
|
10370
|
+
"name": "deleteChild",
|
|
10371
|
+
"parameters": [
|
|
10372
|
+
{
|
|
10373
|
+
"name": "deletedChild",
|
|
10374
|
+
"type": {
|
|
10375
|
+
"text": "ConditionNode"
|
|
10376
|
+
}
|
|
10603
10377
|
}
|
|
10604
|
-
|
|
10605
|
-
},
|
|
10606
|
-
{
|
|
10607
|
-
"kind": "method",
|
|
10608
|
-
"name": "resetToValueEditor",
|
|
10609
|
-
"privacy": "private"
|
|
10610
|
-
},
|
|
10611
|
-
{
|
|
10612
|
-
"kind": "method",
|
|
10613
|
-
"name": "fieldsChanged"
|
|
10614
|
-
},
|
|
10615
|
-
{
|
|
10616
|
-
"kind": "method",
|
|
10617
|
-
"name": "logicalOperatorChanged"
|
|
10618
|
-
},
|
|
10619
|
-
{
|
|
10620
|
-
"kind": "method",
|
|
10621
|
-
"name": "assignLeftValue",
|
|
10622
|
-
"privacy": "private"
|
|
10623
|
-
},
|
|
10624
|
-
{
|
|
10625
|
-
"kind": "method",
|
|
10626
|
-
"name": "leftValueChanged"
|
|
10627
|
-
},
|
|
10628
|
-
{
|
|
10629
|
-
"kind": "method",
|
|
10630
|
-
"name": "assignRightValue",
|
|
10631
|
-
"privacy": "private"
|
|
10632
|
-
},
|
|
10633
|
-
{
|
|
10634
|
-
"kind": "method",
|
|
10635
|
-
"name": "rightCriteriaChanged"
|
|
10636
|
-
},
|
|
10637
|
-
{
|
|
10638
|
-
"kind": "method",
|
|
10639
|
-
"name": "clearRightValueText",
|
|
10640
|
-
"privacy": "private"
|
|
10641
|
-
},
|
|
10642
|
-
{
|
|
10643
|
-
"kind": "method",
|
|
10644
|
-
"name": "clearRightValueSelect",
|
|
10645
|
-
"privacy": "private"
|
|
10646
|
-
},
|
|
10647
|
-
{
|
|
10648
|
-
"kind": "method",
|
|
10649
|
-
"name": "rightValueTextChanged"
|
|
10650
|
-
},
|
|
10651
|
-
{
|
|
10652
|
-
"kind": "method",
|
|
10653
|
-
"name": "rightValueSelectChanged"
|
|
10654
|
-
},
|
|
10655
|
-
{
|
|
10656
|
-
"kind": "method",
|
|
10657
|
-
"name": "rightValueMultiSelectChanged"
|
|
10378
|
+
]
|
|
10658
10379
|
},
|
|
10659
10380
|
{
|
|
10660
10381
|
"kind": "method",
|
|
10661
|
-
"name": "
|
|
10662
|
-
"return": {
|
|
10663
|
-
"type": {
|
|
10664
|
-
"text": "string[]"
|
|
10665
|
-
}
|
|
10666
|
-
}
|
|
10382
|
+
"name": "deleteSelf"
|
|
10667
10383
|
}
|
|
10668
10384
|
],
|
|
10669
10385
|
"events": [
|
|
10670
10386
|
{
|
|
10671
|
-
"description": "Fired when
|
|
10387
|
+
"description": "Fired when this whole group should be removed",
|
|
10672
10388
|
"name": "delete"
|
|
10673
10389
|
},
|
|
10674
10390
|
{
|
|
10675
|
-
"description": "Fired when
|
|
10391
|
+
"description": "Fired when anything inside this group changes",
|
|
10676
10392
|
"name": "edit"
|
|
10677
10393
|
}
|
|
10678
10394
|
],
|
|
@@ -10680,25 +10396,25 @@
|
|
|
10680
10396
|
"name": "GenesisElement",
|
|
10681
10397
|
"package": "@genesislcap/web-core"
|
|
10682
10398
|
},
|
|
10683
|
-
"tagName": "
|
|
10399
|
+
"tagName": "rule-condition-group",
|
|
10684
10400
|
"customElement": true
|
|
10685
10401
|
}
|
|
10686
10402
|
],
|
|
10687
10403
|
"exports": [
|
|
10688
10404
|
{
|
|
10689
10405
|
"kind": "js",
|
|
10690
|
-
"name": "
|
|
10406
|
+
"name": "RuleConditionGroup",
|
|
10691
10407
|
"declaration": {
|
|
10692
|
-
"name": "
|
|
10693
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10408
|
+
"name": "RuleConditionGroup",
|
|
10409
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10694
10410
|
}
|
|
10695
10411
|
},
|
|
10696
10412
|
{
|
|
10697
10413
|
"kind": "custom-element-definition",
|
|
10698
|
-
"name": "
|
|
10414
|
+
"name": "rule-condition-group",
|
|
10699
10415
|
"declaration": {
|
|
10700
|
-
"name": "
|
|
10701
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10416
|
+
"name": "RuleConditionGroup",
|
|
10417
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10702
10418
|
}
|
|
10703
10419
|
}
|
|
10704
10420
|
]
|
|
@@ -10917,6 +10633,290 @@
|
|
|
10917
10633
|
}
|
|
10918
10634
|
]
|
|
10919
10635
|
},
|
|
10636
|
+
{
|
|
10637
|
+
"kind": "javascript-module",
|
|
10638
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
10639
|
+
"declarations": [
|
|
10640
|
+
{
|
|
10641
|
+
"kind": "variable",
|
|
10642
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10643
|
+
"default": "html<TemplateConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.leftValueItems,\n html<Field>`\n <rapid-option value=${(x) => JSON.stringify(x)}>${(x) => x.FIELD_NAME}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n >\n ${repeat(\n (_) => Object.values(LogicalOperator),\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select class=\"right-criteria\" :value=${sync((x) => x.rightCriteria)}>\n ${repeat(\n (x) => x.rightCriteriaOptions,\n html`\n <rapid-option value=${(x) => x}>${(x) => rightCriteriaLabel(x)}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html<TemplateConditionBuilder>`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.USER_ENTRY,\n html<TemplateConditionBuilder>`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueSelect)}>\n ${(x) => rightValueItemsOptions(x.rightValueItems)}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10644
|
+
}
|
|
10645
|
+
],
|
|
10646
|
+
"exports": [
|
|
10647
|
+
{
|
|
10648
|
+
"kind": "js",
|
|
10649
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10650
|
+
"declaration": {
|
|
10651
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10652
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
10653
|
+
}
|
|
10654
|
+
}
|
|
10655
|
+
]
|
|
10656
|
+
},
|
|
10657
|
+
{
|
|
10658
|
+
"kind": "javascript-module",
|
|
10659
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10660
|
+
"declarations": [
|
|
10661
|
+
{
|
|
10662
|
+
"kind": "class",
|
|
10663
|
+
"description": "Condition builder for template notification rules.",
|
|
10664
|
+
"name": "TemplateConditionBuilder",
|
|
10665
|
+
"members": [
|
|
10666
|
+
{
|
|
10667
|
+
"kind": "field",
|
|
10668
|
+
"name": "condition",
|
|
10669
|
+
"type": {
|
|
10670
|
+
"text": "ConditionBuilderEntity"
|
|
10671
|
+
}
|
|
10672
|
+
},
|
|
10673
|
+
{
|
|
10674
|
+
"kind": "field",
|
|
10675
|
+
"name": "parameters",
|
|
10676
|
+
"type": {
|
|
10677
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10678
|
+
},
|
|
10679
|
+
"default": "[]"
|
|
10680
|
+
},
|
|
10681
|
+
{
|
|
10682
|
+
"kind": "field",
|
|
10683
|
+
"name": "fields",
|
|
10684
|
+
"type": {
|
|
10685
|
+
"text": "Field[]"
|
|
10686
|
+
},
|
|
10687
|
+
"default": "[]"
|
|
10688
|
+
},
|
|
10689
|
+
{
|
|
10690
|
+
"kind": "field",
|
|
10691
|
+
"name": "isFirst",
|
|
10692
|
+
"type": {
|
|
10693
|
+
"text": "boolean"
|
|
10694
|
+
},
|
|
10695
|
+
"default": "false"
|
|
10696
|
+
},
|
|
10697
|
+
{
|
|
10698
|
+
"kind": "field",
|
|
10699
|
+
"name": "joinOperator",
|
|
10700
|
+
"type": {
|
|
10701
|
+
"text": "string"
|
|
10702
|
+
}
|
|
10703
|
+
},
|
|
10704
|
+
{
|
|
10705
|
+
"kind": "field",
|
|
10706
|
+
"name": "leftValue",
|
|
10707
|
+
"type": {
|
|
10708
|
+
"text": "any"
|
|
10709
|
+
},
|
|
10710
|
+
"default": "null"
|
|
10711
|
+
},
|
|
10712
|
+
{
|
|
10713
|
+
"kind": "field",
|
|
10714
|
+
"name": "leftValueItems",
|
|
10715
|
+
"type": {
|
|
10716
|
+
"text": "Array<any>"
|
|
10717
|
+
},
|
|
10718
|
+
"default": "[]"
|
|
10719
|
+
},
|
|
10720
|
+
{
|
|
10721
|
+
"kind": "field",
|
|
10722
|
+
"name": "logicalOperator",
|
|
10723
|
+
"type": {
|
|
10724
|
+
"text": "string"
|
|
10725
|
+
},
|
|
10726
|
+
"default": "null"
|
|
10727
|
+
},
|
|
10728
|
+
{
|
|
10729
|
+
"kind": "field",
|
|
10730
|
+
"name": "rightCriteria",
|
|
10731
|
+
"type": {
|
|
10732
|
+
"text": "string"
|
|
10733
|
+
}
|
|
10734
|
+
},
|
|
10735
|
+
{
|
|
10736
|
+
"kind": "field",
|
|
10737
|
+
"name": "rightValueText",
|
|
10738
|
+
"type": {
|
|
10739
|
+
"text": "string"
|
|
10740
|
+
},
|
|
10741
|
+
"default": "null"
|
|
10742
|
+
},
|
|
10743
|
+
{
|
|
10744
|
+
"kind": "field",
|
|
10745
|
+
"name": "rightValueSelect",
|
|
10746
|
+
"type": {
|
|
10747
|
+
"text": "string"
|
|
10748
|
+
},
|
|
10749
|
+
"default": "null"
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
"kind": "field",
|
|
10753
|
+
"name": "rightValueItems",
|
|
10754
|
+
"type": {
|
|
10755
|
+
"text": "Array<any>"
|
|
10756
|
+
},
|
|
10757
|
+
"default": "[]"
|
|
10758
|
+
},
|
|
10759
|
+
{
|
|
10760
|
+
"kind": "field",
|
|
10761
|
+
"name": "rightValueMultiSelect",
|
|
10762
|
+
"type": {
|
|
10763
|
+
"text": "string[]"
|
|
10764
|
+
},
|
|
10765
|
+
"default": "[]"
|
|
10766
|
+
},
|
|
10767
|
+
{
|
|
10768
|
+
"kind": "field",
|
|
10769
|
+
"name": "rightCriteriaOptions",
|
|
10770
|
+
"type": {
|
|
10771
|
+
"text": "RightCriteria[]"
|
|
10772
|
+
},
|
|
10773
|
+
"readonly": true
|
|
10774
|
+
},
|
|
10775
|
+
{
|
|
10776
|
+
"kind": "field",
|
|
10777
|
+
"name": "isStringLeftValue",
|
|
10778
|
+
"type": {
|
|
10779
|
+
"text": "boolean"
|
|
10780
|
+
},
|
|
10781
|
+
"privacy": "private",
|
|
10782
|
+
"readonly": true
|
|
10783
|
+
},
|
|
10784
|
+
{
|
|
10785
|
+
"kind": "method",
|
|
10786
|
+
"name": "deleteCondition"
|
|
10787
|
+
},
|
|
10788
|
+
{
|
|
10789
|
+
"kind": "method",
|
|
10790
|
+
"name": "conditionChanged"
|
|
10791
|
+
},
|
|
10792
|
+
{
|
|
10793
|
+
"kind": "method",
|
|
10794
|
+
"name": "joinOperatorChanged"
|
|
10795
|
+
},
|
|
10796
|
+
{
|
|
10797
|
+
"kind": "method",
|
|
10798
|
+
"name": "parametersChanged"
|
|
10799
|
+
},
|
|
10800
|
+
{
|
|
10801
|
+
"kind": "method",
|
|
10802
|
+
"name": "getMatchingParameter",
|
|
10803
|
+
"privacy": "private",
|
|
10804
|
+
"return": {
|
|
10805
|
+
"type": {
|
|
10806
|
+
"text": "ParameterBuilderEntity | undefined"
|
|
10807
|
+
}
|
|
10808
|
+
}
|
|
10809
|
+
},
|
|
10810
|
+
{
|
|
10811
|
+
"kind": "method",
|
|
10812
|
+
"name": "syncParameterBinding",
|
|
10813
|
+
"privacy": "private",
|
|
10814
|
+
"return": {
|
|
10815
|
+
"type": {
|
|
10816
|
+
"text": "boolean"
|
|
10817
|
+
}
|
|
10818
|
+
}
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"kind": "method",
|
|
10822
|
+
"name": "resetToValueEditor",
|
|
10823
|
+
"privacy": "private"
|
|
10824
|
+
},
|
|
10825
|
+
{
|
|
10826
|
+
"kind": "method",
|
|
10827
|
+
"name": "fieldsChanged"
|
|
10828
|
+
},
|
|
10829
|
+
{
|
|
10830
|
+
"kind": "method",
|
|
10831
|
+
"name": "logicalOperatorChanged"
|
|
10832
|
+
},
|
|
10833
|
+
{
|
|
10834
|
+
"kind": "method",
|
|
10835
|
+
"name": "assignLeftValue",
|
|
10836
|
+
"privacy": "private"
|
|
10837
|
+
},
|
|
10838
|
+
{
|
|
10839
|
+
"kind": "method",
|
|
10840
|
+
"name": "leftValueChanged"
|
|
10841
|
+
},
|
|
10842
|
+
{
|
|
10843
|
+
"kind": "method",
|
|
10844
|
+
"name": "assignRightValue",
|
|
10845
|
+
"privacy": "private"
|
|
10846
|
+
},
|
|
10847
|
+
{
|
|
10848
|
+
"kind": "method",
|
|
10849
|
+
"name": "rightCriteriaChanged"
|
|
10850
|
+
},
|
|
10851
|
+
{
|
|
10852
|
+
"kind": "method",
|
|
10853
|
+
"name": "clearRightValueText",
|
|
10854
|
+
"privacy": "private"
|
|
10855
|
+
},
|
|
10856
|
+
{
|
|
10857
|
+
"kind": "method",
|
|
10858
|
+
"name": "clearRightValueSelect",
|
|
10859
|
+
"privacy": "private"
|
|
10860
|
+
},
|
|
10861
|
+
{
|
|
10862
|
+
"kind": "method",
|
|
10863
|
+
"name": "rightValueTextChanged"
|
|
10864
|
+
},
|
|
10865
|
+
{
|
|
10866
|
+
"kind": "method",
|
|
10867
|
+
"name": "rightValueSelectChanged"
|
|
10868
|
+
},
|
|
10869
|
+
{
|
|
10870
|
+
"kind": "method",
|
|
10871
|
+
"name": "rightValueMultiSelectChanged"
|
|
10872
|
+
},
|
|
10873
|
+
{
|
|
10874
|
+
"kind": "method",
|
|
10875
|
+
"name": "getEnumValues",
|
|
10876
|
+
"return": {
|
|
10877
|
+
"type": {
|
|
10878
|
+
"text": "string[]"
|
|
10879
|
+
}
|
|
10880
|
+
}
|
|
10881
|
+
}
|
|
10882
|
+
],
|
|
10883
|
+
"events": [
|
|
10884
|
+
{
|
|
10885
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10886
|
+
"name": "delete"
|
|
10887
|
+
},
|
|
10888
|
+
{
|
|
10889
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10890
|
+
"name": "edit"
|
|
10891
|
+
}
|
|
10892
|
+
],
|
|
10893
|
+
"superclass": {
|
|
10894
|
+
"name": "GenesisElement",
|
|
10895
|
+
"package": "@genesislcap/web-core"
|
|
10896
|
+
},
|
|
10897
|
+
"tagName": "template-condition-builder",
|
|
10898
|
+
"customElement": true
|
|
10899
|
+
}
|
|
10900
|
+
],
|
|
10901
|
+
"exports": [
|
|
10902
|
+
{
|
|
10903
|
+
"kind": "js",
|
|
10904
|
+
"name": "TemplateConditionBuilder",
|
|
10905
|
+
"declaration": {
|
|
10906
|
+
"name": "TemplateConditionBuilder",
|
|
10907
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10908
|
+
}
|
|
10909
|
+
},
|
|
10910
|
+
{
|
|
10911
|
+
"kind": "custom-element-definition",
|
|
10912
|
+
"name": "template-condition-builder",
|
|
10913
|
+
"declaration": {
|
|
10914
|
+
"name": "TemplateConditionBuilder",
|
|
10915
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10916
|
+
}
|
|
10917
|
+
}
|
|
10918
|
+
]
|
|
10919
|
+
},
|
|
10920
10920
|
{
|
|
10921
10921
|
"kind": "javascript-module",
|
|
10922
10922
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
255
255
|
>;
|
|
256
256
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
257
257
|
|
|
258
|
-
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
259
|
-
React.PropsWithChildren<
|
|
260
|
-
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
261
|
-
HTMLWCProps & {
|
|
262
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
263
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
264
|
-
}
|
|
265
|
-
> & React.RefAttributes<RuleConditionGroupWC>
|
|
266
|
-
>;
|
|
267
|
-
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
268
|
-
|
|
269
258
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
259
|
React.PropsWithChildren<
|
|
271
260
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -277,16 +266,16 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
268
|
|
|
280
|
-
export declare const
|
|
269
|
+
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
281
270
|
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<
|
|
271
|
+
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
283
272
|
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<
|
|
285
|
-
onEdit?: (event: CustomEvent<
|
|
273
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
286
275
|
}
|
|
287
|
-
> & React.RefAttributes<
|
|
276
|
+
> & React.RefAttributes<RuleConditionGroupWC>
|
|
288
277
|
>;
|
|
289
|
-
export type
|
|
278
|
+
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
290
279
|
|
|
291
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
292
281
|
React.PropsWithChildren<
|
|
@@ -299,6 +288,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
299
288
|
>;
|
|
300
289
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
301
290
|
|
|
291
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
292
|
+
React.PropsWithChildren<
|
|
293
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
294
|
+
HTMLWCProps & {
|
|
295
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
296
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
297
|
+
}
|
|
298
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
299
|
+
>;
|
|
300
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
301
|
+
|
|
302
302
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
303
303
|
React.PropsWithChildren<
|
|
304
304
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
200
200
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
204
204
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
205
205
|
const _innerRef = React.useRef(null);
|
|
206
206
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
226
226
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
227
227
|
const _innerRef = React.useRef(null);
|
|
228
228
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -241,10 +241,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
248
248
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
249
249
|
const _innerRef = React.useRef(null);
|
|
250
250
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -263,10 +263,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
266
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
const
|
|
269
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
270
270
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
271
271
|
const _innerRef = React.useRef(null);
|
|
272
272
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -285,7 +285,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
285
285
|
el.removeEventListener('edit', _onEditFn);
|
|
286
286
|
};
|
|
287
287
|
}, []);
|
|
288
|
-
return React.createElement(customElements.getName(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
291
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -332,9 +332,9 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionGroup,
|
|
336
335
|
RuleConditionBuilder,
|
|
337
|
-
|
|
336
|
+
RuleConditionGroup,
|
|
338
337
|
ParameterBuilder,
|
|
338
|
+
TemplateConditionBuilder,
|
|
339
339
|
TemplateConditionGroup,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
198
198
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
199
199
|
});
|
|
200
200
|
|
|
201
|
-
export const
|
|
201
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
202
202
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
203
203
|
const _innerRef = React.useRef(null);
|
|
204
204
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
224
224
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
225
225
|
const _innerRef = React.useRef(null);
|
|
226
226
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -239,10 +239,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
246
246
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
247
247
|
const _innerRef = React.useRef(null);
|
|
248
248
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -261,10 +261,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
264
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
export const
|
|
267
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
268
268
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
269
269
|
const _innerRef = React.useRef(null);
|
|
270
270
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -283,7 +283,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
283
283
|
el.removeEventListener('edit', _onEditFn);
|
|
284
284
|
};
|
|
285
285
|
}, []);
|
|
286
|
-
return React.createElement(customElements.getName(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
289
|
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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.
|
|
4
|
+
"version": "15.86.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -80,30 +80,30 @@
|
|
|
80
80
|
"@commitlint/cli": "^19.2.1",
|
|
81
81
|
"@commitlint/config-conventional": "^19.1.0",
|
|
82
82
|
"@commitlint/format": "^19.0.3",
|
|
83
|
-
"@genesislcap/design-system-configurator": "15.
|
|
84
|
-
"@genesislcap/eslint-config": "15.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.
|
|
87
|
-
"@genesislcap/genx": "15.
|
|
88
|
-
"@genesislcap/prettier-config": "15.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.
|
|
90
|
-
"@genesislcap/vite-builder": "15.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.86.0",
|
|
84
|
+
"@genesislcap/eslint-config": "15.86.0",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.86.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.86.0",
|
|
87
|
+
"@genesislcap/genx": "15.86.0",
|
|
88
|
+
"@genesislcap/prettier-config": "15.86.0",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.86.0",
|
|
90
|
+
"@genesislcap/vite-builder": "15.86.0",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.86.0",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
106
|
-
"@genesislcap/web-core": "15.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.86.0",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.86.0",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.86.0",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.86.0",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.86.0",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.86.0",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.86.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.86.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.86.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.86.0",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.86.0",
|
|
106
|
+
"@genesislcap/web-core": "15.86.0",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|