@genesislcap/pbc-notify-ui 14.485.0 → 14.486.0
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 +235 -235
- 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
|
@@ -379,6 +379,27 @@
|
|
|
379
379
|
}
|
|
380
380
|
]
|
|
381
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"kind": "javascript-module",
|
|
384
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
385
|
+
"declarations": [
|
|
386
|
+
{
|
|
387
|
+
"kind": "variable",
|
|
388
|
+
"name": "scrollbarStyles",
|
|
389
|
+
"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`"
|
|
390
|
+
}
|
|
391
|
+
],
|
|
392
|
+
"exports": [
|
|
393
|
+
{
|
|
394
|
+
"kind": "js",
|
|
395
|
+
"name": "scrollbarStyles",
|
|
396
|
+
"declaration": {
|
|
397
|
+
"name": "scrollbarStyles",
|
|
398
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
},
|
|
382
403
|
{
|
|
383
404
|
"kind": "javascript-module",
|
|
384
405
|
"path": "src/utils/eventDetail.ts",
|
|
@@ -700,27 +721,6 @@
|
|
|
700
721
|
}
|
|
701
722
|
]
|
|
702
723
|
},
|
|
703
|
-
{
|
|
704
|
-
"kind": "javascript-module",
|
|
705
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
706
|
-
"declarations": [
|
|
707
|
-
{
|
|
708
|
-
"kind": "variable",
|
|
709
|
-
"name": "scrollbarStyles",
|
|
710
|
-
"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`"
|
|
711
|
-
}
|
|
712
|
-
],
|
|
713
|
-
"exports": [
|
|
714
|
-
{
|
|
715
|
-
"kind": "js",
|
|
716
|
-
"name": "scrollbarStyles",
|
|
717
|
-
"declaration": {
|
|
718
|
-
"name": "scrollbarStyles",
|
|
719
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
]
|
|
723
|
-
},
|
|
724
724
|
{
|
|
725
725
|
"kind": "javascript-module",
|
|
726
726
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -6100,220 +6100,6 @@
|
|
|
6100
6100
|
}
|
|
6101
6101
|
]
|
|
6102
6102
|
},
|
|
6103
|
-
{
|
|
6104
|
-
"kind": "javascript-module",
|
|
6105
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
6106
|
-
"declarations": [
|
|
6107
|
-
{
|
|
6108
|
-
"kind": "variable",
|
|
6109
|
-
"name": "ParameterBuilderStyles",
|
|
6110
|
-
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
6111
|
-
}
|
|
6112
|
-
],
|
|
6113
|
-
"exports": [
|
|
6114
|
-
{
|
|
6115
|
-
"kind": "js",
|
|
6116
|
-
"name": "ParameterBuilderStyles",
|
|
6117
|
-
"declaration": {
|
|
6118
|
-
"name": "ParameterBuilderStyles",
|
|
6119
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
6120
|
-
}
|
|
6121
|
-
}
|
|
6122
|
-
]
|
|
6123
|
-
},
|
|
6124
|
-
{
|
|
6125
|
-
"kind": "javascript-module",
|
|
6126
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
6127
|
-
"declarations": [
|
|
6128
|
-
{
|
|
6129
|
-
"kind": "variable",
|
|
6130
|
-
"name": "ParameterBuilderTemplate",
|
|
6131
|
-
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
6132
|
-
}
|
|
6133
|
-
],
|
|
6134
|
-
"exports": [
|
|
6135
|
-
{
|
|
6136
|
-
"kind": "js",
|
|
6137
|
-
"name": "ParameterBuilderTemplate",
|
|
6138
|
-
"declaration": {
|
|
6139
|
-
"name": "ParameterBuilderTemplate",
|
|
6140
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
6141
|
-
}
|
|
6142
|
-
}
|
|
6143
|
-
]
|
|
6144
|
-
},
|
|
6145
|
-
{
|
|
6146
|
-
"kind": "javascript-module",
|
|
6147
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
6148
|
-
"declarations": [
|
|
6149
|
-
{
|
|
6150
|
-
"kind": "class",
|
|
6151
|
-
"description": "Parameter builder for notification templates.",
|
|
6152
|
-
"name": "ParameterBuilder",
|
|
6153
|
-
"members": [
|
|
6154
|
-
{
|
|
6155
|
-
"kind": "field",
|
|
6156
|
-
"name": "parameter",
|
|
6157
|
-
"type": {
|
|
6158
|
-
"text": "ParameterBuilderEntity"
|
|
6159
|
-
}
|
|
6160
|
-
},
|
|
6161
|
-
{
|
|
6162
|
-
"kind": "field",
|
|
6163
|
-
"name": "name",
|
|
6164
|
-
"type": {
|
|
6165
|
-
"text": "string"
|
|
6166
|
-
}
|
|
6167
|
-
},
|
|
6168
|
-
{
|
|
6169
|
-
"kind": "field",
|
|
6170
|
-
"name": "label",
|
|
6171
|
-
"type": {
|
|
6172
|
-
"text": "string"
|
|
6173
|
-
}
|
|
6174
|
-
},
|
|
6175
|
-
{
|
|
6176
|
-
"kind": "field",
|
|
6177
|
-
"name": "type",
|
|
6178
|
-
"type": {
|
|
6179
|
-
"text": "string"
|
|
6180
|
-
}
|
|
6181
|
-
},
|
|
6182
|
-
{
|
|
6183
|
-
"kind": "field",
|
|
6184
|
-
"name": "sourceType",
|
|
6185
|
-
"type": {
|
|
6186
|
-
"text": "string"
|
|
6187
|
-
}
|
|
6188
|
-
},
|
|
6189
|
-
{
|
|
6190
|
-
"kind": "field",
|
|
6191
|
-
"name": "sourceSelected",
|
|
6192
|
-
"type": {
|
|
6193
|
-
"text": "string"
|
|
6194
|
-
}
|
|
6195
|
-
},
|
|
6196
|
-
{
|
|
6197
|
-
"kind": "field",
|
|
6198
|
-
"name": "sourceTyped",
|
|
6199
|
-
"type": {
|
|
6200
|
-
"text": "string"
|
|
6201
|
-
}
|
|
6202
|
-
},
|
|
6203
|
-
{
|
|
6204
|
-
"kind": "field",
|
|
6205
|
-
"name": "sourceTextField",
|
|
6206
|
-
"type": {
|
|
6207
|
-
"text": "TextField"
|
|
6208
|
-
}
|
|
6209
|
-
},
|
|
6210
|
-
{
|
|
6211
|
-
"kind": "field",
|
|
6212
|
-
"name": "sourceSelect",
|
|
6213
|
-
"type": {
|
|
6214
|
-
"text": "Select"
|
|
6215
|
-
}
|
|
6216
|
-
},
|
|
6217
|
-
{
|
|
6218
|
-
"kind": "field",
|
|
6219
|
-
"name": "reqRepItems",
|
|
6220
|
-
"type": {
|
|
6221
|
-
"text": "array"
|
|
6222
|
-
},
|
|
6223
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
6224
|
-
},
|
|
6225
|
-
{
|
|
6226
|
-
"kind": "method",
|
|
6227
|
-
"name": "deleteParameter"
|
|
6228
|
-
},
|
|
6229
|
-
{
|
|
6230
|
-
"kind": "method",
|
|
6231
|
-
"name": "parameterChanged"
|
|
6232
|
-
},
|
|
6233
|
-
{
|
|
6234
|
-
"kind": "method",
|
|
6235
|
-
"name": "nameChanged"
|
|
6236
|
-
},
|
|
6237
|
-
{
|
|
6238
|
-
"kind": "method",
|
|
6239
|
-
"name": "labelChanged"
|
|
6240
|
-
},
|
|
6241
|
-
{
|
|
6242
|
-
"kind": "method",
|
|
6243
|
-
"name": "typeChanged"
|
|
6244
|
-
},
|
|
6245
|
-
{
|
|
6246
|
-
"kind": "method",
|
|
6247
|
-
"name": "sourceTypeChanged"
|
|
6248
|
-
},
|
|
6249
|
-
{
|
|
6250
|
-
"kind": "method",
|
|
6251
|
-
"name": "sourceSelectedChanged"
|
|
6252
|
-
},
|
|
6253
|
-
{
|
|
6254
|
-
"kind": "method",
|
|
6255
|
-
"name": "sourceTypedChanged"
|
|
6256
|
-
},
|
|
6257
|
-
{
|
|
6258
|
-
"kind": "method",
|
|
6259
|
-
"name": "genericChanged",
|
|
6260
|
-
"privacy": "private",
|
|
6261
|
-
"parameters": [
|
|
6262
|
-
{
|
|
6263
|
-
"name": "parameterAttribute"
|
|
6264
|
-
},
|
|
6265
|
-
{
|
|
6266
|
-
"name": "value"
|
|
6267
|
-
}
|
|
6268
|
-
]
|
|
6269
|
-
}
|
|
6270
|
-
],
|
|
6271
|
-
"events": [
|
|
6272
|
-
{
|
|
6273
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
6274
|
-
"name": "delete"
|
|
6275
|
-
},
|
|
6276
|
-
{
|
|
6277
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
6278
|
-
"name": "edit"
|
|
6279
|
-
}
|
|
6280
|
-
],
|
|
6281
|
-
"attributes": [
|
|
6282
|
-
{
|
|
6283
|
-
"name": "parameter",
|
|
6284
|
-
"type": {
|
|
6285
|
-
"text": "ParameterBuilderEntity"
|
|
6286
|
-
},
|
|
6287
|
-
"fieldName": "parameter"
|
|
6288
|
-
}
|
|
6289
|
-
],
|
|
6290
|
-
"superclass": {
|
|
6291
|
-
"name": "GenesisElement",
|
|
6292
|
-
"package": "@genesislcap/web-core"
|
|
6293
|
-
},
|
|
6294
|
-
"tagName": "parameter-builder",
|
|
6295
|
-
"customElement": true
|
|
6296
|
-
}
|
|
6297
|
-
],
|
|
6298
|
-
"exports": [
|
|
6299
|
-
{
|
|
6300
|
-
"kind": "js",
|
|
6301
|
-
"name": "ParameterBuilder",
|
|
6302
|
-
"declaration": {
|
|
6303
|
-
"name": "ParameterBuilder",
|
|
6304
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6305
|
-
}
|
|
6306
|
-
},
|
|
6307
|
-
{
|
|
6308
|
-
"kind": "custom-element-definition",
|
|
6309
|
-
"name": "parameter-builder",
|
|
6310
|
-
"declaration": {
|
|
6311
|
-
"name": "ParameterBuilder",
|
|
6312
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6313
|
-
}
|
|
6314
|
-
}
|
|
6315
|
-
]
|
|
6316
|
-
},
|
|
6317
6103
|
{
|
|
6318
6104
|
"kind": "javascript-module",
|
|
6319
6105
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -6606,6 +6392,220 @@
|
|
|
6606
6392
|
}
|
|
6607
6393
|
]
|
|
6608
6394
|
},
|
|
6395
|
+
{
|
|
6396
|
+
"kind": "javascript-module",
|
|
6397
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
6398
|
+
"declarations": [
|
|
6399
|
+
{
|
|
6400
|
+
"kind": "variable",
|
|
6401
|
+
"name": "ParameterBuilderStyles",
|
|
6402
|
+
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
6403
|
+
}
|
|
6404
|
+
],
|
|
6405
|
+
"exports": [
|
|
6406
|
+
{
|
|
6407
|
+
"kind": "js",
|
|
6408
|
+
"name": "ParameterBuilderStyles",
|
|
6409
|
+
"declaration": {
|
|
6410
|
+
"name": "ParameterBuilderStyles",
|
|
6411
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
6412
|
+
}
|
|
6413
|
+
}
|
|
6414
|
+
]
|
|
6415
|
+
},
|
|
6416
|
+
{
|
|
6417
|
+
"kind": "javascript-module",
|
|
6418
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
6419
|
+
"declarations": [
|
|
6420
|
+
{
|
|
6421
|
+
"kind": "variable",
|
|
6422
|
+
"name": "ParameterBuilderTemplate",
|
|
6423
|
+
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
6424
|
+
}
|
|
6425
|
+
],
|
|
6426
|
+
"exports": [
|
|
6427
|
+
{
|
|
6428
|
+
"kind": "js",
|
|
6429
|
+
"name": "ParameterBuilderTemplate",
|
|
6430
|
+
"declaration": {
|
|
6431
|
+
"name": "ParameterBuilderTemplate",
|
|
6432
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
6433
|
+
}
|
|
6434
|
+
}
|
|
6435
|
+
]
|
|
6436
|
+
},
|
|
6437
|
+
{
|
|
6438
|
+
"kind": "javascript-module",
|
|
6439
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
6440
|
+
"declarations": [
|
|
6441
|
+
{
|
|
6442
|
+
"kind": "class",
|
|
6443
|
+
"description": "Parameter builder for notification templates.",
|
|
6444
|
+
"name": "ParameterBuilder",
|
|
6445
|
+
"members": [
|
|
6446
|
+
{
|
|
6447
|
+
"kind": "field",
|
|
6448
|
+
"name": "parameter",
|
|
6449
|
+
"type": {
|
|
6450
|
+
"text": "ParameterBuilderEntity"
|
|
6451
|
+
}
|
|
6452
|
+
},
|
|
6453
|
+
{
|
|
6454
|
+
"kind": "field",
|
|
6455
|
+
"name": "name",
|
|
6456
|
+
"type": {
|
|
6457
|
+
"text": "string"
|
|
6458
|
+
}
|
|
6459
|
+
},
|
|
6460
|
+
{
|
|
6461
|
+
"kind": "field",
|
|
6462
|
+
"name": "label",
|
|
6463
|
+
"type": {
|
|
6464
|
+
"text": "string"
|
|
6465
|
+
}
|
|
6466
|
+
},
|
|
6467
|
+
{
|
|
6468
|
+
"kind": "field",
|
|
6469
|
+
"name": "type",
|
|
6470
|
+
"type": {
|
|
6471
|
+
"text": "string"
|
|
6472
|
+
}
|
|
6473
|
+
},
|
|
6474
|
+
{
|
|
6475
|
+
"kind": "field",
|
|
6476
|
+
"name": "sourceType",
|
|
6477
|
+
"type": {
|
|
6478
|
+
"text": "string"
|
|
6479
|
+
}
|
|
6480
|
+
},
|
|
6481
|
+
{
|
|
6482
|
+
"kind": "field",
|
|
6483
|
+
"name": "sourceSelected",
|
|
6484
|
+
"type": {
|
|
6485
|
+
"text": "string"
|
|
6486
|
+
}
|
|
6487
|
+
},
|
|
6488
|
+
{
|
|
6489
|
+
"kind": "field",
|
|
6490
|
+
"name": "sourceTyped",
|
|
6491
|
+
"type": {
|
|
6492
|
+
"text": "string"
|
|
6493
|
+
}
|
|
6494
|
+
},
|
|
6495
|
+
{
|
|
6496
|
+
"kind": "field",
|
|
6497
|
+
"name": "sourceTextField",
|
|
6498
|
+
"type": {
|
|
6499
|
+
"text": "TextField"
|
|
6500
|
+
}
|
|
6501
|
+
},
|
|
6502
|
+
{
|
|
6503
|
+
"kind": "field",
|
|
6504
|
+
"name": "sourceSelect",
|
|
6505
|
+
"type": {
|
|
6506
|
+
"text": "Select"
|
|
6507
|
+
}
|
|
6508
|
+
},
|
|
6509
|
+
{
|
|
6510
|
+
"kind": "field",
|
|
6511
|
+
"name": "reqRepItems",
|
|
6512
|
+
"type": {
|
|
6513
|
+
"text": "array"
|
|
6514
|
+
},
|
|
6515
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
6516
|
+
},
|
|
6517
|
+
{
|
|
6518
|
+
"kind": "method",
|
|
6519
|
+
"name": "deleteParameter"
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
"kind": "method",
|
|
6523
|
+
"name": "parameterChanged"
|
|
6524
|
+
},
|
|
6525
|
+
{
|
|
6526
|
+
"kind": "method",
|
|
6527
|
+
"name": "nameChanged"
|
|
6528
|
+
},
|
|
6529
|
+
{
|
|
6530
|
+
"kind": "method",
|
|
6531
|
+
"name": "labelChanged"
|
|
6532
|
+
},
|
|
6533
|
+
{
|
|
6534
|
+
"kind": "method",
|
|
6535
|
+
"name": "typeChanged"
|
|
6536
|
+
},
|
|
6537
|
+
{
|
|
6538
|
+
"kind": "method",
|
|
6539
|
+
"name": "sourceTypeChanged"
|
|
6540
|
+
},
|
|
6541
|
+
{
|
|
6542
|
+
"kind": "method",
|
|
6543
|
+
"name": "sourceSelectedChanged"
|
|
6544
|
+
},
|
|
6545
|
+
{
|
|
6546
|
+
"kind": "method",
|
|
6547
|
+
"name": "sourceTypedChanged"
|
|
6548
|
+
},
|
|
6549
|
+
{
|
|
6550
|
+
"kind": "method",
|
|
6551
|
+
"name": "genericChanged",
|
|
6552
|
+
"privacy": "private",
|
|
6553
|
+
"parameters": [
|
|
6554
|
+
{
|
|
6555
|
+
"name": "parameterAttribute"
|
|
6556
|
+
},
|
|
6557
|
+
{
|
|
6558
|
+
"name": "value"
|
|
6559
|
+
}
|
|
6560
|
+
]
|
|
6561
|
+
}
|
|
6562
|
+
],
|
|
6563
|
+
"events": [
|
|
6564
|
+
{
|
|
6565
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
6566
|
+
"name": "delete"
|
|
6567
|
+
},
|
|
6568
|
+
{
|
|
6569
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
6570
|
+
"name": "edit"
|
|
6571
|
+
}
|
|
6572
|
+
],
|
|
6573
|
+
"attributes": [
|
|
6574
|
+
{
|
|
6575
|
+
"name": "parameter",
|
|
6576
|
+
"type": {
|
|
6577
|
+
"text": "ParameterBuilderEntity"
|
|
6578
|
+
},
|
|
6579
|
+
"fieldName": "parameter"
|
|
6580
|
+
}
|
|
6581
|
+
],
|
|
6582
|
+
"superclass": {
|
|
6583
|
+
"name": "GenesisElement",
|
|
6584
|
+
"package": "@genesislcap/web-core"
|
|
6585
|
+
},
|
|
6586
|
+
"tagName": "parameter-builder",
|
|
6587
|
+
"customElement": true
|
|
6588
|
+
}
|
|
6589
|
+
],
|
|
6590
|
+
"exports": [
|
|
6591
|
+
{
|
|
6592
|
+
"kind": "js",
|
|
6593
|
+
"name": "ParameterBuilder",
|
|
6594
|
+
"declaration": {
|
|
6595
|
+
"name": "ParameterBuilder",
|
|
6596
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6597
|
+
}
|
|
6598
|
+
},
|
|
6599
|
+
{
|
|
6600
|
+
"kind": "custom-element-definition",
|
|
6601
|
+
"name": "parameter-builder",
|
|
6602
|
+
"declaration": {
|
|
6603
|
+
"name": "ParameterBuilder",
|
|
6604
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
6605
|
+
}
|
|
6606
|
+
}
|
|
6607
|
+
]
|
|
6608
|
+
},
|
|
6609
6609
|
{
|
|
6610
6610
|
"kind": "javascript-module",
|
|
6611
6611
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
package/dist/dts/react.d.ts
CHANGED
|
@@ -247,17 +247,6 @@ export declare const RuleConditionGroup: React.ForwardRefExoticComponent<
|
|
|
247
247
|
>;
|
|
248
248
|
export type RuleConditionGroupRef = RuleConditionGroupWC;
|
|
249
249
|
|
|
250
|
-
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
251
|
-
React.PropsWithChildren<
|
|
252
|
-
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
253
|
-
HTMLWCProps & {
|
|
254
|
-
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
255
|
-
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
256
|
-
}
|
|
257
|
-
> & React.RefAttributes<ParameterBuilderWC>
|
|
258
|
-
>;
|
|
259
|
-
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
260
|
-
|
|
261
250
|
export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
262
251
|
React.PropsWithChildren<
|
|
263
252
|
Omit<PublicOf<TemplateConditionBuilderWC>, 'children' | 'style'> &
|
|
@@ -269,6 +258,17 @@ export declare const TemplateConditionBuilder: React.ForwardRefExoticComponent<
|
|
|
269
258
|
>;
|
|
270
259
|
export type TemplateConditionBuilderRef = TemplateConditionBuilderWC;
|
|
271
260
|
|
|
261
|
+
export declare const ParameterBuilder: React.ForwardRefExoticComponent<
|
|
262
|
+
React.PropsWithChildren<
|
|
263
|
+
Omit<PublicOf<ParameterBuilderWC>, 'children' | 'style'> &
|
|
264
|
+
HTMLWCProps & {
|
|
265
|
+
onDelete?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
266
|
+
onEdit?: (event: CustomEvent<ParameterBuilderEntity>) => void;
|
|
267
|
+
}
|
|
268
|
+
> & React.RefAttributes<ParameterBuilderWC>
|
|
269
|
+
>;
|
|
270
|
+
export type ParameterBuilderRef = ParameterBuilderWC;
|
|
271
|
+
|
|
272
272
|
export declare const TemplateConditionGroup: React.ForwardRefExoticComponent<
|
|
273
273
|
React.PropsWithChildren<
|
|
274
274
|
Omit<PublicOf<TemplateConditionGroupWC>, 'children' | 'style'> &
|
package/dist/react.cjs
CHANGED
|
@@ -226,7 +226,7 @@ const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(props, r
|
|
|
226
226
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
227
227
|
});
|
|
228
228
|
|
|
229
|
-
const
|
|
229
|
+
const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
230
230
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
231
231
|
const _innerRef = React.useRef(null);
|
|
232
232
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -245,10 +245,10 @@ const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref)
|
|
|
245
245
|
el.removeEventListener('edit', _onEditFn);
|
|
246
246
|
};
|
|
247
247
|
}, []);
|
|
248
|
-
return React.createElement(customElements.getName(
|
|
248
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
249
249
|
});
|
|
250
250
|
|
|
251
|
-
const
|
|
251
|
+
const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
252
252
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
253
253
|
const _innerRef = React.useRef(null);
|
|
254
254
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -267,7 +267,7 @@ const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuil
|
|
|
267
267
|
el.removeEventListener('edit', _onEditFn);
|
|
268
268
|
};
|
|
269
269
|
}, []);
|
|
270
|
-
return React.createElement(customElements.getName(
|
|
270
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
271
271
|
});
|
|
272
272
|
|
|
273
273
|
const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
|
@@ -313,7 +313,7 @@ module.exports = {
|
|
|
313
313
|
TemplateDialog,
|
|
314
314
|
RuleConditionBuilder,
|
|
315
315
|
RuleConditionGroup,
|
|
316
|
-
ParameterBuilder,
|
|
317
316
|
TemplateConditionBuilder,
|
|
317
|
+
ParameterBuilder,
|
|
318
318
|
TemplateConditionGroup,
|
|
319
319
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -224,7 +224,7 @@ export const RuleConditionGroup = React.forwardRef(function RuleConditionGroup(p
|
|
|
224
224
|
return React.createElement(customElements.getName(RuleConditionGroupWC) ?? 'rule-condition-group', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
225
225
|
});
|
|
226
226
|
|
|
227
|
-
export const
|
|
227
|
+
export const TemplateConditionBuilder = React.forwardRef(function TemplateConditionBuilder(props, ref) {
|
|
228
228
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
229
229
|
const _innerRef = React.useRef(null);
|
|
230
230
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -243,10 +243,10 @@ export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props
|
|
|
243
243
|
el.removeEventListener('edit', _onEditFn);
|
|
244
244
|
};
|
|
245
245
|
}, []);
|
|
246
|
-
return React.createElement(customElements.getName(
|
|
246
|
+
return React.createElement(customElements.getName(TemplateConditionBuilderWC) ?? 'template-condition-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
247
247
|
});
|
|
248
248
|
|
|
249
|
-
export const
|
|
249
|
+
export const ParameterBuilder = React.forwardRef(function ParameterBuilder(props, ref) {
|
|
250
250
|
const { onDelete, onEdit, children, ...rest } = props;
|
|
251
251
|
const _innerRef = React.useRef(null);
|
|
252
252
|
const _onDeleteRef = React.useRef(onDelete);
|
|
@@ -265,7 +265,7 @@ export const TemplateConditionBuilder = React.forwardRef(function TemplateCondit
|
|
|
265
265
|
el.removeEventListener('edit', _onEditFn);
|
|
266
266
|
};
|
|
267
267
|
}, []);
|
|
268
|
-
return React.createElement(customElements.getName(
|
|
268
|
+
return React.createElement(customElements.getName(ParameterBuilderWC) ?? 'parameter-builder', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
269
269
|
});
|
|
270
270
|
|
|
271
271
|
export const TemplateConditionGroup = React.forwardRef(function TemplateConditionGroup(props, ref) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/pbc-notify-ui",
|
|
3
3
|
"description": "Genesis PBC Notify UI",
|
|
4
|
-
"version": "14.
|
|
4
|
+
"version": "14.486.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"workspaces": [
|
|
7
7
|
"client"
|
|
@@ -83,30 +83,30 @@
|
|
|
83
83
|
"@commitlint/format": "^19.0.3",
|
|
84
84
|
"@genesiscommunitysuccess/cep-fast-plugin": "5.0.3",
|
|
85
85
|
"@genesiscommunitysuccess/custom-elements-lsp": "5.0.3",
|
|
86
|
-
"@genesislcap/design-system-configurator": "14.
|
|
87
|
-
"@genesislcap/eslint-config": "14.
|
|
88
|
-
"@genesislcap/eslint-stylelint-builder": "14.
|
|
89
|
-
"@genesislcap/foundation-testing": "14.
|
|
90
|
-
"@genesislcap/genx": "14.
|
|
91
|
-
"@genesislcap/prettier-config": "14.
|
|
92
|
-
"@genesislcap/stylelint-config": "14.
|
|
93
|
-
"@genesislcap/vite-builder": "14.
|
|
94
|
-
"@genesislcap/webpack-builder": "14.
|
|
86
|
+
"@genesislcap/design-system-configurator": "14.486.0",
|
|
87
|
+
"@genesislcap/eslint-config": "14.486.0",
|
|
88
|
+
"@genesislcap/eslint-stylelint-builder": "14.486.0",
|
|
89
|
+
"@genesislcap/foundation-testing": "14.486.0",
|
|
90
|
+
"@genesislcap/genx": "14.486.0",
|
|
91
|
+
"@genesislcap/prettier-config": "14.486.0",
|
|
92
|
+
"@genesislcap/stylelint-config": "14.486.0",
|
|
93
|
+
"@genesislcap/vite-builder": "14.486.0",
|
|
94
|
+
"@genesislcap/webpack-builder": "14.486.0",
|
|
95
95
|
"dayjs": "^1.11.7"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-comms": "14.
|
|
99
|
-
"@genesislcap/foundation-criteria": "14.
|
|
100
|
-
"@genesislcap/foundation-entity-management": "14.
|
|
101
|
-
"@genesislcap/foundation-forms": "14.
|
|
102
|
-
"@genesislcap/foundation-layout": "14.
|
|
103
|
-
"@genesislcap/foundation-logger": "14.
|
|
104
|
-
"@genesislcap/foundation-notifications": "14.
|
|
105
|
-
"@genesislcap/foundation-ui": "14.
|
|
106
|
-
"@genesislcap/foundation-utils": "14.
|
|
107
|
-
"@genesislcap/rapid-design-system": "14.
|
|
108
|
-
"@genesislcap/rapid-grid-pro": "14.
|
|
109
|
-
"@genesislcap/web-core": "14.
|
|
98
|
+
"@genesislcap/foundation-comms": "14.486.0",
|
|
99
|
+
"@genesislcap/foundation-criteria": "14.486.0",
|
|
100
|
+
"@genesislcap/foundation-entity-management": "14.486.0",
|
|
101
|
+
"@genesislcap/foundation-forms": "14.486.0",
|
|
102
|
+
"@genesislcap/foundation-layout": "14.486.0",
|
|
103
|
+
"@genesislcap/foundation-logger": "14.486.0",
|
|
104
|
+
"@genesislcap/foundation-notifications": "14.486.0",
|
|
105
|
+
"@genesislcap/foundation-ui": "14.486.0",
|
|
106
|
+
"@genesislcap/foundation-utils": "14.486.0",
|
|
107
|
+
"@genesislcap/rapid-design-system": "14.486.0",
|
|
108
|
+
"@genesislcap/rapid-grid-pro": "14.486.0",
|
|
109
|
+
"@genesislcap/web-core": "14.486.0",
|
|
110
110
|
"lodash.debounce": "^4.0.8",
|
|
111
111
|
"rxjs": "^7.5.4"
|
|
112
112
|
},
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"access": "public"
|
|
115
115
|
},
|
|
116
116
|
"customElements": "dist/custom-elements.json",
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "5de11f8989291fe8aaf19a7048dd6be68c0be9c8"
|
|
118
118
|
}
|