@genesislcap/pbc-notify-ui 15.85.0-GENC-1744.1 → 15.85.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 +356 -356
- 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,27 +505,6 @@
|
|
|
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
|
-
},
|
|
529
508
|
{
|
|
530
509
|
"kind": "javascript-module",
|
|
531
510
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -847,6 +826,27 @@
|
|
|
847
826
|
}
|
|
848
827
|
]
|
|
849
828
|
},
|
|
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,6 +9985,156 @@
|
|
|
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
|
+
},
|
|
9988
10138
|
{
|
|
9989
10139
|
"kind": "javascript-module",
|
|
9990
10140
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10271,41 +10421,49 @@
|
|
|
10271
10421
|
},
|
|
10272
10422
|
{
|
|
10273
10423
|
"kind": "javascript-module",
|
|
10274
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10424
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
10275
10425
|
"declarations": [
|
|
10276
10426
|
{
|
|
10277
10427
|
"kind": "variable",
|
|
10278
|
-
"name": "
|
|
10279
|
-
"default": "html<
|
|
10428
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10429
|
+
"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`"
|
|
10280
10430
|
}
|
|
10281
10431
|
],
|
|
10282
10432
|
"exports": [
|
|
10283
10433
|
{
|
|
10284
10434
|
"kind": "js",
|
|
10285
|
-
"name": "
|
|
10435
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10286
10436
|
"declaration": {
|
|
10287
|
-
"name": "
|
|
10288
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10437
|
+
"name": "TemplateConditionBuilderTemplate",
|
|
10438
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts"
|
|
10289
10439
|
}
|
|
10290
10440
|
}
|
|
10291
10441
|
]
|
|
10292
10442
|
},
|
|
10293
10443
|
{
|
|
10294
10444
|
"kind": "javascript-module",
|
|
10295
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10445
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts",
|
|
10296
10446
|
"declarations": [
|
|
10297
10447
|
{
|
|
10298
10448
|
"kind": "class",
|
|
10299
|
-
"description": "
|
|
10300
|
-
"name": "
|
|
10449
|
+
"description": "Condition builder for template notification rules.",
|
|
10450
|
+
"name": "TemplateConditionBuilder",
|
|
10301
10451
|
"members": [
|
|
10302
10452
|
{
|
|
10303
10453
|
"kind": "field",
|
|
10304
|
-
"name": "
|
|
10454
|
+
"name": "condition",
|
|
10305
10455
|
"type": {
|
|
10306
|
-
"text": "
|
|
10456
|
+
"text": "ConditionBuilderEntity"
|
|
10307
10457
|
}
|
|
10308
10458
|
},
|
|
10459
|
+
{
|
|
10460
|
+
"kind": "field",
|
|
10461
|
+
"name": "parameters",
|
|
10462
|
+
"type": {
|
|
10463
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10464
|
+
},
|
|
10465
|
+
"default": "[]"
|
|
10466
|
+
},
|
|
10309
10467
|
{
|
|
10310
10468
|
"kind": "field",
|
|
10311
10469
|
"name": "fields",
|
|
@@ -10331,64 +10489,190 @@
|
|
|
10331
10489
|
},
|
|
10332
10490
|
{
|
|
10333
10491
|
"kind": "field",
|
|
10334
|
-
"name": "
|
|
10492
|
+
"name": "leftValue",
|
|
10335
10493
|
"type": {
|
|
10336
|
-
"text": "
|
|
10494
|
+
"text": "any"
|
|
10337
10495
|
},
|
|
10338
|
-
"default": "
|
|
10339
|
-
},
|
|
10340
|
-
{
|
|
10341
|
-
"kind": "method",
|
|
10342
|
-
"name": "nodeChanged"
|
|
10496
|
+
"default": "null"
|
|
10343
10497
|
},
|
|
10344
10498
|
{
|
|
10345
|
-
"kind": "
|
|
10346
|
-
"name": "
|
|
10499
|
+
"kind": "field",
|
|
10500
|
+
"name": "leftValueItems",
|
|
10501
|
+
"type": {
|
|
10502
|
+
"text": "Array<any>"
|
|
10503
|
+
},
|
|
10504
|
+
"default": "[]"
|
|
10347
10505
|
},
|
|
10348
10506
|
{
|
|
10349
|
-
"kind": "
|
|
10350
|
-
"name": "
|
|
10507
|
+
"kind": "field",
|
|
10508
|
+
"name": "logicalOperator",
|
|
10509
|
+
"type": {
|
|
10510
|
+
"text": "string"
|
|
10511
|
+
},
|
|
10512
|
+
"default": "null"
|
|
10351
10513
|
},
|
|
10352
10514
|
{
|
|
10353
|
-
"kind": "
|
|
10354
|
-
"name": "
|
|
10515
|
+
"kind": "field",
|
|
10516
|
+
"name": "rightCriteria",
|
|
10517
|
+
"type": {
|
|
10518
|
+
"text": "string"
|
|
10519
|
+
}
|
|
10355
10520
|
},
|
|
10356
10521
|
{
|
|
10357
|
-
"kind": "
|
|
10358
|
-
"name": "
|
|
10359
|
-
"
|
|
10360
|
-
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
|
-
|
|
10364
|
-
|
|
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"
|
|
10581
|
+
},
|
|
10582
|
+
{
|
|
10583
|
+
"kind": "method",
|
|
10584
|
+
"name": "parametersChanged"
|
|
10585
|
+
},
|
|
10586
|
+
{
|
|
10587
|
+
"kind": "method",
|
|
10588
|
+
"name": "getMatchingParameter",
|
|
10589
|
+
"privacy": "private",
|
|
10590
|
+
"return": {
|
|
10591
|
+
"type": {
|
|
10592
|
+
"text": "ParameterBuilderEntity | undefined"
|
|
10365
10593
|
}
|
|
10366
|
-
|
|
10594
|
+
}
|
|
10367
10595
|
},
|
|
10368
10596
|
{
|
|
10369
10597
|
"kind": "method",
|
|
10370
|
-
"name": "
|
|
10371
|
-
"
|
|
10372
|
-
|
|
10373
|
-
|
|
10374
|
-
"
|
|
10375
|
-
"text": "ConditionNode"
|
|
10376
|
-
}
|
|
10598
|
+
"name": "syncParameterBinding",
|
|
10599
|
+
"privacy": "private",
|
|
10600
|
+
"return": {
|
|
10601
|
+
"type": {
|
|
10602
|
+
"text": "boolean"
|
|
10377
10603
|
}
|
|
10378
|
-
|
|
10604
|
+
}
|
|
10379
10605
|
},
|
|
10380
10606
|
{
|
|
10381
10607
|
"kind": "method",
|
|
10382
|
-
"name": "
|
|
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"
|
|
10658
|
+
},
|
|
10659
|
+
{
|
|
10660
|
+
"kind": "method",
|
|
10661
|
+
"name": "getEnumValues",
|
|
10662
|
+
"return": {
|
|
10663
|
+
"type": {
|
|
10664
|
+
"text": "string[]"
|
|
10665
|
+
}
|
|
10666
|
+
}
|
|
10383
10667
|
}
|
|
10384
10668
|
],
|
|
10385
10669
|
"events": [
|
|
10386
10670
|
{
|
|
10387
|
-
"description": "Fired when
|
|
10671
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10388
10672
|
"name": "delete"
|
|
10389
10673
|
},
|
|
10390
10674
|
{
|
|
10391
|
-
"description": "Fired when
|
|
10675
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10392
10676
|
"name": "edit"
|
|
10393
10677
|
}
|
|
10394
10678
|
],
|
|
@@ -10396,25 +10680,25 @@
|
|
|
10396
10680
|
"name": "GenesisElement",
|
|
10397
10681
|
"package": "@genesislcap/web-core"
|
|
10398
10682
|
},
|
|
10399
|
-
"tagName": "
|
|
10683
|
+
"tagName": "template-condition-builder",
|
|
10400
10684
|
"customElement": true
|
|
10401
10685
|
}
|
|
10402
10686
|
],
|
|
10403
10687
|
"exports": [
|
|
10404
10688
|
{
|
|
10405
10689
|
"kind": "js",
|
|
10406
|
-
"name": "
|
|
10690
|
+
"name": "TemplateConditionBuilder",
|
|
10407
10691
|
"declaration": {
|
|
10408
|
-
"name": "
|
|
10409
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10692
|
+
"name": "TemplateConditionBuilder",
|
|
10693
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10410
10694
|
}
|
|
10411
10695
|
},
|
|
10412
10696
|
{
|
|
10413
10697
|
"kind": "custom-element-definition",
|
|
10414
|
-
"name": "
|
|
10698
|
+
"name": "template-condition-builder",
|
|
10415
10699
|
"declaration": {
|
|
10416
|
-
"name": "
|
|
10417
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10700
|
+
"name": "TemplateConditionBuilder",
|
|
10701
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.ts"
|
|
10418
10702
|
}
|
|
10419
10703
|
}
|
|
10420
10704
|
]
|
|
@@ -10633,290 +10917,6 @@
|
|
|
10633
10917
|
}
|
|
10634
10918
|
]
|
|
10635
10919
|
},
|
|
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 RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
259
|
-
React.PropsWithChildren<
|
|
260
|
-
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
261
|
-
HTMLWCProps & {
|
|
262
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
263
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
264
|
-
}
|
|
265
|
-
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
266
|
-
>;
|
|
267
|
-
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
268
|
-
|
|
269
258
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
270
259
|
React.PropsWithChildren<
|
|
271
260
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -277,16 +266,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
268
|
|
|
280
|
-
export declare const
|
|
269
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
281
270
|
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<
|
|
271
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
283
272
|
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<
|
|
285
|
-
onEdit?: (event: CustomEvent<
|
|
273
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
286
275
|
}
|
|
287
|
-
> & React.RefAttributes<
|
|
276
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
288
277
|
>;
|
|
289
|
-
export type
|
|
278
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
290
279
|
|
|
291
280
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
292
281
|
React.PropsWithChildren<
|
|
@@ -299,6 +288,17 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
299
288
|
>;
|
|
300
289
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
301
290
|
|
|
291
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
292
|
+
React.PropsWithChildren<
|
|
293
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
294
|
+
HTMLWCProps & {
|
|
295
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
296
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
297
|
+
}
|
|
298
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
299
|
+
>;
|
|
300
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
266
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
const
|
|
269
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
285
285
|
el.removeEventListener('edit', _onEditFn);
|
|
286
286
|
};
|
|
287
287
|
}, []);
|
|
288
|
-
return React.createElement(customElements.getName(
|
|
288
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-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
|
-
RuleConditionBuilder,
|
|
336
335
|
RuleConditionGroup,
|
|
337
|
-
|
|
336
|
+
RuleConditionBuilder,
|
|
338
337
|
TemplateConditionBuilder,
|
|
338
|
+
ParameterBuilder,
|
|
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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(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 RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
264
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
export const
|
|
267
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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 TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
283
283
|
el.removeEventListener('edit', _onEditFn);
|
|
284
284
|
};
|
|
285
285
|
}, []);
|
|
286
|
-
return React.createElement(customElements.getName(
|
|
286
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-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.85.
|
|
4
|
+
"version": "15.85.1",
|
|
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.85.
|
|
84
|
-
"@genesislcap/eslint-config": "15.85.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.85.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.85.
|
|
87
|
-
"@genesislcap/genx": "15.85.
|
|
88
|
-
"@genesislcap/prettier-config": "15.85.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.85.
|
|
90
|
-
"@genesislcap/vite-builder": "15.85.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.85.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.85.1",
|
|
84
|
+
"@genesislcap/eslint-config": "15.85.1",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.85.1",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.85.1",
|
|
87
|
+
"@genesislcap/genx": "15.85.1",
|
|
88
|
+
"@genesislcap/prettier-config": "15.85.1",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.85.1",
|
|
90
|
+
"@genesislcap/vite-builder": "15.85.1",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.85.1",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.85.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.85.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.85.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.85.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.85.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.85.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.85.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.85.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.85.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.85.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.85.
|
|
106
|
-
"@genesislcap/web-core": "15.85.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.85.1",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.85.1",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.85.1",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.85.1",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.85.1",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.85.1",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.85.1",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.85.1",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.85.1",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.85.1",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.85.1",
|
|
106
|
+
"@genesislcap/web-core": "15.85.1",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|