@genesislcap/pbc-notify-ui 15.8.1 → 15.8.3
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 +15 -15
- package/dist/react.cjs +10 -10
- package/dist/react.mjs +8 -8
- package/package.json +23 -23
|
@@ -415,6 +415,27 @@
|
|
|
415
415
|
}
|
|
416
416
|
]
|
|
417
417
|
},
|
|
418
|
+
{
|
|
419
|
+
"kind": "javascript-module",
|
|
420
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
421
|
+
"declarations": [
|
|
422
|
+
{
|
|
423
|
+
"kind": "variable",
|
|
424
|
+
"name": "scrollbarStyles",
|
|
425
|
+
"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`"
|
|
426
|
+
}
|
|
427
|
+
],
|
|
428
|
+
"exports": [
|
|
429
|
+
{
|
|
430
|
+
"kind": "js",
|
|
431
|
+
"name": "scrollbarStyles",
|
|
432
|
+
"declaration": {
|
|
433
|
+
"name": "scrollbarStyles",
|
|
434
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
},
|
|
418
439
|
{
|
|
419
440
|
"kind": "javascript-module",
|
|
420
441
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -736,27 +757,6 @@
|
|
|
736
757
|
}
|
|
737
758
|
]
|
|
738
759
|
},
|
|
739
|
-
{
|
|
740
|
-
"kind": "javascript-module",
|
|
741
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
742
|
-
"declarations": [
|
|
743
|
-
{
|
|
744
|
-
"kind": "variable",
|
|
745
|
-
"name": "scrollbarStyles",
|
|
746
|
-
"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`"
|
|
747
|
-
}
|
|
748
|
-
],
|
|
749
|
-
"exports": [
|
|
750
|
-
{
|
|
751
|
-
"kind": "js",
|
|
752
|
-
"name": "scrollbarStyles",
|
|
753
|
-
"declaration": {
|
|
754
|
-
"name": "scrollbarStyles",
|
|
755
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
756
|
-
}
|
|
757
|
-
}
|
|
758
|
-
]
|
|
759
|
-
},
|
|
760
760
|
{
|
|
761
761
|
"kind": "javascript-module",
|
|
762
762
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -6886,6 +6886,156 @@
|
|
|
6886
6886
|
}
|
|
6887
6887
|
]
|
|
6888
6888
|
},
|
|
6889
|
+
{
|
|
6890
|
+
"kind": "javascript-module",
|
|
6891
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
6892
|
+
"declarations": [
|
|
6893
|
+
{
|
|
6894
|
+
"kind": "variable",
|
|
6895
|
+
"name": "RuleConditionGroupTemplate",
|
|
6896
|
+
"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`"
|
|
6897
|
+
}
|
|
6898
|
+
],
|
|
6899
|
+
"exports": [
|
|
6900
|
+
{
|
|
6901
|
+
"kind": "js",
|
|
6902
|
+
"name": "RuleConditionGroupTemplate",
|
|
6903
|
+
"declaration": {
|
|
6904
|
+
"name": "RuleConditionGroupTemplate",
|
|
6905
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
6906
|
+
}
|
|
6907
|
+
}
|
|
6908
|
+
]
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
"kind": "javascript-module",
|
|
6912
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
6913
|
+
"declarations": [
|
|
6914
|
+
{
|
|
6915
|
+
"kind": "class",
|
|
6916
|
+
"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.",
|
|
6917
|
+
"name": "RuleConditionGroup",
|
|
6918
|
+
"members": [
|
|
6919
|
+
{
|
|
6920
|
+
"kind": "field",
|
|
6921
|
+
"name": "node",
|
|
6922
|
+
"type": {
|
|
6923
|
+
"text": "ConditionGroupEntity"
|
|
6924
|
+
}
|
|
6925
|
+
},
|
|
6926
|
+
{
|
|
6927
|
+
"kind": "field",
|
|
6928
|
+
"name": "fields",
|
|
6929
|
+
"type": {
|
|
6930
|
+
"text": "Field[]"
|
|
6931
|
+
},
|
|
6932
|
+
"default": "[]"
|
|
6933
|
+
},
|
|
6934
|
+
{
|
|
6935
|
+
"kind": "field",
|
|
6936
|
+
"name": "isFirst",
|
|
6937
|
+
"type": {
|
|
6938
|
+
"text": "boolean"
|
|
6939
|
+
},
|
|
6940
|
+
"default": "false"
|
|
6941
|
+
},
|
|
6942
|
+
{
|
|
6943
|
+
"kind": "field",
|
|
6944
|
+
"name": "joinOperator",
|
|
6945
|
+
"type": {
|
|
6946
|
+
"text": "string"
|
|
6947
|
+
}
|
|
6948
|
+
},
|
|
6949
|
+
{
|
|
6950
|
+
"kind": "field",
|
|
6951
|
+
"name": "groupChildren",
|
|
6952
|
+
"type": {
|
|
6953
|
+
"text": "ConditionNode[]"
|
|
6954
|
+
},
|
|
6955
|
+
"default": "[]"
|
|
6956
|
+
},
|
|
6957
|
+
{
|
|
6958
|
+
"kind": "method",
|
|
6959
|
+
"name": "nodeChanged"
|
|
6960
|
+
},
|
|
6961
|
+
{
|
|
6962
|
+
"kind": "method",
|
|
6963
|
+
"name": "joinOperatorChanged"
|
|
6964
|
+
},
|
|
6965
|
+
{
|
|
6966
|
+
"kind": "method",
|
|
6967
|
+
"name": "newCondition"
|
|
6968
|
+
},
|
|
6969
|
+
{
|
|
6970
|
+
"kind": "method",
|
|
6971
|
+
"name": "newGroup"
|
|
6972
|
+
},
|
|
6973
|
+
{
|
|
6974
|
+
"kind": "method",
|
|
6975
|
+
"name": "editChild",
|
|
6976
|
+
"parameters": [
|
|
6977
|
+
{
|
|
6978
|
+
"name": "_editedChild",
|
|
6979
|
+
"type": {
|
|
6980
|
+
"text": "ConditionNode"
|
|
6981
|
+
}
|
|
6982
|
+
}
|
|
6983
|
+
]
|
|
6984
|
+
},
|
|
6985
|
+
{
|
|
6986
|
+
"kind": "method",
|
|
6987
|
+
"name": "deleteChild",
|
|
6988
|
+
"parameters": [
|
|
6989
|
+
{
|
|
6990
|
+
"name": "deletedChild",
|
|
6991
|
+
"type": {
|
|
6992
|
+
"text": "ConditionNode"
|
|
6993
|
+
}
|
|
6994
|
+
}
|
|
6995
|
+
]
|
|
6996
|
+
},
|
|
6997
|
+
{
|
|
6998
|
+
"kind": "method",
|
|
6999
|
+
"name": "deleteSelf"
|
|
7000
|
+
}
|
|
7001
|
+
],
|
|
7002
|
+
"events": [
|
|
7003
|
+
{
|
|
7004
|
+
"description": "Fired when this whole group should be removed",
|
|
7005
|
+
"name": "delete"
|
|
7006
|
+
},
|
|
7007
|
+
{
|
|
7008
|
+
"description": "Fired when anything inside this group changes",
|
|
7009
|
+
"name": "edit"
|
|
7010
|
+
}
|
|
7011
|
+
],
|
|
7012
|
+
"superclass": {
|
|
7013
|
+
"name": "GenesisElement",
|
|
7014
|
+
"package": "@genesislcap/web-core"
|
|
7015
|
+
},
|
|
7016
|
+
"tagName": "rule-condition-group",
|
|
7017
|
+
"customElement": true
|
|
7018
|
+
}
|
|
7019
|
+
],
|
|
7020
|
+
"exports": [
|
|
7021
|
+
{
|
|
7022
|
+
"kind": "js",
|
|
7023
|
+
"name": "RuleConditionGroup",
|
|
7024
|
+
"declaration": {
|
|
7025
|
+
"name": "RuleConditionGroup",
|
|
7026
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7027
|
+
}
|
|
7028
|
+
},
|
|
7029
|
+
{
|
|
7030
|
+
"kind": "custom-element-definition",
|
|
7031
|
+
"name": "rule-condition-group",
|
|
7032
|
+
"declaration": {
|
|
7033
|
+
"name": "RuleConditionGroup",
|
|
7034
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
7035
|
+
}
|
|
7036
|
+
}
|
|
7037
|
+
]
|
|
7038
|
+
},
|
|
6889
7039
|
{
|
|
6890
7040
|
"kind": "javascript-module",
|
|
6891
7041
|
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
@@ -7172,150 +7322,214 @@
|
|
|
7172
7322
|
},
|
|
7173
7323
|
{
|
|
7174
7324
|
"kind": "javascript-module",
|
|
7175
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
7325
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
7176
7326
|
"declarations": [
|
|
7177
7327
|
{
|
|
7178
7328
|
"kind": "variable",
|
|
7179
|
-
"name": "
|
|
7180
|
-
"default": "
|
|
7329
|
+
"name": "ParameterBuilderStyles",
|
|
7330
|
+
"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`"
|
|
7181
7331
|
}
|
|
7182
7332
|
],
|
|
7183
7333
|
"exports": [
|
|
7184
7334
|
{
|
|
7185
7335
|
"kind": "js",
|
|
7186
|
-
"name": "
|
|
7336
|
+
"name": "ParameterBuilderStyles",
|
|
7187
7337
|
"declaration": {
|
|
7188
|
-
"name": "
|
|
7189
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
7338
|
+
"name": "ParameterBuilderStyles",
|
|
7339
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
7190
7340
|
}
|
|
7191
7341
|
}
|
|
7192
7342
|
]
|
|
7193
7343
|
},
|
|
7194
7344
|
{
|
|
7195
7345
|
"kind": "javascript-module",
|
|
7196
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
7346
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
7347
|
+
"declarations": [
|
|
7348
|
+
{
|
|
7349
|
+
"kind": "variable",
|
|
7350
|
+
"name": "ParameterBuilderTemplate",
|
|
7351
|
+
"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`"
|
|
7352
|
+
}
|
|
7353
|
+
],
|
|
7354
|
+
"exports": [
|
|
7355
|
+
{
|
|
7356
|
+
"kind": "js",
|
|
7357
|
+
"name": "ParameterBuilderTemplate",
|
|
7358
|
+
"declaration": {
|
|
7359
|
+
"name": "ParameterBuilderTemplate",
|
|
7360
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
7361
|
+
}
|
|
7362
|
+
}
|
|
7363
|
+
]
|
|
7364
|
+
},
|
|
7365
|
+
{
|
|
7366
|
+
"kind": "javascript-module",
|
|
7367
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
7197
7368
|
"declarations": [
|
|
7198
7369
|
{
|
|
7199
7370
|
"kind": "class",
|
|
7200
|
-
"description": "
|
|
7201
|
-
"name": "
|
|
7371
|
+
"description": "Parameter builder for notification templates.",
|
|
7372
|
+
"name": "ParameterBuilder",
|
|
7202
7373
|
"members": [
|
|
7203
7374
|
{
|
|
7204
7375
|
"kind": "field",
|
|
7205
|
-
"name": "
|
|
7376
|
+
"name": "parameter",
|
|
7206
7377
|
"type": {
|
|
7207
|
-
"text": "
|
|
7378
|
+
"text": "ParameterBuilderEntity"
|
|
7208
7379
|
}
|
|
7209
7380
|
},
|
|
7210
7381
|
{
|
|
7211
7382
|
"kind": "field",
|
|
7212
|
-
"name": "
|
|
7383
|
+
"name": "name",
|
|
7213
7384
|
"type": {
|
|
7214
|
-
"text": "
|
|
7215
|
-
}
|
|
7216
|
-
"default": "[]"
|
|
7385
|
+
"text": "string"
|
|
7386
|
+
}
|
|
7217
7387
|
},
|
|
7218
7388
|
{
|
|
7219
7389
|
"kind": "field",
|
|
7220
|
-
"name": "
|
|
7390
|
+
"name": "label",
|
|
7221
7391
|
"type": {
|
|
7222
|
-
"text": "
|
|
7223
|
-
}
|
|
7224
|
-
"default": "false"
|
|
7392
|
+
"text": "string"
|
|
7393
|
+
}
|
|
7225
7394
|
},
|
|
7226
7395
|
{
|
|
7227
7396
|
"kind": "field",
|
|
7228
|
-
"name": "
|
|
7397
|
+
"name": "type",
|
|
7229
7398
|
"type": {
|
|
7230
7399
|
"text": "string"
|
|
7231
7400
|
}
|
|
7232
7401
|
},
|
|
7233
7402
|
{
|
|
7234
7403
|
"kind": "field",
|
|
7235
|
-
"name": "
|
|
7404
|
+
"name": "sourceType",
|
|
7236
7405
|
"type": {
|
|
7237
|
-
"text": "
|
|
7238
|
-
}
|
|
7239
|
-
|
|
7406
|
+
"text": "string"
|
|
7407
|
+
}
|
|
7408
|
+
},
|
|
7409
|
+
{
|
|
7410
|
+
"kind": "field",
|
|
7411
|
+
"name": "sourceSelected",
|
|
7412
|
+
"type": {
|
|
7413
|
+
"text": "string"
|
|
7414
|
+
}
|
|
7415
|
+
},
|
|
7416
|
+
{
|
|
7417
|
+
"kind": "field",
|
|
7418
|
+
"name": "sourceTyped",
|
|
7419
|
+
"type": {
|
|
7420
|
+
"text": "string"
|
|
7421
|
+
}
|
|
7422
|
+
},
|
|
7423
|
+
{
|
|
7424
|
+
"kind": "field",
|
|
7425
|
+
"name": "sourceTextField",
|
|
7426
|
+
"type": {
|
|
7427
|
+
"text": "TextField"
|
|
7428
|
+
}
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
"kind": "field",
|
|
7432
|
+
"name": "sourceSelect",
|
|
7433
|
+
"type": {
|
|
7434
|
+
"text": "Select"
|
|
7435
|
+
}
|
|
7436
|
+
},
|
|
7437
|
+
{
|
|
7438
|
+
"kind": "field",
|
|
7439
|
+
"name": "reqRepItems",
|
|
7440
|
+
"type": {
|
|
7441
|
+
"text": "array"
|
|
7442
|
+
},
|
|
7443
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
7240
7444
|
},
|
|
7241
7445
|
{
|
|
7242
7446
|
"kind": "method",
|
|
7243
|
-
"name": "
|
|
7447
|
+
"name": "deleteParameter"
|
|
7244
7448
|
},
|
|
7245
7449
|
{
|
|
7246
7450
|
"kind": "method",
|
|
7247
|
-
"name": "
|
|
7451
|
+
"name": "parameterChanged"
|
|
7248
7452
|
},
|
|
7249
7453
|
{
|
|
7250
7454
|
"kind": "method",
|
|
7251
|
-
"name": "
|
|
7455
|
+
"name": "nameChanged"
|
|
7252
7456
|
},
|
|
7253
7457
|
{
|
|
7254
7458
|
"kind": "method",
|
|
7255
|
-
"name": "
|
|
7459
|
+
"name": "labelChanged"
|
|
7256
7460
|
},
|
|
7257
7461
|
{
|
|
7258
7462
|
"kind": "method",
|
|
7259
|
-
"name": "
|
|
7260
|
-
"parameters": [
|
|
7261
|
-
{
|
|
7262
|
-
"name": "_editedChild",
|
|
7263
|
-
"type": {
|
|
7264
|
-
"text": "ConditionNode"
|
|
7265
|
-
}
|
|
7266
|
-
}
|
|
7267
|
-
]
|
|
7463
|
+
"name": "typeChanged"
|
|
7268
7464
|
},
|
|
7269
7465
|
{
|
|
7270
7466
|
"kind": "method",
|
|
7271
|
-
"name": "
|
|
7467
|
+
"name": "sourceTypeChanged"
|
|
7468
|
+
},
|
|
7469
|
+
{
|
|
7470
|
+
"kind": "method",
|
|
7471
|
+
"name": "sourceSelectedChanged"
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
"kind": "method",
|
|
7475
|
+
"name": "sourceTypedChanged"
|
|
7476
|
+
},
|
|
7477
|
+
{
|
|
7478
|
+
"kind": "method",
|
|
7479
|
+
"name": "genericChanged",
|
|
7480
|
+
"privacy": "private",
|
|
7272
7481
|
"parameters": [
|
|
7273
7482
|
{
|
|
7274
|
-
"name": "
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7483
|
+
"name": "parameterAttribute"
|
|
7484
|
+
},
|
|
7485
|
+
{
|
|
7486
|
+
"name": "value"
|
|
7278
7487
|
}
|
|
7279
7488
|
]
|
|
7280
|
-
},
|
|
7281
|
-
{
|
|
7282
|
-
"kind": "method",
|
|
7283
|
-
"name": "deleteSelf"
|
|
7284
7489
|
}
|
|
7285
7490
|
],
|
|
7286
7491
|
"events": [
|
|
7287
7492
|
{
|
|
7288
|
-
"description": "Fired when
|
|
7493
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
7289
7494
|
"name": "delete"
|
|
7290
7495
|
},
|
|
7291
7496
|
{
|
|
7292
|
-
"description": "Fired when
|
|
7497
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
7293
7498
|
"name": "edit"
|
|
7294
7499
|
}
|
|
7295
7500
|
],
|
|
7501
|
+
"attributes": [
|
|
7502
|
+
{
|
|
7503
|
+
"name": "parameter",
|
|
7504
|
+
"type": {
|
|
7505
|
+
"text": "ParameterBuilderEntity"
|
|
7506
|
+
},
|
|
7507
|
+
"fieldName": "parameter"
|
|
7508
|
+
}
|
|
7509
|
+
],
|
|
7296
7510
|
"superclass": {
|
|
7297
7511
|
"name": "GenesisElement",
|
|
7298
7512
|
"package": "@genesislcap/web-core"
|
|
7299
7513
|
},
|
|
7300
|
-
"tagName": "
|
|
7514
|
+
"tagName": "parameter-builder",
|
|
7301
7515
|
"customElement": true
|
|
7302
7516
|
}
|
|
7303
7517
|
],
|
|
7304
7518
|
"exports": [
|
|
7305
7519
|
{
|
|
7306
7520
|
"kind": "js",
|
|
7307
|
-
"name": "
|
|
7521
|
+
"name": "ParameterBuilder",
|
|
7308
7522
|
"declaration": {
|
|
7309
|
-
"name": "
|
|
7310
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
7523
|
+
"name": "ParameterBuilder",
|
|
7524
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7311
7525
|
}
|
|
7312
7526
|
},
|
|
7313
7527
|
{
|
|
7314
7528
|
"kind": "custom-element-definition",
|
|
7315
|
-
"name": "
|
|
7529
|
+
"name": "parameter-builder",
|
|
7316
7530
|
"declaration": {
|
|
7317
|
-
"name": "
|
|
7318
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
7531
|
+
"name": "ParameterBuilder",
|
|
7532
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7319
7533
|
}
|
|
7320
7534
|
}
|
|
7321
7535
|
]
|
|
@@ -7612,220 +7826,6 @@
|
|
|
7612
7826
|
}
|
|
7613
7827
|
]
|
|
7614
7828
|
},
|
|
7615
|
-
{
|
|
7616
|
-
"kind": "javascript-module",
|
|
7617
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
7618
|
-
"declarations": [
|
|
7619
|
-
{
|
|
7620
|
-
"kind": "variable",
|
|
7621
|
-
"name": "ParameterBuilderStyles",
|
|
7622
|
-
"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`"
|
|
7623
|
-
}
|
|
7624
|
-
],
|
|
7625
|
-
"exports": [
|
|
7626
|
-
{
|
|
7627
|
-
"kind": "js",
|
|
7628
|
-
"name": "ParameterBuilderStyles",
|
|
7629
|
-
"declaration": {
|
|
7630
|
-
"name": "ParameterBuilderStyles",
|
|
7631
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
7632
|
-
}
|
|
7633
|
-
}
|
|
7634
|
-
]
|
|
7635
|
-
},
|
|
7636
|
-
{
|
|
7637
|
-
"kind": "javascript-module",
|
|
7638
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
7639
|
-
"declarations": [
|
|
7640
|
-
{
|
|
7641
|
-
"kind": "variable",
|
|
7642
|
-
"name": "ParameterBuilderTemplate",
|
|
7643
|
-
"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`"
|
|
7644
|
-
}
|
|
7645
|
-
],
|
|
7646
|
-
"exports": [
|
|
7647
|
-
{
|
|
7648
|
-
"kind": "js",
|
|
7649
|
-
"name": "ParameterBuilderTemplate",
|
|
7650
|
-
"declaration": {
|
|
7651
|
-
"name": "ParameterBuilderTemplate",
|
|
7652
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
7653
|
-
}
|
|
7654
|
-
}
|
|
7655
|
-
]
|
|
7656
|
-
},
|
|
7657
|
-
{
|
|
7658
|
-
"kind": "javascript-module",
|
|
7659
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
7660
|
-
"declarations": [
|
|
7661
|
-
{
|
|
7662
|
-
"kind": "class",
|
|
7663
|
-
"description": "Parameter builder for notification templates.",
|
|
7664
|
-
"name": "ParameterBuilder",
|
|
7665
|
-
"members": [
|
|
7666
|
-
{
|
|
7667
|
-
"kind": "field",
|
|
7668
|
-
"name": "parameter",
|
|
7669
|
-
"type": {
|
|
7670
|
-
"text": "ParameterBuilderEntity"
|
|
7671
|
-
}
|
|
7672
|
-
},
|
|
7673
|
-
{
|
|
7674
|
-
"kind": "field",
|
|
7675
|
-
"name": "name",
|
|
7676
|
-
"type": {
|
|
7677
|
-
"text": "string"
|
|
7678
|
-
}
|
|
7679
|
-
},
|
|
7680
|
-
{
|
|
7681
|
-
"kind": "field",
|
|
7682
|
-
"name": "label",
|
|
7683
|
-
"type": {
|
|
7684
|
-
"text": "string"
|
|
7685
|
-
}
|
|
7686
|
-
},
|
|
7687
|
-
{
|
|
7688
|
-
"kind": "field",
|
|
7689
|
-
"name": "type",
|
|
7690
|
-
"type": {
|
|
7691
|
-
"text": "string"
|
|
7692
|
-
}
|
|
7693
|
-
},
|
|
7694
|
-
{
|
|
7695
|
-
"kind": "field",
|
|
7696
|
-
"name": "sourceType",
|
|
7697
|
-
"type": {
|
|
7698
|
-
"text": "string"
|
|
7699
|
-
}
|
|
7700
|
-
},
|
|
7701
|
-
{
|
|
7702
|
-
"kind": "field",
|
|
7703
|
-
"name": "sourceSelected",
|
|
7704
|
-
"type": {
|
|
7705
|
-
"text": "string"
|
|
7706
|
-
}
|
|
7707
|
-
},
|
|
7708
|
-
{
|
|
7709
|
-
"kind": "field",
|
|
7710
|
-
"name": "sourceTyped",
|
|
7711
|
-
"type": {
|
|
7712
|
-
"text": "string"
|
|
7713
|
-
}
|
|
7714
|
-
},
|
|
7715
|
-
{
|
|
7716
|
-
"kind": "field",
|
|
7717
|
-
"name": "sourceTextField",
|
|
7718
|
-
"type": {
|
|
7719
|
-
"text": "TextField"
|
|
7720
|
-
}
|
|
7721
|
-
},
|
|
7722
|
-
{
|
|
7723
|
-
"kind": "field",
|
|
7724
|
-
"name": "sourceSelect",
|
|
7725
|
-
"type": {
|
|
7726
|
-
"text": "Select"
|
|
7727
|
-
}
|
|
7728
|
-
},
|
|
7729
|
-
{
|
|
7730
|
-
"kind": "field",
|
|
7731
|
-
"name": "reqRepItems",
|
|
7732
|
-
"type": {
|
|
7733
|
-
"text": "array"
|
|
7734
|
-
},
|
|
7735
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
7736
|
-
},
|
|
7737
|
-
{
|
|
7738
|
-
"kind": "method",
|
|
7739
|
-
"name": "deleteParameter"
|
|
7740
|
-
},
|
|
7741
|
-
{
|
|
7742
|
-
"kind": "method",
|
|
7743
|
-
"name": "parameterChanged"
|
|
7744
|
-
},
|
|
7745
|
-
{
|
|
7746
|
-
"kind": "method",
|
|
7747
|
-
"name": "nameChanged"
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"kind": "method",
|
|
7751
|
-
"name": "labelChanged"
|
|
7752
|
-
},
|
|
7753
|
-
{
|
|
7754
|
-
"kind": "method",
|
|
7755
|
-
"name": "typeChanged"
|
|
7756
|
-
},
|
|
7757
|
-
{
|
|
7758
|
-
"kind": "method",
|
|
7759
|
-
"name": "sourceTypeChanged"
|
|
7760
|
-
},
|
|
7761
|
-
{
|
|
7762
|
-
"kind": "method",
|
|
7763
|
-
"name": "sourceSelectedChanged"
|
|
7764
|
-
},
|
|
7765
|
-
{
|
|
7766
|
-
"kind": "method",
|
|
7767
|
-
"name": "sourceTypedChanged"
|
|
7768
|
-
},
|
|
7769
|
-
{
|
|
7770
|
-
"kind": "method",
|
|
7771
|
-
"name": "genericChanged",
|
|
7772
|
-
"privacy": "private",
|
|
7773
|
-
"parameters": [
|
|
7774
|
-
{
|
|
7775
|
-
"name": "parameterAttribute"
|
|
7776
|
-
},
|
|
7777
|
-
{
|
|
7778
|
-
"name": "value"
|
|
7779
|
-
}
|
|
7780
|
-
]
|
|
7781
|
-
}
|
|
7782
|
-
],
|
|
7783
|
-
"events": [
|
|
7784
|
-
{
|
|
7785
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
7786
|
-
"name": "delete"
|
|
7787
|
-
},
|
|
7788
|
-
{
|
|
7789
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
7790
|
-
"name": "edit"
|
|
7791
|
-
}
|
|
7792
|
-
],
|
|
7793
|
-
"attributes": [
|
|
7794
|
-
{
|
|
7795
|
-
"name": "parameter",
|
|
7796
|
-
"type": {
|
|
7797
|
-
"text": "ParameterBuilderEntity"
|
|
7798
|
-
},
|
|
7799
|
-
"fieldName": "parameter"
|
|
7800
|
-
}
|
|
7801
|
-
],
|
|
7802
|
-
"superclass": {
|
|
7803
|
-
"name": "GenesisElement",
|
|
7804
|
-
"package": "@genesislcap/web-core"
|
|
7805
|
-
},
|
|
7806
|
-
"tagName": "parameter-builder",
|
|
7807
|
-
"customElement": true
|
|
7808
|
-
}
|
|
7809
|
-
],
|
|
7810
|
-
"exports": [
|
|
7811
|
-
{
|
|
7812
|
-
"kind": "js",
|
|
7813
|
-
"name": "ParameterBuilder",
|
|
7814
|
-
"declaration": {
|
|
7815
|
-
"name": "ParameterBuilder",
|
|
7816
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7817
|
-
}
|
|
7818
|
-
},
|
|
7819
|
-
{
|
|
7820
|
-
"kind": "custom-element-definition",
|
|
7821
|
-
"name": "parameter-builder",
|
|
7822
|
-
"declaration": {
|
|
7823
|
-
"name": "ParameterBuilder",
|
|
7824
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
7825
|
-
}
|
|
7826
|
-
}
|
|
7827
|
-
]
|
|
7828
|
-
},
|
|
7829
7829
|
{
|
|
7830
7830
|
"kind": "javascript-module",
|
|
7831
7831
|
"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
|
@@ -235,17 +235,6 @@ export declare const TemplateDialog: React.ForwardRefExoticComponent<
|
|
|
235
235
|
>;
|
|
236
236
|
export type TemplateDialogRef = TemplateDialogWC;
|
|
237
237
|
|
|
238
|
-
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
239
|
-
React.PropsWithChildren<
|
|
240
|
-
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
241
|
-
HTMLWCProps & {
|
|
242
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
243
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
244
|
-
}
|
|
245
|
-
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
246
|
-
>;
|
|
247
|
-
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
248
|
-
|
|
249
238
|
export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
250
239
|
React.PropsWithChildren<
|
|
251
240
|
Omit<PublicOf<RuleConditionGroupWC>, 'children' | 'style'> &
|
|
@@ -257,16 +246,16 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
257
246
|
>;
|
|
258
247
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
259
248
|
|
|
260
|
-
export declare const
|
|
249
|
+
export declare const RuleConditionBuilder: React.ForwardRefExoticComponent<
|
|
261
250
|
React.PropsWithChildren<
|
|
262
|
-
Omit<PublicOf<
|
|
251
|
+
Omit<PublicOf<RuleConditionBuilderWC>, 'children' | 'style'> &
|
|
263
252
|
HTMLWCProps & {
|
|
264
253
|
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
265
254
|
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
266
255
|
}
|
|
267
|
-
> & React.RefAttributes<
|
|
256
|
+
> & React.RefAttributes<RuleConditionBuilderWC>
|
|
268
257
|
>;
|
|
269
|
-
export type
|
|
258
|
+
export type RuleConditionBuilderRef = RuleConditionBuilderWC;
|
|
270
259
|
|
|
271
260
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
272
261
|
React.PropsWithChildren<
|
|
@@ -279,6 +268,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
279
268
|
>;
|
|
280
269
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
281
270
|
|
|
271
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
272
|
+
React.PropsWithChildren<
|
|
273
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
274
|
+
HTMLWCProps & {
|
|
275
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
276
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
277
|
+
}
|
|
278
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
279
|
+
>;
|
|
280
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
281
|
+
|
|
282
282
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
283
283
|
React.PropsWithChildren<
|
|
284
284
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -188,7 +188,7 @@ const TemplateDialog = React.forwardRef(function TemplateDialog(props, ref) {
|
|
|
188
188
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
189
189
|
});
|
|
190
190
|
|
|
191
|
-
const
|
|
191
|
+
const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
192
192
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
193
193
|
const _innerRef = React.useRef(null);
|
|
194
194
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -207,10 +207,10 @@ const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(prop
|
|
|
207
207
|
el.removeEventListener('edit', _onEditFn);
|
|
208
208
|
};
|
|
209
209
|
}, []);
|
|
210
|
-
return React.createElement(customElements.getName(
|
|
210
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
const
|
|
213
|
+
const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
214
214
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
215
215
|
const _innerRef = React.useRef(null);
|
|
216
216
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -229,10 +229,10 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
229
229
|
el.removeEventListener('edit', _onEditFn);
|
|
230
230
|
};
|
|
231
231
|
}, []);
|
|
232
|
-
return React.createElement(customElements.getName(
|
|
232
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
233
233
|
});
|
|
234
234
|
|
|
235
|
-
const
|
|
235
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
236
236
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
237
237
|
const _innerRef = React.useRef(null);
|
|
238
238
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -251,10 +251,10 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
251
251
|
el.removeEventListener('edit', _onEditFn);
|
|
252
252
|
};
|
|
253
253
|
}, []);
|
|
254
|
-
return React.createElement(customElements.getName(
|
|
254
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
255
255
|
});
|
|
256
256
|
|
|
257
|
-
const
|
|
257
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
258
258
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
259
259
|
const _innerRef = React.useRef(null);
|
|
260
260
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -273,7 +273,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
273
273
|
el.removeEventListener('edit', _onEditFn);
|
|
274
274
|
};
|
|
275
275
|
}, []);
|
|
276
|
-
return React.createElement(customElements.getName(
|
|
276
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
277
277
|
});
|
|
278
278
|
|
|
279
279
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -318,9 +318,9 @@ module.exports = {
|
|
|
318
318
|
SlackRouteManagement,
|
|
319
319
|
RuleDialog,
|
|
320
320
|
TemplateDialog,
|
|
321
|
-
RuleConditionBuilder,
|
|
322
321
|
RuleConditionGroup,
|
|
323
|
-
|
|
322
|
+
RuleConditionBuilder,
|
|
324
323
|
ParameterBuilder,
|
|
324
|
+
TemplateConditionBuilder,
|
|
325
325
|
TemplateConditionGroup,
|
|
326
326
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -186,7 +186,7 @@ export const TemplateDialog = React.forwardRef(function TemplateDialog(props, re
|
|
|
186
186
|
return React.createElement(customElements.getName(TemplateDialogWC) ?? 'template-dialog', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
187
187
|
});
|
|
188
188
|
|
|
189
|
-
export const
|
|
189
|
+
export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, ref) {
|
|
190
190
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
191
191
|
const _innerRef = React.useRef(null);
|
|
192
192
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -205,10 +205,10 @@ export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuild
|
|
|
205
205
|
el.removeEventListener('edit', _onEditFn);
|
|
206
206
|
};
|
|
207
207
|
}, []);
|
|
208
|
-
return React.createElement(customElements.getName(
|
|
208
|
+
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
export const
|
|
211
|
+
export const RuleConditionBuilder = React.forwardRef(function RuleConditionBuilder(props, ref) {
|
|
212
212
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
213
213
|
const _innerRef = React.useRef(null);
|
|
214
214
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -227,10 +227,10 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
227
227
|
el.removeEventListener('edit', _onEditFn);
|
|
228
228
|
};
|
|
229
229
|
}, []);
|
|
230
|
-
return React.createElement(customElements.getName(
|
|
230
|
+
return React.createElement(customElements.getName(RuleConditionBuilderWC) ?? 'rule-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
231
231
|
});
|
|
232
232
|
|
|
233
|
-
export const
|
|
233
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
234
234
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
235
235
|
const _innerRef = React.useRef(null);
|
|
236
236
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -249,10 +249,10 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
249
249
|
el.removeEventListener('edit', _onEditFn);
|
|
250
250
|
};
|
|
251
251
|
}, []);
|
|
252
|
-
return React.createElement(customElements.getName(
|
|
252
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
253
253
|
});
|
|
254
254
|
|
|
255
|
-
export const
|
|
255
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
256
256
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
257
257
|
const _innerRef = React.useRef(null);
|
|
258
258
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -271,7 +271,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
271
271
|
el.removeEventListener('edit', _onEditFn);
|
|
272
272
|
};
|
|
273
273
|
}, []);
|
|
274
|
-
return React.createElement(customElements.getName(
|
|
274
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
275
275
|
});
|
|
276
276
|
|
|
277
277
|
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": "15.8.
|
|
4
|
+
"version": "15.8.3",
|
|
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.8.
|
|
85
|
-
"@genesislcap/eslint-config": "15.8.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.8.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.8.
|
|
88
|
-
"@genesislcap/genx": "15.8.
|
|
89
|
-
"@genesislcap/prettier-config": "15.8.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.8.
|
|
91
|
-
"@genesislcap/vite-builder": "15.8.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.8.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.8.3",
|
|
85
|
+
"@genesislcap/eslint-config": "15.8.3",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.8.3",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.8.3",
|
|
88
|
+
"@genesislcap/genx": "15.8.3",
|
|
89
|
+
"@genesislcap/prettier-config": "15.8.3",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.8.3",
|
|
91
|
+
"@genesislcap/vite-builder": "15.8.3",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.8.3",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.8.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.8.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.8.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.8.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.8.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.8.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.8.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.8.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.8.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.8.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.8.
|
|
107
|
-
"@genesislcap/web-core": "15.8.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.8.3",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.8.3",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.8.3",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.8.3",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.8.3",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.8.3",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.8.3",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.8.3",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.8.3",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.8.3",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.8.3",
|
|
107
|
+
"@genesislcap/web-core": "15.8.3",
|
|
108
108
|
"lodash.debounce": "^4.0.8",
|
|
109
109
|
"rxjs": "^7.5.4"
|
|
110
110
|
},
|
|
@@ -112,5 +112,5 @@
|
|
|
112
112
|
"access": "public"
|
|
113
113
|
},
|
|
114
114
|
"customElements": "dist/custom-elements.json",
|
|
115
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "0001fb4c5a056b22bb1a3d316cc4f2e2aa79cff4"
|
|
116
116
|
}
|