@genesislcap/pbc-notify-ui 15.27.1 → 15.28.1-FUI-0.6
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 +171 -171
- 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",
|
|
@@ -8345,156 +8345,6 @@
|
|
|
8345
8345
|
}
|
|
8346
8346
|
]
|
|
8347
8347
|
},
|
|
8348
|
-
{
|
|
8349
|
-
"kind": "javascript-module",
|
|
8350
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
8351
|
-
"declarations": [
|
|
8352
|
-
{
|
|
8353
|
-
"kind": "variable",
|
|
8354
|
-
"name": "RuleConditionGroupTemplate",
|
|
8355
|
-
"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`"
|
|
8356
|
-
}
|
|
8357
|
-
],
|
|
8358
|
-
"exports": [
|
|
8359
|
-
{
|
|
8360
|
-
"kind": "js",
|
|
8361
|
-
"name": "RuleConditionGroupTemplate",
|
|
8362
|
-
"declaration": {
|
|
8363
|
-
"name": "RuleConditionGroupTemplate",
|
|
8364
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
8365
|
-
}
|
|
8366
|
-
}
|
|
8367
|
-
]
|
|
8368
|
-
},
|
|
8369
|
-
{
|
|
8370
|
-
"kind": "javascript-module",
|
|
8371
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
8372
|
-
"declarations": [
|
|
8373
|
-
{
|
|
8374
|
-
"kind": "class",
|
|
8375
|
-
"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.",
|
|
8376
|
-
"name": "RuleConditionGroup",
|
|
8377
|
-
"members": [
|
|
8378
|
-
{
|
|
8379
|
-
"kind": "field",
|
|
8380
|
-
"name": "node",
|
|
8381
|
-
"type": {
|
|
8382
|
-
"text": "ConditionGroupEntity"
|
|
8383
|
-
}
|
|
8384
|
-
},
|
|
8385
|
-
{
|
|
8386
|
-
"kind": "field",
|
|
8387
|
-
"name": "fields",
|
|
8388
|
-
"type": {
|
|
8389
|
-
"text": "Field[]"
|
|
8390
|
-
},
|
|
8391
|
-
"default": "[]"
|
|
8392
|
-
},
|
|
8393
|
-
{
|
|
8394
|
-
"kind": "field",
|
|
8395
|
-
"name": "isFirst",
|
|
8396
|
-
"type": {
|
|
8397
|
-
"text": "boolean"
|
|
8398
|
-
},
|
|
8399
|
-
"default": "false"
|
|
8400
|
-
},
|
|
8401
|
-
{
|
|
8402
|
-
"kind": "field",
|
|
8403
|
-
"name": "joinOperator",
|
|
8404
|
-
"type": {
|
|
8405
|
-
"text": "string"
|
|
8406
|
-
}
|
|
8407
|
-
},
|
|
8408
|
-
{
|
|
8409
|
-
"kind": "field",
|
|
8410
|
-
"name": "groupChildren",
|
|
8411
|
-
"type": {
|
|
8412
|
-
"text": "ConditionNode[]"
|
|
8413
|
-
},
|
|
8414
|
-
"default": "[]"
|
|
8415
|
-
},
|
|
8416
|
-
{
|
|
8417
|
-
"kind": "method",
|
|
8418
|
-
"name": "nodeChanged"
|
|
8419
|
-
},
|
|
8420
|
-
{
|
|
8421
|
-
"kind": "method",
|
|
8422
|
-
"name": "joinOperatorChanged"
|
|
8423
|
-
},
|
|
8424
|
-
{
|
|
8425
|
-
"kind": "method",
|
|
8426
|
-
"name": "newCondition"
|
|
8427
|
-
},
|
|
8428
|
-
{
|
|
8429
|
-
"kind": "method",
|
|
8430
|
-
"name": "newGroup"
|
|
8431
|
-
},
|
|
8432
|
-
{
|
|
8433
|
-
"kind": "method",
|
|
8434
|
-
"name": "editChild",
|
|
8435
|
-
"parameters": [
|
|
8436
|
-
{
|
|
8437
|
-
"name": "_editedChild",
|
|
8438
|
-
"type": {
|
|
8439
|
-
"text": "ConditionNode"
|
|
8440
|
-
}
|
|
8441
|
-
}
|
|
8442
|
-
]
|
|
8443
|
-
},
|
|
8444
|
-
{
|
|
8445
|
-
"kind": "method",
|
|
8446
|
-
"name": "deleteChild",
|
|
8447
|
-
"parameters": [
|
|
8448
|
-
{
|
|
8449
|
-
"name": "deletedChild",
|
|
8450
|
-
"type": {
|
|
8451
|
-
"text": "ConditionNode"
|
|
8452
|
-
}
|
|
8453
|
-
}
|
|
8454
|
-
]
|
|
8455
|
-
},
|
|
8456
|
-
{
|
|
8457
|
-
"kind": "method",
|
|
8458
|
-
"name": "deleteSelf"
|
|
8459
|
-
}
|
|
8460
|
-
],
|
|
8461
|
-
"events": [
|
|
8462
|
-
{
|
|
8463
|
-
"description": "Fired when this whole group should be removed",
|
|
8464
|
-
"name": "delete"
|
|
8465
|
-
},
|
|
8466
|
-
{
|
|
8467
|
-
"description": "Fired when anything inside this group changes",
|
|
8468
|
-
"name": "edit"
|
|
8469
|
-
}
|
|
8470
|
-
],
|
|
8471
|
-
"superclass": {
|
|
8472
|
-
"name": "GenesisElement",
|
|
8473
|
-
"package": "@genesislcap/web-core"
|
|
8474
|
-
},
|
|
8475
|
-
"tagName": "rule-condition-group",
|
|
8476
|
-
"customElement": true
|
|
8477
|
-
}
|
|
8478
|
-
],
|
|
8479
|
-
"exports": [
|
|
8480
|
-
{
|
|
8481
|
-
"kind": "js",
|
|
8482
|
-
"name": "RuleConditionGroup",
|
|
8483
|
-
"declaration": {
|
|
8484
|
-
"name": "RuleConditionGroup",
|
|
8485
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8486
|
-
}
|
|
8487
|
-
},
|
|
8488
|
-
{
|
|
8489
|
-
"kind": "custom-element-definition",
|
|
8490
|
-
"name": "rule-condition-group",
|
|
8491
|
-
"declaration": {
|
|
8492
|
-
"name": "RuleConditionGroup",
|
|
8493
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8494
|
-
}
|
|
8495
|
-
}
|
|
8496
|
-
]
|
|
8497
|
-
},
|
|
8498
8348
|
{
|
|
8499
8349
|
"kind": "javascript-module",
|
|
8500
8350
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -8779,6 +8629,156 @@
|
|
|
8779
8629
|
"declarations": [],
|
|
8780
8630
|
"exports": []
|
|
8781
8631
|
},
|
|
8632
|
+
{
|
|
8633
|
+
"kind": "javascript-module",
|
|
8634
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
8635
|
+
"declarations": [
|
|
8636
|
+
{
|
|
8637
|
+
"kind": "variable",
|
|
8638
|
+
"name": "RuleConditionGroupTemplate",
|
|
8639
|
+
"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`"
|
|
8640
|
+
}
|
|
8641
|
+
],
|
|
8642
|
+
"exports": [
|
|
8643
|
+
{
|
|
8644
|
+
"kind": "js",
|
|
8645
|
+
"name": "RuleConditionGroupTemplate",
|
|
8646
|
+
"declaration": {
|
|
8647
|
+
"name": "RuleConditionGroupTemplate",
|
|
8648
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
8649
|
+
}
|
|
8650
|
+
}
|
|
8651
|
+
]
|
|
8652
|
+
},
|
|
8653
|
+
{
|
|
8654
|
+
"kind": "javascript-module",
|
|
8655
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
8656
|
+
"declarations": [
|
|
8657
|
+
{
|
|
8658
|
+
"kind": "class",
|
|
8659
|
+
"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.",
|
|
8660
|
+
"name": "RuleConditionGroup",
|
|
8661
|
+
"members": [
|
|
8662
|
+
{
|
|
8663
|
+
"kind": "field",
|
|
8664
|
+
"name": "node",
|
|
8665
|
+
"type": {
|
|
8666
|
+
"text": "ConditionGroupEntity"
|
|
8667
|
+
}
|
|
8668
|
+
},
|
|
8669
|
+
{
|
|
8670
|
+
"kind": "field",
|
|
8671
|
+
"name": "fields",
|
|
8672
|
+
"type": {
|
|
8673
|
+
"text": "Field[]"
|
|
8674
|
+
},
|
|
8675
|
+
"default": "[]"
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
"kind": "field",
|
|
8679
|
+
"name": "isFirst",
|
|
8680
|
+
"type": {
|
|
8681
|
+
"text": "boolean"
|
|
8682
|
+
},
|
|
8683
|
+
"default": "false"
|
|
8684
|
+
},
|
|
8685
|
+
{
|
|
8686
|
+
"kind": "field",
|
|
8687
|
+
"name": "joinOperator",
|
|
8688
|
+
"type": {
|
|
8689
|
+
"text": "string"
|
|
8690
|
+
}
|
|
8691
|
+
},
|
|
8692
|
+
{
|
|
8693
|
+
"kind": "field",
|
|
8694
|
+
"name": "groupChildren",
|
|
8695
|
+
"type": {
|
|
8696
|
+
"text": "ConditionNode[]"
|
|
8697
|
+
},
|
|
8698
|
+
"default": "[]"
|
|
8699
|
+
},
|
|
8700
|
+
{
|
|
8701
|
+
"kind": "method",
|
|
8702
|
+
"name": "nodeChanged"
|
|
8703
|
+
},
|
|
8704
|
+
{
|
|
8705
|
+
"kind": "method",
|
|
8706
|
+
"name": "joinOperatorChanged"
|
|
8707
|
+
},
|
|
8708
|
+
{
|
|
8709
|
+
"kind": "method",
|
|
8710
|
+
"name": "newCondition"
|
|
8711
|
+
},
|
|
8712
|
+
{
|
|
8713
|
+
"kind": "method",
|
|
8714
|
+
"name": "newGroup"
|
|
8715
|
+
},
|
|
8716
|
+
{
|
|
8717
|
+
"kind": "method",
|
|
8718
|
+
"name": "editChild",
|
|
8719
|
+
"parameters": [
|
|
8720
|
+
{
|
|
8721
|
+
"name": "_editedChild",
|
|
8722
|
+
"type": {
|
|
8723
|
+
"text": "ConditionNode"
|
|
8724
|
+
}
|
|
8725
|
+
}
|
|
8726
|
+
]
|
|
8727
|
+
},
|
|
8728
|
+
{
|
|
8729
|
+
"kind": "method",
|
|
8730
|
+
"name": "deleteChild",
|
|
8731
|
+
"parameters": [
|
|
8732
|
+
{
|
|
8733
|
+
"name": "deletedChild",
|
|
8734
|
+
"type": {
|
|
8735
|
+
"text": "ConditionNode"
|
|
8736
|
+
}
|
|
8737
|
+
}
|
|
8738
|
+
]
|
|
8739
|
+
},
|
|
8740
|
+
{
|
|
8741
|
+
"kind": "method",
|
|
8742
|
+
"name": "deleteSelf"
|
|
8743
|
+
}
|
|
8744
|
+
],
|
|
8745
|
+
"events": [
|
|
8746
|
+
{
|
|
8747
|
+
"description": "Fired when this whole group should be removed",
|
|
8748
|
+
"name": "delete"
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
"description": "Fired when anything inside this group changes",
|
|
8752
|
+
"name": "edit"
|
|
8753
|
+
}
|
|
8754
|
+
],
|
|
8755
|
+
"superclass": {
|
|
8756
|
+
"name": "GenesisElement",
|
|
8757
|
+
"package": "@genesislcap/web-core"
|
|
8758
|
+
},
|
|
8759
|
+
"tagName": "rule-condition-group",
|
|
8760
|
+
"customElement": true
|
|
8761
|
+
}
|
|
8762
|
+
],
|
|
8763
|
+
"exports": [
|
|
8764
|
+
{
|
|
8765
|
+
"kind": "js",
|
|
8766
|
+
"name": "RuleConditionGroup",
|
|
8767
|
+
"declaration": {
|
|
8768
|
+
"name": "RuleConditionGroup",
|
|
8769
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8770
|
+
}
|
|
8771
|
+
},
|
|
8772
|
+
{
|
|
8773
|
+
"kind": "custom-element-definition",
|
|
8774
|
+
"name": "rule-condition-group",
|
|
8775
|
+
"declaration": {
|
|
8776
|
+
"name": "RuleConditionGroup",
|
|
8777
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8778
|
+
}
|
|
8779
|
+
}
|
|
8780
|
+
]
|
|
8781
|
+
},
|
|
8782
8782
|
{
|
|
8783
8783
|
"kind": "javascript-module",
|
|
8784
8784
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -255,17 +255,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
255
255
|
>;
|
|
256
256
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
257
257
|
|
|
258
|
-
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
259
|
-
React.PropsWithChildren<
|
|
260
|
-
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
261
|
-
HTMLWCProps & {
|
|
262
|
-
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
263
|
-
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
264
|
-
}
|
|
265
|
-
> & React.RefAttributes<RuleConditionGroupWC>
|
|
266
|
-
>;
|
|
267
|
-
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
268
|
-
|
|
269
258
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
270
259
|
React.PropsWithChildren<
|
|
271
260
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -277,6 +266,17 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
277
266
|
>;
|
|
278
267
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
279
268
|
|
|
269
|
+
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
270
|
+
React.PropsWithChildren<
|
|
271
|
+
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
272
|
+
HTMLWCProps & {
|
|
273
|
+
onDelete?: (event: CustomEvent<unknown>) => void;
|
|
274
|
+
onEdit?: (event: CustomEvent<unknown>) => void;
|
|
275
|
+
}
|
|
276
|
+
> & React.RefAttributes<RuleConditionGroupWC>
|
|
277
|
+
>;
|
|
278
|
+
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
|
+
|
|
280
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
281
281
|
React.PropsWithChildren<
|
|
282
282
|
Omit<PublicOf<ParameterBuilderWC>, '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,7 +241,7 @@ 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
247
|
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
@@ -332,8 +332,8 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionGroup,
|
|
336
335
|
RuleConditionBuilder,
|
|
336
|
+
RuleConditionGroup,
|
|
337
337
|
ParameterBuilder,
|
|
338
338
|
TemplateConditionBuilder,
|
|
339
339
|
TemplateConditionGroup,
|
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,7 +239,7 @@ 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
245
|
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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.
|
|
4
|
+
"version": "15.28.1-FUI-0.6",
|
|
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.28.1-FUI-0.6",
|
|
85
|
+
"@genesislcap/eslint-config": "15.28.1-FUI-0.6",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.28.1-FUI-0.6",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.28.1-FUI-0.6",
|
|
88
|
+
"@genesislcap/genx": "15.28.1-FUI-0.6",
|
|
89
|
+
"@genesislcap/prettier-config": "15.28.1-FUI-0.6",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.28.1-FUI-0.6",
|
|
91
|
+
"@genesislcap/vite-builder": "15.28.1-FUI-0.6",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.28.1-FUI-0.6",
|
|
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.28.1-FUI-0.6",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.28.1-FUI-0.6",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.28.1-FUI-0.6",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.28.1-FUI-0.6",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.28.1-FUI-0.6",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.28.1-FUI-0.6",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.28.1-FUI-0.6",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.28.1-FUI-0.6",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.28.1-FUI-0.6",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.28.1-FUI-0.6",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.28.1-FUI-0.6",
|
|
107
|
+
"@genesislcap/web-core": "15.28.1-FUI-0.6",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|