@genesislcap/pbc-notify-ui 15.19.3 → 15.19.4
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 +290 -290
- package/dist/dts/react.d.ts +17 -17
- package/dist/react.cjs +12 -12
- package/dist/react.mjs +10 -10
- 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",
|
|
@@ -8345,6 +8345,156 @@
|
|
|
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
|
+
},
|
|
8348
8498
|
{
|
|
8349
8499
|
"kind": "javascript-module",
|
|
8350
8500
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -8631,150 +8781,214 @@
|
|
|
8631
8781
|
},
|
|
8632
8782
|
{
|
|
8633
8783
|
"kind": "javascript-module",
|
|
8634
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
8784
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
8635
8785
|
"declarations": [
|
|
8636
8786
|
{
|
|
8637
8787
|
"kind": "variable",
|
|
8638
|
-
"name": "
|
|
8639
|
-
"default": "
|
|
8788
|
+
"name": "ParameterBuilderStyles",
|
|
8789
|
+
"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`"
|
|
8640
8790
|
}
|
|
8641
8791
|
],
|
|
8642
8792
|
"exports": [
|
|
8643
8793
|
{
|
|
8644
8794
|
"kind": "js",
|
|
8645
|
-
"name": "
|
|
8795
|
+
"name": "ParameterBuilderStyles",
|
|
8646
8796
|
"declaration": {
|
|
8647
|
-
"name": "
|
|
8648
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
8797
|
+
"name": "ParameterBuilderStyles",
|
|
8798
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
8649
8799
|
}
|
|
8650
8800
|
}
|
|
8651
8801
|
]
|
|
8652
8802
|
},
|
|
8653
8803
|
{
|
|
8654
8804
|
"kind": "javascript-module",
|
|
8655
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
8805
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
8806
|
+
"declarations": [
|
|
8807
|
+
{
|
|
8808
|
+
"kind": "variable",
|
|
8809
|
+
"name": "ParameterBuilderTemplate",
|
|
8810
|
+
"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`"
|
|
8811
|
+
}
|
|
8812
|
+
],
|
|
8813
|
+
"exports": [
|
|
8814
|
+
{
|
|
8815
|
+
"kind": "js",
|
|
8816
|
+
"name": "ParameterBuilderTemplate",
|
|
8817
|
+
"declaration": {
|
|
8818
|
+
"name": "ParameterBuilderTemplate",
|
|
8819
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
8820
|
+
}
|
|
8821
|
+
}
|
|
8822
|
+
]
|
|
8823
|
+
},
|
|
8824
|
+
{
|
|
8825
|
+
"kind": "javascript-module",
|
|
8826
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
8656
8827
|
"declarations": [
|
|
8657
8828
|
{
|
|
8658
8829
|
"kind": "class",
|
|
8659
|
-
"description": "
|
|
8660
|
-
"name": "
|
|
8830
|
+
"description": "Parameter builder for notification templates.",
|
|
8831
|
+
"name": "ParameterBuilder",
|
|
8661
8832
|
"members": [
|
|
8662
8833
|
{
|
|
8663
8834
|
"kind": "field",
|
|
8664
|
-
"name": "
|
|
8835
|
+
"name": "parameter",
|
|
8665
8836
|
"type": {
|
|
8666
|
-
"text": "
|
|
8837
|
+
"text": "ParameterBuilderEntity"
|
|
8667
8838
|
}
|
|
8668
8839
|
},
|
|
8669
8840
|
{
|
|
8670
8841
|
"kind": "field",
|
|
8671
|
-
"name": "
|
|
8842
|
+
"name": "name",
|
|
8672
8843
|
"type": {
|
|
8673
|
-
"text": "
|
|
8674
|
-
}
|
|
8675
|
-
"default": "[]"
|
|
8844
|
+
"text": "string"
|
|
8845
|
+
}
|
|
8676
8846
|
},
|
|
8677
8847
|
{
|
|
8678
8848
|
"kind": "field",
|
|
8679
|
-
"name": "
|
|
8849
|
+
"name": "label",
|
|
8680
8850
|
"type": {
|
|
8681
|
-
"text": "
|
|
8682
|
-
}
|
|
8683
|
-
"default": "false"
|
|
8851
|
+
"text": "string"
|
|
8852
|
+
}
|
|
8684
8853
|
},
|
|
8685
8854
|
{
|
|
8686
8855
|
"kind": "field",
|
|
8687
|
-
"name": "
|
|
8856
|
+
"name": "type",
|
|
8688
8857
|
"type": {
|
|
8689
8858
|
"text": "string"
|
|
8690
8859
|
}
|
|
8691
8860
|
},
|
|
8692
8861
|
{
|
|
8693
8862
|
"kind": "field",
|
|
8694
|
-
"name": "
|
|
8863
|
+
"name": "sourceType",
|
|
8695
8864
|
"type": {
|
|
8696
|
-
"text": "
|
|
8697
|
-
}
|
|
8698
|
-
|
|
8865
|
+
"text": "string"
|
|
8866
|
+
}
|
|
8867
|
+
},
|
|
8868
|
+
{
|
|
8869
|
+
"kind": "field",
|
|
8870
|
+
"name": "sourceSelected",
|
|
8871
|
+
"type": {
|
|
8872
|
+
"text": "string"
|
|
8873
|
+
}
|
|
8874
|
+
},
|
|
8875
|
+
{
|
|
8876
|
+
"kind": "field",
|
|
8877
|
+
"name": "sourceTyped",
|
|
8878
|
+
"type": {
|
|
8879
|
+
"text": "string"
|
|
8880
|
+
}
|
|
8881
|
+
},
|
|
8882
|
+
{
|
|
8883
|
+
"kind": "field",
|
|
8884
|
+
"name": "sourceTextField",
|
|
8885
|
+
"type": {
|
|
8886
|
+
"text": "TextField"
|
|
8887
|
+
}
|
|
8888
|
+
},
|
|
8889
|
+
{
|
|
8890
|
+
"kind": "field",
|
|
8891
|
+
"name": "sourceSelect",
|
|
8892
|
+
"type": {
|
|
8893
|
+
"text": "Select"
|
|
8894
|
+
}
|
|
8895
|
+
},
|
|
8896
|
+
{
|
|
8897
|
+
"kind": "field",
|
|
8898
|
+
"name": "reqRepItems",
|
|
8899
|
+
"type": {
|
|
8900
|
+
"text": "array"
|
|
8901
|
+
},
|
|
8902
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
8699
8903
|
},
|
|
8700
8904
|
{
|
|
8701
8905
|
"kind": "method",
|
|
8702
|
-
"name": "
|
|
8906
|
+
"name": "deleteParameter"
|
|
8703
8907
|
},
|
|
8704
8908
|
{
|
|
8705
8909
|
"kind": "method",
|
|
8706
|
-
"name": "
|
|
8910
|
+
"name": "parameterChanged"
|
|
8707
8911
|
},
|
|
8708
8912
|
{
|
|
8709
8913
|
"kind": "method",
|
|
8710
|
-
"name": "
|
|
8914
|
+
"name": "nameChanged"
|
|
8711
8915
|
},
|
|
8712
8916
|
{
|
|
8713
8917
|
"kind": "method",
|
|
8714
|
-
"name": "
|
|
8918
|
+
"name": "labelChanged"
|
|
8715
8919
|
},
|
|
8716
8920
|
{
|
|
8717
8921
|
"kind": "method",
|
|
8718
|
-
"name": "
|
|
8719
|
-
"parameters": [
|
|
8720
|
-
{
|
|
8721
|
-
"name": "_editedChild",
|
|
8722
|
-
"type": {
|
|
8723
|
-
"text": "ConditionNode"
|
|
8724
|
-
}
|
|
8725
|
-
}
|
|
8726
|
-
]
|
|
8922
|
+
"name": "typeChanged"
|
|
8727
8923
|
},
|
|
8728
8924
|
{
|
|
8729
8925
|
"kind": "method",
|
|
8730
|
-
"name": "
|
|
8926
|
+
"name": "sourceTypeChanged"
|
|
8927
|
+
},
|
|
8928
|
+
{
|
|
8929
|
+
"kind": "method",
|
|
8930
|
+
"name": "sourceSelectedChanged"
|
|
8931
|
+
},
|
|
8932
|
+
{
|
|
8933
|
+
"kind": "method",
|
|
8934
|
+
"name": "sourceTypedChanged"
|
|
8935
|
+
},
|
|
8936
|
+
{
|
|
8937
|
+
"kind": "method",
|
|
8938
|
+
"name": "genericChanged",
|
|
8939
|
+
"privacy": "private",
|
|
8731
8940
|
"parameters": [
|
|
8732
8941
|
{
|
|
8733
|
-
"name": "
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8942
|
+
"name": "parameterAttribute"
|
|
8943
|
+
},
|
|
8944
|
+
{
|
|
8945
|
+
"name": "value"
|
|
8737
8946
|
}
|
|
8738
8947
|
]
|
|
8739
|
-
},
|
|
8740
|
-
{
|
|
8741
|
-
"kind": "method",
|
|
8742
|
-
"name": "deleteSelf"
|
|
8743
8948
|
}
|
|
8744
8949
|
],
|
|
8745
8950
|
"events": [
|
|
8746
8951
|
{
|
|
8747
|
-
"description": "Fired when
|
|
8952
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
8748
8953
|
"name": "delete"
|
|
8749
8954
|
},
|
|
8750
8955
|
{
|
|
8751
|
-
"description": "Fired when
|
|
8956
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
8752
8957
|
"name": "edit"
|
|
8753
8958
|
}
|
|
8754
8959
|
],
|
|
8960
|
+
"attributes": [
|
|
8961
|
+
{
|
|
8962
|
+
"name": "parameter",
|
|
8963
|
+
"type": {
|
|
8964
|
+
"text": "ParameterBuilderEntity"
|
|
8965
|
+
},
|
|
8966
|
+
"fieldName": "parameter"
|
|
8967
|
+
}
|
|
8968
|
+
],
|
|
8755
8969
|
"superclass": {
|
|
8756
8970
|
"name": "GenesisElement",
|
|
8757
8971
|
"package": "@genesislcap/web-core"
|
|
8758
8972
|
},
|
|
8759
|
-
"tagName": "
|
|
8973
|
+
"tagName": "parameter-builder",
|
|
8760
8974
|
"customElement": true
|
|
8761
8975
|
}
|
|
8762
8976
|
],
|
|
8763
8977
|
"exports": [
|
|
8764
8978
|
{
|
|
8765
8979
|
"kind": "js",
|
|
8766
|
-
"name": "
|
|
8980
|
+
"name": "ParameterBuilder",
|
|
8767
8981
|
"declaration": {
|
|
8768
|
-
"name": "
|
|
8769
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
8982
|
+
"name": "ParameterBuilder",
|
|
8983
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8770
8984
|
}
|
|
8771
8985
|
},
|
|
8772
8986
|
{
|
|
8773
8987
|
"kind": "custom-element-definition",
|
|
8774
|
-
"name": "
|
|
8988
|
+
"name": "parameter-builder",
|
|
8775
8989
|
"declaration": {
|
|
8776
|
-
"name": "
|
|
8777
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
8990
|
+
"name": "ParameterBuilder",
|
|
8991
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8778
8992
|
}
|
|
8779
8993
|
}
|
|
8780
8994
|
]
|
|
@@ -9203,220 +9417,6 @@
|
|
|
9203
9417
|
}
|
|
9204
9418
|
}
|
|
9205
9419
|
]
|
|
9206
|
-
},
|
|
9207
|
-
{
|
|
9208
|
-
"kind": "javascript-module",
|
|
9209
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
9210
|
-
"declarations": [
|
|
9211
|
-
{
|
|
9212
|
-
"kind": "variable",
|
|
9213
|
-
"name": "ParameterBuilderStyles",
|
|
9214
|
-
"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`"
|
|
9215
|
-
}
|
|
9216
|
-
],
|
|
9217
|
-
"exports": [
|
|
9218
|
-
{
|
|
9219
|
-
"kind": "js",
|
|
9220
|
-
"name": "ParameterBuilderStyles",
|
|
9221
|
-
"declaration": {
|
|
9222
|
-
"name": "ParameterBuilderStyles",
|
|
9223
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
9224
|
-
}
|
|
9225
|
-
}
|
|
9226
|
-
]
|
|
9227
|
-
},
|
|
9228
|
-
{
|
|
9229
|
-
"kind": "javascript-module",
|
|
9230
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
9231
|
-
"declarations": [
|
|
9232
|
-
{
|
|
9233
|
-
"kind": "variable",
|
|
9234
|
-
"name": "ParameterBuilderTemplate",
|
|
9235
|
-
"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`"
|
|
9236
|
-
}
|
|
9237
|
-
],
|
|
9238
|
-
"exports": [
|
|
9239
|
-
{
|
|
9240
|
-
"kind": "js",
|
|
9241
|
-
"name": "ParameterBuilderTemplate",
|
|
9242
|
-
"declaration": {
|
|
9243
|
-
"name": "ParameterBuilderTemplate",
|
|
9244
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
9245
|
-
}
|
|
9246
|
-
}
|
|
9247
|
-
]
|
|
9248
|
-
},
|
|
9249
|
-
{
|
|
9250
|
-
"kind": "javascript-module",
|
|
9251
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
9252
|
-
"declarations": [
|
|
9253
|
-
{
|
|
9254
|
-
"kind": "class",
|
|
9255
|
-
"description": "Parameter builder for notification templates.",
|
|
9256
|
-
"name": "ParameterBuilder",
|
|
9257
|
-
"members": [
|
|
9258
|
-
{
|
|
9259
|
-
"kind": "field",
|
|
9260
|
-
"name": "parameter",
|
|
9261
|
-
"type": {
|
|
9262
|
-
"text": "ParameterBuilderEntity"
|
|
9263
|
-
}
|
|
9264
|
-
},
|
|
9265
|
-
{
|
|
9266
|
-
"kind": "field",
|
|
9267
|
-
"name": "name",
|
|
9268
|
-
"type": {
|
|
9269
|
-
"text": "string"
|
|
9270
|
-
}
|
|
9271
|
-
},
|
|
9272
|
-
{
|
|
9273
|
-
"kind": "field",
|
|
9274
|
-
"name": "label",
|
|
9275
|
-
"type": {
|
|
9276
|
-
"text": "string"
|
|
9277
|
-
}
|
|
9278
|
-
},
|
|
9279
|
-
{
|
|
9280
|
-
"kind": "field",
|
|
9281
|
-
"name": "type",
|
|
9282
|
-
"type": {
|
|
9283
|
-
"text": "string"
|
|
9284
|
-
}
|
|
9285
|
-
},
|
|
9286
|
-
{
|
|
9287
|
-
"kind": "field",
|
|
9288
|
-
"name": "sourceType",
|
|
9289
|
-
"type": {
|
|
9290
|
-
"text": "string"
|
|
9291
|
-
}
|
|
9292
|
-
},
|
|
9293
|
-
{
|
|
9294
|
-
"kind": "field",
|
|
9295
|
-
"name": "sourceSelected",
|
|
9296
|
-
"type": {
|
|
9297
|
-
"text": "string"
|
|
9298
|
-
}
|
|
9299
|
-
},
|
|
9300
|
-
{
|
|
9301
|
-
"kind": "field",
|
|
9302
|
-
"name": "sourceTyped",
|
|
9303
|
-
"type": {
|
|
9304
|
-
"text": "string"
|
|
9305
|
-
}
|
|
9306
|
-
},
|
|
9307
|
-
{
|
|
9308
|
-
"kind": "field",
|
|
9309
|
-
"name": "sourceTextField",
|
|
9310
|
-
"type": {
|
|
9311
|
-
"text": "TextField"
|
|
9312
|
-
}
|
|
9313
|
-
},
|
|
9314
|
-
{
|
|
9315
|
-
"kind": "field",
|
|
9316
|
-
"name": "sourceSelect",
|
|
9317
|
-
"type": {
|
|
9318
|
-
"text": "Select"
|
|
9319
|
-
}
|
|
9320
|
-
},
|
|
9321
|
-
{
|
|
9322
|
-
"kind": "field",
|
|
9323
|
-
"name": "reqRepItems",
|
|
9324
|
-
"type": {
|
|
9325
|
-
"text": "array"
|
|
9326
|
-
},
|
|
9327
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
9328
|
-
},
|
|
9329
|
-
{
|
|
9330
|
-
"kind": "method",
|
|
9331
|
-
"name": "deleteParameter"
|
|
9332
|
-
},
|
|
9333
|
-
{
|
|
9334
|
-
"kind": "method",
|
|
9335
|
-
"name": "parameterChanged"
|
|
9336
|
-
},
|
|
9337
|
-
{
|
|
9338
|
-
"kind": "method",
|
|
9339
|
-
"name": "nameChanged"
|
|
9340
|
-
},
|
|
9341
|
-
{
|
|
9342
|
-
"kind": "method",
|
|
9343
|
-
"name": "labelChanged"
|
|
9344
|
-
},
|
|
9345
|
-
{
|
|
9346
|
-
"kind": "method",
|
|
9347
|
-
"name": "typeChanged"
|
|
9348
|
-
},
|
|
9349
|
-
{
|
|
9350
|
-
"kind": "method",
|
|
9351
|
-
"name": "sourceTypeChanged"
|
|
9352
|
-
},
|
|
9353
|
-
{
|
|
9354
|
-
"kind": "method",
|
|
9355
|
-
"name": "sourceSelectedChanged"
|
|
9356
|
-
},
|
|
9357
|
-
{
|
|
9358
|
-
"kind": "method",
|
|
9359
|
-
"name": "sourceTypedChanged"
|
|
9360
|
-
},
|
|
9361
|
-
{
|
|
9362
|
-
"kind": "method",
|
|
9363
|
-
"name": "genericChanged",
|
|
9364
|
-
"privacy": "private",
|
|
9365
|
-
"parameters": [
|
|
9366
|
-
{
|
|
9367
|
-
"name": "parameterAttribute"
|
|
9368
|
-
},
|
|
9369
|
-
{
|
|
9370
|
-
"name": "value"
|
|
9371
|
-
}
|
|
9372
|
-
]
|
|
9373
|
-
}
|
|
9374
|
-
],
|
|
9375
|
-
"events": [
|
|
9376
|
-
{
|
|
9377
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
9378
|
-
"name": "delete"
|
|
9379
|
-
},
|
|
9380
|
-
{
|
|
9381
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
9382
|
-
"name": "edit"
|
|
9383
|
-
}
|
|
9384
|
-
],
|
|
9385
|
-
"attributes": [
|
|
9386
|
-
{
|
|
9387
|
-
"name": "parameter",
|
|
9388
|
-
"type": {
|
|
9389
|
-
"text": "ParameterBuilderEntity"
|
|
9390
|
-
},
|
|
9391
|
-
"fieldName": "parameter"
|
|
9392
|
-
}
|
|
9393
|
-
],
|
|
9394
|
-
"superclass": {
|
|
9395
|
-
"name": "GenesisElement",
|
|
9396
|
-
"package": "@genesislcap/web-core"
|
|
9397
|
-
},
|
|
9398
|
-
"tagName": "parameter-builder",
|
|
9399
|
-
"customElement": true
|
|
9400
|
-
}
|
|
9401
|
-
],
|
|
9402
|
-
"exports": [
|
|
9403
|
-
{
|
|
9404
|
-
"kind": "js",
|
|
9405
|
-
"name": "ParameterBuilder",
|
|
9406
|
-
"declaration": {
|
|
9407
|
-
"name": "ParameterBuilder",
|
|
9408
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9409
|
-
}
|
|
9410
|
-
},
|
|
9411
|
-
{
|
|
9412
|
-
"kind": "custom-element-definition",
|
|
9413
|
-
"name": "parameter-builder",
|
|
9414
|
-
"declaration": {
|
|
9415
|
-
"name": "ParameterBuilder",
|
|
9416
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9417
|
-
}
|
|
9418
|
-
}
|
|
9419
|
-
]
|
|
9420
9420
|
}
|
|
9421
9421
|
]
|
|
9422
9422
|
}
|
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 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
|
+
|
|
258
269
|
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
259
270
|
React.PropsWithChildren<
|
|
260
271
|
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -266,16 +277,16 @@ export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
266
277
|
>;
|
|
267
278
|
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
268
279
|
|
|
269
|
-
export declare const
|
|
280
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
270
281
|
React.PropsWithChildren<
|
|
271
|
-
Omit<PublicOf<
|
|
282
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
272
283
|
HTMLWCProps & {
|
|
273
|
-
onDelete?: (event: CustomEvent<
|
|
274
|
-
onEdit?: (event: CustomEvent<
|
|
284
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
285
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
275
286
|
}
|
|
276
|
-
> & React.RefAttributes<
|
|
287
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
277
288
|
>;
|
|
278
|
-
export type
|
|
289
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
279
290
|
|
|
280
291
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
281
292
|
React.PropsWithChildren<
|
|
@@ -299,15 +310,4 @@ export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
|
299
310
|
>;
|
|
300
311
|
export type TemplateConditionGroupRef = TemplateConditionGroupWC;
|
|
301
312
|
|
|
302
|
-
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
303
|
-
React.PropsWithChildren<
|
|
304
|
-
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
305
|
-
HTMLWCProps & {
|
|
306
|
-
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
307
|
-
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
308
|
-
}
|
|
309
|
-
> & React.RefAttributes<ParameterBuilderWC>
|
|
310
|
-
>;
|
|
311
|
-
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
312
|
-
|
|
313
313
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -200,7 +200,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
200
200
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
201
|
});
|
|
202
202
|
|
|
203
|
-
const
|
|
203
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
204
204
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
205
205
|
const _innerRef = React.useRef(null);
|
|
206
206
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -219,10 +219,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
219
219
|
el.removeEventListener('edit', _onEditFn);
|
|
220
220
|
};
|
|
221
221
|
}, []);
|
|
222
|
-
return React.createElement(customElements.getName(
|
|
222
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
223
223
|
});
|
|
224
224
|
|
|
225
|
-
const
|
|
225
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
226
226
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
227
227
|
const _innerRef = React.useRef(null);
|
|
228
228
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -241,10 +241,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
241
241
|
el.removeEventListener('edit', _onEditFn);
|
|
242
242
|
};
|
|
243
243
|
}, []);
|
|
244
|
-
return React.createElement(customElements.getName(
|
|
244
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
245
245
|
});
|
|
246
246
|
|
|
247
|
-
const
|
|
247
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(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 TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
263
263
|
el.removeEventListener('edit', _onEditFn);
|
|
264
264
|
};
|
|
265
265
|
}, []);
|
|
266
|
-
return React.createElement(customElements.getName(
|
|
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 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 = {
|
|
@@ -332,9 +332,9 @@ module.exports = {
|
|
|
332
332
|
SlackRouteManagement,
|
|
333
333
|
RuleDialog,
|
|
334
334
|
TemplateDialog,
|
|
335
|
-
RuleConditionBuilder,
|
|
336
335
|
RuleConditionGroup,
|
|
336
|
+
RuleConditionBuilder,
|
|
337
|
+
ParameterBuilder,
|
|
337
338
|
TemplateConditionBuilder,
|
|
338
339
|
TemplateConditionGroup,
|
|
339
|
-
ParameterBuilder,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -198,7 +198,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
198
198
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
199
199
|
});
|
|
200
200
|
|
|
201
|
-
export const
|
|
201
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
202
202
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
203
203
|
const _innerRef = React.useRef(null);
|
|
204
204
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -217,10 +217,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
217
217
|
el.removeEventListener('edit', _onEditFn);
|
|
218
218
|
};
|
|
219
219
|
}, []);
|
|
220
|
-
return React.createElement(customElements.getName(
|
|
220
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
221
221
|
});
|
|
222
222
|
|
|
223
|
-
export const
|
|
223
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
224
224
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
225
225
|
const _innerRef = React.useRef(null);
|
|
226
226
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -239,10 +239,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
239
239
|
el.removeEventListener('edit', _onEditFn);
|
|
240
240
|
};
|
|
241
241
|
}, []);
|
|
242
|
-
return React.createElement(customElements.getName(
|
|
242
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
243
243
|
});
|
|
244
244
|
|
|
245
|
-
export const
|
|
245
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(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 TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
261
261
|
el.removeEventListener('edit', _onEditFn);
|
|
262
262
|
};
|
|
263
263
|
}, []);
|
|
264
|
-
return React.createElement(customElements.getName(
|
|
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 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.19.
|
|
4
|
+
"version": "15.19.4",
|
|
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.19.
|
|
85
|
-
"@genesislcap/eslint-config": "15.19.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.19.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.19.
|
|
88
|
-
"@genesislcap/genx": "15.19.
|
|
89
|
-
"@genesislcap/prettier-config": "15.19.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.19.
|
|
91
|
-
"@genesislcap/vite-builder": "15.19.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.19.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.19.4",
|
|
85
|
+
"@genesislcap/eslint-config": "15.19.4",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.19.4",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.19.4",
|
|
88
|
+
"@genesislcap/genx": "15.19.4",
|
|
89
|
+
"@genesislcap/prettier-config": "15.19.4",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.19.4",
|
|
91
|
+
"@genesislcap/vite-builder": "15.19.4",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.19.4",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.19.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.19.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.19.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.19.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.19.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.19.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.19.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.19.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.19.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.19.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.19.
|
|
107
|
-
"@genesislcap/web-core": "15.19.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.19.4",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.19.4",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.19.4",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.19.4",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.19.4",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.19.4",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.19.4",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.19.4",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.19.4",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.19.4",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.19.4",
|
|
107
|
+
"@genesislcap/web-core": "15.19.4",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|