@genesislcap/pbc-notify-ui 15.46.2 → 15.46.3-FUI-0-form-export.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 +268 -268
- package/dist/dts/react.d.ts +15 -15
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +22 -22
|
@@ -9831,156 +9831,6 @@
|
|
|
9831
9831
|
}
|
|
9832
9832
|
]
|
|
9833
9833
|
},
|
|
9834
|
-
{
|
|
9835
|
-
"kind": "javascript-module",
|
|
9836
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9837
|
-
"declarations": [
|
|
9838
|
-
{
|
|
9839
|
-
"kind": "variable",
|
|
9840
|
-
"name": "RuleConditionGroupTemplate",
|
|
9841
|
-
"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`"
|
|
9842
|
-
}
|
|
9843
|
-
],
|
|
9844
|
-
"exports": [
|
|
9845
|
-
{
|
|
9846
|
-
"kind": "js",
|
|
9847
|
-
"name": "RuleConditionGroupTemplate",
|
|
9848
|
-
"declaration": {
|
|
9849
|
-
"name": "RuleConditionGroupTemplate",
|
|
9850
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
9851
|
-
}
|
|
9852
|
-
}
|
|
9853
|
-
]
|
|
9854
|
-
},
|
|
9855
|
-
{
|
|
9856
|
-
"kind": "javascript-module",
|
|
9857
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
9858
|
-
"declarations": [
|
|
9859
|
-
{
|
|
9860
|
-
"kind": "class",
|
|
9861
|
-
"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.",
|
|
9862
|
-
"name": "RuleConditionGroup",
|
|
9863
|
-
"members": [
|
|
9864
|
-
{
|
|
9865
|
-
"kind": "field",
|
|
9866
|
-
"name": "node",
|
|
9867
|
-
"type": {
|
|
9868
|
-
"text": "ConditionGroupEntity"
|
|
9869
|
-
}
|
|
9870
|
-
},
|
|
9871
|
-
{
|
|
9872
|
-
"kind": "field",
|
|
9873
|
-
"name": "fields",
|
|
9874
|
-
"type": {
|
|
9875
|
-
"text": "Field[]"
|
|
9876
|
-
},
|
|
9877
|
-
"default": "[]"
|
|
9878
|
-
},
|
|
9879
|
-
{
|
|
9880
|
-
"kind": "field",
|
|
9881
|
-
"name": "isFirst",
|
|
9882
|
-
"type": {
|
|
9883
|
-
"text": "boolean"
|
|
9884
|
-
},
|
|
9885
|
-
"default": "false"
|
|
9886
|
-
},
|
|
9887
|
-
{
|
|
9888
|
-
"kind": "field",
|
|
9889
|
-
"name": "joinOperator",
|
|
9890
|
-
"type": {
|
|
9891
|
-
"text": "string"
|
|
9892
|
-
}
|
|
9893
|
-
},
|
|
9894
|
-
{
|
|
9895
|
-
"kind": "field",
|
|
9896
|
-
"name": "groupChildren",
|
|
9897
|
-
"type": {
|
|
9898
|
-
"text": "ConditionNode[]"
|
|
9899
|
-
},
|
|
9900
|
-
"default": "[]"
|
|
9901
|
-
},
|
|
9902
|
-
{
|
|
9903
|
-
"kind": "method",
|
|
9904
|
-
"name": "nodeChanged"
|
|
9905
|
-
},
|
|
9906
|
-
{
|
|
9907
|
-
"kind": "method",
|
|
9908
|
-
"name": "joinOperatorChanged"
|
|
9909
|
-
},
|
|
9910
|
-
{
|
|
9911
|
-
"kind": "method",
|
|
9912
|
-
"name": "newCondition"
|
|
9913
|
-
},
|
|
9914
|
-
{
|
|
9915
|
-
"kind": "method",
|
|
9916
|
-
"name": "newGroup"
|
|
9917
|
-
},
|
|
9918
|
-
{
|
|
9919
|
-
"kind": "method",
|
|
9920
|
-
"name": "editChild",
|
|
9921
|
-
"parameters": [
|
|
9922
|
-
{
|
|
9923
|
-
"name": "_editedChild",
|
|
9924
|
-
"type": {
|
|
9925
|
-
"text": "ConditionNode"
|
|
9926
|
-
}
|
|
9927
|
-
}
|
|
9928
|
-
]
|
|
9929
|
-
},
|
|
9930
|
-
{
|
|
9931
|
-
"kind": "method",
|
|
9932
|
-
"name": "deleteChild",
|
|
9933
|
-
"parameters": [
|
|
9934
|
-
{
|
|
9935
|
-
"name": "deletedChild",
|
|
9936
|
-
"type": {
|
|
9937
|
-
"text": "ConditionNode"
|
|
9938
|
-
}
|
|
9939
|
-
}
|
|
9940
|
-
]
|
|
9941
|
-
},
|
|
9942
|
-
{
|
|
9943
|
-
"kind": "method",
|
|
9944
|
-
"name": "deleteSelf"
|
|
9945
|
-
}
|
|
9946
|
-
],
|
|
9947
|
-
"events": [
|
|
9948
|
-
{
|
|
9949
|
-
"description": "Fired when this whole group should be removed",
|
|
9950
|
-
"name": "delete"
|
|
9951
|
-
},
|
|
9952
|
-
{
|
|
9953
|
-
"description": "Fired when anything inside this group changes",
|
|
9954
|
-
"name": "edit"
|
|
9955
|
-
}
|
|
9956
|
-
],
|
|
9957
|
-
"superclass": {
|
|
9958
|
-
"name": "GenesisElement",
|
|
9959
|
-
"package": "@genesislcap/web-core"
|
|
9960
|
-
},
|
|
9961
|
-
"tagName": "rule-condition-group",
|
|
9962
|
-
"customElement": true
|
|
9963
|
-
}
|
|
9964
|
-
],
|
|
9965
|
-
"exports": [
|
|
9966
|
-
{
|
|
9967
|
-
"kind": "js",
|
|
9968
|
-
"name": "RuleConditionGroup",
|
|
9969
|
-
"declaration": {
|
|
9970
|
-
"name": "RuleConditionGroup",
|
|
9971
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
9972
|
-
}
|
|
9973
|
-
},
|
|
9974
|
-
{
|
|
9975
|
-
"kind": "custom-element-definition",
|
|
9976
|
-
"name": "rule-condition-group",
|
|
9977
|
-
"declaration": {
|
|
9978
|
-
"name": "RuleConditionGroup",
|
|
9979
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
9980
|
-
}
|
|
9981
|
-
}
|
|
9982
|
-
]
|
|
9983
|
-
},
|
|
9984
9834
|
{
|
|
9985
9835
|
"kind": "javascript-module",
|
|
9986
9836
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10267,214 +10117,150 @@
|
|
|
10267
10117
|
},
|
|
10268
10118
|
{
|
|
10269
10119
|
"kind": "javascript-module",
|
|
10270
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10271
|
-
"declarations": [
|
|
10272
|
-
{
|
|
10273
|
-
"kind": "variable",
|
|
10274
|
-
"name": "ParameterBuilderStyles",
|
|
10275
|
-
"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`"
|
|
10276
|
-
}
|
|
10277
|
-
],
|
|
10278
|
-
"exports": [
|
|
10279
|
-
{
|
|
10280
|
-
"kind": "js",
|
|
10281
|
-
"name": "ParameterBuilderStyles",
|
|
10282
|
-
"declaration": {
|
|
10283
|
-
"name": "ParameterBuilderStyles",
|
|
10284
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10285
|
-
}
|
|
10286
|
-
}
|
|
10287
|
-
]
|
|
10288
|
-
},
|
|
10289
|
-
{
|
|
10290
|
-
"kind": "javascript-module",
|
|
10291
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10120
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
10292
10121
|
"declarations": [
|
|
10293
10122
|
{
|
|
10294
10123
|
"kind": "variable",
|
|
10295
|
-
"name": "
|
|
10296
|
-
"default": "html<
|
|
10124
|
+
"name": "RuleConditionGroupTemplate",
|
|
10125
|
+
"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`"
|
|
10297
10126
|
}
|
|
10298
10127
|
],
|
|
10299
10128
|
"exports": [
|
|
10300
10129
|
{
|
|
10301
10130
|
"kind": "js",
|
|
10302
|
-
"name": "
|
|
10131
|
+
"name": "RuleConditionGroupTemplate",
|
|
10303
10132
|
"declaration": {
|
|
10304
|
-
"name": "
|
|
10305
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10133
|
+
"name": "RuleConditionGroupTemplate",
|
|
10134
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10306
10135
|
}
|
|
10307
10136
|
}
|
|
10308
10137
|
]
|
|
10309
10138
|
},
|
|
10310
10139
|
{
|
|
10311
10140
|
"kind": "javascript-module",
|
|
10312
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10141
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10313
10142
|
"declarations": [
|
|
10314
10143
|
{
|
|
10315
10144
|
"kind": "class",
|
|
10316
|
-
"description": "
|
|
10317
|
-
"name": "
|
|
10145
|
+
"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.",
|
|
10146
|
+
"name": "RuleConditionGroup",
|
|
10318
10147
|
"members": [
|
|
10319
10148
|
{
|
|
10320
10149
|
"kind": "field",
|
|
10321
|
-
"name": "
|
|
10322
|
-
"type": {
|
|
10323
|
-
"text": "ParameterBuilderEntity"
|
|
10324
|
-
}
|
|
10325
|
-
},
|
|
10326
|
-
{
|
|
10327
|
-
"kind": "field",
|
|
10328
|
-
"name": "name",
|
|
10329
|
-
"type": {
|
|
10330
|
-
"text": "string"
|
|
10331
|
-
}
|
|
10332
|
-
},
|
|
10333
|
-
{
|
|
10334
|
-
"kind": "field",
|
|
10335
|
-
"name": "label",
|
|
10336
|
-
"type": {
|
|
10337
|
-
"text": "string"
|
|
10338
|
-
}
|
|
10339
|
-
},
|
|
10340
|
-
{
|
|
10341
|
-
"kind": "field",
|
|
10342
|
-
"name": "type",
|
|
10150
|
+
"name": "node",
|
|
10343
10151
|
"type": {
|
|
10344
|
-
"text": "
|
|
10152
|
+
"text": "ConditionGroupEntity"
|
|
10345
10153
|
}
|
|
10346
10154
|
},
|
|
10347
10155
|
{
|
|
10348
10156
|
"kind": "field",
|
|
10349
|
-
"name": "
|
|
10157
|
+
"name": "fields",
|
|
10350
10158
|
"type": {
|
|
10351
|
-
"text": "
|
|
10352
|
-
}
|
|
10159
|
+
"text": "Field[]"
|
|
10160
|
+
},
|
|
10161
|
+
"default": "[]"
|
|
10353
10162
|
},
|
|
10354
10163
|
{
|
|
10355
10164
|
"kind": "field",
|
|
10356
|
-
"name": "
|
|
10165
|
+
"name": "isFirst",
|
|
10357
10166
|
"type": {
|
|
10358
|
-
"text": "
|
|
10359
|
-
}
|
|
10167
|
+
"text": "boolean"
|
|
10168
|
+
},
|
|
10169
|
+
"default": "false"
|
|
10360
10170
|
},
|
|
10361
10171
|
{
|
|
10362
10172
|
"kind": "field",
|
|
10363
|
-
"name": "
|
|
10173
|
+
"name": "joinOperator",
|
|
10364
10174
|
"type": {
|
|
10365
10175
|
"text": "string"
|
|
10366
10176
|
}
|
|
10367
10177
|
},
|
|
10368
10178
|
{
|
|
10369
10179
|
"kind": "field",
|
|
10370
|
-
"name": "
|
|
10371
|
-
"type": {
|
|
10372
|
-
"text": "TextField"
|
|
10373
|
-
}
|
|
10374
|
-
},
|
|
10375
|
-
{
|
|
10376
|
-
"kind": "field",
|
|
10377
|
-
"name": "sourceSelect",
|
|
10378
|
-
"type": {
|
|
10379
|
-
"text": "Select"
|
|
10380
|
-
}
|
|
10381
|
-
},
|
|
10382
|
-
{
|
|
10383
|
-
"kind": "field",
|
|
10384
|
-
"name": "reqRepItems",
|
|
10180
|
+
"name": "groupChildren",
|
|
10385
10181
|
"type": {
|
|
10386
|
-
"text": "
|
|
10182
|
+
"text": "ConditionNode[]"
|
|
10387
10183
|
},
|
|
10388
|
-
"default": "[
|
|
10184
|
+
"default": "[]"
|
|
10389
10185
|
},
|
|
10390
10186
|
{
|
|
10391
10187
|
"kind": "method",
|
|
10392
|
-
"name": "
|
|
10188
|
+
"name": "nodeChanged"
|
|
10393
10189
|
},
|
|
10394
10190
|
{
|
|
10395
10191
|
"kind": "method",
|
|
10396
|
-
"name": "
|
|
10192
|
+
"name": "joinOperatorChanged"
|
|
10397
10193
|
},
|
|
10398
10194
|
{
|
|
10399
10195
|
"kind": "method",
|
|
10400
|
-
"name": "
|
|
10196
|
+
"name": "newCondition"
|
|
10401
10197
|
},
|
|
10402
10198
|
{
|
|
10403
10199
|
"kind": "method",
|
|
10404
|
-
"name": "
|
|
10405
|
-
},
|
|
10406
|
-
{
|
|
10407
|
-
"kind": "method",
|
|
10408
|
-
"name": "typeChanged"
|
|
10409
|
-
},
|
|
10410
|
-
{
|
|
10411
|
-
"kind": "method",
|
|
10412
|
-
"name": "sourceTypeChanged"
|
|
10413
|
-
},
|
|
10414
|
-
{
|
|
10415
|
-
"kind": "method",
|
|
10416
|
-
"name": "sourceSelectedChanged"
|
|
10200
|
+
"name": "newGroup"
|
|
10417
10201
|
},
|
|
10418
10202
|
{
|
|
10419
10203
|
"kind": "method",
|
|
10420
|
-
"name": "
|
|
10204
|
+
"name": "editChild",
|
|
10205
|
+
"parameters": [
|
|
10206
|
+
{
|
|
10207
|
+
"name": "_editedChild",
|
|
10208
|
+
"type": {
|
|
10209
|
+
"text": "ConditionNode"
|
|
10210
|
+
}
|
|
10211
|
+
}
|
|
10212
|
+
]
|
|
10421
10213
|
},
|
|
10422
10214
|
{
|
|
10423
10215
|
"kind": "method",
|
|
10424
|
-
"name": "
|
|
10425
|
-
"privacy": "private",
|
|
10216
|
+
"name": "deleteChild",
|
|
10426
10217
|
"parameters": [
|
|
10427
10218
|
{
|
|
10428
|
-
"name": "
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10219
|
+
"name": "deletedChild",
|
|
10220
|
+
"type": {
|
|
10221
|
+
"text": "ConditionNode"
|
|
10222
|
+
}
|
|
10432
10223
|
}
|
|
10433
10224
|
]
|
|
10225
|
+
},
|
|
10226
|
+
{
|
|
10227
|
+
"kind": "method",
|
|
10228
|
+
"name": "deleteSelf"
|
|
10434
10229
|
}
|
|
10435
10230
|
],
|
|
10436
10231
|
"events": [
|
|
10437
10232
|
{
|
|
10438
|
-
"description": "Fired when
|
|
10233
|
+
"description": "Fired when this whole group should be removed",
|
|
10439
10234
|
"name": "delete"
|
|
10440
10235
|
},
|
|
10441
10236
|
{
|
|
10442
|
-
"description": "Fired when
|
|
10237
|
+
"description": "Fired when anything inside this group changes",
|
|
10443
10238
|
"name": "edit"
|
|
10444
10239
|
}
|
|
10445
10240
|
],
|
|
10446
|
-
"attributes": [
|
|
10447
|
-
{
|
|
10448
|
-
"name": "parameter",
|
|
10449
|
-
"type": {
|
|
10450
|
-
"text": "ParameterBuilderEntity"
|
|
10451
|
-
},
|
|
10452
|
-
"fieldName": "parameter"
|
|
10453
|
-
}
|
|
10454
|
-
],
|
|
10455
10241
|
"superclass": {
|
|
10456
10242
|
"name": "GenesisElement",
|
|
10457
10243
|
"package": "@genesislcap/web-core"
|
|
10458
10244
|
},
|
|
10459
|
-
"tagName": "
|
|
10245
|
+
"tagName": "rule-condition-group",
|
|
10460
10246
|
"customElement": true
|
|
10461
10247
|
}
|
|
10462
10248
|
],
|
|
10463
10249
|
"exports": [
|
|
10464
10250
|
{
|
|
10465
10251
|
"kind": "js",
|
|
10466
|
-
"name": "
|
|
10252
|
+
"name": "RuleConditionGroup",
|
|
10467
10253
|
"declaration": {
|
|
10468
|
-
"name": "
|
|
10469
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10254
|
+
"name": "RuleConditionGroup",
|
|
10255
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10470
10256
|
}
|
|
10471
10257
|
},
|
|
10472
10258
|
{
|
|
10473
10259
|
"kind": "custom-element-definition",
|
|
10474
|
-
"name": "
|
|
10260
|
+
"name": "rule-condition-group",
|
|
10475
10261
|
"declaration": {
|
|
10476
|
-
"name": "
|
|
10477
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10262
|
+
"name": "RuleConditionGroup",
|
|
10263
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10478
10264
|
}
|
|
10479
10265
|
}
|
|
10480
10266
|
]
|
|
@@ -10763,6 +10549,220 @@
|
|
|
10763
10549
|
}
|
|
10764
10550
|
]
|
|
10765
10551
|
},
|
|
10552
|
+
{
|
|
10553
|
+
"kind": "javascript-module",
|
|
10554
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10555
|
+
"declarations": [
|
|
10556
|
+
{
|
|
10557
|
+
"kind": "variable",
|
|
10558
|
+
"name": "ParameterBuilderStyles",
|
|
10559
|
+
"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`"
|
|
10560
|
+
}
|
|
10561
|
+
],
|
|
10562
|
+
"exports": [
|
|
10563
|
+
{
|
|
10564
|
+
"kind": "js",
|
|
10565
|
+
"name": "ParameterBuilderStyles",
|
|
10566
|
+
"declaration": {
|
|
10567
|
+
"name": "ParameterBuilderStyles",
|
|
10568
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10569
|
+
}
|
|
10570
|
+
}
|
|
10571
|
+
]
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"kind": "javascript-module",
|
|
10575
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10576
|
+
"declarations": [
|
|
10577
|
+
{
|
|
10578
|
+
"kind": "variable",
|
|
10579
|
+
"name": "ParameterBuilderTemplate",
|
|
10580
|
+
"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`"
|
|
10581
|
+
}
|
|
10582
|
+
],
|
|
10583
|
+
"exports": [
|
|
10584
|
+
{
|
|
10585
|
+
"kind": "js",
|
|
10586
|
+
"name": "ParameterBuilderTemplate",
|
|
10587
|
+
"declaration": {
|
|
10588
|
+
"name": "ParameterBuilderTemplate",
|
|
10589
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10590
|
+
}
|
|
10591
|
+
}
|
|
10592
|
+
]
|
|
10593
|
+
},
|
|
10594
|
+
{
|
|
10595
|
+
"kind": "javascript-module",
|
|
10596
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10597
|
+
"declarations": [
|
|
10598
|
+
{
|
|
10599
|
+
"kind": "class",
|
|
10600
|
+
"description": "Parameter builder for notification templates.",
|
|
10601
|
+
"name": "ParameterBuilder",
|
|
10602
|
+
"members": [
|
|
10603
|
+
{
|
|
10604
|
+
"kind": "field",
|
|
10605
|
+
"name": "parameter",
|
|
10606
|
+
"type": {
|
|
10607
|
+
"text": "ParameterBuilderEntity"
|
|
10608
|
+
}
|
|
10609
|
+
},
|
|
10610
|
+
{
|
|
10611
|
+
"kind": "field",
|
|
10612
|
+
"name": "name",
|
|
10613
|
+
"type": {
|
|
10614
|
+
"text": "string"
|
|
10615
|
+
}
|
|
10616
|
+
},
|
|
10617
|
+
{
|
|
10618
|
+
"kind": "field",
|
|
10619
|
+
"name": "label",
|
|
10620
|
+
"type": {
|
|
10621
|
+
"text": "string"
|
|
10622
|
+
}
|
|
10623
|
+
},
|
|
10624
|
+
{
|
|
10625
|
+
"kind": "field",
|
|
10626
|
+
"name": "type",
|
|
10627
|
+
"type": {
|
|
10628
|
+
"text": "string"
|
|
10629
|
+
}
|
|
10630
|
+
},
|
|
10631
|
+
{
|
|
10632
|
+
"kind": "field",
|
|
10633
|
+
"name": "sourceType",
|
|
10634
|
+
"type": {
|
|
10635
|
+
"text": "string"
|
|
10636
|
+
}
|
|
10637
|
+
},
|
|
10638
|
+
{
|
|
10639
|
+
"kind": "field",
|
|
10640
|
+
"name": "sourceSelected",
|
|
10641
|
+
"type": {
|
|
10642
|
+
"text": "string"
|
|
10643
|
+
}
|
|
10644
|
+
},
|
|
10645
|
+
{
|
|
10646
|
+
"kind": "field",
|
|
10647
|
+
"name": "sourceTyped",
|
|
10648
|
+
"type": {
|
|
10649
|
+
"text": "string"
|
|
10650
|
+
}
|
|
10651
|
+
},
|
|
10652
|
+
{
|
|
10653
|
+
"kind": "field",
|
|
10654
|
+
"name": "sourceTextField",
|
|
10655
|
+
"type": {
|
|
10656
|
+
"text": "TextField"
|
|
10657
|
+
}
|
|
10658
|
+
},
|
|
10659
|
+
{
|
|
10660
|
+
"kind": "field",
|
|
10661
|
+
"name": "sourceSelect",
|
|
10662
|
+
"type": {
|
|
10663
|
+
"text": "Select"
|
|
10664
|
+
}
|
|
10665
|
+
},
|
|
10666
|
+
{
|
|
10667
|
+
"kind": "field",
|
|
10668
|
+
"name": "reqRepItems",
|
|
10669
|
+
"type": {
|
|
10670
|
+
"text": "array"
|
|
10671
|
+
},
|
|
10672
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10673
|
+
},
|
|
10674
|
+
{
|
|
10675
|
+
"kind": "method",
|
|
10676
|
+
"name": "deleteParameter"
|
|
10677
|
+
},
|
|
10678
|
+
{
|
|
10679
|
+
"kind": "method",
|
|
10680
|
+
"name": "parameterChanged"
|
|
10681
|
+
},
|
|
10682
|
+
{
|
|
10683
|
+
"kind": "method",
|
|
10684
|
+
"name": "nameChanged"
|
|
10685
|
+
},
|
|
10686
|
+
{
|
|
10687
|
+
"kind": "method",
|
|
10688
|
+
"name": "labelChanged"
|
|
10689
|
+
},
|
|
10690
|
+
{
|
|
10691
|
+
"kind": "method",
|
|
10692
|
+
"name": "typeChanged"
|
|
10693
|
+
},
|
|
10694
|
+
{
|
|
10695
|
+
"kind": "method",
|
|
10696
|
+
"name": "sourceTypeChanged"
|
|
10697
|
+
},
|
|
10698
|
+
{
|
|
10699
|
+
"kind": "method",
|
|
10700
|
+
"name": "sourceSelectedChanged"
|
|
10701
|
+
},
|
|
10702
|
+
{
|
|
10703
|
+
"kind": "method",
|
|
10704
|
+
"name": "sourceTypedChanged"
|
|
10705
|
+
},
|
|
10706
|
+
{
|
|
10707
|
+
"kind": "method",
|
|
10708
|
+
"name": "genericChanged",
|
|
10709
|
+
"privacy": "private",
|
|
10710
|
+
"parameters": [
|
|
10711
|
+
{
|
|
10712
|
+
"name": "parameterAttribute"
|
|
10713
|
+
},
|
|
10714
|
+
{
|
|
10715
|
+
"name": "value"
|
|
10716
|
+
}
|
|
10717
|
+
]
|
|
10718
|
+
}
|
|
10719
|
+
],
|
|
10720
|
+
"events": [
|
|
10721
|
+
{
|
|
10722
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10723
|
+
"name": "delete"
|
|
10724
|
+
},
|
|
10725
|
+
{
|
|
10726
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10727
|
+
"name": "edit"
|
|
10728
|
+
}
|
|
10729
|
+
],
|
|
10730
|
+
"attributes": [
|
|
10731
|
+
{
|
|
10732
|
+
"name": "parameter",
|
|
10733
|
+
"type": {
|
|
10734
|
+
"text": "ParameterBuilderEntity"
|
|
10735
|
+
},
|
|
10736
|
+
"fieldName": "parameter"
|
|
10737
|
+
}
|
|
10738
|
+
],
|
|
10739
|
+
"superclass": {
|
|
10740
|
+
"name": "GenesisElement",
|
|
10741
|
+
"package": "@genesislcap/web-core"
|
|
10742
|
+
},
|
|
10743
|
+
"tagName": "parameter-builder",
|
|
10744
|
+
"customElement": true
|
|
10745
|
+
}
|
|
10746
|
+
],
|
|
10747
|
+
"exports": [
|
|
10748
|
+
{
|
|
10749
|
+
"kind": "js",
|
|
10750
|
+
"name": "ParameterBuilder",
|
|
10751
|
+
"declaration": {
|
|
10752
|
+
"name": "ParameterBuilder",
|
|
10753
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10754
|
+
}
|
|
10755
|
+
},
|
|
10756
|
+
{
|
|
10757
|
+
"kind": "custom-element-definition",
|
|
10758
|
+
"name": "parameter-builder",
|
|
10759
|
+
"declaration": {
|
|
10760
|
+
"name": "ParameterBuilder",
|
|
10761
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10762
|
+
}
|
|
10763
|
+
}
|
|
10764
|
+
]
|
|
10765
|
+
},
|
|
10766
10766
|
{
|
|
10767
10767
|
"kind": "javascript-module",
|
|
10768
10768
|
"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,6 +255,17 @@ 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
|
+
|
|
258
269
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
259
270
|
React.PropsWithChildren<
|
|
260
271
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -266,16 +277,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
266
277
|
>;
|
|
267
278
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
268
279
|
|
|
269
|
-
export declare const
|
|
280
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
281
|
React.PropsWithChildren<
|
|
271
|
-
Omit<PublicOf<
|
|
282
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
272
283
|
HTMLWCProps & {
|
|
273
284
|
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
274
285
|
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
275
286
|
}
|
|
276
|
-
> & React.RefAttributes<
|
|
287
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
277
288
|
>;
|
|
278
|
-
export type
|
|
289
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
279
290
|
|
|
280
291
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
292
|
React.PropsWithChildren<
|
|
@@ -288,17 +299,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
288
299
|
>;
|
|
289
300
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
290
301
|
|
|
291
|
-
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
292
|
-
React.PropsWithChildren<
|
|
293
|
-
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
294
|
-
HTMLWCProps & {
|
|
295
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
296
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
297
|
-
}
|
|
298
|
-
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
299
|
-
>;
|
|
300
|
-
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
301
|
-
|
|
302
302
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
303
303
|
React.PropsWithChildren<
|
|
304
304
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
200
200
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
204
204
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
205
205
|
const _innerRef = React.useRef(null);
|
|
206
206
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -219,10 +219,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
226
226
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
227
227
|
const _innerRef = React.useRef(null);
|
|
228
228
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -241,10 +241,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const 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
|
-
RuleConditionGroup,
|
|
336
335
|
RuleConditionBuilder,
|
|
337
|
-
|
|
336
|
+
RuleConditionGroup,
|
|
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 RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
202
202
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
203
203
|
const _innerRef = React.useRef(null);
|
|
204
204
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -217,10 +217,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
224
224
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
225
225
|
const _innerRef = React.useRef(null);
|
|
226
226
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -239,10 +239,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const 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.46.
|
|
4
|
+
"version": "15.46.3-FUI-0-form-export.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.46.
|
|
84
|
-
"@genesislcap/eslint-config": "15.46.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.46.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.46.
|
|
87
|
-
"@genesislcap/genx": "15.46.
|
|
88
|
-
"@genesislcap/prettier-config": "15.46.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.46.
|
|
90
|
-
"@genesislcap/vite-builder": "15.46.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.46.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.46.3-FUI-0-form-export.1",
|
|
84
|
+
"@genesislcap/eslint-config": "15.46.3-FUI-0-form-export.1",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.46.3-FUI-0-form-export.1",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.46.3-FUI-0-form-export.1",
|
|
87
|
+
"@genesislcap/genx": "15.46.3-FUI-0-form-export.1",
|
|
88
|
+
"@genesislcap/prettier-config": "15.46.3-FUI-0-form-export.1",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.46.3-FUI-0-form-export.1",
|
|
90
|
+
"@genesislcap/vite-builder": "15.46.3-FUI-0-form-export.1",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.46.3-FUI-0-form-export.1",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.46.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.46.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.46.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.46.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.46.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.46.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.46.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.46.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.46.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.46.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.46.
|
|
106
|
-
"@genesislcap/web-core": "15.46.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.46.3-FUI-0-form-export.1",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.46.3-FUI-0-form-export.1",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.46.3-FUI-0-form-export.1",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.46.3-FUI-0-form-export.1",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.46.3-FUI-0-form-export.1",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.46.3-FUI-0-form-export.1",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.46.3-FUI-0-form-export.1",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.46.3-FUI-0-form-export.1",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.46.3-FUI-0-form-export.1",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.46.3-FUI-0-form-export.1",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.46.3-FUI-0-form-export.1",
|
|
106
|
+
"@genesislcap/web-core": "15.46.3-FUI-0-form-export.1",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|