@genesislcap/pbc-notify-ui 14.486.0 → 14.486.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +271 -271
- package/dist/dts/react.d.ts +15 -15
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +23 -23
|
@@ -5666,6 +5666,156 @@
|
|
|
5666
5666
|
}
|
|
5667
5667
|
]
|
|
5668
5668
|
},
|
|
5669
|
+
{
|
|
5670
|
+
"kind": "javascript-module",
|
|
5671
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
5672
|
+
"declarations": [
|
|
5673
|
+
{
|
|
5674
|
+
"kind": "variable",
|
|
5675
|
+
"name": "RuleConditionGroupTemplate",
|
|
5676
|
+
"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`"
|
|
5677
|
+
}
|
|
5678
|
+
],
|
|
5679
|
+
"exports": [
|
|
5680
|
+
{
|
|
5681
|
+
"kind": "js",
|
|
5682
|
+
"name": "RuleConditionGroupTemplate",
|
|
5683
|
+
"declaration": {
|
|
5684
|
+
"name": "RuleConditionGroupTemplate",
|
|
5685
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
5686
|
+
}
|
|
5687
|
+
}
|
|
5688
|
+
]
|
|
5689
|
+
},
|
|
5690
|
+
{
|
|
5691
|
+
"kind": "javascript-module",
|
|
5692
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
5693
|
+
"declarations": [
|
|
5694
|
+
{
|
|
5695
|
+
"kind": "class",
|
|
5696
|
+
"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.",
|
|
5697
|
+
"name": "RuleConditionGroup",
|
|
5698
|
+
"members": [
|
|
5699
|
+
{
|
|
5700
|
+
"kind": "field",
|
|
5701
|
+
"name": "node",
|
|
5702
|
+
"type": {
|
|
5703
|
+
"text": "ConditionGroupEntity"
|
|
5704
|
+
}
|
|
5705
|
+
},
|
|
5706
|
+
{
|
|
5707
|
+
"kind": "field",
|
|
5708
|
+
"name": "fields",
|
|
5709
|
+
"type": {
|
|
5710
|
+
"text": "Field[]"
|
|
5711
|
+
},
|
|
5712
|
+
"default": "[]"
|
|
5713
|
+
},
|
|
5714
|
+
{
|
|
5715
|
+
"kind": "field",
|
|
5716
|
+
"name": "isFirst",
|
|
5717
|
+
"type": {
|
|
5718
|
+
"text": "boolean"
|
|
5719
|
+
},
|
|
5720
|
+
"default": "false"
|
|
5721
|
+
},
|
|
5722
|
+
{
|
|
5723
|
+
"kind": "field",
|
|
5724
|
+
"name": "joinOperator",
|
|
5725
|
+
"type": {
|
|
5726
|
+
"text": "string"
|
|
5727
|
+
}
|
|
5728
|
+
},
|
|
5729
|
+
{
|
|
5730
|
+
"kind": "field",
|
|
5731
|
+
"name": "groupChildren",
|
|
5732
|
+
"type": {
|
|
5733
|
+
"text": "ConditionNode[]"
|
|
5734
|
+
},
|
|
5735
|
+
"default": "[]"
|
|
5736
|
+
},
|
|
5737
|
+
{
|
|
5738
|
+
"kind": "method",
|
|
5739
|
+
"name": "nodeChanged"
|
|
5740
|
+
},
|
|
5741
|
+
{
|
|
5742
|
+
"kind": "method",
|
|
5743
|
+
"name": "joinOperatorChanged"
|
|
5744
|
+
},
|
|
5745
|
+
{
|
|
5746
|
+
"kind": "method",
|
|
5747
|
+
"name": "newCondition"
|
|
5748
|
+
},
|
|
5749
|
+
{
|
|
5750
|
+
"kind": "method",
|
|
5751
|
+
"name": "newGroup"
|
|
5752
|
+
},
|
|
5753
|
+
{
|
|
5754
|
+
"kind": "method",
|
|
5755
|
+
"name": "editChild",
|
|
5756
|
+
"parameters": [
|
|
5757
|
+
{
|
|
5758
|
+
"name": "_editedChild",
|
|
5759
|
+
"type": {
|
|
5760
|
+
"text": "ConditionNode"
|
|
5761
|
+
}
|
|
5762
|
+
}
|
|
5763
|
+
]
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
"kind": "method",
|
|
5767
|
+
"name": "deleteChild",
|
|
5768
|
+
"parameters": [
|
|
5769
|
+
{
|
|
5770
|
+
"name": "deletedChild",
|
|
5771
|
+
"type": {
|
|
5772
|
+
"text": "ConditionNode"
|
|
5773
|
+
}
|
|
5774
|
+
}
|
|
5775
|
+
]
|
|
5776
|
+
},
|
|
5777
|
+
{
|
|
5778
|
+
"kind": "method",
|
|
5779
|
+
"name": "deleteSelf"
|
|
5780
|
+
}
|
|
5781
|
+
],
|
|
5782
|
+
"events": [
|
|
5783
|
+
{
|
|
5784
|
+
"description": "Fired when this whole group should be removed",
|
|
5785
|
+
"name": "delete"
|
|
5786
|
+
},
|
|
5787
|
+
{
|
|
5788
|
+
"description": "Fired when anything inside this group changes",
|
|
5789
|
+
"name": "edit"
|
|
5790
|
+
}
|
|
5791
|
+
],
|
|
5792
|
+
"superclass": {
|
|
5793
|
+
"name": "GenesisElement",
|
|
5794
|
+
"package": "@genesislcap/web-core"
|
|
5795
|
+
},
|
|
5796
|
+
"tagName": "rule-condition-group",
|
|
5797
|
+
"customElement": true
|
|
5798
|
+
}
|
|
5799
|
+
],
|
|
5800
|
+
"exports": [
|
|
5801
|
+
{
|
|
5802
|
+
"kind": "js",
|
|
5803
|
+
"name": "RuleConditionGroup",
|
|
5804
|
+
"declaration": {
|
|
5805
|
+
"name": "RuleConditionGroup",
|
|
5806
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
5807
|
+
}
|
|
5808
|
+
},
|
|
5809
|
+
{
|
|
5810
|
+
"kind": "custom-element-definition",
|
|
5811
|
+
"name": "rule-condition-group",
|
|
5812
|
+
"declaration": {
|
|
5813
|
+
"name": "RuleConditionGroup",
|
|
5814
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
5815
|
+
}
|
|
5816
|
+
}
|
|
5817
|
+
]
|
|
5818
|
+
},
|
|
5669
5819
|
{
|
|
5670
5820
|
"kind": "javascript-module",
|
|
5671
5821
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -5952,150 +6102,214 @@
|
|
|
5952
6102
|
},
|
|
5953
6103
|
{
|
|
5954
6104
|
"kind": "javascript-module",
|
|
5955
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
6105
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
5956
6106
|
"declarations": [
|
|
5957
6107
|
{
|
|
5958
6108
|
"kind": "variable",
|
|
5959
|
-
"name": "
|
|
5960
|
-
"default": "
|
|
6109
|
+
"name": "ParameterBuilderStyles",
|
|
6110
|
+
"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`"
|
|
5961
6111
|
}
|
|
5962
6112
|
],
|
|
5963
6113
|
"exports": [
|
|
5964
6114
|
{
|
|
5965
6115
|
"kind": "js",
|
|
5966
|
-
"name": "
|
|
6116
|
+
"name": "ParameterBuilderStyles",
|
|
5967
6117
|
"declaration": {
|
|
5968
|
-
"name": "
|
|
5969
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
6118
|
+
"name": "ParameterBuilderStyles",
|
|
6119
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
5970
6120
|
}
|
|
5971
6121
|
}
|
|
5972
6122
|
]
|
|
5973
6123
|
},
|
|
5974
6124
|
{
|
|
5975
6125
|
"kind": "javascript-module",
|
|
5976
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
6126
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
6127
|
+
"declarations": [
|
|
6128
|
+
{
|
|
6129
|
+
"kind": "variable",
|
|
6130
|
+
"name": "ParameterBuilderTemplate",
|
|
6131
|
+
"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`"
|
|
6132
|
+
}
|
|
6133
|
+
],
|
|
6134
|
+
"exports": [
|
|
6135
|
+
{
|
|
6136
|
+
"kind": "js",
|
|
6137
|
+
"name": "ParameterBuilderTemplate",
|
|
6138
|
+
"declaration": {
|
|
6139
|
+
"name": "ParameterBuilderTemplate",
|
|
6140
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
6141
|
+
}
|
|
6142
|
+
}
|
|
6143
|
+
]
|
|
6144
|
+
},
|
|
6145
|
+
{
|
|
6146
|
+
"kind": "javascript-module",
|
|
6147
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
5977
6148
|
"declarations": [
|
|
5978
6149
|
{
|
|
5979
6150
|
"kind": "class",
|
|
5980
|
-
"description": "
|
|
5981
|
-
"name": "
|
|
6151
|
+
"description": "Parameter builder for notification templates.",
|
|
6152
|
+
"name": "ParameterBuilder",
|
|
5982
6153
|
"members": [
|
|
5983
6154
|
{
|
|
5984
6155
|
"kind": "field",
|
|
5985
|
-
"name": "
|
|
6156
|
+
"name": "parameter",
|
|
5986
6157
|
"type": {
|
|
5987
|
-
"text": "
|
|
6158
|
+
"text": "ParameterBuilderEntity"
|
|
5988
6159
|
}
|
|
5989
6160
|
},
|
|
5990
6161
|
{
|
|
5991
6162
|
"kind": "field",
|
|
5992
|
-
"name": "
|
|
6163
|
+
"name": "name",
|
|
5993
6164
|
"type": {
|
|
5994
|
-
"text": "
|
|
5995
|
-
}
|
|
5996
|
-
"default": "[]"
|
|
6165
|
+
"text": "string"
|
|
6166
|
+
}
|
|
5997
6167
|
},
|
|
5998
6168
|
{
|
|
5999
6169
|
"kind": "field",
|
|
6000
|
-
"name": "
|
|
6170
|
+
"name": "label",
|
|
6001
6171
|
"type": {
|
|
6002
|
-
"text": "
|
|
6003
|
-
}
|
|
6004
|
-
"default": "false"
|
|
6172
|
+
"text": "string"
|
|
6173
|
+
}
|
|
6005
6174
|
},
|
|
6006
6175
|
{
|
|
6007
6176
|
"kind": "field",
|
|
6008
|
-
"name": "
|
|
6177
|
+
"name": "type",
|
|
6009
6178
|
"type": {
|
|
6010
6179
|
"text": "string"
|
|
6011
6180
|
}
|
|
6012
6181
|
},
|
|
6013
6182
|
{
|
|
6014
6183
|
"kind": "field",
|
|
6015
|
-
"name": "
|
|
6184
|
+
"name": "sourceType",
|
|
6016
6185
|
"type": {
|
|
6017
|
-
"text": "
|
|
6018
|
-
}
|
|
6019
|
-
"default": "[]"
|
|
6186
|
+
"text": "string"
|
|
6187
|
+
}
|
|
6020
6188
|
},
|
|
6021
6189
|
{
|
|
6022
|
-
"kind": "
|
|
6023
|
-
"name": "
|
|
6190
|
+
"kind": "field",
|
|
6191
|
+
"name": "sourceSelected",
|
|
6192
|
+
"type": {
|
|
6193
|
+
"text": "string"
|
|
6194
|
+
}
|
|
6024
6195
|
},
|
|
6025
6196
|
{
|
|
6026
|
-
"kind": "
|
|
6027
|
-
"name": "
|
|
6197
|
+
"kind": "field",
|
|
6198
|
+
"name": "sourceTyped",
|
|
6199
|
+
"type": {
|
|
6200
|
+
"text": "string"
|
|
6201
|
+
}
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"kind": "field",
|
|
6205
|
+
"name": "sourceTextField",
|
|
6206
|
+
"type": {
|
|
6207
|
+
"text": "TextField"
|
|
6208
|
+
}
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"kind": "field",
|
|
6212
|
+
"name": "sourceSelect",
|
|
6213
|
+
"type": {
|
|
6214
|
+
"text": "Select"
|
|
6215
|
+
}
|
|
6216
|
+
},
|
|
6217
|
+
{
|
|
6218
|
+
"kind": "field",
|
|
6219
|
+
"name": "reqRepItems",
|
|
6220
|
+
"type": {
|
|
6221
|
+
"text": "array"
|
|
6222
|
+
},
|
|
6223
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
6028
6224
|
},
|
|
6029
6225
|
{
|
|
6030
6226
|
"kind": "method",
|
|
6031
|
-
"name": "
|
|
6227
|
+
"name": "deleteParameter"
|
|
6032
6228
|
},
|
|
6033
6229
|
{
|
|
6034
6230
|
"kind": "method",
|
|
6035
|
-
"name": "
|
|
6231
|
+
"name": "parameterChanged"
|
|
6036
6232
|
},
|
|
6037
6233
|
{
|
|
6038
6234
|
"kind": "method",
|
|
6039
|
-
"name": "
|
|
6040
|
-
"parameters": [
|
|
6041
|
-
{
|
|
6042
|
-
"name": "_editedChild",
|
|
6043
|
-
"type": {
|
|
6044
|
-
"text": "ConditionNode"
|
|
6045
|
-
}
|
|
6046
|
-
}
|
|
6047
|
-
]
|
|
6235
|
+
"name": "nameChanged"
|
|
6048
6236
|
},
|
|
6049
6237
|
{
|
|
6050
6238
|
"kind": "method",
|
|
6051
|
-
"name": "
|
|
6239
|
+
"name": "labelChanged"
|
|
6240
|
+
},
|
|
6241
|
+
{
|
|
6242
|
+
"kind": "method",
|
|
6243
|
+
"name": "typeChanged"
|
|
6244
|
+
},
|
|
6245
|
+
{
|
|
6246
|
+
"kind": "method",
|
|
6247
|
+
"name": "sourceTypeChanged"
|
|
6248
|
+
},
|
|
6249
|
+
{
|
|
6250
|
+
"kind": "method",
|
|
6251
|
+
"name": "sourceSelectedChanged"
|
|
6252
|
+
},
|
|
6253
|
+
{
|
|
6254
|
+
"kind": "method",
|
|
6255
|
+
"name": "sourceTypedChanged"
|
|
6256
|
+
},
|
|
6257
|
+
{
|
|
6258
|
+
"kind": "method",
|
|
6259
|
+
"name": "genericChanged",
|
|
6260
|
+
"privacy": "private",
|
|
6052
6261
|
"parameters": [
|
|
6053
6262
|
{
|
|
6054
|
-
"name": "
|
|
6055
|
-
|
|
6056
|
-
|
|
6057
|
-
|
|
6263
|
+
"name": "parameterAttribute"
|
|
6264
|
+
},
|
|
6265
|
+
{
|
|
6266
|
+
"name": "value"
|
|
6058
6267
|
}
|
|
6059
6268
|
]
|
|
6060
|
-
},
|
|
6061
|
-
{
|
|
6062
|
-
"kind": "method",
|
|
6063
|
-
"name": "deleteSelf"
|
|
6064
6269
|
}
|
|
6065
6270
|
],
|
|
6066
6271
|
"events": [
|
|
6067
6272
|
{
|
|
6068
|
-
"description": "Fired when
|
|
6273
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
6069
6274
|
"name": "delete"
|
|
6070
6275
|
},
|
|
6071
6276
|
{
|
|
6072
|
-
"description": "Fired when
|
|
6277
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
6073
6278
|
"name": "edit"
|
|
6074
6279
|
}
|
|
6075
6280
|
],
|
|
6281
|
+
"attributes": [
|
|
6282
|
+
{
|
|
6283
|
+
"name": "parameter",
|
|
6284
|
+
"type": {
|
|
6285
|
+
"text": "ParameterBuilderEntity"
|
|
6286
|
+
},
|
|
6287
|
+
"fieldName": "parameter"
|
|
6288
|
+
}
|
|
6289
|
+
],
|
|
6076
6290
|
"superclass": {
|
|
6077
6291
|
"name": "GenesisElement",
|
|
6078
6292
|
"package": "@genesislcap/web-core"
|
|
6079
6293
|
},
|
|
6080
|
-
"tagName": "
|
|
6294
|
+
"tagName": "parameter-builder",
|
|
6081
6295
|
"customElement": true
|
|
6082
6296
|
}
|
|
6083
6297
|
],
|
|
6084
6298
|
"exports": [
|
|
6085
6299
|
{
|
|
6086
6300
|
"kind": "js",
|
|
6087
|
-
"name": "
|
|
6301
|
+
"name": "ParameterBuilder",
|
|
6088
6302
|
"declaration": {
|
|
6089
|
-
"name": "
|
|
6090
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
6303
|
+
"name": "ParameterBuilder",
|
|
6304
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6091
6305
|
}
|
|
6092
6306
|
},
|
|
6093
6307
|
{
|
|
6094
6308
|
"kind": "custom-element-definition",
|
|
6095
|
-
"name": "
|
|
6309
|
+
"name": "parameter-builder",
|
|
6096
6310
|
"declaration": {
|
|
6097
|
-
"name": "
|
|
6098
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
6311
|
+
"name": "ParameterBuilder",
|
|
6312
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6099
6313
|
}
|
|
6100
6314
|
}
|
|
6101
6315
|
]
|
|
@@ -6392,220 +6606,6 @@
|
|
|
6392
6606
|
}
|
|
6393
6607
|
]
|
|
6394
6608
|
},
|
|
6395
|
-
{
|
|
6396
|
-
"kind": "javascript-module",
|
|
6397
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
6398
|
-
"declarations": [
|
|
6399
|
-
{
|
|
6400
|
-
"kind": "variable",
|
|
6401
|
-
"name": "ParameterBuilderStyles",
|
|
6402
|
-
"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`"
|
|
6403
|
-
}
|
|
6404
|
-
],
|
|
6405
|
-
"exports": [
|
|
6406
|
-
{
|
|
6407
|
-
"kind": "js",
|
|
6408
|
-
"name": "ParameterBuilderStyles",
|
|
6409
|
-
"declaration": {
|
|
6410
|
-
"name": "ParameterBuilderStyles",
|
|
6411
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
6412
|
-
}
|
|
6413
|
-
}
|
|
6414
|
-
]
|
|
6415
|
-
},
|
|
6416
|
-
{
|
|
6417
|
-
"kind": "javascript-module",
|
|
6418
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
6419
|
-
"declarations": [
|
|
6420
|
-
{
|
|
6421
|
-
"kind": "variable",
|
|
6422
|
-
"name": "ParameterBuilderTemplate",
|
|
6423
|
-
"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`"
|
|
6424
|
-
}
|
|
6425
|
-
],
|
|
6426
|
-
"exports": [
|
|
6427
|
-
{
|
|
6428
|
-
"kind": "js",
|
|
6429
|
-
"name": "ParameterBuilderTemplate",
|
|
6430
|
-
"declaration": {
|
|
6431
|
-
"name": "ParameterBuilderTemplate",
|
|
6432
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
6433
|
-
}
|
|
6434
|
-
}
|
|
6435
|
-
]
|
|
6436
|
-
},
|
|
6437
|
-
{
|
|
6438
|
-
"kind": "javascript-module",
|
|
6439
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
6440
|
-
"declarations": [
|
|
6441
|
-
{
|
|
6442
|
-
"kind": "class",
|
|
6443
|
-
"description": "Parameter builder for notification templates.",
|
|
6444
|
-
"name": "ParameterBuilder",
|
|
6445
|
-
"members": [
|
|
6446
|
-
{
|
|
6447
|
-
"kind": "field",
|
|
6448
|
-
"name": "parameter",
|
|
6449
|
-
"type": {
|
|
6450
|
-
"text": "ParameterBuilderEntity"
|
|
6451
|
-
}
|
|
6452
|
-
},
|
|
6453
|
-
{
|
|
6454
|
-
"kind": "field",
|
|
6455
|
-
"name": "name",
|
|
6456
|
-
"type": {
|
|
6457
|
-
"text": "string"
|
|
6458
|
-
}
|
|
6459
|
-
},
|
|
6460
|
-
{
|
|
6461
|
-
"kind": "field",
|
|
6462
|
-
"name": "label",
|
|
6463
|
-
"type": {
|
|
6464
|
-
"text": "string"
|
|
6465
|
-
}
|
|
6466
|
-
},
|
|
6467
|
-
{
|
|
6468
|
-
"kind": "field",
|
|
6469
|
-
"name": "type",
|
|
6470
|
-
"type": {
|
|
6471
|
-
"text": "string"
|
|
6472
|
-
}
|
|
6473
|
-
},
|
|
6474
|
-
{
|
|
6475
|
-
"kind": "field",
|
|
6476
|
-
"name": "sourceType",
|
|
6477
|
-
"type": {
|
|
6478
|
-
"text": "string"
|
|
6479
|
-
}
|
|
6480
|
-
},
|
|
6481
|
-
{
|
|
6482
|
-
"kind": "field",
|
|
6483
|
-
"name": "sourceSelected",
|
|
6484
|
-
"type": {
|
|
6485
|
-
"text": "string"
|
|
6486
|
-
}
|
|
6487
|
-
},
|
|
6488
|
-
{
|
|
6489
|
-
"kind": "field",
|
|
6490
|
-
"name": "sourceTyped",
|
|
6491
|
-
"type": {
|
|
6492
|
-
"text": "string"
|
|
6493
|
-
}
|
|
6494
|
-
},
|
|
6495
|
-
{
|
|
6496
|
-
"kind": "field",
|
|
6497
|
-
"name": "sourceTextField",
|
|
6498
|
-
"type": {
|
|
6499
|
-
"text": "TextField"
|
|
6500
|
-
}
|
|
6501
|
-
},
|
|
6502
|
-
{
|
|
6503
|
-
"kind": "field",
|
|
6504
|
-
"name": "sourceSelect",
|
|
6505
|
-
"type": {
|
|
6506
|
-
"text": "Select"
|
|
6507
|
-
}
|
|
6508
|
-
},
|
|
6509
|
-
{
|
|
6510
|
-
"kind": "field",
|
|
6511
|
-
"name": "reqRepItems",
|
|
6512
|
-
"type": {
|
|
6513
|
-
"text": "array"
|
|
6514
|
-
},
|
|
6515
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
6516
|
-
},
|
|
6517
|
-
{
|
|
6518
|
-
"kind": "method",
|
|
6519
|
-
"name": "deleteParameter"
|
|
6520
|
-
},
|
|
6521
|
-
{
|
|
6522
|
-
"kind": "method",
|
|
6523
|
-
"name": "parameterChanged"
|
|
6524
|
-
},
|
|
6525
|
-
{
|
|
6526
|
-
"kind": "method",
|
|
6527
|
-
"name": "nameChanged"
|
|
6528
|
-
},
|
|
6529
|
-
{
|
|
6530
|
-
"kind": "method",
|
|
6531
|
-
"name": "labelChanged"
|
|
6532
|
-
},
|
|
6533
|
-
{
|
|
6534
|
-
"kind": "method",
|
|
6535
|
-
"name": "typeChanged"
|
|
6536
|
-
},
|
|
6537
|
-
{
|
|
6538
|
-
"kind": "method",
|
|
6539
|
-
"name": "sourceTypeChanged"
|
|
6540
|
-
},
|
|
6541
|
-
{
|
|
6542
|
-
"kind": "method",
|
|
6543
|
-
"name": "sourceSelectedChanged"
|
|
6544
|
-
},
|
|
6545
|
-
{
|
|
6546
|
-
"kind": "method",
|
|
6547
|
-
"name": "sourceTypedChanged"
|
|
6548
|
-
},
|
|
6549
|
-
{
|
|
6550
|
-
"kind": "method",
|
|
6551
|
-
"name": "genericChanged",
|
|
6552
|
-
"privacy": "private",
|
|
6553
|
-
"parameters": [
|
|
6554
|
-
{
|
|
6555
|
-
"name": "parameterAttribute"
|
|
6556
|
-
},
|
|
6557
|
-
{
|
|
6558
|
-
"name": "value"
|
|
6559
|
-
}
|
|
6560
|
-
]
|
|
6561
|
-
}
|
|
6562
|
-
],
|
|
6563
|
-
"events": [
|
|
6564
|
-
{
|
|
6565
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
6566
|
-
"name": "delete"
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
6570
|
-
"name": "edit"
|
|
6571
|
-
}
|
|
6572
|
-
],
|
|
6573
|
-
"attributes": [
|
|
6574
|
-
{
|
|
6575
|
-
"name": "parameter",
|
|
6576
|
-
"type": {
|
|
6577
|
-
"text": "ParameterBuilderEntity"
|
|
6578
|
-
},
|
|
6579
|
-
"fieldName": "parameter"
|
|
6580
|
-
}
|
|
6581
|
-
],
|
|
6582
|
-
"superclass": {
|
|
6583
|
-
"name": "GenesisElement",
|
|
6584
|
-
"package": "@genesislcap/web-core"
|
|
6585
|
-
},
|
|
6586
|
-
"tagName": "parameter-builder",
|
|
6587
|
-
"customElement": true
|
|
6588
|
-
}
|
|
6589
|
-
],
|
|
6590
|
-
"exports": [
|
|
6591
|
-
{
|
|
6592
|
-
"kind": "js",
|
|
6593
|
-
"name": "ParameterBuilder",
|
|
6594
|
-
"declaration": {
|
|
6595
|
-
"name": "ParameterBuilder",
|
|
6596
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6597
|
-
}
|
|
6598
|
-
},
|
|
6599
|
-
{
|
|
6600
|
-
"kind": "custom-element-definition",
|
|
6601
|
-
"name": "parameter-builder",
|
|
6602
|
-
"declaration": {
|
|
6603
|
-
"name": "ParameterBuilder",
|
|
6604
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6605
|
-
}
|
|
6606
|
-
}
|
|
6607
|
-
]
|
|
6608
|
-
},
|
|
6609
6609
|
{
|
|
6610
6610
|
"kind": "javascript-module",
|
|
6611
6611
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -225,17 +225,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
225
225
|
>;
|
|
226
226
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
227
227
|
|
|
228
|
-
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
229
|
-
React.PropsWithChildren<
|
|
230
|
-
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
231
|
-
HTMLWCProps & {
|
|
232
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
233
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
234
|
-
}
|
|
235
|
-
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
236
|
-
>;
|
|
237
|
-
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
238
|
-
|
|
239
228
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
240
229
|
React.PropsWithChildren<
|
|
241
230
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -247,16 +236,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
247
236
|
>;
|
|
248
237
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
249
238
|
|
|
250
|
-
export declare const
|
|
239
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
251
240
|
React.PropsWithChildren<
|
|
252
|
-
Omit<PublicOf<
|
|
241
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
253
242
|
HTMLWCProps & {
|
|
254
243
|
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
255
244
|
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
256
245
|
}
|
|
257
|
-
> & React.RefAttributes<
|
|
246
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
258
247
|
>;
|
|
259
|
-
export type
|
|
248
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
260
249
|
|
|
261
250
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
262
251
|
React.PropsWithChildren<
|
|
@@ -269,6 +258,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
269
258
|
>;
|
|
270
259
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
271
260
|
|
|
261
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
262
|
+
React.PropsWithChildren<
|
|
263
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
264
|
+
HTMLWCProps & {
|
|
265
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
266
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
267
|
+
}
|
|
268
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
269
|
+
>;
|
|
270
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
271
|
+
|
|
272
272
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
273
273
|
React.PropsWithChildren<
|
|
274
274
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -182,7 +182,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
182
182
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
183
183
|
});
|
|
184
184
|
|
|
185
|
-
const
|
|
185
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
186
186
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
187
187
|
const _innerRef = React.useRef(null);
|
|
188
188
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -201,10 +201,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
201
201
|
el.removeEventListener('edit', _onEditFn);
|
|
202
202
|
};
|
|
203
203
|
}, []);
|
|
204
|
-
return React.createElement(customElements.getName(
|
|
204
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
205
205
|
});
|
|
206
206
|
|
|
207
|
-
const
|
|
207
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
208
208
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
209
209
|
const _innerRef = React.useRef(null);
|
|
210
210
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -223,10 +223,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
223
223
|
el.removeEventListener('edit', _onEditFn);
|
|
224
224
|
};
|
|
225
225
|
}, []);
|
|
226
|
-
return React.createElement(customElements.getName(
|
|
226
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
227
227
|
});
|
|
228
228
|
|
|
229
|
-
const
|
|
229
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
230
230
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
231
231
|
const _innerRef = React.useRef(null);
|
|
232
232
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -245,10 +245,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
245
245
|
el.removeEventListener('edit', _onEditFn);
|
|
246
246
|
};
|
|
247
247
|
}, []);
|
|
248
|
-
return React.createElement(customElements.getName(
|
|
248
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
249
249
|
});
|
|
250
250
|
|
|
251
|
-
const
|
|
251
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
252
252
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
253
253
|
const _innerRef = React.useRef(null);
|
|
254
254
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -267,7 +267,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
267
267
|
el.removeEventListener('edit', _onEditFn);
|
|
268
268
|
};
|
|
269
269
|
}, []);
|
|
270
|
-
return React.createElement(customElements.getName(
|
|
270
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
271
271
|
});
|
|
272
272
|
|
|
273
273
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -311,9 +311,9 @@ module.exports = {
|
|
|
311
311
|
ScreenRouteManagement,
|
|
312
312
|
RuleDialog,
|
|
313
313
|
TemplateDialog,
|
|
314
|
-
RuleConditionBuilder,
|
|
315
314
|
RuleConditionGroup,
|
|
316
|
-
|
|
315
|
+
RuleConditionBuilder,
|
|
317
316
|
ParameterBuilder,
|
|
317
|
+
TemplateConditionBuilder,
|
|
318
318
|
TemplateConditionGroup,
|
|
319
319
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -180,7 +180,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
180
180
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
181
181
|
});
|
|
182
182
|
|
|
183
|
-
export const
|
|
183
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
184
184
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
185
185
|
const _innerRef = React.useRef(null);
|
|
186
186
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -199,10 +199,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
199
199
|
el.removeEventListener('edit', _onEditFn);
|
|
200
200
|
};
|
|
201
201
|
}, []);
|
|
202
|
-
return React.createElement(customElements.getName(
|
|
202
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
203
203
|
});
|
|
204
204
|
|
|
205
|
-
export const
|
|
205
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
206
206
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
207
207
|
const _innerRef = React.useRef(null);
|
|
208
208
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -221,10 +221,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
221
221
|
el.removeEventListener('edit', _onEditFn);
|
|
222
222
|
};
|
|
223
223
|
}, []);
|
|
224
|
-
return React.createElement(customElements.getName(
|
|
224
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
225
225
|
});
|
|
226
226
|
|
|
227
|
-
export const
|
|
227
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
228
228
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
229
229
|
const _innerRef = React.useRef(null);
|
|
230
230
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -243,10 +243,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
243
243
|
el.removeEventListener('edit', _onEditFn);
|
|
244
244
|
};
|
|
245
245
|
}, []);
|
|
246
|
-
return React.createElement(customElements.getName(
|
|
246
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
export const
|
|
249
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
250
250
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
251
251
|
const _innerRef = React.useRef(null);
|
|
252
252
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -265,7 +265,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
265
265
|
el.removeEventListener('edit', _onEditFn);
|
|
266
266
|
};
|
|
267
267
|
}, []);
|
|
268
|
-
return React.createElement(customElements.getName(
|
|
268
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
269
269
|
});
|
|
270
270
|
|
|
271
271
|
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "14.486.
|
|
4
|
+
"version": "14.486.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -83,30 +83,30 @@
|
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
84
|
"@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
|
|
85
85
|
"@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
|
|
86
|
-
"@genesislcap/design-system-configurator": "14.486.
|
|
87
|
-
"@genesislcap/eslint-config": "14.486.
|
|
88
|
-
"@genesislcap/eslint-stylelint-builder": "14.486.
|
|
89
|
-
"@genesislcap/foundation-testing": "14.486.
|
|
90
|
-
"@genesislcap/genx": "14.486.
|
|
91
|
-
"@genesislcap/prettier-config": "14.486.
|
|
92
|
-
"@genesislcap/stylelint-config": "14.486.
|
|
93
|
-
"@genesislcap/vite-builder": "14.486.
|
|
94
|
-
"@genesislcap/webpack-builder": "14.486.
|
|
86
|
+
"@genesislcap/design-system-configurator": "14.486.1",
|
|
87
|
+
"@genesislcap/eslint-config": "14.486.1",
|
|
88
|
+
"@genesislcap/eslint-stylelint-builder": "14.486.1",
|
|
89
|
+
"@genesislcap/foundation-testing": "14.486.1",
|
|
90
|
+
"@genesislcap/genx": "14.486.1",
|
|
91
|
+
"@genesislcap/prettier-config": "14.486.1",
|
|
92
|
+
"@genesislcap/stylelint-config": "14.486.1",
|
|
93
|
+
"@genesislcap/vite-builder": "14.486.1",
|
|
94
|
+
"@genesislcap/webpack-builder": "14.486.1",
|
|
95
95
|
"dayjs": "^1.11.7"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-comms": "14.486.
|
|
99
|
-
"@genesislcap/foundation-criteria": "14.486.
|
|
100
|
-
"@genesislcap/foundation-entity-management": "14.486.
|
|
101
|
-
"@genesislcap/foundation-forms": "14.486.
|
|
102
|
-
"@genesislcap/foundation-layout": "14.486.
|
|
103
|
-
"@genesislcap/foundation-logger": "14.486.
|
|
104
|
-
"@genesislcap/foundation-notifications": "14.486.
|
|
105
|
-
"@genesislcap/foundation-ui": "14.486.
|
|
106
|
-
"@genesislcap/foundation-utils": "14.486.
|
|
107
|
-
"@genesislcap/rapid-design-system": "14.486.
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "14.486.
|
|
109
|
-
"@genesislcap/web-core": "14.486.
|
|
98
|
+
"@genesislcap/foundation-comms": "14.486.1",
|
|
99
|
+
"@genesislcap/foundation-criteria": "14.486.1",
|
|
100
|
+
"@genesislcap/foundation-entity-management": "14.486.1",
|
|
101
|
+
"@genesislcap/foundation-forms": "14.486.1",
|
|
102
|
+
"@genesislcap/foundation-layout": "14.486.1",
|
|
103
|
+
"@genesislcap/foundation-logger": "14.486.1",
|
|
104
|
+
"@genesislcap/foundation-notifications": "14.486.1",
|
|
105
|
+
"@genesislcap/foundation-ui": "14.486.1",
|
|
106
|
+
"@genesislcap/foundation-utils": "14.486.1",
|
|
107
|
+
"@genesislcap/rapid-design-system": "14.486.1",
|
|
108
|
+
"@genesislcap/rapid-grid-pro": "14.486.1",
|
|
109
|
+
"@genesislcap/web-core": "14.486.1",
|
|
110
110
|
"lodash.debounce": "^4.0.8",
|
|
111
111
|
"rxjs": "^7.5.4"
|
|
112
112
|
},
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"customElements": "dist/custom-elements.json",
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "1e4e55b1ba9ef3aca8177127b52111d3ef0e53ae"
|
|
118
118
|
}
|