@genesislcap/pbc-notify-ui 15.51.0 → 15.51.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 +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
|
@@ -505,6 +505,27 @@
|
|
|
505
505
|
}
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
|
+
{
|
|
509
|
+
"kind": "javascript-module",
|
|
510
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
511
|
+
"declarations": [
|
|
512
|
+
{
|
|
513
|
+
"kind": "variable",
|
|
514
|
+
"name": "scrollbarStyles",
|
|
515
|
+
"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`"
|
|
516
|
+
}
|
|
517
|
+
],
|
|
518
|
+
"exports": [
|
|
519
|
+
{
|
|
520
|
+
"kind": "js",
|
|
521
|
+
"name": "scrollbarStyles",
|
|
522
|
+
"declaration": {
|
|
523
|
+
"name": "scrollbarStyles",
|
|
524
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
]
|
|
528
|
+
},
|
|
508
529
|
{
|
|
509
530
|
"kind": "javascript-module",
|
|
510
531
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -826,27 +847,6 @@
|
|
|
826
847
|
}
|
|
827
848
|
]
|
|
828
849
|
},
|
|
829
|
-
{
|
|
830
|
-
"kind": "javascript-module",
|
|
831
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
832
|
-
"declarations": [
|
|
833
|
-
{
|
|
834
|
-
"kind": "variable",
|
|
835
|
-
"name": "scrollbarStyles",
|
|
836
|
-
"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`"
|
|
837
|
-
}
|
|
838
|
-
],
|
|
839
|
-
"exports": [
|
|
840
|
-
{
|
|
841
|
-
"kind": "js",
|
|
842
|
-
"name": "scrollbarStyles",
|
|
843
|
-
"declaration": {
|
|
844
|
-
"name": "scrollbarStyles",
|
|
845
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
]
|
|
849
|
-
},
|
|
850
850
|
{
|
|
851
851
|
"kind": "javascript-module",
|
|
852
852
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -9831,6 +9831,156 @@
|
|
|
9831
9831
|
}
|
|
9832
9832
|
]
|
|
9833
9833
|
},
|
|
9834
|
+
{
|
|
9835
|
+
"kind": "javascript-module",
|
|
9836
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
9837
|
+
"declarations": [
|
|
9838
|
+
{
|
|
9839
|
+
"kind": "variable",
|
|
9840
|
+
"name": "RuleConditionGroupTemplate",
|
|
9841
|
+
"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`"
|
|
9842
|
+
}
|
|
9843
|
+
],
|
|
9844
|
+
"exports": [
|
|
9845
|
+
{
|
|
9846
|
+
"kind": "js",
|
|
9847
|
+
"name": "RuleConditionGroupTemplate",
|
|
9848
|
+
"declaration": {
|
|
9849
|
+
"name": "RuleConditionGroupTemplate",
|
|
9850
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
9851
|
+
}
|
|
9852
|
+
}
|
|
9853
|
+
]
|
|
9854
|
+
},
|
|
9855
|
+
{
|
|
9856
|
+
"kind": "javascript-module",
|
|
9857
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
9858
|
+
"declarations": [
|
|
9859
|
+
{
|
|
9860
|
+
"kind": "class",
|
|
9861
|
+
"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.",
|
|
9862
|
+
"name": "RuleConditionGroup",
|
|
9863
|
+
"members": [
|
|
9864
|
+
{
|
|
9865
|
+
"kind": "field",
|
|
9866
|
+
"name": "node",
|
|
9867
|
+
"type": {
|
|
9868
|
+
"text": "ConditionGroupEntity"
|
|
9869
|
+
}
|
|
9870
|
+
},
|
|
9871
|
+
{
|
|
9872
|
+
"kind": "field",
|
|
9873
|
+
"name": "fields",
|
|
9874
|
+
"type": {
|
|
9875
|
+
"text": "Field[]"
|
|
9876
|
+
},
|
|
9877
|
+
"default": "[]"
|
|
9878
|
+
},
|
|
9879
|
+
{
|
|
9880
|
+
"kind": "field",
|
|
9881
|
+
"name": "isFirst",
|
|
9882
|
+
"type": {
|
|
9883
|
+
"text": "boolean"
|
|
9884
|
+
},
|
|
9885
|
+
"default": "false"
|
|
9886
|
+
},
|
|
9887
|
+
{
|
|
9888
|
+
"kind": "field",
|
|
9889
|
+
"name": "joinOperator",
|
|
9890
|
+
"type": {
|
|
9891
|
+
"text": "string"
|
|
9892
|
+
}
|
|
9893
|
+
},
|
|
9894
|
+
{
|
|
9895
|
+
"kind": "field",
|
|
9896
|
+
"name": "groupChildren",
|
|
9897
|
+
"type": {
|
|
9898
|
+
"text": "ConditionNode[]"
|
|
9899
|
+
},
|
|
9900
|
+
"default": "[]"
|
|
9901
|
+
},
|
|
9902
|
+
{
|
|
9903
|
+
"kind": "method",
|
|
9904
|
+
"name": "nodeChanged"
|
|
9905
|
+
},
|
|
9906
|
+
{
|
|
9907
|
+
"kind": "method",
|
|
9908
|
+
"name": "joinOperatorChanged"
|
|
9909
|
+
},
|
|
9910
|
+
{
|
|
9911
|
+
"kind": "method",
|
|
9912
|
+
"name": "newCondition"
|
|
9913
|
+
},
|
|
9914
|
+
{
|
|
9915
|
+
"kind": "method",
|
|
9916
|
+
"name": "newGroup"
|
|
9917
|
+
},
|
|
9918
|
+
{
|
|
9919
|
+
"kind": "method",
|
|
9920
|
+
"name": "editChild",
|
|
9921
|
+
"parameters": [
|
|
9922
|
+
{
|
|
9923
|
+
"name": "_editedChild",
|
|
9924
|
+
"type": {
|
|
9925
|
+
"text": "ConditionNode"
|
|
9926
|
+
}
|
|
9927
|
+
}
|
|
9928
|
+
]
|
|
9929
|
+
},
|
|
9930
|
+
{
|
|
9931
|
+
"kind": "method",
|
|
9932
|
+
"name": "deleteChild",
|
|
9933
|
+
"parameters": [
|
|
9934
|
+
{
|
|
9935
|
+
"name": "deletedChild",
|
|
9936
|
+
"type": {
|
|
9937
|
+
"text": "ConditionNode"
|
|
9938
|
+
}
|
|
9939
|
+
}
|
|
9940
|
+
]
|
|
9941
|
+
},
|
|
9942
|
+
{
|
|
9943
|
+
"kind": "method",
|
|
9944
|
+
"name": "deleteSelf"
|
|
9945
|
+
}
|
|
9946
|
+
],
|
|
9947
|
+
"events": [
|
|
9948
|
+
{
|
|
9949
|
+
"description": "Fired when this whole group should be removed",
|
|
9950
|
+
"name": "delete"
|
|
9951
|
+
},
|
|
9952
|
+
{
|
|
9953
|
+
"description": "Fired when anything inside this group changes",
|
|
9954
|
+
"name": "edit"
|
|
9955
|
+
}
|
|
9956
|
+
],
|
|
9957
|
+
"superclass": {
|
|
9958
|
+
"name": "GenesisElement",
|
|
9959
|
+
"package": "@genesislcap/web-core"
|
|
9960
|
+
},
|
|
9961
|
+
"tagName": "rule-condition-group",
|
|
9962
|
+
"customElement": true
|
|
9963
|
+
}
|
|
9964
|
+
],
|
|
9965
|
+
"exports": [
|
|
9966
|
+
{
|
|
9967
|
+
"kind": "js",
|
|
9968
|
+
"name": "RuleConditionGroup",
|
|
9969
|
+
"declaration": {
|
|
9970
|
+
"name": "RuleConditionGroup",
|
|
9971
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
9972
|
+
}
|
|
9973
|
+
},
|
|
9974
|
+
{
|
|
9975
|
+
"kind": "custom-element-definition",
|
|
9976
|
+
"name": "rule-condition-group",
|
|
9977
|
+
"declaration": {
|
|
9978
|
+
"name": "RuleConditionGroup",
|
|
9979
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
9980
|
+
}
|
|
9981
|
+
}
|
|
9982
|
+
]
|
|
9983
|
+
},
|
|
9834
9984
|
{
|
|
9835
9985
|
"kind": "javascript-module",
|
|
9836
9986
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -10117,150 +10267,214 @@
|
|
|
10117
10267
|
},
|
|
10118
10268
|
{
|
|
10119
10269
|
"kind": "javascript-module",
|
|
10120
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10270
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10121
10271
|
"declarations": [
|
|
10122
10272
|
{
|
|
10123
10273
|
"kind": "variable",
|
|
10124
|
-
"name": "
|
|
10125
|
-
"default": "
|
|
10274
|
+
"name": "ParameterBuilderStyles",
|
|
10275
|
+
"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`"
|
|
10126
10276
|
}
|
|
10127
10277
|
],
|
|
10128
10278
|
"exports": [
|
|
10129
10279
|
{
|
|
10130
10280
|
"kind": "js",
|
|
10131
|
-
"name": "
|
|
10281
|
+
"name": "ParameterBuilderStyles",
|
|
10132
10282
|
"declaration": {
|
|
10133
|
-
"name": "
|
|
10134
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10283
|
+
"name": "ParameterBuilderStyles",
|
|
10284
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10135
10285
|
}
|
|
10136
10286
|
}
|
|
10137
10287
|
]
|
|
10138
10288
|
},
|
|
10139
10289
|
{
|
|
10140
10290
|
"kind": "javascript-module",
|
|
10141
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10291
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10292
|
+
"declarations": [
|
|
10293
|
+
{
|
|
10294
|
+
"kind": "variable",
|
|
10295
|
+
"name": "ParameterBuilderTemplate",
|
|
10296
|
+
"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`"
|
|
10297
|
+
}
|
|
10298
|
+
],
|
|
10299
|
+
"exports": [
|
|
10300
|
+
{
|
|
10301
|
+
"kind": "js",
|
|
10302
|
+
"name": "ParameterBuilderTemplate",
|
|
10303
|
+
"declaration": {
|
|
10304
|
+
"name": "ParameterBuilderTemplate",
|
|
10305
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10306
|
+
}
|
|
10307
|
+
}
|
|
10308
|
+
]
|
|
10309
|
+
},
|
|
10310
|
+
{
|
|
10311
|
+
"kind": "javascript-module",
|
|
10312
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10142
10313
|
"declarations": [
|
|
10143
10314
|
{
|
|
10144
10315
|
"kind": "class",
|
|
10145
|
-
"description": "
|
|
10146
|
-
"name": "
|
|
10316
|
+
"description": "Parameter builder for notification templates.",
|
|
10317
|
+
"name": "ParameterBuilder",
|
|
10147
10318
|
"members": [
|
|
10148
10319
|
{
|
|
10149
10320
|
"kind": "field",
|
|
10150
|
-
"name": "
|
|
10321
|
+
"name": "parameter",
|
|
10151
10322
|
"type": {
|
|
10152
|
-
"text": "
|
|
10323
|
+
"text": "ParameterBuilderEntity"
|
|
10153
10324
|
}
|
|
10154
10325
|
},
|
|
10155
10326
|
{
|
|
10156
10327
|
"kind": "field",
|
|
10157
|
-
"name": "
|
|
10328
|
+
"name": "name",
|
|
10158
10329
|
"type": {
|
|
10159
|
-
"text": "
|
|
10160
|
-
}
|
|
10161
|
-
"default": "[]"
|
|
10330
|
+
"text": "string"
|
|
10331
|
+
}
|
|
10162
10332
|
},
|
|
10163
10333
|
{
|
|
10164
10334
|
"kind": "field",
|
|
10165
|
-
"name": "
|
|
10335
|
+
"name": "label",
|
|
10166
10336
|
"type": {
|
|
10167
|
-
"text": "
|
|
10168
|
-
}
|
|
10169
|
-
"default": "false"
|
|
10337
|
+
"text": "string"
|
|
10338
|
+
}
|
|
10170
10339
|
},
|
|
10171
10340
|
{
|
|
10172
10341
|
"kind": "field",
|
|
10173
|
-
"name": "
|
|
10342
|
+
"name": "type",
|
|
10174
10343
|
"type": {
|
|
10175
10344
|
"text": "string"
|
|
10176
10345
|
}
|
|
10177
10346
|
},
|
|
10178
10347
|
{
|
|
10179
10348
|
"kind": "field",
|
|
10180
|
-
"name": "
|
|
10349
|
+
"name": "sourceType",
|
|
10181
10350
|
"type": {
|
|
10182
|
-
"text": "
|
|
10183
|
-
}
|
|
10184
|
-
|
|
10351
|
+
"text": "string"
|
|
10352
|
+
}
|
|
10353
|
+
},
|
|
10354
|
+
{
|
|
10355
|
+
"kind": "field",
|
|
10356
|
+
"name": "sourceSelected",
|
|
10357
|
+
"type": {
|
|
10358
|
+
"text": "string"
|
|
10359
|
+
}
|
|
10360
|
+
},
|
|
10361
|
+
{
|
|
10362
|
+
"kind": "field",
|
|
10363
|
+
"name": "sourceTyped",
|
|
10364
|
+
"type": {
|
|
10365
|
+
"text": "string"
|
|
10366
|
+
}
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
"kind": "field",
|
|
10370
|
+
"name": "sourceTextField",
|
|
10371
|
+
"type": {
|
|
10372
|
+
"text": "TextField"
|
|
10373
|
+
}
|
|
10374
|
+
},
|
|
10375
|
+
{
|
|
10376
|
+
"kind": "field",
|
|
10377
|
+
"name": "sourceSelect",
|
|
10378
|
+
"type": {
|
|
10379
|
+
"text": "Select"
|
|
10380
|
+
}
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"kind": "field",
|
|
10384
|
+
"name": "reqRepItems",
|
|
10385
|
+
"type": {
|
|
10386
|
+
"text": "array"
|
|
10387
|
+
},
|
|
10388
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10185
10389
|
},
|
|
10186
10390
|
{
|
|
10187
10391
|
"kind": "method",
|
|
10188
|
-
"name": "
|
|
10392
|
+
"name": "deleteParameter"
|
|
10189
10393
|
},
|
|
10190
10394
|
{
|
|
10191
10395
|
"kind": "method",
|
|
10192
|
-
"name": "
|
|
10396
|
+
"name": "parameterChanged"
|
|
10193
10397
|
},
|
|
10194
10398
|
{
|
|
10195
10399
|
"kind": "method",
|
|
10196
|
-
"name": "
|
|
10400
|
+
"name": "nameChanged"
|
|
10197
10401
|
},
|
|
10198
10402
|
{
|
|
10199
10403
|
"kind": "method",
|
|
10200
|
-
"name": "
|
|
10404
|
+
"name": "labelChanged"
|
|
10201
10405
|
},
|
|
10202
10406
|
{
|
|
10203
10407
|
"kind": "method",
|
|
10204
|
-
"name": "
|
|
10205
|
-
"parameters": [
|
|
10206
|
-
{
|
|
10207
|
-
"name": "_editedChild",
|
|
10208
|
-
"type": {
|
|
10209
|
-
"text": "ConditionNode"
|
|
10210
|
-
}
|
|
10211
|
-
}
|
|
10212
|
-
]
|
|
10408
|
+
"name": "typeChanged"
|
|
10213
10409
|
},
|
|
10214
10410
|
{
|
|
10215
10411
|
"kind": "method",
|
|
10216
|
-
"name": "
|
|
10412
|
+
"name": "sourceTypeChanged"
|
|
10413
|
+
},
|
|
10414
|
+
{
|
|
10415
|
+
"kind": "method",
|
|
10416
|
+
"name": "sourceSelectedChanged"
|
|
10417
|
+
},
|
|
10418
|
+
{
|
|
10419
|
+
"kind": "method",
|
|
10420
|
+
"name": "sourceTypedChanged"
|
|
10421
|
+
},
|
|
10422
|
+
{
|
|
10423
|
+
"kind": "method",
|
|
10424
|
+
"name": "genericChanged",
|
|
10425
|
+
"privacy": "private",
|
|
10217
10426
|
"parameters": [
|
|
10218
10427
|
{
|
|
10219
|
-
"name": "
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
10428
|
+
"name": "parameterAttribute"
|
|
10429
|
+
},
|
|
10430
|
+
{
|
|
10431
|
+
"name": "value"
|
|
10223
10432
|
}
|
|
10224
10433
|
]
|
|
10225
|
-
},
|
|
10226
|
-
{
|
|
10227
|
-
"kind": "method",
|
|
10228
|
-
"name": "deleteSelf"
|
|
10229
10434
|
}
|
|
10230
10435
|
],
|
|
10231
10436
|
"events": [
|
|
10232
10437
|
{
|
|
10233
|
-
"description": "Fired when
|
|
10438
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10234
10439
|
"name": "delete"
|
|
10235
10440
|
},
|
|
10236
10441
|
{
|
|
10237
|
-
"description": "Fired when
|
|
10442
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10238
10443
|
"name": "edit"
|
|
10239
10444
|
}
|
|
10240
10445
|
],
|
|
10446
|
+
"attributes": [
|
|
10447
|
+
{
|
|
10448
|
+
"name": "parameter",
|
|
10449
|
+
"type": {
|
|
10450
|
+
"text": "ParameterBuilderEntity"
|
|
10451
|
+
},
|
|
10452
|
+
"fieldName": "parameter"
|
|
10453
|
+
}
|
|
10454
|
+
],
|
|
10241
10455
|
"superclass": {
|
|
10242
10456
|
"name": "GenesisElement",
|
|
10243
10457
|
"package": "@genesislcap/web-core"
|
|
10244
10458
|
},
|
|
10245
|
-
"tagName": "
|
|
10459
|
+
"tagName": "parameter-builder",
|
|
10246
10460
|
"customElement": true
|
|
10247
10461
|
}
|
|
10248
10462
|
],
|
|
10249
10463
|
"exports": [
|
|
10250
10464
|
{
|
|
10251
10465
|
"kind": "js",
|
|
10252
|
-
"name": "
|
|
10466
|
+
"name": "ParameterBuilder",
|
|
10253
10467
|
"declaration": {
|
|
10254
|
-
"name": "
|
|
10255
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10468
|
+
"name": "ParameterBuilder",
|
|
10469
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10256
10470
|
}
|
|
10257
10471
|
},
|
|
10258
10472
|
{
|
|
10259
10473
|
"kind": "custom-element-definition",
|
|
10260
|
-
"name": "
|
|
10474
|
+
"name": "parameter-builder",
|
|
10261
10475
|
"declaration": {
|
|
10262
|
-
"name": "
|
|
10263
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10476
|
+
"name": "ParameterBuilder",
|
|
10477
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10264
10478
|
}
|
|
10265
10479
|
}
|
|
10266
10480
|
]
|
|
@@ -10706,220 +10920,6 @@
|
|
|
10706
10920
|
}
|
|
10707
10921
|
}
|
|
10708
10922
|
]
|
|
10709
|
-
},
|
|
10710
|
-
{
|
|
10711
|
-
"kind": "javascript-module",
|
|
10712
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10713
|
-
"declarations": [
|
|
10714
|
-
{
|
|
10715
|
-
"kind": "variable",
|
|
10716
|
-
"name": "ParameterBuilderStyles",
|
|
10717
|
-
"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`"
|
|
10718
|
-
}
|
|
10719
|
-
],
|
|
10720
|
-
"exports": [
|
|
10721
|
-
{
|
|
10722
|
-
"kind": "js",
|
|
10723
|
-
"name": "ParameterBuilderStyles",
|
|
10724
|
-
"declaration": {
|
|
10725
|
-
"name": "ParameterBuilderStyles",
|
|
10726
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10727
|
-
}
|
|
10728
|
-
}
|
|
10729
|
-
]
|
|
10730
|
-
},
|
|
10731
|
-
{
|
|
10732
|
-
"kind": "javascript-module",
|
|
10733
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10734
|
-
"declarations": [
|
|
10735
|
-
{
|
|
10736
|
-
"kind": "variable",
|
|
10737
|
-
"name": "ParameterBuilderTemplate",
|
|
10738
|
-
"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`"
|
|
10739
|
-
}
|
|
10740
|
-
],
|
|
10741
|
-
"exports": [
|
|
10742
|
-
{
|
|
10743
|
-
"kind": "js",
|
|
10744
|
-
"name": "ParameterBuilderTemplate",
|
|
10745
|
-
"declaration": {
|
|
10746
|
-
"name": "ParameterBuilderTemplate",
|
|
10747
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10748
|
-
}
|
|
10749
|
-
}
|
|
10750
|
-
]
|
|
10751
|
-
},
|
|
10752
|
-
{
|
|
10753
|
-
"kind": "javascript-module",
|
|
10754
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10755
|
-
"declarations": [
|
|
10756
|
-
{
|
|
10757
|
-
"kind": "class",
|
|
10758
|
-
"description": "Parameter builder for notification templates.",
|
|
10759
|
-
"name": "ParameterBuilder",
|
|
10760
|
-
"members": [
|
|
10761
|
-
{
|
|
10762
|
-
"kind": "field",
|
|
10763
|
-
"name": "parameter",
|
|
10764
|
-
"type": {
|
|
10765
|
-
"text": "ParameterBuilderEntity"
|
|
10766
|
-
}
|
|
10767
|
-
},
|
|
10768
|
-
{
|
|
10769
|
-
"kind": "field",
|
|
10770
|
-
"name": "name",
|
|
10771
|
-
"type": {
|
|
10772
|
-
"text": "string"
|
|
10773
|
-
}
|
|
10774
|
-
},
|
|
10775
|
-
{
|
|
10776
|
-
"kind": "field",
|
|
10777
|
-
"name": "label",
|
|
10778
|
-
"type": {
|
|
10779
|
-
"text": "string"
|
|
10780
|
-
}
|
|
10781
|
-
},
|
|
10782
|
-
{
|
|
10783
|
-
"kind": "field",
|
|
10784
|
-
"name": "type",
|
|
10785
|
-
"type": {
|
|
10786
|
-
"text": "string"
|
|
10787
|
-
}
|
|
10788
|
-
},
|
|
10789
|
-
{
|
|
10790
|
-
"kind": "field",
|
|
10791
|
-
"name": "sourceType",
|
|
10792
|
-
"type": {
|
|
10793
|
-
"text": "string"
|
|
10794
|
-
}
|
|
10795
|
-
},
|
|
10796
|
-
{
|
|
10797
|
-
"kind": "field",
|
|
10798
|
-
"name": "sourceSelected",
|
|
10799
|
-
"type": {
|
|
10800
|
-
"text": "string"
|
|
10801
|
-
}
|
|
10802
|
-
},
|
|
10803
|
-
{
|
|
10804
|
-
"kind": "field",
|
|
10805
|
-
"name": "sourceTyped",
|
|
10806
|
-
"type": {
|
|
10807
|
-
"text": "string"
|
|
10808
|
-
}
|
|
10809
|
-
},
|
|
10810
|
-
{
|
|
10811
|
-
"kind": "field",
|
|
10812
|
-
"name": "sourceTextField",
|
|
10813
|
-
"type": {
|
|
10814
|
-
"text": "TextField"
|
|
10815
|
-
}
|
|
10816
|
-
},
|
|
10817
|
-
{
|
|
10818
|
-
"kind": "field",
|
|
10819
|
-
"name": "sourceSelect",
|
|
10820
|
-
"type": {
|
|
10821
|
-
"text": "Select"
|
|
10822
|
-
}
|
|
10823
|
-
},
|
|
10824
|
-
{
|
|
10825
|
-
"kind": "field",
|
|
10826
|
-
"name": "reqRepItems",
|
|
10827
|
-
"type": {
|
|
10828
|
-
"text": "array"
|
|
10829
|
-
},
|
|
10830
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10831
|
-
},
|
|
10832
|
-
{
|
|
10833
|
-
"kind": "method",
|
|
10834
|
-
"name": "deleteParameter"
|
|
10835
|
-
},
|
|
10836
|
-
{
|
|
10837
|
-
"kind": "method",
|
|
10838
|
-
"name": "parameterChanged"
|
|
10839
|
-
},
|
|
10840
|
-
{
|
|
10841
|
-
"kind": "method",
|
|
10842
|
-
"name": "nameChanged"
|
|
10843
|
-
},
|
|
10844
|
-
{
|
|
10845
|
-
"kind": "method",
|
|
10846
|
-
"name": "labelChanged"
|
|
10847
|
-
},
|
|
10848
|
-
{
|
|
10849
|
-
"kind": "method",
|
|
10850
|
-
"name": "typeChanged"
|
|
10851
|
-
},
|
|
10852
|
-
{
|
|
10853
|
-
"kind": "method",
|
|
10854
|
-
"name": "sourceTypeChanged"
|
|
10855
|
-
},
|
|
10856
|
-
{
|
|
10857
|
-
"kind": "method",
|
|
10858
|
-
"name": "sourceSelectedChanged"
|
|
10859
|
-
},
|
|
10860
|
-
{
|
|
10861
|
-
"kind": "method",
|
|
10862
|
-
"name": "sourceTypedChanged"
|
|
10863
|
-
},
|
|
10864
|
-
{
|
|
10865
|
-
"kind": "method",
|
|
10866
|
-
"name": "genericChanged",
|
|
10867
|
-
"privacy": "private",
|
|
10868
|
-
"parameters": [
|
|
10869
|
-
{
|
|
10870
|
-
"name": "parameterAttribute"
|
|
10871
|
-
},
|
|
10872
|
-
{
|
|
10873
|
-
"name": "value"
|
|
10874
|
-
}
|
|
10875
|
-
]
|
|
10876
|
-
}
|
|
10877
|
-
],
|
|
10878
|
-
"events": [
|
|
10879
|
-
{
|
|
10880
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10881
|
-
"name": "delete"
|
|
10882
|
-
},
|
|
10883
|
-
{
|
|
10884
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10885
|
-
"name": "edit"
|
|
10886
|
-
}
|
|
10887
|
-
],
|
|
10888
|
-
"attributes": [
|
|
10889
|
-
{
|
|
10890
|
-
"name": "parameter",
|
|
10891
|
-
"type": {
|
|
10892
|
-
"text": "ParameterBuilderEntity"
|
|
10893
|
-
},
|
|
10894
|
-
"fieldName": "parameter"
|
|
10895
|
-
}
|
|
10896
|
-
],
|
|
10897
|
-
"superclass": {
|
|
10898
|
-
"name": "GenesisElement",
|
|
10899
|
-
"package": "@genesislcap/web-core"
|
|
10900
|
-
},
|
|
10901
|
-
"tagName": "parameter-builder",
|
|
10902
|
-
"customElement": true
|
|
10903
|
-
}
|
|
10904
|
-
],
|
|
10905
|
-
"exports": [
|
|
10906
|
-
{
|
|
10907
|
-
"kind": "js",
|
|
10908
|
-
"name": "ParameterBuilder",
|
|
10909
|
-
"declaration": {
|
|
10910
|
-
"name": "ParameterBuilder",
|
|
10911
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10912
|
-
}
|
|
10913
|
-
},
|
|
10914
|
-
{
|
|
10915
|
-
"kind": "custom-element-definition",
|
|
10916
|
-
"name": "parameter-builder",
|
|
10917
|
-
"declaration": {
|
|
10918
|
-
"name": "ParameterBuilder",
|
|
10919
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10920
|
-
}
|
|
10921
|
-
}
|
|
10922
|
-
]
|
|
10923
10923
|
}
|
|
10924
10924
|
]
|
|
10925
10925
|
}
|
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.51.
|
|
4
|
+
"version": "15.51.1",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -80,30 +80,30 @@
|
|
|
80
80
|
"@commitlint/cli": "^19.2.1",
|
|
81
81
|
"@commitlint/config-conventional": "^19.1.0",
|
|
82
82
|
"@commitlint/format": "^19.0.3",
|
|
83
|
-
"@genesislcap/design-system-configurator": "15.51.
|
|
84
|
-
"@genesislcap/eslint-config": "15.51.
|
|
85
|
-
"@genesislcap/eslint-stylelint-builder": "15.51.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.51.
|
|
87
|
-
"@genesislcap/genx": "15.51.
|
|
88
|
-
"@genesislcap/prettier-config": "15.51.
|
|
89
|
-
"@genesislcap/stylelint-config": "15.51.
|
|
90
|
-
"@genesislcap/vite-builder": "15.51.
|
|
91
|
-
"@genesislcap/webpack-builder": "15.51.
|
|
83
|
+
"@genesislcap/design-system-configurator": "15.51.1",
|
|
84
|
+
"@genesislcap/eslint-config": "15.51.1",
|
|
85
|
+
"@genesislcap/eslint-stylelint-builder": "15.51.1",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.51.1",
|
|
87
|
+
"@genesislcap/genx": "15.51.1",
|
|
88
|
+
"@genesislcap/prettier-config": "15.51.1",
|
|
89
|
+
"@genesislcap/stylelint-config": "15.51.1",
|
|
90
|
+
"@genesislcap/vite-builder": "15.51.1",
|
|
91
|
+
"@genesislcap/webpack-builder": "15.51.1",
|
|
92
92
|
"dayjs": "^1.11.7"
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
|
-
"@genesislcap/foundation-comms": "15.51.
|
|
96
|
-
"@genesislcap/foundation-criteria": "15.51.
|
|
97
|
-
"@genesislcap/foundation-entity-management": "15.51.
|
|
98
|
-
"@genesislcap/foundation-forms": "15.51.
|
|
99
|
-
"@genesislcap/foundation-layout": "15.51.
|
|
100
|
-
"@genesislcap/foundation-logger": "15.51.
|
|
101
|
-
"@genesislcap/foundation-notifications": "15.51.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.51.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.51.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.51.
|
|
105
|
-
"@genesislcap/rapid-grid-pro": "15.51.
|
|
106
|
-
"@genesislcap/web-core": "15.51.
|
|
95
|
+
"@genesislcap/foundation-comms": "15.51.1",
|
|
96
|
+
"@genesislcap/foundation-criteria": "15.51.1",
|
|
97
|
+
"@genesislcap/foundation-entity-management": "15.51.1",
|
|
98
|
+
"@genesislcap/foundation-forms": "15.51.1",
|
|
99
|
+
"@genesislcap/foundation-layout": "15.51.1",
|
|
100
|
+
"@genesislcap/foundation-logger": "15.51.1",
|
|
101
|
+
"@genesislcap/foundation-notifications": "15.51.1",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.51.1",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.51.1",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.51.1",
|
|
105
|
+
"@genesislcap/rapid-grid-pro": "15.51.1",
|
|
106
|
+
"@genesislcap/web-core": "15.51.1",
|
|
107
107
|
"lodash.debounce": "^4.0.8",
|
|
108
108
|
"rxjs": "^7.5.4"
|
|
109
109
|
},
|