@genesislcap/pbc-notify-ui 15.10.3 → 15.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +214 -214
- package/dist/dts/react.d.ts +11 -11
- package/dist/react.cjs +5 -5
- package/dist/react.mjs +4 -4
- package/package.json +23 -23
|
@@ -8770,6 +8770,220 @@
|
|
|
8770
8770
|
}
|
|
8771
8771
|
]
|
|
8772
8772
|
},
|
|
8773
|
+
{
|
|
8774
|
+
"kind": "javascript-module",
|
|
8775
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
8776
|
+
"declarations": [
|
|
8777
|
+
{
|
|
8778
|
+
"kind": "variable",
|
|
8779
|
+
"name": "ParameterBuilderStyles",
|
|
8780
|
+
"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`"
|
|
8781
|
+
}
|
|
8782
|
+
],
|
|
8783
|
+
"exports": [
|
|
8784
|
+
{
|
|
8785
|
+
"kind": "js",
|
|
8786
|
+
"name": "ParameterBuilderStyles",
|
|
8787
|
+
"declaration": {
|
|
8788
|
+
"name": "ParameterBuilderStyles",
|
|
8789
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
8790
|
+
}
|
|
8791
|
+
}
|
|
8792
|
+
]
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
"kind": "javascript-module",
|
|
8796
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
8797
|
+
"declarations": [
|
|
8798
|
+
{
|
|
8799
|
+
"kind": "variable",
|
|
8800
|
+
"name": "ParameterBuilderTemplate",
|
|
8801
|
+
"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`"
|
|
8802
|
+
}
|
|
8803
|
+
],
|
|
8804
|
+
"exports": [
|
|
8805
|
+
{
|
|
8806
|
+
"kind": "js",
|
|
8807
|
+
"name": "ParameterBuilderTemplate",
|
|
8808
|
+
"declaration": {
|
|
8809
|
+
"name": "ParameterBuilderTemplate",
|
|
8810
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
8811
|
+
}
|
|
8812
|
+
}
|
|
8813
|
+
]
|
|
8814
|
+
},
|
|
8815
|
+
{
|
|
8816
|
+
"kind": "javascript-module",
|
|
8817
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
8818
|
+
"declarations": [
|
|
8819
|
+
{
|
|
8820
|
+
"kind": "class",
|
|
8821
|
+
"description": "Parameter builder for notification templates.",
|
|
8822
|
+
"name": "ParameterBuilder",
|
|
8823
|
+
"members": [
|
|
8824
|
+
{
|
|
8825
|
+
"kind": "field",
|
|
8826
|
+
"name": "parameter",
|
|
8827
|
+
"type": {
|
|
8828
|
+
"text": "ParameterBuilderEntity"
|
|
8829
|
+
}
|
|
8830
|
+
},
|
|
8831
|
+
{
|
|
8832
|
+
"kind": "field",
|
|
8833
|
+
"name": "name",
|
|
8834
|
+
"type": {
|
|
8835
|
+
"text": "string"
|
|
8836
|
+
}
|
|
8837
|
+
},
|
|
8838
|
+
{
|
|
8839
|
+
"kind": "field",
|
|
8840
|
+
"name": "label",
|
|
8841
|
+
"type": {
|
|
8842
|
+
"text": "string"
|
|
8843
|
+
}
|
|
8844
|
+
},
|
|
8845
|
+
{
|
|
8846
|
+
"kind": "field",
|
|
8847
|
+
"name": "type",
|
|
8848
|
+
"type": {
|
|
8849
|
+
"text": "string"
|
|
8850
|
+
}
|
|
8851
|
+
},
|
|
8852
|
+
{
|
|
8853
|
+
"kind": "field",
|
|
8854
|
+
"name": "sourceType",
|
|
8855
|
+
"type": {
|
|
8856
|
+
"text": "string"
|
|
8857
|
+
}
|
|
8858
|
+
},
|
|
8859
|
+
{
|
|
8860
|
+
"kind": "field",
|
|
8861
|
+
"name": "sourceSelected",
|
|
8862
|
+
"type": {
|
|
8863
|
+
"text": "string"
|
|
8864
|
+
}
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"kind": "field",
|
|
8868
|
+
"name": "sourceTyped",
|
|
8869
|
+
"type": {
|
|
8870
|
+
"text": "string"
|
|
8871
|
+
}
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"kind": "field",
|
|
8875
|
+
"name": "sourceTextField",
|
|
8876
|
+
"type": {
|
|
8877
|
+
"text": "TextField"
|
|
8878
|
+
}
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
"kind": "field",
|
|
8882
|
+
"name": "sourceSelect",
|
|
8883
|
+
"type": {
|
|
8884
|
+
"text": "Select"
|
|
8885
|
+
}
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"kind": "field",
|
|
8889
|
+
"name": "reqRepItems",
|
|
8890
|
+
"type": {
|
|
8891
|
+
"text": "array"
|
|
8892
|
+
},
|
|
8893
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
8894
|
+
},
|
|
8895
|
+
{
|
|
8896
|
+
"kind": "method",
|
|
8897
|
+
"name": "deleteParameter"
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
"kind": "method",
|
|
8901
|
+
"name": "parameterChanged"
|
|
8902
|
+
},
|
|
8903
|
+
{
|
|
8904
|
+
"kind": "method",
|
|
8905
|
+
"name": "nameChanged"
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
"kind": "method",
|
|
8909
|
+
"name": "labelChanged"
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
"kind": "method",
|
|
8913
|
+
"name": "typeChanged"
|
|
8914
|
+
},
|
|
8915
|
+
{
|
|
8916
|
+
"kind": "method",
|
|
8917
|
+
"name": "sourceTypeChanged"
|
|
8918
|
+
},
|
|
8919
|
+
{
|
|
8920
|
+
"kind": "method",
|
|
8921
|
+
"name": "sourceSelectedChanged"
|
|
8922
|
+
},
|
|
8923
|
+
{
|
|
8924
|
+
"kind": "method",
|
|
8925
|
+
"name": "sourceTypedChanged"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"kind": "method",
|
|
8929
|
+
"name": "genericChanged",
|
|
8930
|
+
"privacy": "private",
|
|
8931
|
+
"parameters": [
|
|
8932
|
+
{
|
|
8933
|
+
"name": "parameterAttribute"
|
|
8934
|
+
},
|
|
8935
|
+
{
|
|
8936
|
+
"name": "value"
|
|
8937
|
+
}
|
|
8938
|
+
]
|
|
8939
|
+
}
|
|
8940
|
+
],
|
|
8941
|
+
"events": [
|
|
8942
|
+
{
|
|
8943
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
8944
|
+
"name": "delete"
|
|
8945
|
+
},
|
|
8946
|
+
{
|
|
8947
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
8948
|
+
"name": "edit"
|
|
8949
|
+
}
|
|
8950
|
+
],
|
|
8951
|
+
"attributes": [
|
|
8952
|
+
{
|
|
8953
|
+
"name": "parameter",
|
|
8954
|
+
"type": {
|
|
8955
|
+
"text": "ParameterBuilderEntity"
|
|
8956
|
+
},
|
|
8957
|
+
"fieldName": "parameter"
|
|
8958
|
+
}
|
|
8959
|
+
],
|
|
8960
|
+
"superclass": {
|
|
8961
|
+
"name": "GenesisElement",
|
|
8962
|
+
"package": "@genesislcap/web-core"
|
|
8963
|
+
},
|
|
8964
|
+
"tagName": "parameter-builder",
|
|
8965
|
+
"customElement": true
|
|
8966
|
+
}
|
|
8967
|
+
],
|
|
8968
|
+
"exports": [
|
|
8969
|
+
{
|
|
8970
|
+
"kind": "js",
|
|
8971
|
+
"name": "ParameterBuilder",
|
|
8972
|
+
"declaration": {
|
|
8973
|
+
"name": "ParameterBuilder",
|
|
8974
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8975
|
+
}
|
|
8976
|
+
},
|
|
8977
|
+
{
|
|
8978
|
+
"kind": "custom-element-definition",
|
|
8979
|
+
"name": "parameter-builder",
|
|
8980
|
+
"declaration": {
|
|
8981
|
+
"name": "ParameterBuilder",
|
|
8982
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8983
|
+
}
|
|
8984
|
+
}
|
|
8985
|
+
]
|
|
8986
|
+
},
|
|
8773
8987
|
{
|
|
8774
8988
|
"kind": "javascript-module",
|
|
8775
8989
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -9062,220 +9276,6 @@
|
|
|
9062
9276
|
}
|
|
9063
9277
|
]
|
|
9064
9278
|
},
|
|
9065
|
-
{
|
|
9066
|
-
"kind": "javascript-module",
|
|
9067
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
9068
|
-
"declarations": [
|
|
9069
|
-
{
|
|
9070
|
-
"kind": "variable",
|
|
9071
|
-
"name": "ParameterBuilderStyles",
|
|
9072
|
-
"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`"
|
|
9073
|
-
}
|
|
9074
|
-
],
|
|
9075
|
-
"exports": [
|
|
9076
|
-
{
|
|
9077
|
-
"kind": "js",
|
|
9078
|
-
"name": "ParameterBuilderStyles",
|
|
9079
|
-
"declaration": {
|
|
9080
|
-
"name": "ParameterBuilderStyles",
|
|
9081
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
]
|
|
9085
|
-
},
|
|
9086
|
-
{
|
|
9087
|
-
"kind": "javascript-module",
|
|
9088
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
9089
|
-
"declarations": [
|
|
9090
|
-
{
|
|
9091
|
-
"kind": "variable",
|
|
9092
|
-
"name": "ParameterBuilderTemplate",
|
|
9093
|
-
"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`"
|
|
9094
|
-
}
|
|
9095
|
-
],
|
|
9096
|
-
"exports": [
|
|
9097
|
-
{
|
|
9098
|
-
"kind": "js",
|
|
9099
|
-
"name": "ParameterBuilderTemplate",
|
|
9100
|
-
"declaration": {
|
|
9101
|
-
"name": "ParameterBuilderTemplate",
|
|
9102
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
9103
|
-
}
|
|
9104
|
-
}
|
|
9105
|
-
]
|
|
9106
|
-
},
|
|
9107
|
-
{
|
|
9108
|
-
"kind": "javascript-module",
|
|
9109
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
9110
|
-
"declarations": [
|
|
9111
|
-
{
|
|
9112
|
-
"kind": "class",
|
|
9113
|
-
"description": "Parameter builder for notification templates.",
|
|
9114
|
-
"name": "ParameterBuilder",
|
|
9115
|
-
"members": [
|
|
9116
|
-
{
|
|
9117
|
-
"kind": "field",
|
|
9118
|
-
"name": "parameter",
|
|
9119
|
-
"type": {
|
|
9120
|
-
"text": "ParameterBuilderEntity"
|
|
9121
|
-
}
|
|
9122
|
-
},
|
|
9123
|
-
{
|
|
9124
|
-
"kind": "field",
|
|
9125
|
-
"name": "name",
|
|
9126
|
-
"type": {
|
|
9127
|
-
"text": "string"
|
|
9128
|
-
}
|
|
9129
|
-
},
|
|
9130
|
-
{
|
|
9131
|
-
"kind": "field",
|
|
9132
|
-
"name": "label",
|
|
9133
|
-
"type": {
|
|
9134
|
-
"text": "string"
|
|
9135
|
-
}
|
|
9136
|
-
},
|
|
9137
|
-
{
|
|
9138
|
-
"kind": "field",
|
|
9139
|
-
"name": "type",
|
|
9140
|
-
"type": {
|
|
9141
|
-
"text": "string"
|
|
9142
|
-
}
|
|
9143
|
-
},
|
|
9144
|
-
{
|
|
9145
|
-
"kind": "field",
|
|
9146
|
-
"name": "sourceType",
|
|
9147
|
-
"type": {
|
|
9148
|
-
"text": "string"
|
|
9149
|
-
}
|
|
9150
|
-
},
|
|
9151
|
-
{
|
|
9152
|
-
"kind": "field",
|
|
9153
|
-
"name": "sourceSelected",
|
|
9154
|
-
"type": {
|
|
9155
|
-
"text": "string"
|
|
9156
|
-
}
|
|
9157
|
-
},
|
|
9158
|
-
{
|
|
9159
|
-
"kind": "field",
|
|
9160
|
-
"name": "sourceTyped",
|
|
9161
|
-
"type": {
|
|
9162
|
-
"text": "string"
|
|
9163
|
-
}
|
|
9164
|
-
},
|
|
9165
|
-
{
|
|
9166
|
-
"kind": "field",
|
|
9167
|
-
"name": "sourceTextField",
|
|
9168
|
-
"type": {
|
|
9169
|
-
"text": "TextField"
|
|
9170
|
-
}
|
|
9171
|
-
},
|
|
9172
|
-
{
|
|
9173
|
-
"kind": "field",
|
|
9174
|
-
"name": "sourceSelect",
|
|
9175
|
-
"type": {
|
|
9176
|
-
"text": "Select"
|
|
9177
|
-
}
|
|
9178
|
-
},
|
|
9179
|
-
{
|
|
9180
|
-
"kind": "field",
|
|
9181
|
-
"name": "reqRepItems",
|
|
9182
|
-
"type": {
|
|
9183
|
-
"text": "array"
|
|
9184
|
-
},
|
|
9185
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
9186
|
-
},
|
|
9187
|
-
{
|
|
9188
|
-
"kind": "method",
|
|
9189
|
-
"name": "deleteParameter"
|
|
9190
|
-
},
|
|
9191
|
-
{
|
|
9192
|
-
"kind": "method",
|
|
9193
|
-
"name": "parameterChanged"
|
|
9194
|
-
},
|
|
9195
|
-
{
|
|
9196
|
-
"kind": "method",
|
|
9197
|
-
"name": "nameChanged"
|
|
9198
|
-
},
|
|
9199
|
-
{
|
|
9200
|
-
"kind": "method",
|
|
9201
|
-
"name": "labelChanged"
|
|
9202
|
-
},
|
|
9203
|
-
{
|
|
9204
|
-
"kind": "method",
|
|
9205
|
-
"name": "typeChanged"
|
|
9206
|
-
},
|
|
9207
|
-
{
|
|
9208
|
-
"kind": "method",
|
|
9209
|
-
"name": "sourceTypeChanged"
|
|
9210
|
-
},
|
|
9211
|
-
{
|
|
9212
|
-
"kind": "method",
|
|
9213
|
-
"name": "sourceSelectedChanged"
|
|
9214
|
-
},
|
|
9215
|
-
{
|
|
9216
|
-
"kind": "method",
|
|
9217
|
-
"name": "sourceTypedChanged"
|
|
9218
|
-
},
|
|
9219
|
-
{
|
|
9220
|
-
"kind": "method",
|
|
9221
|
-
"name": "genericChanged",
|
|
9222
|
-
"privacy": "private",
|
|
9223
|
-
"parameters": [
|
|
9224
|
-
{
|
|
9225
|
-
"name": "parameterAttribute"
|
|
9226
|
-
},
|
|
9227
|
-
{
|
|
9228
|
-
"name": "value"
|
|
9229
|
-
}
|
|
9230
|
-
]
|
|
9231
|
-
}
|
|
9232
|
-
],
|
|
9233
|
-
"events": [
|
|
9234
|
-
{
|
|
9235
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
9236
|
-
"name": "delete"
|
|
9237
|
-
},
|
|
9238
|
-
{
|
|
9239
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
9240
|
-
"name": "edit"
|
|
9241
|
-
}
|
|
9242
|
-
],
|
|
9243
|
-
"attributes": [
|
|
9244
|
-
{
|
|
9245
|
-
"name": "parameter",
|
|
9246
|
-
"type": {
|
|
9247
|
-
"text": "ParameterBuilderEntity"
|
|
9248
|
-
},
|
|
9249
|
-
"fieldName": "parameter"
|
|
9250
|
-
}
|
|
9251
|
-
],
|
|
9252
|
-
"superclass": {
|
|
9253
|
-
"name": "GenesisElement",
|
|
9254
|
-
"package": "@genesislcap/web-core"
|
|
9255
|
-
},
|
|
9256
|
-
"tagName": "parameter-builder",
|
|
9257
|
-
"customElement": true
|
|
9258
|
-
}
|
|
9259
|
-
],
|
|
9260
|
-
"exports": [
|
|
9261
|
-
{
|
|
9262
|
-
"kind": "js",
|
|
9263
|
-
"name": "ParameterBuilder",
|
|
9264
|
-
"declaration": {
|
|
9265
|
-
"name": "ParameterBuilder",
|
|
9266
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9267
|
-
}
|
|
9268
|
-
},
|
|
9269
|
-
{
|
|
9270
|
-
"kind": "custom-element-definition",
|
|
9271
|
-
"name": "parameter-builder",
|
|
9272
|
-
"declaration": {
|
|
9273
|
-
"name": "ParameterBuilder",
|
|
9274
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9275
|
-
}
|
|
9276
|
-
}
|
|
9277
|
-
]
|
|
9278
|
-
},
|
|
9279
9279
|
{
|
|
9280
9280
|
"kind": "javascript-module",
|
|
9281
9281
|
"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
|
@@ -277,17 +277,6 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
277
277
|
>;
|
|
278
278
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
279
279
|
|
|
280
|
-
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
281
|
-
React.PropsWithChildren<
|
|
282
|
-
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
283
|
-
HTMLWCProps & {
|
|
284
|
-
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
285
|
-
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
286
|
-
}
|
|
287
|
-
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
288
|
-
>;
|
|
289
|
-
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
290
|
-
|
|
291
280
|
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
292
281
|
React.PropsWithChildren<
|
|
293
282
|
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
@@ -299,6 +288,17 @@ export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
|
299
288
|
>;
|
|
300
289
|
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
301
290
|
|
|
291
|
+
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
292
|
+
React.PropsWithChildren<
|
|
293
|
+
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
294
|
+
HTMLWCProps & {
|
|
295
|
+
onDelete?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
296
|
+
onEdit?: (event: CustomEvent<ConditionBuilderEntity>) => void;
|
|
297
|
+
}
|
|
298
|
+
> & React.RefAttributes<TemplateConditionBuilderWC>
|
|
299
|
+
>;
|
|
300
|
+
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
301
|
+
|
|
302
302
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
303
303
|
React.PropsWithChildren<
|
|
304
304
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -244,7 +244,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
244
244
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...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,7 +285,7 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
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
291
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -334,7 +334,7 @@ module.exports = {
|
|
|
334
334
|
TemplateDialog,
|
|
335
335
|
RuleConditionBuilder,
|
|
336
336
|
RuleConditionGroup,
|
|
337
|
-
TemplateConditionBuilder,
|
|
338
337
|
ParameterBuilder,
|
|
338
|
+
TemplateConditionBuilder,
|
|
339
339
|
TemplateConditionGroup,
|
|
340
340
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -242,7 +242,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
242
242
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...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,7 +283,7 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
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
289
|
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.10.
|
|
4
|
+
"version": "15.10.4",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -81,30 +81,30 @@
|
|
|
81
81
|
"@commitlint/cli": "^19.2.1",
|
|
82
82
|
"@commitlint/config-conventional": "^19.1.0",
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
|
-
"@genesislcap/design-system-configurator": "15.10.
|
|
85
|
-
"@genesislcap/eslint-config": "15.10.
|
|
86
|
-
"@genesislcap/eslint-stylelint-builder": "15.10.
|
|
87
|
-
"@genesislcap/foundation-testing": "15.10.
|
|
88
|
-
"@genesislcap/genx": "15.10.
|
|
89
|
-
"@genesislcap/prettier-config": "15.10.
|
|
90
|
-
"@genesislcap/stylelint-config": "15.10.
|
|
91
|
-
"@genesislcap/vite-builder": "15.10.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.10.
|
|
84
|
+
"@genesislcap/design-system-configurator": "15.10.4",
|
|
85
|
+
"@genesislcap/eslint-config": "15.10.4",
|
|
86
|
+
"@genesislcap/eslint-stylelint-builder": "15.10.4",
|
|
87
|
+
"@genesislcap/foundation-testing": "15.10.4",
|
|
88
|
+
"@genesislcap/genx": "15.10.4",
|
|
89
|
+
"@genesislcap/prettier-config": "15.10.4",
|
|
90
|
+
"@genesislcap/stylelint-config": "15.10.4",
|
|
91
|
+
"@genesislcap/vite-builder": "15.10.4",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.10.4",
|
|
93
93
|
"dayjs": "^1.11.7"
|
|
94
94
|
},
|
|
95
95
|
"dependencies": {
|
|
96
|
-
"@genesislcap/foundation-comms": "15.10.
|
|
97
|
-
"@genesislcap/foundation-criteria": "15.10.
|
|
98
|
-
"@genesislcap/foundation-entity-management": "15.10.
|
|
99
|
-
"@genesislcap/foundation-forms": "15.10.
|
|
100
|
-
"@genesislcap/foundation-layout": "15.10.
|
|
101
|
-
"@genesislcap/foundation-logger": "15.10.
|
|
102
|
-
"@genesislcap/foundation-notifications": "15.10.
|
|
103
|
-
"@genesislcap/foundation-ui": "15.10.
|
|
104
|
-
"@genesislcap/foundation-utils": "15.10.
|
|
105
|
-
"@genesislcap/rapid-design-system": "15.10.
|
|
106
|
-
"@genesislcap/rapid-grid-pro": "15.10.
|
|
107
|
-
"@genesislcap/web-core": "15.10.
|
|
96
|
+
"@genesislcap/foundation-comms": "15.10.4",
|
|
97
|
+
"@genesislcap/foundation-criteria": "15.10.4",
|
|
98
|
+
"@genesislcap/foundation-entity-management": "15.10.4",
|
|
99
|
+
"@genesislcap/foundation-forms": "15.10.4",
|
|
100
|
+
"@genesislcap/foundation-layout": "15.10.4",
|
|
101
|
+
"@genesislcap/foundation-logger": "15.10.4",
|
|
102
|
+
"@genesislcap/foundation-notifications": "15.10.4",
|
|
103
|
+
"@genesislcap/foundation-ui": "15.10.4",
|
|
104
|
+
"@genesislcap/foundation-utils": "15.10.4",
|
|
105
|
+
"@genesislcap/rapid-design-system": "15.10.4",
|
|
106
|
+
"@genesislcap/rapid-grid-pro": "15.10.4",
|
|
107
|
+
"@genesislcap/web-core": "15.10.4",
|
|
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": "2747f342a1681832c041ac612b854039ef908ab7"
|
|
116
116
|
}
|