@genesislcap/pbc-notify-ui 15.90.1 → 15.90.3
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 +327 -327
- package/dist/dts/react.d.ts +22 -22
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -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,364 +10421,372 @@
|
|
|
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/parameter-builder/parameter-builder.styles.ts",
|
|
10275
10425
|
"declarations": [
|
|
10276
10426
|
{
|
|
10277
10427
|
"kind": "variable",
|
|
10278
|
-
"name": "
|
|
10279
|
-
"default": "
|
|
10428
|
+
"name": "ParameterBuilderStyles",
|
|
10429
|
+
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
10280
10430
|
}
|
|
10281
10431
|
],
|
|
10282
10432
|
"exports": [
|
|
10283
10433
|
{
|
|
10284
10434
|
"kind": "js",
|
|
10285
|
-
"name": "
|
|
10435
|
+
"name": "ParameterBuilderStyles",
|
|
10286
10436
|
"declaration": {
|
|
10287
|
-
"name": "
|
|
10288
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10437
|
+
"name": "ParameterBuilderStyles",
|
|
10438
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.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/parameter-builder/parameter-builder.template.ts",
|
|
10446
|
+
"declarations": [
|
|
10447
|
+
{
|
|
10448
|
+
"kind": "variable",
|
|
10449
|
+
"name": "ParameterBuilderTemplate",
|
|
10450
|
+
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\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`"
|
|
10451
|
+
}
|
|
10452
|
+
],
|
|
10453
|
+
"exports": [
|
|
10454
|
+
{
|
|
10455
|
+
"kind": "js",
|
|
10456
|
+
"name": "ParameterBuilderTemplate",
|
|
10457
|
+
"declaration": {
|
|
10458
|
+
"name": "ParameterBuilderTemplate",
|
|
10459
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
]
|
|
10463
|
+
},
|
|
10464
|
+
{
|
|
10465
|
+
"kind": "javascript-module",
|
|
10466
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10296
10467
|
"declarations": [
|
|
10297
10468
|
{
|
|
10298
10469
|
"kind": "class",
|
|
10299
|
-
"description": "
|
|
10300
|
-
"name": "
|
|
10470
|
+
"description": "Parameter builder for notification templates.",
|
|
10471
|
+
"name": "ParameterBuilder",
|
|
10301
10472
|
"members": [
|
|
10302
10473
|
{
|
|
10303
10474
|
"kind": "field",
|
|
10304
|
-
"name": "
|
|
10475
|
+
"name": "parameter",
|
|
10305
10476
|
"type": {
|
|
10306
|
-
"text": "
|
|
10477
|
+
"text": "ParameterBuilderEntity"
|
|
10307
10478
|
}
|
|
10308
10479
|
},
|
|
10309
10480
|
{
|
|
10310
10481
|
"kind": "field",
|
|
10311
|
-
"name": "
|
|
10482
|
+
"name": "name",
|
|
10312
10483
|
"type": {
|
|
10313
|
-
"text": "
|
|
10314
|
-
}
|
|
10315
|
-
"default": "[]"
|
|
10484
|
+
"text": "string"
|
|
10485
|
+
}
|
|
10316
10486
|
},
|
|
10317
10487
|
{
|
|
10318
10488
|
"kind": "field",
|
|
10319
|
-
"name": "
|
|
10489
|
+
"name": "label",
|
|
10320
10490
|
"type": {
|
|
10321
|
-
"text": "
|
|
10322
|
-
}
|
|
10323
|
-
"default": "false"
|
|
10491
|
+
"text": "string"
|
|
10492
|
+
}
|
|
10324
10493
|
},
|
|
10325
10494
|
{
|
|
10326
10495
|
"kind": "field",
|
|
10327
|
-
"name": "
|
|
10496
|
+
"name": "type",
|
|
10328
10497
|
"type": {
|
|
10329
10498
|
"text": "string"
|
|
10330
10499
|
}
|
|
10331
10500
|
},
|
|
10332
10501
|
{
|
|
10333
10502
|
"kind": "field",
|
|
10334
|
-
"name": "
|
|
10503
|
+
"name": "sourceType",
|
|
10335
10504
|
"type": {
|
|
10336
|
-
"text": "
|
|
10505
|
+
"text": "string"
|
|
10506
|
+
}
|
|
10507
|
+
},
|
|
10508
|
+
{
|
|
10509
|
+
"kind": "field",
|
|
10510
|
+
"name": "sourceSelected",
|
|
10511
|
+
"type": {
|
|
10512
|
+
"text": "string"
|
|
10513
|
+
}
|
|
10514
|
+
},
|
|
10515
|
+
{
|
|
10516
|
+
"kind": "field",
|
|
10517
|
+
"name": "sourceTyped",
|
|
10518
|
+
"type": {
|
|
10519
|
+
"text": "string"
|
|
10520
|
+
}
|
|
10521
|
+
},
|
|
10522
|
+
{
|
|
10523
|
+
"kind": "field",
|
|
10524
|
+
"name": "sourceTextField",
|
|
10525
|
+
"type": {
|
|
10526
|
+
"text": "TextField"
|
|
10527
|
+
}
|
|
10528
|
+
},
|
|
10529
|
+
{
|
|
10530
|
+
"kind": "field",
|
|
10531
|
+
"name": "sourceSelect",
|
|
10532
|
+
"type": {
|
|
10533
|
+
"text": "Select"
|
|
10534
|
+
}
|
|
10535
|
+
},
|
|
10536
|
+
{
|
|
10537
|
+
"kind": "field",
|
|
10538
|
+
"name": "reqRepItems",
|
|
10539
|
+
"type": {
|
|
10540
|
+
"text": "array"
|
|
10337
10541
|
},
|
|
10338
|
-
"default": "[]"
|
|
10542
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10339
10543
|
},
|
|
10340
10544
|
{
|
|
10341
10545
|
"kind": "method",
|
|
10342
|
-
"name": "
|
|
10546
|
+
"name": "deleteParameter"
|
|
10343
10547
|
},
|
|
10344
10548
|
{
|
|
10345
10549
|
"kind": "method",
|
|
10346
|
-
"name": "
|
|
10550
|
+
"name": "parameterChanged"
|
|
10347
10551
|
},
|
|
10348
10552
|
{
|
|
10349
10553
|
"kind": "method",
|
|
10350
|
-
"name": "
|
|
10554
|
+
"name": "nameChanged"
|
|
10351
10555
|
},
|
|
10352
10556
|
{
|
|
10353
10557
|
"kind": "method",
|
|
10354
|
-
"name": "
|
|
10558
|
+
"name": "labelChanged"
|
|
10355
10559
|
},
|
|
10356
10560
|
{
|
|
10357
10561
|
"kind": "method",
|
|
10358
|
-
"name": "
|
|
10359
|
-
"parameters": [
|
|
10360
|
-
{
|
|
10361
|
-
"name": "_editedChild",
|
|
10362
|
-
"type": {
|
|
10363
|
-
"text": "ConditionNode"
|
|
10364
|
-
}
|
|
10365
|
-
}
|
|
10366
|
-
]
|
|
10562
|
+
"name": "typeChanged"
|
|
10367
10563
|
},
|
|
10368
10564
|
{
|
|
10369
10565
|
"kind": "method",
|
|
10370
|
-
"name": "
|
|
10566
|
+
"name": "sourceTypeChanged"
|
|
10567
|
+
},
|
|
10568
|
+
{
|
|
10569
|
+
"kind": "method",
|
|
10570
|
+
"name": "sourceSelectedChanged"
|
|
10571
|
+
},
|
|
10572
|
+
{
|
|
10573
|
+
"kind": "method",
|
|
10574
|
+
"name": "sourceTypedChanged"
|
|
10575
|
+
},
|
|
10576
|
+
{
|
|
10577
|
+
"kind": "method",
|
|
10578
|
+
"name": "genericChanged",
|
|
10579
|
+
"privacy": "private",
|
|
10371
10580
|
"parameters": [
|
|
10372
10581
|
{
|
|
10373
|
-
"name": "
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10582
|
+
"name": "parameterAttribute"
|
|
10583
|
+
},
|
|
10584
|
+
{
|
|
10585
|
+
"name": "value"
|
|
10377
10586
|
}
|
|
10378
10587
|
]
|
|
10379
|
-
},
|
|
10380
|
-
{
|
|
10381
|
-
"kind": "method",
|
|
10382
|
-
"name": "deleteSelf"
|
|
10383
10588
|
}
|
|
10384
10589
|
],
|
|
10385
10590
|
"events": [
|
|
10386
10591
|
{
|
|
10387
|
-
"description": "Fired when
|
|
10592
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10388
10593
|
"name": "delete"
|
|
10389
10594
|
},
|
|
10390
10595
|
{
|
|
10391
|
-
"description": "Fired when
|
|
10596
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10392
10597
|
"name": "edit"
|
|
10393
10598
|
}
|
|
10394
10599
|
],
|
|
10600
|
+
"attributes": [
|
|
10601
|
+
{
|
|
10602
|
+
"name": "parameter",
|
|
10603
|
+
"type": {
|
|
10604
|
+
"text": "ParameterBuilderEntity"
|
|
10605
|
+
},
|
|
10606
|
+
"fieldName": "parameter"
|
|
10607
|
+
}
|
|
10608
|
+
],
|
|
10395
10609
|
"superclass": {
|
|
10396
10610
|
"name": "GenesisElement",
|
|
10397
10611
|
"package": "@genesislcap/web-core"
|
|
10398
10612
|
},
|
|
10399
|
-
"tagName": "
|
|
10613
|
+
"tagName": "parameter-builder",
|
|
10400
10614
|
"customElement": true
|
|
10401
10615
|
}
|
|
10402
10616
|
],
|
|
10403
10617
|
"exports": [
|
|
10404
10618
|
{
|
|
10405
10619
|
"kind": "js",
|
|
10406
|
-
"name": "
|
|
10620
|
+
"name": "ParameterBuilder",
|
|
10407
10621
|
"declaration": {
|
|
10408
|
-
"name": "
|
|
10409
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10622
|
+
"name": "ParameterBuilder",
|
|
10623
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10410
10624
|
}
|
|
10411
10625
|
},
|
|
10412
10626
|
{
|
|
10413
10627
|
"kind": "custom-element-definition",
|
|
10414
|
-
"name": "
|
|
10415
|
-
"declaration": {
|
|
10416
|
-
"name": "RuleConditionGroup",
|
|
10417
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10418
|
-
}
|
|
10419
|
-
}
|
|
10420
|
-
]
|
|
10421
|
-
},
|
|
10422
|
-
{
|
|
10423
|
-
"kind": "javascript-module",
|
|
10424
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10425
|
-
"declarations": [
|
|
10426
|
-
{
|
|
10427
|
-
"kind": "variable",
|
|
10428
|
-
"name": "ParameterBuilderStyles",
|
|
10429
|
-
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
10430
|
-
}
|
|
10431
|
-
],
|
|
10432
|
-
"exports": [
|
|
10433
|
-
{
|
|
10434
|
-
"kind": "js",
|
|
10435
|
-
"name": "ParameterBuilderStyles",
|
|
10628
|
+
"name": "parameter-builder",
|
|
10436
10629
|
"declaration": {
|
|
10437
|
-
"name": "
|
|
10438
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.
|
|
10630
|
+
"name": "ParameterBuilder",
|
|
10631
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10439
10632
|
}
|
|
10440
10633
|
}
|
|
10441
10634
|
]
|
|
10442
10635
|
},
|
|
10443
10636
|
{
|
|
10444
10637
|
"kind": "javascript-module",
|
|
10445
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10638
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10446
10639
|
"declarations": [
|
|
10447
10640
|
{
|
|
10448
10641
|
"kind": "variable",
|
|
10449
|
-
"name": "
|
|
10450
|
-
"default": "html<
|
|
10642
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10643
|
+
"default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
10451
10644
|
}
|
|
10452
10645
|
],
|
|
10453
10646
|
"exports": [
|
|
10454
10647
|
{
|
|
10455
10648
|
"kind": "js",
|
|
10456
|
-
"name": "
|
|
10649
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10457
10650
|
"declaration": {
|
|
10458
|
-
"name": "
|
|
10459
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10651
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10652
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10460
10653
|
}
|
|
10461
10654
|
}
|
|
10462
10655
|
]
|
|
10463
10656
|
},
|
|
10464
10657
|
{
|
|
10465
10658
|
"kind": "javascript-module",
|
|
10466
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10659
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10467
10660
|
"declarations": [
|
|
10468
10661
|
{
|
|
10469
10662
|
"kind": "class",
|
|
10470
|
-
"description": "
|
|
10471
|
-
"name": "
|
|
10663
|
+
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
10664
|
+
"name": "TemplateConditionGroup",
|
|
10472
10665
|
"members": [
|
|
10473
10666
|
{
|
|
10474
10667
|
"kind": "field",
|
|
10475
|
-
"name": "
|
|
10476
|
-
"type": {
|
|
10477
|
-
"text": "ParameterBuilderEntity"
|
|
10478
|
-
}
|
|
10479
|
-
},
|
|
10480
|
-
{
|
|
10481
|
-
"kind": "field",
|
|
10482
|
-
"name": "name",
|
|
10483
|
-
"type": {
|
|
10484
|
-
"text": "string"
|
|
10485
|
-
}
|
|
10486
|
-
},
|
|
10487
|
-
{
|
|
10488
|
-
"kind": "field",
|
|
10489
|
-
"name": "label",
|
|
10490
|
-
"type": {
|
|
10491
|
-
"text": "string"
|
|
10492
|
-
}
|
|
10493
|
-
},
|
|
10494
|
-
{
|
|
10495
|
-
"kind": "field",
|
|
10496
|
-
"name": "type",
|
|
10497
|
-
"type": {
|
|
10498
|
-
"text": "string"
|
|
10499
|
-
}
|
|
10500
|
-
},
|
|
10501
|
-
{
|
|
10502
|
-
"kind": "field",
|
|
10503
|
-
"name": "sourceType",
|
|
10668
|
+
"name": "node",
|
|
10504
10669
|
"type": {
|
|
10505
|
-
"text": "
|
|
10670
|
+
"text": "ConditionGroupEntity"
|
|
10506
10671
|
}
|
|
10507
10672
|
},
|
|
10508
10673
|
{
|
|
10509
10674
|
"kind": "field",
|
|
10510
|
-
"name": "
|
|
10675
|
+
"name": "fields",
|
|
10511
10676
|
"type": {
|
|
10512
|
-
"text": "
|
|
10513
|
-
}
|
|
10677
|
+
"text": "Field[]"
|
|
10678
|
+
},
|
|
10679
|
+
"default": "[]"
|
|
10514
10680
|
},
|
|
10515
10681
|
{
|
|
10516
10682
|
"kind": "field",
|
|
10517
|
-
"name": "
|
|
10683
|
+
"name": "parameters",
|
|
10518
10684
|
"type": {
|
|
10519
|
-
"text": "
|
|
10520
|
-
}
|
|
10685
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
10686
|
+
},
|
|
10687
|
+
"default": "[]"
|
|
10521
10688
|
},
|
|
10522
10689
|
{
|
|
10523
10690
|
"kind": "field",
|
|
10524
|
-
"name": "
|
|
10691
|
+
"name": "isFirst",
|
|
10525
10692
|
"type": {
|
|
10526
|
-
"text": "
|
|
10527
|
-
}
|
|
10693
|
+
"text": "boolean"
|
|
10694
|
+
},
|
|
10695
|
+
"default": "false"
|
|
10528
10696
|
},
|
|
10529
10697
|
{
|
|
10530
10698
|
"kind": "field",
|
|
10531
|
-
"name": "
|
|
10699
|
+
"name": "joinOperator",
|
|
10532
10700
|
"type": {
|
|
10533
|
-
"text": "
|
|
10701
|
+
"text": "string"
|
|
10534
10702
|
}
|
|
10535
10703
|
},
|
|
10536
10704
|
{
|
|
10537
10705
|
"kind": "field",
|
|
10538
|
-
"name": "
|
|
10706
|
+
"name": "groupChildren",
|
|
10539
10707
|
"type": {
|
|
10540
|
-
"text": "
|
|
10708
|
+
"text": "ConditionNode[]"
|
|
10541
10709
|
},
|
|
10542
|
-
"default": "[
|
|
10543
|
-
},
|
|
10544
|
-
{
|
|
10545
|
-
"kind": "method",
|
|
10546
|
-
"name": "deleteParameter"
|
|
10547
|
-
},
|
|
10548
|
-
{
|
|
10549
|
-
"kind": "method",
|
|
10550
|
-
"name": "parameterChanged"
|
|
10551
|
-
},
|
|
10552
|
-
{
|
|
10553
|
-
"kind": "method",
|
|
10554
|
-
"name": "nameChanged"
|
|
10710
|
+
"default": "[]"
|
|
10555
10711
|
},
|
|
10556
10712
|
{
|
|
10557
10713
|
"kind": "method",
|
|
10558
|
-
"name": "
|
|
10714
|
+
"name": "nodeChanged"
|
|
10559
10715
|
},
|
|
10560
10716
|
{
|
|
10561
10717
|
"kind": "method",
|
|
10562
|
-
"name": "
|
|
10718
|
+
"name": "joinOperatorChanged"
|
|
10563
10719
|
},
|
|
10564
10720
|
{
|
|
10565
10721
|
"kind": "method",
|
|
10566
|
-
"name": "
|
|
10722
|
+
"name": "newCondition"
|
|
10567
10723
|
},
|
|
10568
10724
|
{
|
|
10569
10725
|
"kind": "method",
|
|
10570
|
-
"name": "
|
|
10726
|
+
"name": "newGroup"
|
|
10571
10727
|
},
|
|
10572
10728
|
{
|
|
10573
10729
|
"kind": "method",
|
|
10574
|
-
"name": "
|
|
10730
|
+
"name": "editChild",
|
|
10731
|
+
"parameters": [
|
|
10732
|
+
{
|
|
10733
|
+
"name": "_editedChild",
|
|
10734
|
+
"type": {
|
|
10735
|
+
"text": "ConditionNode"
|
|
10736
|
+
}
|
|
10737
|
+
}
|
|
10738
|
+
]
|
|
10575
10739
|
},
|
|
10576
10740
|
{
|
|
10577
10741
|
"kind": "method",
|
|
10578
|
-
"name": "
|
|
10579
|
-
"privacy": "private",
|
|
10742
|
+
"name": "deleteChild",
|
|
10580
10743
|
"parameters": [
|
|
10581
10744
|
{
|
|
10582
|
-
"name": "
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10745
|
+
"name": "deletedChild",
|
|
10746
|
+
"type": {
|
|
10747
|
+
"text": "ConditionNode"
|
|
10748
|
+
}
|
|
10586
10749
|
}
|
|
10587
10750
|
]
|
|
10751
|
+
},
|
|
10752
|
+
{
|
|
10753
|
+
"kind": "method",
|
|
10754
|
+
"name": "deleteSelf"
|
|
10588
10755
|
}
|
|
10589
10756
|
],
|
|
10590
10757
|
"events": [
|
|
10591
10758
|
{
|
|
10592
|
-
"description": "Fired when
|
|
10759
|
+
"description": "Fired when this whole group should be removed",
|
|
10593
10760
|
"name": "delete"
|
|
10594
10761
|
},
|
|
10595
10762
|
{
|
|
10596
|
-
"description": "Fired when
|
|
10763
|
+
"description": "Fired when anything inside this group changes",
|
|
10597
10764
|
"name": "edit"
|
|
10598
10765
|
}
|
|
10599
10766
|
],
|
|
10600
|
-
"attributes": [
|
|
10601
|
-
{
|
|
10602
|
-
"name": "parameter",
|
|
10603
|
-
"type": {
|
|
10604
|
-
"text": "ParameterBuilderEntity"
|
|
10605
|
-
},
|
|
10606
|
-
"fieldName": "parameter"
|
|
10607
|
-
}
|
|
10608
|
-
],
|
|
10609
10767
|
"superclass": {
|
|
10610
10768
|
"name": "GenesisElement",
|
|
10611
10769
|
"package": "@genesislcap/web-core"
|
|
10612
10770
|
},
|
|
10613
|
-
"tagName": "
|
|
10771
|
+
"tagName": "template-condition-group",
|
|
10614
10772
|
"customElement": true
|
|
10615
10773
|
}
|
|
10616
10774
|
],
|
|
10617
10775
|
"exports": [
|
|
10618
10776
|
{
|
|
10619
10777
|
"kind": "js",
|
|
10620
|
-
"name": "
|
|
10778
|
+
"name": "TemplateConditionGroup",
|
|
10621
10779
|
"declaration": {
|
|
10622
|
-
"name": "
|
|
10623
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10780
|
+
"name": "TemplateConditionGroup",
|
|
10781
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10624
10782
|
}
|
|
10625
10783
|
},
|
|
10626
10784
|
{
|
|
10627
10785
|
"kind": "custom-element-definition",
|
|
10628
|
-
"name": "
|
|
10786
|
+
"name": "template-condition-group",
|
|
10629
10787
|
"declaration": {
|
|
10630
|
-
"name": "
|
|
10631
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
10788
|
+
"name": "TemplateConditionGroup",
|
|
10789
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10632
10790
|
}
|
|
10633
10791
|
}
|
|
10634
10792
|
]
|
|
@@ -10916,164 +11074,6 @@
|
|
|
10916
11074
|
}
|
|
10917
11075
|
}
|
|
10918
11076
|
]
|
|
10919
|
-
},
|
|
10920
|
-
{
|
|
10921
|
-
"kind": "javascript-module",
|
|
10922
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10923
|
-
"declarations": [
|
|
10924
|
-
{
|
|
10925
|
-
"kind": "variable",
|
|
10926
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10927
|
-
"default": "html<TemplateConditionGroup>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-group-row\">\n <div class=\"condition-group-box\">\n ${repeat(\n (x) => x.groupChildren,\n html<ConditionNode, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :node=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\n :condition=${(x) => x}\n :isFirst=${(x, c) => c.index === 0}\n @edit=${(x, c) => c.parent.editChild(eventDetail(c))}\n @delete=${(x, c) => c.parent.deleteChild(eventDetail(c))}\n ></template-condition-builder>\n `,\n )}\n `,\n { positioning: true },\n )}\n\n <div class=\"content-row\">\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newCondition()}>\n + Condition\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.newGroup()}>+ Group</rapid-button>\n <rapid-button appearance=\"icon\" class=\"delete-group\" @click=${(x) => x.deleteSelf()}>\n <rapid-icon variant=\"regular\" name=\"trash-alt\" size=\"lg\" part=\"icon\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n </div>\n`"
|
|
10928
|
-
}
|
|
10929
|
-
],
|
|
10930
|
-
"exports": [
|
|
10931
|
-
{
|
|
10932
|
-
"kind": "js",
|
|
10933
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10934
|
-
"declaration": {
|
|
10935
|
-
"name": "TemplateConditionGroupTemplate",
|
|
10936
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10937
|
-
}
|
|
10938
|
-
}
|
|
10939
|
-
]
|
|
10940
|
-
},
|
|
10941
|
-
{
|
|
10942
|
-
"kind": "javascript-module",
|
|
10943
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10944
|
-
"declarations": [
|
|
10945
|
-
{
|
|
10946
|
-
"kind": "class",
|
|
10947
|
-
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
10948
|
-
"name": "TemplateConditionGroup",
|
|
10949
|
-
"members": [
|
|
10950
|
-
{
|
|
10951
|
-
"kind": "field",
|
|
10952
|
-
"name": "node",
|
|
10953
|
-
"type": {
|
|
10954
|
-
"text": "ConditionGroupEntity"
|
|
10955
|
-
}
|
|
10956
|
-
},
|
|
10957
|
-
{
|
|
10958
|
-
"kind": "field",
|
|
10959
|
-
"name": "fields",
|
|
10960
|
-
"type": {
|
|
10961
|
-
"text": "Field[]"
|
|
10962
|
-
},
|
|
10963
|
-
"default": "[]"
|
|
10964
|
-
},
|
|
10965
|
-
{
|
|
10966
|
-
"kind": "field",
|
|
10967
|
-
"name": "parameters",
|
|
10968
|
-
"type": {
|
|
10969
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
10970
|
-
},
|
|
10971
|
-
"default": "[]"
|
|
10972
|
-
},
|
|
10973
|
-
{
|
|
10974
|
-
"kind": "field",
|
|
10975
|
-
"name": "isFirst",
|
|
10976
|
-
"type": {
|
|
10977
|
-
"text": "boolean"
|
|
10978
|
-
},
|
|
10979
|
-
"default": "false"
|
|
10980
|
-
},
|
|
10981
|
-
{
|
|
10982
|
-
"kind": "field",
|
|
10983
|
-
"name": "joinOperator",
|
|
10984
|
-
"type": {
|
|
10985
|
-
"text": "string"
|
|
10986
|
-
}
|
|
10987
|
-
},
|
|
10988
|
-
{
|
|
10989
|
-
"kind": "field",
|
|
10990
|
-
"name": "groupChildren",
|
|
10991
|
-
"type": {
|
|
10992
|
-
"text": "ConditionNode[]"
|
|
10993
|
-
},
|
|
10994
|
-
"default": "[]"
|
|
10995
|
-
},
|
|
10996
|
-
{
|
|
10997
|
-
"kind": "method",
|
|
10998
|
-
"name": "nodeChanged"
|
|
10999
|
-
},
|
|
11000
|
-
{
|
|
11001
|
-
"kind": "method",
|
|
11002
|
-
"name": "joinOperatorChanged"
|
|
11003
|
-
},
|
|
11004
|
-
{
|
|
11005
|
-
"kind": "method",
|
|
11006
|
-
"name": "newCondition"
|
|
11007
|
-
},
|
|
11008
|
-
{
|
|
11009
|
-
"kind": "method",
|
|
11010
|
-
"name": "newGroup"
|
|
11011
|
-
},
|
|
11012
|
-
{
|
|
11013
|
-
"kind": "method",
|
|
11014
|
-
"name": "editChild",
|
|
11015
|
-
"parameters": [
|
|
11016
|
-
{
|
|
11017
|
-
"name": "_editedChild",
|
|
11018
|
-
"type": {
|
|
11019
|
-
"text": "ConditionNode"
|
|
11020
|
-
}
|
|
11021
|
-
}
|
|
11022
|
-
]
|
|
11023
|
-
},
|
|
11024
|
-
{
|
|
11025
|
-
"kind": "method",
|
|
11026
|
-
"name": "deleteChild",
|
|
11027
|
-
"parameters": [
|
|
11028
|
-
{
|
|
11029
|
-
"name": "deletedChild",
|
|
11030
|
-
"type": {
|
|
11031
|
-
"text": "ConditionNode"
|
|
11032
|
-
}
|
|
11033
|
-
}
|
|
11034
|
-
]
|
|
11035
|
-
},
|
|
11036
|
-
{
|
|
11037
|
-
"kind": "method",
|
|
11038
|
-
"name": "deleteSelf"
|
|
11039
|
-
}
|
|
11040
|
-
],
|
|
11041
|
-
"events": [
|
|
11042
|
-
{
|
|
11043
|
-
"description": "Fired when this whole group should be removed",
|
|
11044
|
-
"name": "delete"
|
|
11045
|
-
},
|
|
11046
|
-
{
|
|
11047
|
-
"description": "Fired when anything inside this group changes",
|
|
11048
|
-
"name": "edit"
|
|
11049
|
-
}
|
|
11050
|
-
],
|
|
11051
|
-
"superclass": {
|
|
11052
|
-
"name": "GenesisElement",
|
|
11053
|
-
"package": "@genesislcap/web-core"
|
|
11054
|
-
},
|
|
11055
|
-
"tagName": "template-condition-group",
|
|
11056
|
-
"customElement": true
|
|
11057
|
-
}
|
|
11058
|
-
],
|
|
11059
|
-
"exports": [
|
|
11060
|
-
{
|
|
11061
|
-
"kind": "js",
|
|
11062
|
-
"name": "TemplateConditionGroup",
|
|
11063
|
-
"declaration": {
|
|
11064
|
-
"name": "TemplateConditionGroup",
|
|
11065
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11066
|
-
}
|
|
11067
|
-
},
|
|
11068
|
-
{
|
|
11069
|
-
"kind": "custom-element-definition",
|
|
11070
|
-
"name": "template-condition-group",
|
|
11071
|
-
"declaration": {
|
|
11072
|
-
"name": "TemplateConditionGroup",
|
|
11073
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11074
|
-
}
|
|
11075
|
-
}
|
|
11076
|
-
]
|
|
11077
11077
|
}
|
|
11078
11078
|
]
|
|
11079
11079
|
}
|
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,6 +266,17 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
268
|
|
|
269
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
|
+
React.PropsWithChildren<
|
|
271
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
272
|
+
HTMLWCProps & {
|
|
273
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
275
|
+
}
|
|
276
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
277
|
+
>;
|
|
278
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
|
+
|
|
280
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
281
|
React.PropsWithChildren<
|
|
282
282
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
@@ -288,17 +288,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
288
288
|
>;
|
|
289
289
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
290
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
291
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
303
292
|
React.PropsWithChildren<
|
|
304
293
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -310,4 +299,15 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
|
310
299
|
>;
|
|
311
300
|
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
312
301
|
|
|
302
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
303
|
+
React.PropsWithChildren<
|
|
304
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
305
|
+
HTMLWCProps & {
|
|
306
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
307
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
308
|
+
}
|
|
309
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
310
|
+
>;
|
|
311
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
312
|
+
|
|
313
313
|
export {};
|
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,7 +241,7 @@ 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
247
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -266,7 +266,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
266
266
|
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
267
267
|
});
|
|
268
268
|
|
|
269
|
-
const
|
|
269
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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,10 +285,10 @@ 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(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
291
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
292
292
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
293
293
|
const _innerRef = React.useRef(null);
|
|
294
294
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -307,7 +307,7 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
307
307
|
el.removeEventListener('edit', _onEditFn);
|
|
308
308
|
};
|
|
309
309
|
}, []);
|
|
310
|
-
return React.createElement(customElements.getName(
|
|
310
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -332,9 +332,9 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionBuilder,
|
|
336
335
|
RuleConditionGroup,
|
|
336
|
+
RuleConditionBuilder,
|
|
337
337
|
ParameterBuilder,
|
|
338
|
-
TemplateConditionBuilder,
|
|
339
338
|
TemplateConditionGroup,
|
|
339
|
+
TemplateConditionBuilder,
|
|
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,7 +239,7 @@ 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
245
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -264,7 +264,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
264
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 TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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,10 +283,10 @@ 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(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
289
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
290
290
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
291
291
|
const _innerRef = React.useRef(null);
|
|
292
292
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -305,5 +305,5 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
305
305
|
el.removeEventListener('edit', _onEditFn);
|
|
306
306
|
};
|
|
307
307
|
}, []);
|
|
308
|
-
return React.createElement(customElements.getName(
|
|
308
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
309
309
|
});
|
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.90.
|
|
4
|
+
"version": "15.90.3",
|
|
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.90.
|
|
84
|
-
"@genesislcap/eslint-config": "15.90.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.90.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.90.
|
|
87
|
-
"@genesislcap/genx": "15.90.
|
|
88
|
-
"@genesislcap/prettier-config": "15.90.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.90.
|
|
90
|
-
"@genesislcap/vite-builder": "15.90.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.90.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.90.3",
|
|
84
|
+
"@genesislcap/eslint-config": "15.90.3",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.90.3",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.90.3",
|
|
87
|
+
"@genesislcap/genx": "15.90.3",
|
|
88
|
+
"@genesislcap/prettier-config": "15.90.3",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.90.3",
|
|
90
|
+
"@genesislcap/vite-builder": "15.90.3",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.90.3",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.90.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.90.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.90.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.90.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.90.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.90.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.90.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.90.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.90.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.90.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.90.
|
|
106
|
-
"@genesislcap/web-core": "15.90.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.90.3",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.90.3",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.90.3",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.90.3",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.90.3",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.90.3",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.90.3",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.90.3",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.90.3",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.90.3",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.90.3",
|
|
106
|
+
"@genesislcap/web-core": "15.90.3",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|