@genesislcap/pbc-notify-ui 15.19.6 → 15.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +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,27 +479,6 @@
|
|
|
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
|
-
},
|
|
503
482
|
{
|
|
504
483
|
"kind": "javascript-module",
|
|
505
484
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -821,6 +800,27 @@
|
|
|
821
800
|
}
|
|
822
801
|
]
|
|
823
802
|
},
|
|
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",
|
|
@@ -9046,164 +9046,6 @@
|
|
|
9046
9046
|
}
|
|
9047
9047
|
]
|
|
9048
9048
|
},
|
|
9049
|
-
{
|
|
9050
|
-
"kind": "javascript-module",
|
|
9051
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
9052
|
-
"declarations": [
|
|
9053
|
-
{
|
|
9054
|
-
"kind": "variable",
|
|
9055
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9056
|
-
"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`"
|
|
9057
|
-
}
|
|
9058
|
-
],
|
|
9059
|
-
"exports": [
|
|
9060
|
-
{
|
|
9061
|
-
"kind": "js",
|
|
9062
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9063
|
-
"declaration": {
|
|
9064
|
-
"name": "TemplateConditionGroupTemplate",
|
|
9065
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
9066
|
-
}
|
|
9067
|
-
}
|
|
9068
|
-
]
|
|
9069
|
-
},
|
|
9070
|
-
{
|
|
9071
|
-
"kind": "javascript-module",
|
|
9072
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
9073
|
-
"declarations": [
|
|
9074
|
-
{
|
|
9075
|
-
"kind": "class",
|
|
9076
|
-
"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.",
|
|
9077
|
-
"name": "TemplateConditionGroup",
|
|
9078
|
-
"members": [
|
|
9079
|
-
{
|
|
9080
|
-
"kind": "field",
|
|
9081
|
-
"name": "node",
|
|
9082
|
-
"type": {
|
|
9083
|
-
"text": "ConditionGroupEntity"
|
|
9084
|
-
}
|
|
9085
|
-
},
|
|
9086
|
-
{
|
|
9087
|
-
"kind": "field",
|
|
9088
|
-
"name": "fields",
|
|
9089
|
-
"type": {
|
|
9090
|
-
"text": "Field[]"
|
|
9091
|
-
},
|
|
9092
|
-
"default": "[]"
|
|
9093
|
-
},
|
|
9094
|
-
{
|
|
9095
|
-
"kind": "field",
|
|
9096
|
-
"name": "parameters",
|
|
9097
|
-
"type": {
|
|
9098
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
9099
|
-
},
|
|
9100
|
-
"default": "[]"
|
|
9101
|
-
},
|
|
9102
|
-
{
|
|
9103
|
-
"kind": "field",
|
|
9104
|
-
"name": "isFirst",
|
|
9105
|
-
"type": {
|
|
9106
|
-
"text": "boolean"
|
|
9107
|
-
},
|
|
9108
|
-
"default": "false"
|
|
9109
|
-
},
|
|
9110
|
-
{
|
|
9111
|
-
"kind": "field",
|
|
9112
|
-
"name": "joinOperator",
|
|
9113
|
-
"type": {
|
|
9114
|
-
"text": "string"
|
|
9115
|
-
}
|
|
9116
|
-
},
|
|
9117
|
-
{
|
|
9118
|
-
"kind": "field",
|
|
9119
|
-
"name": "groupChildren",
|
|
9120
|
-
"type": {
|
|
9121
|
-
"text": "ConditionNode[]"
|
|
9122
|
-
},
|
|
9123
|
-
"default": "[]"
|
|
9124
|
-
},
|
|
9125
|
-
{
|
|
9126
|
-
"kind": "method",
|
|
9127
|
-
"name": "nodeChanged"
|
|
9128
|
-
},
|
|
9129
|
-
{
|
|
9130
|
-
"kind": "method",
|
|
9131
|
-
"name": "joinOperatorChanged"
|
|
9132
|
-
},
|
|
9133
|
-
{
|
|
9134
|
-
"kind": "method",
|
|
9135
|
-
"name": "newCondition"
|
|
9136
|
-
},
|
|
9137
|
-
{
|
|
9138
|
-
"kind": "method",
|
|
9139
|
-
"name": "newGroup"
|
|
9140
|
-
},
|
|
9141
|
-
{
|
|
9142
|
-
"kind": "method",
|
|
9143
|
-
"name": "editChild",
|
|
9144
|
-
"parameters": [
|
|
9145
|
-
{
|
|
9146
|
-
"name": "_editedChild",
|
|
9147
|
-
"type": {
|
|
9148
|
-
"text": "ConditionNode"
|
|
9149
|
-
}
|
|
9150
|
-
}
|
|
9151
|
-
]
|
|
9152
|
-
},
|
|
9153
|
-
{
|
|
9154
|
-
"kind": "method",
|
|
9155
|
-
"name": "deleteChild",
|
|
9156
|
-
"parameters": [
|
|
9157
|
-
{
|
|
9158
|
-
"name": "deletedChild",
|
|
9159
|
-
"type": {
|
|
9160
|
-
"text": "ConditionNode"
|
|
9161
|
-
}
|
|
9162
|
-
}
|
|
9163
|
-
]
|
|
9164
|
-
},
|
|
9165
|
-
{
|
|
9166
|
-
"kind": "method",
|
|
9167
|
-
"name": "deleteSelf"
|
|
9168
|
-
}
|
|
9169
|
-
],
|
|
9170
|
-
"events": [
|
|
9171
|
-
{
|
|
9172
|
-
"description": "Fired when this whole group should be removed",
|
|
9173
|
-
"name": "delete"
|
|
9174
|
-
},
|
|
9175
|
-
{
|
|
9176
|
-
"description": "Fired when anything inside this group changes",
|
|
9177
|
-
"name": "edit"
|
|
9178
|
-
}
|
|
9179
|
-
],
|
|
9180
|
-
"superclass": {
|
|
9181
|
-
"name": "GenesisElement",
|
|
9182
|
-
"package": "@genesislcap/web-core"
|
|
9183
|
-
},
|
|
9184
|
-
"tagName": "template-condition-group",
|
|
9185
|
-
"customElement": true
|
|
9186
|
-
}
|
|
9187
|
-
],
|
|
9188
|
-
"exports": [
|
|
9189
|
-
{
|
|
9190
|
-
"kind": "js",
|
|
9191
|
-
"name": "TemplateConditionGroup",
|
|
9192
|
-
"declaration": {
|
|
9193
|
-
"name": "TemplateConditionGroup",
|
|
9194
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9195
|
-
}
|
|
9196
|
-
},
|
|
9197
|
-
{
|
|
9198
|
-
"kind": "custom-element-definition",
|
|
9199
|
-
"name": "template-condition-group",
|
|
9200
|
-
"declaration": {
|
|
9201
|
-
"name": "TemplateConditionGroup",
|
|
9202
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
9203
|
-
}
|
|
9204
|
-
}
|
|
9205
|
-
]
|
|
9206
|
-
},
|
|
9207
9049
|
{
|
|
9208
9050
|
"kind": "javascript-module",
|
|
9209
9051
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.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 TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
288
288
|
>;
|
|
289
289
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
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 ParameterBuilder: React.ForwardRefExoticComponent<
|
|
303
292
|
React.PropsWithChildren<
|
|
304
293
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
@@ -310,4 +299,15 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
310
299
|
>;
|
|
311
300
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
266
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,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(ParameterBuilderWC) ?? 'parameter-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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
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
|
RuleConditionGroup,
|
|
336
336
|
RuleConditionBuilder,
|
|
337
337
|
TemplateConditionBuilder,
|
|
338
|
-
TemplateConditionGroup,
|
|
339
338
|
ParameterBuilder,
|
|
339
|
+
TemplateConditionGroup,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -264,7 +264,7 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
264
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,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(ParameterBuilderWC) ?? 'parameter-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 ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
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.
|
|
4
|
+
"version": "15.20.0",
|
|
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.
|
|
85
|
-
"@genesislcap/eslint-config": "15.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.
|
|
88
|
-
"@genesislcap/genx": "15.
|
|
89
|
-
"@genesislcap/prettier-config": "15.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.
|
|
91
|
-
"@genesislcap/vite-builder": "15.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.20.0",
|
|
85
|
+
"@genesislcap/eslint-config": "15.20.0",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.20.0",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.20.0",
|
|
88
|
+
"@genesislcap/genx": "15.20.0",
|
|
89
|
+
"@genesislcap/prettier-config": "15.20.0",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.20.0",
|
|
91
|
+
"@genesislcap/vite-builder": "15.20.0",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.20.0",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.
|
|
107
|
-
"@genesislcap/web-core": "15.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.20.0",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.20.0",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.20.0",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.20.0",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.20.0",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.20.0",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.20.0",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.20.0",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.20.0",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.20.0",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.20.0",
|
|
107
|
+
"@genesislcap/web-core": "15.20.0",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|