@genesislcap/pbc-notify-ui 15.23.0 → 15.23.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 +179 -179
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +22 -22
|
@@ -479,6 +479,27 @@
|
|
|
479
479
|
}
|
|
480
480
|
]
|
|
481
481
|
},
|
|
482
|
+
{
|
|
483
|
+
"kind": "javascript-module",
|
|
484
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
485
|
+
"declarations": [
|
|
486
|
+
{
|
|
487
|
+
"kind": "variable",
|
|
488
|
+
"name": "scrollbarStyles",
|
|
489
|
+
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"exports": [
|
|
493
|
+
{
|
|
494
|
+
"kind": "js",
|
|
495
|
+
"name": "scrollbarStyles",
|
|
496
|
+
"declaration": {
|
|
497
|
+
"name": "scrollbarStyles",
|
|
498
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
]
|
|
502
|
+
},
|
|
482
503
|
{
|
|
483
504
|
"kind": "javascript-module",
|
|
484
505
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -800,27 +821,6 @@
|
|
|
800
821
|
}
|
|
801
822
|
]
|
|
802
823
|
},
|
|
803
|
-
{
|
|
804
|
-
"kind": "javascript-module",
|
|
805
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
806
|
-
"declarations": [
|
|
807
|
-
{
|
|
808
|
-
"kind": "variable",
|
|
809
|
-
"name": "scrollbarStyles",
|
|
810
|
-
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
811
|
-
}
|
|
812
|
-
],
|
|
813
|
-
"exports": [
|
|
814
|
-
{
|
|
815
|
-
"kind": "js",
|
|
816
|
-
"name": "scrollbarStyles",
|
|
817
|
-
"declaration": {
|
|
818
|
-
"name": "scrollbarStyles",
|
|
819
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
820
|
-
}
|
|
821
|
-
}
|
|
822
|
-
]
|
|
823
|
-
},
|
|
824
824
|
{
|
|
825
825
|
"kind": "javascript-module",
|
|
826
826
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -8993,164 +8993,6 @@
|
|
|
8993
8993
|
}
|
|
8994
8994
|
]
|
|
8995
8995
|
},
|
|
8996
|
-
{
|
|
8997
|
-
"kind": "javascript-module",
|
|
8998
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
8999
|
-
"declarations": [
|
|
9000
|
-
{
|
|
9001
|
-
"kind": "variable",
|
|
9002
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9003
|
-
"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`"
|
|
9004
|
-
}
|
|
9005
|
-
],
|
|
9006
|
-
"exports": [
|
|
9007
|
-
{
|
|
9008
|
-
"kind": "js",
|
|
9009
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9010
|
-
"declaration": {
|
|
9011
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9012
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
9013
|
-
}
|
|
9014
|
-
}
|
|
9015
|
-
]
|
|
9016
|
-
},
|
|
9017
|
-
{
|
|
9018
|
-
"kind": "javascript-module",
|
|
9019
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
9020
|
-
"declarations": [
|
|
9021
|
-
{
|
|
9022
|
-
"kind": "class",
|
|
9023
|
-
"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.",
|
|
9024
|
-
"name": "TemplateConditionGroup",
|
|
9025
|
-
"members": [
|
|
9026
|
-
{
|
|
9027
|
-
"kind": "field",
|
|
9028
|
-
"name": "node",
|
|
9029
|
-
"type": {
|
|
9030
|
-
"text": "ConditionGroupEntity"
|
|
9031
|
-
}
|
|
9032
|
-
},
|
|
9033
|
-
{
|
|
9034
|
-
"kind": "field",
|
|
9035
|
-
"name": "fields",
|
|
9036
|
-
"type": {
|
|
9037
|
-
"text": "Field[]"
|
|
9038
|
-
},
|
|
9039
|
-
"default": "[]"
|
|
9040
|
-
},
|
|
9041
|
-
{
|
|
9042
|
-
"kind": "field",
|
|
9043
|
-
"name": "parameters",
|
|
9044
|
-
"type": {
|
|
9045
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
9046
|
-
},
|
|
9047
|
-
"default": "[]"
|
|
9048
|
-
},
|
|
9049
|
-
{
|
|
9050
|
-
"kind": "field",
|
|
9051
|
-
"name": "isFirst",
|
|
9052
|
-
"type": {
|
|
9053
|
-
"text": "boolean"
|
|
9054
|
-
},
|
|
9055
|
-
"default": "false"
|
|
9056
|
-
},
|
|
9057
|
-
{
|
|
9058
|
-
"kind": "field",
|
|
9059
|
-
"name": "joinOperator",
|
|
9060
|
-
"type": {
|
|
9061
|
-
"text": "string"
|
|
9062
|
-
}
|
|
9063
|
-
},
|
|
9064
|
-
{
|
|
9065
|
-
"kind": "field",
|
|
9066
|
-
"name": "groupChildren",
|
|
9067
|
-
"type": {
|
|
9068
|
-
"text": "ConditionNode[]"
|
|
9069
|
-
},
|
|
9070
|
-
"default": "[]"
|
|
9071
|
-
},
|
|
9072
|
-
{
|
|
9073
|
-
"kind": "method",
|
|
9074
|
-
"name": "nodeChanged"
|
|
9075
|
-
},
|
|
9076
|
-
{
|
|
9077
|
-
"kind": "method",
|
|
9078
|
-
"name": "joinOperatorChanged"
|
|
9079
|
-
},
|
|
9080
|
-
{
|
|
9081
|
-
"kind": "method",
|
|
9082
|
-
"name": "newCondition"
|
|
9083
|
-
},
|
|
9084
|
-
{
|
|
9085
|
-
"kind": "method",
|
|
9086
|
-
"name": "newGroup"
|
|
9087
|
-
},
|
|
9088
|
-
{
|
|
9089
|
-
"kind": "method",
|
|
9090
|
-
"name": "editChild",
|
|
9091
|
-
"parameters": [
|
|
9092
|
-
{
|
|
9093
|
-
"name": "_editedChild",
|
|
9094
|
-
"type": {
|
|
9095
|
-
"text": "ConditionNode"
|
|
9096
|
-
}
|
|
9097
|
-
}
|
|
9098
|
-
]
|
|
9099
|
-
},
|
|
9100
|
-
{
|
|
9101
|
-
"kind": "method",
|
|
9102
|
-
"name": "deleteChild",
|
|
9103
|
-
"parameters": [
|
|
9104
|
-
{
|
|
9105
|
-
"name": "deletedChild",
|
|
9106
|
-
"type": {
|
|
9107
|
-
"text": "ConditionNode"
|
|
9108
|
-
}
|
|
9109
|
-
}
|
|
9110
|
-
]
|
|
9111
|
-
},
|
|
9112
|
-
{
|
|
9113
|
-
"kind": "method",
|
|
9114
|
-
"name": "deleteSelf"
|
|
9115
|
-
}
|
|
9116
|
-
],
|
|
9117
|
-
"events": [
|
|
9118
|
-
{
|
|
9119
|
-
"description": "Fired when this whole group should be removed",
|
|
9120
|
-
"name": "delete"
|
|
9121
|
-
},
|
|
9122
|
-
{
|
|
9123
|
-
"description": "Fired when anything inside this group changes",
|
|
9124
|
-
"name": "edit"
|
|
9125
|
-
}
|
|
9126
|
-
],
|
|
9127
|
-
"superclass": {
|
|
9128
|
-
"name": "GenesisElement",
|
|
9129
|
-
"package": "@genesislcap/web-core"
|
|
9130
|
-
},
|
|
9131
|
-
"tagName": "template-condition-group",
|
|
9132
|
-
"customElement": true
|
|
9133
|
-
}
|
|
9134
|
-
],
|
|
9135
|
-
"exports": [
|
|
9136
|
-
{
|
|
9137
|
-
"kind": "js",
|
|
9138
|
-
"name": "TemplateConditionGroup",
|
|
9139
|
-
"declaration": {
|
|
9140
|
-
"name": "TemplateConditionGroup",
|
|
9141
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9142
|
-
}
|
|
9143
|
-
},
|
|
9144
|
-
{
|
|
9145
|
-
"kind": "custom-element-definition",
|
|
9146
|
-
"name": "template-condition-group",
|
|
9147
|
-
"declaration": {
|
|
9148
|
-
"name": "TemplateConditionGroup",
|
|
9149
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9150
|
-
}
|
|
9151
|
-
}
|
|
9152
|
-
]
|
|
9153
|
-
},
|
|
9154
8996
|
{
|
|
9155
8997
|
"kind": "javascript-module",
|
|
9156
8998
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -9417,6 +9259,164 @@
|
|
|
9417
9259
|
}
|
|
9418
9260
|
}
|
|
9419
9261
|
]
|
|
9262
|
+
},
|
|
9263
|
+
{
|
|
9264
|
+
"kind": "javascript-module",
|
|
9265
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
9266
|
+
"declarations": [
|
|
9267
|
+
{
|
|
9268
|
+
"kind": "variable",
|
|
9269
|
+
"name": "TemplateConditionGroupTemplate",
|
|
9270
|
+
"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`"
|
|
9271
|
+
}
|
|
9272
|
+
],
|
|
9273
|
+
"exports": [
|
|
9274
|
+
{
|
|
9275
|
+
"kind": "js",
|
|
9276
|
+
"name": "TemplateConditionGroupTemplate",
|
|
9277
|
+
"declaration": {
|
|
9278
|
+
"name": "TemplateConditionGroupTemplate",
|
|
9279
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
9280
|
+
}
|
|
9281
|
+
}
|
|
9282
|
+
]
|
|
9283
|
+
},
|
|
9284
|
+
{
|
|
9285
|
+
"kind": "javascript-module",
|
|
9286
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
9287
|
+
"declarations": [
|
|
9288
|
+
{
|
|
9289
|
+
"kind": "class",
|
|
9290
|
+
"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.",
|
|
9291
|
+
"name": "TemplateConditionGroup",
|
|
9292
|
+
"members": [
|
|
9293
|
+
{
|
|
9294
|
+
"kind": "field",
|
|
9295
|
+
"name": "node",
|
|
9296
|
+
"type": {
|
|
9297
|
+
"text": "ConditionGroupEntity"
|
|
9298
|
+
}
|
|
9299
|
+
},
|
|
9300
|
+
{
|
|
9301
|
+
"kind": "field",
|
|
9302
|
+
"name": "fields",
|
|
9303
|
+
"type": {
|
|
9304
|
+
"text": "Field[]"
|
|
9305
|
+
},
|
|
9306
|
+
"default": "[]"
|
|
9307
|
+
},
|
|
9308
|
+
{
|
|
9309
|
+
"kind": "field",
|
|
9310
|
+
"name": "parameters",
|
|
9311
|
+
"type": {
|
|
9312
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
9313
|
+
},
|
|
9314
|
+
"default": "[]"
|
|
9315
|
+
},
|
|
9316
|
+
{
|
|
9317
|
+
"kind": "field",
|
|
9318
|
+
"name": "isFirst",
|
|
9319
|
+
"type": {
|
|
9320
|
+
"text": "boolean"
|
|
9321
|
+
},
|
|
9322
|
+
"default": "false"
|
|
9323
|
+
},
|
|
9324
|
+
{
|
|
9325
|
+
"kind": "field",
|
|
9326
|
+
"name": "joinOperator",
|
|
9327
|
+
"type": {
|
|
9328
|
+
"text": "string"
|
|
9329
|
+
}
|
|
9330
|
+
},
|
|
9331
|
+
{
|
|
9332
|
+
"kind": "field",
|
|
9333
|
+
"name": "groupChildren",
|
|
9334
|
+
"type": {
|
|
9335
|
+
"text": "ConditionNode[]"
|
|
9336
|
+
},
|
|
9337
|
+
"default": "[]"
|
|
9338
|
+
},
|
|
9339
|
+
{
|
|
9340
|
+
"kind": "method",
|
|
9341
|
+
"name": "nodeChanged"
|
|
9342
|
+
},
|
|
9343
|
+
{
|
|
9344
|
+
"kind": "method",
|
|
9345
|
+
"name": "joinOperatorChanged"
|
|
9346
|
+
},
|
|
9347
|
+
{
|
|
9348
|
+
"kind": "method",
|
|
9349
|
+
"name": "newCondition"
|
|
9350
|
+
},
|
|
9351
|
+
{
|
|
9352
|
+
"kind": "method",
|
|
9353
|
+
"name": "newGroup"
|
|
9354
|
+
},
|
|
9355
|
+
{
|
|
9356
|
+
"kind": "method",
|
|
9357
|
+
"name": "editChild",
|
|
9358
|
+
"parameters": [
|
|
9359
|
+
{
|
|
9360
|
+
"name": "_editedChild",
|
|
9361
|
+
"type": {
|
|
9362
|
+
"text": "ConditionNode"
|
|
9363
|
+
}
|
|
9364
|
+
}
|
|
9365
|
+
]
|
|
9366
|
+
},
|
|
9367
|
+
{
|
|
9368
|
+
"kind": "method",
|
|
9369
|
+
"name": "deleteChild",
|
|
9370
|
+
"parameters": [
|
|
9371
|
+
{
|
|
9372
|
+
"name": "deletedChild",
|
|
9373
|
+
"type": {
|
|
9374
|
+
"text": "ConditionNode"
|
|
9375
|
+
}
|
|
9376
|
+
}
|
|
9377
|
+
]
|
|
9378
|
+
},
|
|
9379
|
+
{
|
|
9380
|
+
"kind": "method",
|
|
9381
|
+
"name": "deleteSelf"
|
|
9382
|
+
}
|
|
9383
|
+
],
|
|
9384
|
+
"events": [
|
|
9385
|
+
{
|
|
9386
|
+
"description": "Fired when this whole group should be removed",
|
|
9387
|
+
"name": "delete"
|
|
9388
|
+
},
|
|
9389
|
+
{
|
|
9390
|
+
"description": "Fired when anything inside this group changes",
|
|
9391
|
+
"name": "edit"
|
|
9392
|
+
}
|
|
9393
|
+
],
|
|
9394
|
+
"superclass": {
|
|
9395
|
+
"name": "GenesisElement",
|
|
9396
|
+
"package": "@genesislcap/web-core"
|
|
9397
|
+
},
|
|
9398
|
+
"tagName": "template-condition-group",
|
|
9399
|
+
"customElement": true
|
|
9400
|
+
}
|
|
9401
|
+
],
|
|
9402
|
+
"exports": [
|
|
9403
|
+
{
|
|
9404
|
+
"kind": "js",
|
|
9405
|
+
"name": "TemplateConditionGroup",
|
|
9406
|
+
"declaration": {
|
|
9407
|
+
"name": "TemplateConditionGroup",
|
|
9408
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9409
|
+
}
|
|
9410
|
+
},
|
|
9411
|
+
{
|
|
9412
|
+
"kind": "custom-element-definition",
|
|
9413
|
+
"name": "template-condition-group",
|
|
9414
|
+
"declaration": {
|
|
9415
|
+
"name": "TemplateConditionGroup",
|
|
9416
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9417
|
+
}
|
|
9418
|
+
}
|
|
9419
|
+
]
|
|
9420
9420
|
}
|
|
9421
9421
|
]
|
|
9422
9422
|
}
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -288,17 +288,6 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
288
288
|
>;
|
|
289
289
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
290
290
|
|
|
291
|
-
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
292
|
-
React.PropsWithChildren<
|
|
293
|
-
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
294
|
-
HTMLWCProps & {
|
|
295
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
296
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
297
|
-
}
|
|
298
|
-
> & React.RefAttributes<TemplateConditionGroupWC>
|
|
299
|
-
>;
|
|
300
|
-
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
301
|
-
|
|
302
291
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
303
292
|
React.PropsWithChildren<
|
|
304
293
|
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -310,4 +299,15 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
310
299
|
>;
|
|
311
300
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
312
301
|
|
|
302
|
+
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
303
|
+
React.PropsWithChildren<
|
|
304
|
+
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
|
305
|
+
HTMLWCProps & {
|
|
306
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
307
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
308
|
+
}
|
|
309
|
+
> & React.RefAttributes<TemplateConditionGroupWC>
|
|
310
|
+
>;
|
|
311
|
+
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
312
|
+
|
|
313
313
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
270
270
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
271
271
|
const _innerRef = React.useRef(null);
|
|
272
272
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -285,10 +285,10 @@ const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(
|
|
|
285
285
|
el.removeEventListener('edit', _onEditFn);
|
|
286
286
|
};
|
|
287
287
|
}, []);
|
|
288
|
-
return React.createElement(customElements.getName(
|
|
288
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
289
289
|
});
|
|
290
290
|
|
|
291
|
-
const
|
|
291
|
+
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
307
307
|
el.removeEventListener('edit', _onEditFn);
|
|
308
308
|
};
|
|
309
309
|
}, []);
|
|
310
|
-
return React.createElement(customElements.getName(
|
|
310
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
311
311
|
});
|
|
312
312
|
|
|
313
313
|
module.exports = {
|
|
@@ -335,6 +335,6 @@ module.exports = {
|
|
|
335
335
|
RuleConditionBuilder,
|
|
336
336
|
RuleConditionGroup,
|
|
337
337
|
ParameterBuilder,
|
|
338
|
-
TemplateConditionGroup,
|
|
339
338
|
TemplateConditionBuilder,
|
|
339
|
+
TemplateConditionGroup,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
268
268
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
269
269
|
const _innerRef = React.useRef(null);
|
|
270
270
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -283,10 +283,10 @@ export const TemplateConditionGroup = React.forwardRef(function TemplateConditio
|
|
|
283
283
|
el.removeEventListener('edit', _onEditFn);
|
|
284
284
|
};
|
|
285
285
|
}, []);
|
|
286
|
-
return React.createElement(customElements.getName(
|
|
286
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
export const
|
|
289
|
+
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(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 TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
305
305
|
el.removeEventListener('edit', _onEditFn);
|
|
306
306
|
};
|
|
307
307
|
}, []);
|
|
308
|
-
return React.createElement(customElements.getName(
|
|
308
|
+
return React.createElement(customElements.getName(TemplateConditionGroupWC) ?? 'template-condition-group', { ...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.23.
|
|
4
|
+
"version": "15.23.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.23.
|
|
85
|
-
"@genesislcap/eslint-config": "15.23.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.23.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.23.
|
|
88
|
-
"@genesislcap/genx": "15.23.
|
|
89
|
-
"@genesislcap/prettier-config": "15.23.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.23.
|
|
91
|
-
"@genesislcap/vite-builder": "15.23.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.23.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.23.1",
|
|
85
|
+
"@genesislcap/eslint-config": "15.23.1",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.23.1",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.23.1",
|
|
88
|
+
"@genesislcap/genx": "15.23.1",
|
|
89
|
+
"@genesislcap/prettier-config": "15.23.1",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.23.1",
|
|
91
|
+
"@genesislcap/vite-builder": "15.23.1",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.23.1",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.23.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.23.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.23.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.23.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.23.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.23.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.23.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.23.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.23.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.23.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.23.
|
|
107
|
-
"@genesislcap/web-core": "15.23.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.23.1",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.23.1",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.23.1",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.23.1",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.23.1",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.23.1",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.23.1",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.23.1",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.23.1",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.23.1",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.23.1",
|
|
107
|
+
"@genesislcap/web-core": "15.23.1",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|