@genesislcap/pbc-notify-ui 15.85.1 → 15.86.0-GENC-0.5
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 +619 -619
- package/dist/dts/react.d.ts +26 -26
- package/dist/react.cjs +16 -16
- package/dist/react.mjs +13 -13
- package/package.json +22 -22
|
@@ -6127,6 +6127,237 @@
|
|
|
6127
6127
|
}
|
|
6128
6128
|
]
|
|
6129
6129
|
},
|
|
6130
|
+
{
|
|
6131
|
+
"kind": "javascript-module",
|
|
6132
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts",
|
|
6133
|
+
"declarations": [
|
|
6134
|
+
{
|
|
6135
|
+
"kind": "variable",
|
|
6136
|
+
"name": "InboxSubscriptionStyles",
|
|
6137
|
+
"default": "css`\n .inbox-subscription {\n display: flex;\n flex-direction: column;\n }\n\n .inbox-subscription.inline {\n margin-top: calc(var(--design-unit) * 2px);\n padding-top: calc(var(--design-unit) * 2px);\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n }\n\n .inbox-subscription-header {\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-bottom: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n padding: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription-empty {\n padding: 0 calc(var(--design-unit) * 2px);\n margin: calc(var(--design-unit) * 2px) 0 0;\n }\n\n .inbox-subscription-content {\n display: flex;\n flex-direction: column;\n gap: calc(var(--design-unit) * 3px);\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px);\n border-radius: calc(var(--control-corner-radius) * 1px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-content {\n overflow: auto;\n max-height: calc(var(--design-unit) * 80px);\n }\n\n .inbox-subscription.inline .inbox-subscription-content {\n margin: calc(var(--design-unit) * 2px) 0 0;\n overflow: visible;\n max-height: none;\n padding-bottom: calc(var(--design-unit) * 4px);\n }\n\n .inbox-subscription.inline .control:focus-within {\n position: relative;\n z-index: 2;\n }\n\n .inbox-subscription-footer {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n padding: calc(var(--design-unit) * 2px) 0 0;\n border-top: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n margin-top: calc(var(--design-unit) * 2px);\n }\n\n .inbox-subscription:not(.inline) .inbox-subscription-footer {\n padding: calc(var(--design-unit) * 2px);\n margin-top: 0;\n }\n\n .inbox-subscription-footer.auto-submit {\n justify-content: flex-end;\n border-top: none;\n margin-top: 0;\n padding-top: 0;\n }\n\n rapid-button.subscribe,\n rapid-button.cancel {\n display: flex;\n margin: 0;\n flex: 1;\n }\n`"
|
|
6138
|
+
}
|
|
6139
|
+
],
|
|
6140
|
+
"exports": [
|
|
6141
|
+
{
|
|
6142
|
+
"kind": "js",
|
|
6143
|
+
"name": "InboxSubscriptionStyles",
|
|
6144
|
+
"declaration": {
|
|
6145
|
+
"name": "InboxSubscriptionStyles",
|
|
6146
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.styles.ts"
|
|
6147
|
+
}
|
|
6148
|
+
}
|
|
6149
|
+
]
|
|
6150
|
+
},
|
|
6151
|
+
{
|
|
6152
|
+
"kind": "javascript-module",
|
|
6153
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
6154
|
+
"declarations": [
|
|
6155
|
+
{
|
|
6156
|
+
"kind": "variable",
|
|
6157
|
+
"name": "InboxSubscriptionTemplate",
|
|
6158
|
+
"default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
|
|
6159
|
+
}
|
|
6160
|
+
],
|
|
6161
|
+
"exports": [
|
|
6162
|
+
{
|
|
6163
|
+
"kind": "js",
|
|
6164
|
+
"name": "InboxSubscriptionTemplate",
|
|
6165
|
+
"declaration": {
|
|
6166
|
+
"name": "InboxSubscriptionTemplate",
|
|
6167
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
6168
|
+
}
|
|
6169
|
+
}
|
|
6170
|
+
]
|
|
6171
|
+
},
|
|
6172
|
+
{
|
|
6173
|
+
"kind": "javascript-module",
|
|
6174
|
+
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
6175
|
+
"declarations": [
|
|
6176
|
+
{
|
|
6177
|
+
"kind": "class",
|
|
6178
|
+
"description": "Inbox subscription configuration UI.",
|
|
6179
|
+
"name": "InboxSubscription",
|
|
6180
|
+
"members": [
|
|
6181
|
+
{
|
|
6182
|
+
"kind": "field",
|
|
6183
|
+
"name": "template"
|
|
6184
|
+
},
|
|
6185
|
+
{
|
|
6186
|
+
"kind": "field",
|
|
6187
|
+
"name": "inline",
|
|
6188
|
+
"type": {
|
|
6189
|
+
"text": "boolean"
|
|
6190
|
+
},
|
|
6191
|
+
"default": "false"
|
|
6192
|
+
},
|
|
6193
|
+
{
|
|
6194
|
+
"kind": "field",
|
|
6195
|
+
"name": "extraParameterDetails",
|
|
6196
|
+
"type": {
|
|
6197
|
+
"text": "Record<string, string>"
|
|
6198
|
+
},
|
|
6199
|
+
"default": "{}",
|
|
6200
|
+
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
6201
|
+
},
|
|
6202
|
+
{
|
|
6203
|
+
"kind": "field",
|
|
6204
|
+
"name": "parametersDetails",
|
|
6205
|
+
"type": {
|
|
6206
|
+
"text": "object"
|
|
6207
|
+
},
|
|
6208
|
+
"privacy": "private",
|
|
6209
|
+
"default": "{}"
|
|
6210
|
+
},
|
|
6211
|
+
{
|
|
6212
|
+
"kind": "field",
|
|
6213
|
+
"name": "isSubmitting",
|
|
6214
|
+
"type": {
|
|
6215
|
+
"text": "boolean"
|
|
6216
|
+
},
|
|
6217
|
+
"privacy": "private",
|
|
6218
|
+
"default": "false"
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
"kind": "field",
|
|
6222
|
+
"name": "parametersOperators",
|
|
6223
|
+
"type": {
|
|
6224
|
+
"text": "object"
|
|
6225
|
+
},
|
|
6226
|
+
"default": "{}"
|
|
6227
|
+
},
|
|
6228
|
+
{
|
|
6229
|
+
"kind": "field",
|
|
6230
|
+
"name": "subscribeDisabled",
|
|
6231
|
+
"type": {
|
|
6232
|
+
"text": "boolean"
|
|
6233
|
+
},
|
|
6234
|
+
"default": "true"
|
|
6235
|
+
},
|
|
6236
|
+
{
|
|
6237
|
+
"kind": "field",
|
|
6238
|
+
"name": "ruleService",
|
|
6239
|
+
"type": {
|
|
6240
|
+
"text": "RuleService"
|
|
6241
|
+
}
|
|
6242
|
+
},
|
|
6243
|
+
{
|
|
6244
|
+
"kind": "field",
|
|
6245
|
+
"name": "visibleParameters",
|
|
6246
|
+
"type": {
|
|
6247
|
+
"text": "RuleParameterEntity[]"
|
|
6248
|
+
},
|
|
6249
|
+
"readonly": true
|
|
6250
|
+
},
|
|
6251
|
+
{
|
|
6252
|
+
"kind": "method",
|
|
6253
|
+
"name": "templateChanged"
|
|
6254
|
+
},
|
|
6255
|
+
{
|
|
6256
|
+
"kind": "method",
|
|
6257
|
+
"name": "usesAutoSubmit",
|
|
6258
|
+
"return": {
|
|
6259
|
+
"type": {
|
|
6260
|
+
"text": "boolean"
|
|
6261
|
+
}
|
|
6262
|
+
}
|
|
6263
|
+
},
|
|
6264
|
+
{
|
|
6265
|
+
"kind": "method",
|
|
6266
|
+
"name": "requiresManualSubscribe",
|
|
6267
|
+
"return": {
|
|
6268
|
+
"type": {
|
|
6269
|
+
"text": "boolean"
|
|
6270
|
+
}
|
|
6271
|
+
}
|
|
6272
|
+
},
|
|
6273
|
+
{
|
|
6274
|
+
"kind": "method",
|
|
6275
|
+
"name": "parameterEdit",
|
|
6276
|
+
"parameters": [
|
|
6277
|
+
{
|
|
6278
|
+
"name": "value",
|
|
6279
|
+
"type": {
|
|
6280
|
+
"text": "any"
|
|
6281
|
+
}
|
|
6282
|
+
}
|
|
6283
|
+
]
|
|
6284
|
+
},
|
|
6285
|
+
{
|
|
6286
|
+
"kind": "method",
|
|
6287
|
+
"name": "autoSubscribe",
|
|
6288
|
+
"privacy": "private"
|
|
6289
|
+
},
|
|
6290
|
+
{
|
|
6291
|
+
"kind": "method",
|
|
6292
|
+
"name": "verifySubscribe"
|
|
6293
|
+
},
|
|
6294
|
+
{
|
|
6295
|
+
"kind": "field",
|
|
6296
|
+
"name": "isFirstElement"
|
|
6297
|
+
},
|
|
6298
|
+
{
|
|
6299
|
+
"kind": "method",
|
|
6300
|
+
"name": "subscribeTemplate"
|
|
6301
|
+
},
|
|
6302
|
+
{
|
|
6303
|
+
"kind": "method",
|
|
6304
|
+
"name": "cancelSubscribe"
|
|
6305
|
+
},
|
|
6306
|
+
{
|
|
6307
|
+
"kind": "field",
|
|
6308
|
+
"name": "createParametersOperatorMap"
|
|
6309
|
+
}
|
|
6310
|
+
],
|
|
6311
|
+
"events": [
|
|
6312
|
+
{
|
|
6313
|
+
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
6314
|
+
"name": "templateSubscribed"
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"description": "Fired when inline parameter entry is cancelled",
|
|
6318
|
+
"name": "subscribeCancelled"
|
|
6319
|
+
}
|
|
6320
|
+
],
|
|
6321
|
+
"attributes": [
|
|
6322
|
+
{
|
|
6323
|
+
"name": "template",
|
|
6324
|
+
"fieldName": "template"
|
|
6325
|
+
},
|
|
6326
|
+
{
|
|
6327
|
+
"type": {
|
|
6328
|
+
"text": "boolean"
|
|
6329
|
+
},
|
|
6330
|
+
"default": "false",
|
|
6331
|
+
"fieldName": "inline"
|
|
6332
|
+
}
|
|
6333
|
+
],
|
|
6334
|
+
"superclass": {
|
|
6335
|
+
"name": "GenesisElement",
|
|
6336
|
+
"package": "@genesislcap/web-core"
|
|
6337
|
+
},
|
|
6338
|
+
"tagName": "inbox-subscription",
|
|
6339
|
+
"customElement": true
|
|
6340
|
+
}
|
|
6341
|
+
],
|
|
6342
|
+
"exports": [
|
|
6343
|
+
{
|
|
6344
|
+
"kind": "js",
|
|
6345
|
+
"name": "InboxSubscription",
|
|
6346
|
+
"declaration": {
|
|
6347
|
+
"name": "InboxSubscription",
|
|
6348
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6349
|
+
}
|
|
6350
|
+
},
|
|
6351
|
+
{
|
|
6352
|
+
"kind": "custom-element-definition",
|
|
6353
|
+
"name": "inbox-subscription",
|
|
6354
|
+
"declaration": {
|
|
6355
|
+
"name": "InboxSubscription",
|
|
6356
|
+
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
6357
|
+
}
|
|
6358
|
+
}
|
|
6359
|
+
]
|
|
6360
|
+
},
|
|
6130
6361
|
{
|
|
6131
6362
|
"kind": "javascript-module",
|
|
6132
6363
|
"path": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.styles.ts",
|
|
@@ -7527,258 +7758,27 @@
|
|
|
7527
7758
|
},
|
|
7528
7759
|
{
|
|
7529
7760
|
"kind": "javascript-module",
|
|
7530
|
-
"path": "src/components/foundation-
|
|
7761
|
+
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
|
7531
7762
|
"declarations": [
|
|
7532
7763
|
{
|
|
7533
|
-
"kind": "
|
|
7534
|
-
"
|
|
7535
|
-
"
|
|
7764
|
+
"kind": "class",
|
|
7765
|
+
"description": "",
|
|
7766
|
+
"name": "NotifyAuditManagement",
|
|
7767
|
+
"superclass": {
|
|
7768
|
+
"name": "GenesisElement",
|
|
7769
|
+
"package": "@genesislcap/web-core"
|
|
7770
|
+
},
|
|
7771
|
+
"tagName": "notify-audit-management",
|
|
7772
|
+
"customElement": true
|
|
7536
7773
|
}
|
|
7537
7774
|
],
|
|
7538
7775
|
"exports": [
|
|
7539
7776
|
{
|
|
7540
7777
|
"kind": "js",
|
|
7541
|
-
"name": "
|
|
7778
|
+
"name": "NotifyAuditManagement",
|
|
7542
7779
|
"declaration": {
|
|
7543
|
-
"name": "
|
|
7544
|
-
"module": "src/components/foundation-
|
|
7545
|
-
}
|
|
7546
|
-
}
|
|
7547
|
-
]
|
|
7548
|
-
},
|
|
7549
|
-
{
|
|
7550
|
-
"kind": "javascript-module",
|
|
7551
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts",
|
|
7552
|
-
"declarations": [
|
|
7553
|
-
{
|
|
7554
|
-
"kind": "variable",
|
|
7555
|
-
"name": "InboxSubscriptionTemplate",
|
|
7556
|
-
"default": "html<InboxSubscription>`\n <div class=\"inbox-subscription ${(x) => (x.inline ? 'inline' : '')}\">\n ${when(\n (x) => !x.inline,\n html`\n <div class=\"inbox-subscription-header\">\n Subscribe to\n <span style=\"font-weight: bold;\">${(x) => x.template.RULE_NAME}</span>\n </div>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length === 0,\n html`\n <p class=\"inbox-subscription-empty\">The selected template doesn't have parameters.</p>\n `,\n )}\n ${when(\n (x) => x.visibleParameters.length > 0,\n html`\n <div class=\"inbox-subscription-content\">\n ${repeat(\n (x) => x.visibleParameters,\n html<RuleParameterEntity>`\n <rule-parameter\n :parameter=${(x) => x}\n :isFirstElement=${(x, c) => c.parent.isFirstElement(x)}\n :operator=${(x, c) => c.parent.parametersOperators[x.PARAM_NAME]}\n :requireSelection=${(x, c) => c.parent.usesAutoSubmit()}\n @parameterEdited=${(x, c) => c.parent.parameterEdit(eventDetail(c))}\n ></rule-parameter>\n `,\n )}\n </div>\n `,\n )}\n ${when(\n (x) => !x.inline || x.requiresManualSubscribe(),\n html`\n <div class=\"inbox-subscription-footer\">\n ${when(\n (x) => x.inline,\n html`\n <rapid-button\n class=\"cancel\"\n appearance=\"neutral\"\n @click=${(x) => x.cancelSubscribe()}\n >\n Cancel\n </rapid-button>\n `,\n )}\n <rapid-button\n class=\"subscribe\"\n appearance=\"primary\"\n @click=${(x) => x.subscribeTemplate()}\n ?disabled=${(x) => x.subscribeDisabled}\n >\n Subscribe\n </rapid-button>\n </div>\n `,\n )}\n ${when(\n (x) => x.inline && x.usesAutoSubmit(),\n html`\n <div class=\"inbox-subscription-footer auto-submit\">\n <rapid-button class=\"cancel\" appearance=\"neutral\" @click=${(x) => x.cancelSubscribe()}>\n Cancel\n </rapid-button>\n </div>\n `,\n )}\n </div>\n`"
|
|
7557
|
-
}
|
|
7558
|
-
],
|
|
7559
|
-
"exports": [
|
|
7560
|
-
{
|
|
7561
|
-
"kind": "js",
|
|
7562
|
-
"name": "InboxSubscriptionTemplate",
|
|
7563
|
-
"declaration": {
|
|
7564
|
-
"name": "InboxSubscriptionTemplate",
|
|
7565
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.template.ts"
|
|
7566
|
-
}
|
|
7567
|
-
}
|
|
7568
|
-
]
|
|
7569
|
-
},
|
|
7570
|
-
{
|
|
7571
|
-
"kind": "javascript-module",
|
|
7572
|
-
"path": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts",
|
|
7573
|
-
"declarations": [
|
|
7574
|
-
{
|
|
7575
|
-
"kind": "class",
|
|
7576
|
-
"description": "Inbox subscription configuration UI.",
|
|
7577
|
-
"name": "InboxSubscription",
|
|
7578
|
-
"members": [
|
|
7579
|
-
{
|
|
7580
|
-
"kind": "field",
|
|
7581
|
-
"name": "template"
|
|
7582
|
-
},
|
|
7583
|
-
{
|
|
7584
|
-
"kind": "field",
|
|
7585
|
-
"name": "inline",
|
|
7586
|
-
"type": {
|
|
7587
|
-
"text": "boolean"
|
|
7588
|
-
},
|
|
7589
|
-
"default": "false"
|
|
7590
|
-
},
|
|
7591
|
-
{
|
|
7592
|
-
"kind": "field",
|
|
7593
|
-
"name": "extraParameterDetails",
|
|
7594
|
-
"type": {
|
|
7595
|
-
"text": "Record<string, string>"
|
|
7596
|
-
},
|
|
7597
|
-
"default": "{}",
|
|
7598
|
-
"description": "Merged into subscribe payload (e.g. CHANNEL topic). Hidden from the form."
|
|
7599
|
-
},
|
|
7600
|
-
{
|
|
7601
|
-
"kind": "field",
|
|
7602
|
-
"name": "parametersDetails",
|
|
7603
|
-
"type": {
|
|
7604
|
-
"text": "object"
|
|
7605
|
-
},
|
|
7606
|
-
"privacy": "private",
|
|
7607
|
-
"default": "{}"
|
|
7608
|
-
},
|
|
7609
|
-
{
|
|
7610
|
-
"kind": "field",
|
|
7611
|
-
"name": "isSubmitting",
|
|
7612
|
-
"type": {
|
|
7613
|
-
"text": "boolean"
|
|
7614
|
-
},
|
|
7615
|
-
"privacy": "private",
|
|
7616
|
-
"default": "false"
|
|
7617
|
-
},
|
|
7618
|
-
{
|
|
7619
|
-
"kind": "field",
|
|
7620
|
-
"name": "parametersOperators",
|
|
7621
|
-
"type": {
|
|
7622
|
-
"text": "object"
|
|
7623
|
-
},
|
|
7624
|
-
"default": "{}"
|
|
7625
|
-
},
|
|
7626
|
-
{
|
|
7627
|
-
"kind": "field",
|
|
7628
|
-
"name": "subscribeDisabled",
|
|
7629
|
-
"type": {
|
|
7630
|
-
"text": "boolean"
|
|
7631
|
-
},
|
|
7632
|
-
"default": "true"
|
|
7633
|
-
},
|
|
7634
|
-
{
|
|
7635
|
-
"kind": "field",
|
|
7636
|
-
"name": "ruleService",
|
|
7637
|
-
"type": {
|
|
7638
|
-
"text": "RuleService"
|
|
7639
|
-
}
|
|
7640
|
-
},
|
|
7641
|
-
{
|
|
7642
|
-
"kind": "field",
|
|
7643
|
-
"name": "visibleParameters",
|
|
7644
|
-
"type": {
|
|
7645
|
-
"text": "RuleParameterEntity[]"
|
|
7646
|
-
},
|
|
7647
|
-
"readonly": true
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"kind": "method",
|
|
7651
|
-
"name": "templateChanged"
|
|
7652
|
-
},
|
|
7653
|
-
{
|
|
7654
|
-
"kind": "method",
|
|
7655
|
-
"name": "usesAutoSubmit",
|
|
7656
|
-
"return": {
|
|
7657
|
-
"type": {
|
|
7658
|
-
"text": "boolean"
|
|
7659
|
-
}
|
|
7660
|
-
}
|
|
7661
|
-
},
|
|
7662
|
-
{
|
|
7663
|
-
"kind": "method",
|
|
7664
|
-
"name": "requiresManualSubscribe",
|
|
7665
|
-
"return": {
|
|
7666
|
-
"type": {
|
|
7667
|
-
"text": "boolean"
|
|
7668
|
-
}
|
|
7669
|
-
}
|
|
7670
|
-
},
|
|
7671
|
-
{
|
|
7672
|
-
"kind": "method",
|
|
7673
|
-
"name": "parameterEdit",
|
|
7674
|
-
"parameters": [
|
|
7675
|
-
{
|
|
7676
|
-
"name": "value",
|
|
7677
|
-
"type": {
|
|
7678
|
-
"text": "any"
|
|
7679
|
-
}
|
|
7680
|
-
}
|
|
7681
|
-
]
|
|
7682
|
-
},
|
|
7683
|
-
{
|
|
7684
|
-
"kind": "method",
|
|
7685
|
-
"name": "autoSubscribe",
|
|
7686
|
-
"privacy": "private"
|
|
7687
|
-
},
|
|
7688
|
-
{
|
|
7689
|
-
"kind": "method",
|
|
7690
|
-
"name": "verifySubscribe"
|
|
7691
|
-
},
|
|
7692
|
-
{
|
|
7693
|
-
"kind": "field",
|
|
7694
|
-
"name": "isFirstElement"
|
|
7695
|
-
},
|
|
7696
|
-
{
|
|
7697
|
-
"kind": "method",
|
|
7698
|
-
"name": "subscribeTemplate"
|
|
7699
|
-
},
|
|
7700
|
-
{
|
|
7701
|
-
"kind": "method",
|
|
7702
|
-
"name": "cancelSubscribe"
|
|
7703
|
-
},
|
|
7704
|
-
{
|
|
7705
|
-
"kind": "field",
|
|
7706
|
-
"name": "createParametersOperatorMap"
|
|
7707
|
-
}
|
|
7708
|
-
],
|
|
7709
|
-
"events": [
|
|
7710
|
-
{
|
|
7711
|
-
"description": "Fired when a template subscription is created. detail: `TemplateSubscribedEventDetail`",
|
|
7712
|
-
"name": "templateSubscribed"
|
|
7713
|
-
},
|
|
7714
|
-
{
|
|
7715
|
-
"description": "Fired when inline parameter entry is cancelled",
|
|
7716
|
-
"name": "subscribeCancelled"
|
|
7717
|
-
}
|
|
7718
|
-
],
|
|
7719
|
-
"attributes": [
|
|
7720
|
-
{
|
|
7721
|
-
"name": "template",
|
|
7722
|
-
"fieldName": "template"
|
|
7723
|
-
},
|
|
7724
|
-
{
|
|
7725
|
-
"type": {
|
|
7726
|
-
"text": "boolean"
|
|
7727
|
-
},
|
|
7728
|
-
"default": "false",
|
|
7729
|
-
"fieldName": "inline"
|
|
7730
|
-
}
|
|
7731
|
-
],
|
|
7732
|
-
"superclass": {
|
|
7733
|
-
"name": "GenesisElement",
|
|
7734
|
-
"package": "@genesislcap/web-core"
|
|
7735
|
-
},
|
|
7736
|
-
"tagName": "inbox-subscription",
|
|
7737
|
-
"customElement": true
|
|
7738
|
-
}
|
|
7739
|
-
],
|
|
7740
|
-
"exports": [
|
|
7741
|
-
{
|
|
7742
|
-
"kind": "js",
|
|
7743
|
-
"name": "InboxSubscription",
|
|
7744
|
-
"declaration": {
|
|
7745
|
-
"name": "InboxSubscription",
|
|
7746
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
7747
|
-
}
|
|
7748
|
-
},
|
|
7749
|
-
{
|
|
7750
|
-
"kind": "custom-element-definition",
|
|
7751
|
-
"name": "inbox-subscription",
|
|
7752
|
-
"declaration": {
|
|
7753
|
-
"name": "InboxSubscription",
|
|
7754
|
-
"module": "src/components/foundation-inbox/components/inbox-subscription/inbox-subscription.ts"
|
|
7755
|
-
}
|
|
7756
|
-
}
|
|
7757
|
-
]
|
|
7758
|
-
},
|
|
7759
|
-
{
|
|
7760
|
-
"kind": "javascript-module",
|
|
7761
|
-
"path": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts",
|
|
7762
|
-
"declarations": [
|
|
7763
|
-
{
|
|
7764
|
-
"kind": "class",
|
|
7765
|
-
"description": "",
|
|
7766
|
-
"name": "NotifyAuditManagement",
|
|
7767
|
-
"superclass": {
|
|
7768
|
-
"name": "GenesisElement",
|
|
7769
|
-
"package": "@genesislcap/web-core"
|
|
7770
|
-
},
|
|
7771
|
-
"tagName": "notify-audit-management",
|
|
7772
|
-
"customElement": true
|
|
7773
|
-
}
|
|
7774
|
-
],
|
|
7775
|
-
"exports": [
|
|
7776
|
-
{
|
|
7777
|
-
"kind": "js",
|
|
7778
|
-
"name": "NotifyAuditManagement",
|
|
7779
|
-
"declaration": {
|
|
7780
|
-
"name": "NotifyAuditManagement",
|
|
7781
|
-
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
7780
|
+
"name": "NotifyAuditManagement",
|
|
7781
|
+
"module": "src/components/foundation-notification-dashboard/components/notify-audit/notify-audit-management.ts"
|
|
7782
7782
|
}
|
|
7783
7783
|
},
|
|
7784
7784
|
{
|
|
@@ -9987,39 +9987,39 @@
|
|
|
9987
9987
|
},
|
|
9988
9988
|
{
|
|
9989
9989
|
"kind": "javascript-module",
|
|
9990
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
9990
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
9991
9991
|
"declarations": [
|
|
9992
9992
|
{
|
|
9993
9993
|
"kind": "variable",
|
|
9994
|
-
"name": "
|
|
9995
|
-
"default": "html<
|
|
9994
|
+
"name": "RuleConditionBuilderTemplate",
|
|
9995
|
+
"default": "html<RuleConditionBuilder>`\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-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\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`"
|
|
9996
9996
|
}
|
|
9997
9997
|
],
|
|
9998
9998
|
"exports": [
|
|
9999
9999
|
{
|
|
10000
10000
|
"kind": "js",
|
|
10001
|
-
"name": "
|
|
10001
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10002
10002
|
"declaration": {
|
|
10003
|
-
"name": "
|
|
10004
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10003
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10004
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
|
|
10005
10005
|
}
|
|
10006
10006
|
}
|
|
10007
10007
|
]
|
|
10008
10008
|
},
|
|
10009
10009
|
{
|
|
10010
10010
|
"kind": "javascript-module",
|
|
10011
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10011
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
|
|
10012
10012
|
"declarations": [
|
|
10013
10013
|
{
|
|
10014
10014
|
"kind": "class",
|
|
10015
|
-
"description": "
|
|
10016
|
-
"name": "
|
|
10015
|
+
"description": "Condition builder for notification rule criteria.",
|
|
10016
|
+
"name": "RuleConditionBuilder",
|
|
10017
10017
|
"members": [
|
|
10018
10018
|
{
|
|
10019
10019
|
"kind": "field",
|
|
10020
|
-
"name": "
|
|
10020
|
+
"name": "condition",
|
|
10021
10021
|
"type": {
|
|
10022
|
-
"text": "
|
|
10022
|
+
"text": "ConditionBuilderEntity"
|
|
10023
10023
|
}
|
|
10024
10024
|
},
|
|
10025
10025
|
{
|
|
@@ -10047,15 +10047,66 @@
|
|
|
10047
10047
|
},
|
|
10048
10048
|
{
|
|
10049
10049
|
"kind": "field",
|
|
10050
|
-
"name": "
|
|
10050
|
+
"name": "leftValue",
|
|
10051
10051
|
"type": {
|
|
10052
|
-
"text": "
|
|
10052
|
+
"text": "string"
|
|
10053
|
+
},
|
|
10054
|
+
"default": "null"
|
|
10055
|
+
},
|
|
10056
|
+
{
|
|
10057
|
+
"kind": "field",
|
|
10058
|
+
"name": "leftValueItems",
|
|
10059
|
+
"type": {
|
|
10060
|
+
"text": "Array<any>"
|
|
10061
|
+
},
|
|
10062
|
+
"default": "[]"
|
|
10063
|
+
},
|
|
10064
|
+
{
|
|
10065
|
+
"kind": "field",
|
|
10066
|
+
"name": "logicalOperator",
|
|
10067
|
+
"type": {
|
|
10068
|
+
"text": "string"
|
|
10069
|
+
},
|
|
10070
|
+
"default": "null"
|
|
10071
|
+
},
|
|
10072
|
+
{
|
|
10073
|
+
"kind": "field",
|
|
10074
|
+
"name": "rightCriteria",
|
|
10075
|
+
"type": {
|
|
10076
|
+
"text": "string"
|
|
10077
|
+
}
|
|
10078
|
+
},
|
|
10079
|
+
{
|
|
10080
|
+
"kind": "field",
|
|
10081
|
+
"name": "rightValueText",
|
|
10082
|
+
"type": {
|
|
10083
|
+
"text": "string"
|
|
10084
|
+
},
|
|
10085
|
+
"default": "null"
|
|
10086
|
+
},
|
|
10087
|
+
{
|
|
10088
|
+
"kind": "field",
|
|
10089
|
+
"name": "rightValueSelect",
|
|
10090
|
+
"type": {
|
|
10091
|
+
"text": "string"
|
|
10092
|
+
},
|
|
10093
|
+
"default": "null"
|
|
10094
|
+
},
|
|
10095
|
+
{
|
|
10096
|
+
"kind": "field",
|
|
10097
|
+
"name": "rightValueMultiSelect",
|
|
10098
|
+
"type": {
|
|
10099
|
+
"text": "string[]"
|
|
10053
10100
|
},
|
|
10054
10101
|
"default": "[]"
|
|
10055
10102
|
},
|
|
10056
10103
|
{
|
|
10057
10104
|
"kind": "method",
|
|
10058
|
-
"name": "
|
|
10105
|
+
"name": "deleteCondition"
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
"kind": "method",
|
|
10109
|
+
"name": "conditionChanged"
|
|
10059
10110
|
},
|
|
10060
10111
|
{
|
|
10061
10112
|
"kind": "method",
|
|
@@ -10063,48 +10114,125 @@
|
|
|
10063
10114
|
},
|
|
10064
10115
|
{
|
|
10065
10116
|
"kind": "method",
|
|
10066
|
-
"name": "
|
|
10117
|
+
"name": "fieldsChanged"
|
|
10067
10118
|
},
|
|
10068
10119
|
{
|
|
10069
10120
|
"kind": "method",
|
|
10070
|
-
"name": "
|
|
10121
|
+
"name": "assignLeftValue",
|
|
10122
|
+
"privacy": "private"
|
|
10071
10123
|
},
|
|
10072
10124
|
{
|
|
10073
10125
|
"kind": "method",
|
|
10074
|
-
"name": "
|
|
10126
|
+
"name": "assignRightValue"
|
|
10127
|
+
},
|
|
10128
|
+
{
|
|
10129
|
+
"kind": "method",
|
|
10130
|
+
"name": "getRightCriteria",
|
|
10131
|
+
"return": {
|
|
10132
|
+
"type": {
|
|
10133
|
+
"text": "Array<any>"
|
|
10134
|
+
}
|
|
10135
|
+
}
|
|
10136
|
+
},
|
|
10137
|
+
{
|
|
10138
|
+
"kind": "method",
|
|
10139
|
+
"name": "getLogicalOperators",
|
|
10140
|
+
"return": {
|
|
10141
|
+
"type": {
|
|
10142
|
+
"text": "Array<any>"
|
|
10143
|
+
}
|
|
10144
|
+
}
|
|
10145
|
+
},
|
|
10146
|
+
{
|
|
10147
|
+
"kind": "method",
|
|
10148
|
+
"name": "leftValueChanged"
|
|
10149
|
+
},
|
|
10150
|
+
{
|
|
10151
|
+
"kind": "method",
|
|
10152
|
+
"name": "logicalOperatorChanged"
|
|
10153
|
+
},
|
|
10154
|
+
{
|
|
10155
|
+
"kind": "method",
|
|
10156
|
+
"name": "rightCriteriaChanged"
|
|
10157
|
+
},
|
|
10158
|
+
{
|
|
10159
|
+
"kind": "method",
|
|
10160
|
+
"name": "clearRightValueText",
|
|
10161
|
+
"privacy": "private"
|
|
10162
|
+
},
|
|
10163
|
+
{
|
|
10164
|
+
"kind": "method",
|
|
10165
|
+
"name": "clearRightValueSelect",
|
|
10166
|
+
"privacy": "private"
|
|
10167
|
+
},
|
|
10168
|
+
{
|
|
10169
|
+
"kind": "method",
|
|
10170
|
+
"name": "rightValueTextChanged"
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
"kind": "method",
|
|
10174
|
+
"name": "rightValueSelectChanged"
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
"kind": "method",
|
|
10178
|
+
"name": "rightValueMultiSelectChanged"
|
|
10179
|
+
},
|
|
10180
|
+
{
|
|
10181
|
+
"kind": "method",
|
|
10182
|
+
"name": "getEnumValues",
|
|
10183
|
+
"return": {
|
|
10184
|
+
"type": {
|
|
10185
|
+
"text": "string[]"
|
|
10186
|
+
}
|
|
10187
|
+
}
|
|
10188
|
+
},
|
|
10189
|
+
{
|
|
10190
|
+
"kind": "method",
|
|
10191
|
+
"name": "convertDateTime",
|
|
10075
10192
|
"parameters": [
|
|
10076
10193
|
{
|
|
10077
|
-
"name": "
|
|
10194
|
+
"name": "dateTimeStr",
|
|
10078
10195
|
"type": {
|
|
10079
|
-
"text": "
|
|
10196
|
+
"text": "string"
|
|
10080
10197
|
}
|
|
10081
10198
|
}
|
|
10082
10199
|
]
|
|
10083
10200
|
},
|
|
10084
10201
|
{
|
|
10085
10202
|
"kind": "method",
|
|
10086
|
-
"name": "
|
|
10203
|
+
"name": "convertLongForDatePicker",
|
|
10087
10204
|
"parameters": [
|
|
10088
10205
|
{
|
|
10089
|
-
"name": "
|
|
10206
|
+
"name": "value",
|
|
10090
10207
|
"type": {
|
|
10091
|
-
"text": "
|
|
10208
|
+
"text": "number"
|
|
10209
|
+
}
|
|
10210
|
+
},
|
|
10211
|
+
{
|
|
10212
|
+
"name": "time",
|
|
10213
|
+
"default": "false",
|
|
10214
|
+
"type": {
|
|
10215
|
+
"text": "boolean"
|
|
10092
10216
|
}
|
|
10093
10217
|
}
|
|
10094
10218
|
]
|
|
10095
10219
|
},
|
|
10096
10220
|
{
|
|
10097
10221
|
"kind": "method",
|
|
10098
|
-
"name": "
|
|
10222
|
+
"name": "getAllFields"
|
|
10223
|
+
},
|
|
10224
|
+
{
|
|
10225
|
+
"kind": "method",
|
|
10226
|
+
"name": "getApplicableFields"
|
|
10099
10227
|
}
|
|
10100
10228
|
],
|
|
10101
10229
|
"events": [
|
|
10102
10230
|
{
|
|
10103
|
-
"description": "Fired when
|
|
10231
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10104
10232
|
"name": "delete"
|
|
10105
10233
|
},
|
|
10106
10234
|
{
|
|
10107
|
-
"description": "Fired when
|
|
10235
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10108
10236
|
"name": "edit"
|
|
10109
10237
|
}
|
|
10110
10238
|
],
|
|
@@ -10112,64 +10240,70 @@
|
|
|
10112
10240
|
"name": "GenesisElement",
|
|
10113
10241
|
"package": "@genesislcap/web-core"
|
|
10114
10242
|
},
|
|
10115
|
-
"tagName": "rule-condition-
|
|
10243
|
+
"tagName": "rule-condition-builder",
|
|
10116
10244
|
"customElement": true
|
|
10117
10245
|
}
|
|
10118
10246
|
],
|
|
10119
10247
|
"exports": [
|
|
10120
10248
|
{
|
|
10121
10249
|
"kind": "js",
|
|
10122
|
-
"name": "
|
|
10250
|
+
"name": "RuleConditionBuilder",
|
|
10123
10251
|
"declaration": {
|
|
10124
|
-
"name": "
|
|
10125
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10252
|
+
"name": "RuleConditionBuilder",
|
|
10253
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10126
10254
|
}
|
|
10127
10255
|
},
|
|
10128
10256
|
{
|
|
10129
10257
|
"kind": "custom-element-definition",
|
|
10130
|
-
"name": "rule-condition-
|
|
10258
|
+
"name": "rule-condition-builder",
|
|
10131
10259
|
"declaration": {
|
|
10132
|
-
"name": "
|
|
10133
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10260
|
+
"name": "RuleConditionBuilder",
|
|
10261
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10134
10262
|
}
|
|
10135
10263
|
}
|
|
10136
10264
|
]
|
|
10137
10265
|
},
|
|
10138
10266
|
{
|
|
10139
10267
|
"kind": "javascript-module",
|
|
10140
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.
|
|
10268
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10269
|
+
"declarations": [],
|
|
10270
|
+
"exports": []
|
|
10271
|
+
},
|
|
10272
|
+
{
|
|
10273
|
+
"kind": "javascript-module",
|
|
10274
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts",
|
|
10141
10275
|
"declarations": [
|
|
10142
10276
|
{
|
|
10143
10277
|
"kind": "variable",
|
|
10144
|
-
"name": "
|
|
10145
|
-
"default": "html<
|
|
10278
|
+
"name": "RuleConditionGroupTemplate",
|
|
10279
|
+
"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`"
|
|
10146
10280
|
}
|
|
10147
10281
|
],
|
|
10148
10282
|
"exports": [
|
|
10149
10283
|
{
|
|
10150
10284
|
"kind": "js",
|
|
10151
|
-
"name": "
|
|
10285
|
+
"name": "RuleConditionGroupTemplate",
|
|
10152
10286
|
"declaration": {
|
|
10153
|
-
"name": "
|
|
10154
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10287
|
+
"name": "RuleConditionGroupTemplate",
|
|
10288
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.template.ts"
|
|
10155
10289
|
}
|
|
10156
10290
|
}
|
|
10157
10291
|
]
|
|
10158
10292
|
},
|
|
10159
10293
|
{
|
|
10160
10294
|
"kind": "javascript-module",
|
|
10161
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-
|
|
10295
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts",
|
|
10162
10296
|
"declarations": [
|
|
10163
10297
|
{
|
|
10164
10298
|
"kind": "class",
|
|
10165
|
-
"description": "
|
|
10166
|
-
"name": "
|
|
10299
|
+
"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.",
|
|
10300
|
+
"name": "RuleConditionGroup",
|
|
10167
10301
|
"members": [
|
|
10168
10302
|
{
|
|
10169
10303
|
"kind": "field",
|
|
10170
|
-
"name": "
|
|
10304
|
+
"name": "node",
|
|
10171
10305
|
"type": {
|
|
10172
|
-
"text": "
|
|
10306
|
+
"text": "ConditionGroupEntity"
|
|
10173
10307
|
}
|
|
10174
10308
|
},
|
|
10175
10309
|
{
|
|
@@ -10197,228 +10331,308 @@
|
|
|
10197
10331
|
},
|
|
10198
10332
|
{
|
|
10199
10333
|
"kind": "field",
|
|
10200
|
-
"name": "
|
|
10334
|
+
"name": "groupChildren",
|
|
10201
10335
|
"type": {
|
|
10202
|
-
"text": "
|
|
10336
|
+
"text": "ConditionNode[]"
|
|
10203
10337
|
},
|
|
10204
|
-
"default": "
|
|
10338
|
+
"default": "[]"
|
|
10339
|
+
},
|
|
10340
|
+
{
|
|
10341
|
+
"kind": "method",
|
|
10342
|
+
"name": "nodeChanged"
|
|
10343
|
+
},
|
|
10344
|
+
{
|
|
10345
|
+
"kind": "method",
|
|
10346
|
+
"name": "joinOperatorChanged"
|
|
10347
|
+
},
|
|
10348
|
+
{
|
|
10349
|
+
"kind": "method",
|
|
10350
|
+
"name": "newCondition"
|
|
10351
|
+
},
|
|
10352
|
+
{
|
|
10353
|
+
"kind": "method",
|
|
10354
|
+
"name": "newGroup"
|
|
10355
|
+
},
|
|
10356
|
+
{
|
|
10357
|
+
"kind": "method",
|
|
10358
|
+
"name": "editChild",
|
|
10359
|
+
"parameters": [
|
|
10360
|
+
{
|
|
10361
|
+
"name": "_editedChild",
|
|
10362
|
+
"type": {
|
|
10363
|
+
"text": "ConditionNode"
|
|
10364
|
+
}
|
|
10365
|
+
}
|
|
10366
|
+
]
|
|
10367
|
+
},
|
|
10368
|
+
{
|
|
10369
|
+
"kind": "method",
|
|
10370
|
+
"name": "deleteChild",
|
|
10371
|
+
"parameters": [
|
|
10372
|
+
{
|
|
10373
|
+
"name": "deletedChild",
|
|
10374
|
+
"type": {
|
|
10375
|
+
"text": "ConditionNode"
|
|
10376
|
+
}
|
|
10377
|
+
}
|
|
10378
|
+
]
|
|
10379
|
+
},
|
|
10380
|
+
{
|
|
10381
|
+
"kind": "method",
|
|
10382
|
+
"name": "deleteSelf"
|
|
10383
|
+
}
|
|
10384
|
+
],
|
|
10385
|
+
"events": [
|
|
10386
|
+
{
|
|
10387
|
+
"description": "Fired when this whole group should be removed",
|
|
10388
|
+
"name": "delete"
|
|
10205
10389
|
},
|
|
10390
|
+
{
|
|
10391
|
+
"description": "Fired when anything inside this group changes",
|
|
10392
|
+
"name": "edit"
|
|
10393
|
+
}
|
|
10394
|
+
],
|
|
10395
|
+
"superclass": {
|
|
10396
|
+
"name": "GenesisElement",
|
|
10397
|
+
"package": "@genesislcap/web-core"
|
|
10398
|
+
},
|
|
10399
|
+
"tagName": "rule-condition-group",
|
|
10400
|
+
"customElement": true
|
|
10401
|
+
}
|
|
10402
|
+
],
|
|
10403
|
+
"exports": [
|
|
10404
|
+
{
|
|
10405
|
+
"kind": "js",
|
|
10406
|
+
"name": "RuleConditionGroup",
|
|
10407
|
+
"declaration": {
|
|
10408
|
+
"name": "RuleConditionGroup",
|
|
10409
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10410
|
+
}
|
|
10411
|
+
},
|
|
10412
|
+
{
|
|
10413
|
+
"kind": "custom-element-definition",
|
|
10414
|
+
"name": "rule-condition-group",
|
|
10415
|
+
"declaration": {
|
|
10416
|
+
"name": "RuleConditionGroup",
|
|
10417
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10418
|
+
}
|
|
10419
|
+
}
|
|
10420
|
+
]
|
|
10421
|
+
},
|
|
10422
|
+
{
|
|
10423
|
+
"kind": "javascript-module",
|
|
10424
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10425
|
+
"declarations": [
|
|
10426
|
+
{
|
|
10427
|
+
"kind": "variable",
|
|
10428
|
+
"name": "ParameterBuilderStyles",
|
|
10429
|
+
"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`"
|
|
10430
|
+
}
|
|
10431
|
+
],
|
|
10432
|
+
"exports": [
|
|
10433
|
+
{
|
|
10434
|
+
"kind": "js",
|
|
10435
|
+
"name": "ParameterBuilderStyles",
|
|
10436
|
+
"declaration": {
|
|
10437
|
+
"name": "ParameterBuilderStyles",
|
|
10438
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10439
|
+
}
|
|
10440
|
+
}
|
|
10441
|
+
]
|
|
10442
|
+
},
|
|
10443
|
+
{
|
|
10444
|
+
"kind": "javascript-module",
|
|
10445
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10446
|
+
"declarations": [
|
|
10447
|
+
{
|
|
10448
|
+
"kind": "variable",
|
|
10449
|
+
"name": "ParameterBuilderTemplate",
|
|
10450
|
+
"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`"
|
|
10451
|
+
}
|
|
10452
|
+
],
|
|
10453
|
+
"exports": [
|
|
10454
|
+
{
|
|
10455
|
+
"kind": "js",
|
|
10456
|
+
"name": "ParameterBuilderTemplate",
|
|
10457
|
+
"declaration": {
|
|
10458
|
+
"name": "ParameterBuilderTemplate",
|
|
10459
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10460
|
+
}
|
|
10461
|
+
}
|
|
10462
|
+
]
|
|
10463
|
+
},
|
|
10464
|
+
{
|
|
10465
|
+
"kind": "javascript-module",
|
|
10466
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10467
|
+
"declarations": [
|
|
10468
|
+
{
|
|
10469
|
+
"kind": "class",
|
|
10470
|
+
"description": "Parameter builder for notification templates.",
|
|
10471
|
+
"name": "ParameterBuilder",
|
|
10472
|
+
"members": [
|
|
10206
10473
|
{
|
|
10207
10474
|
"kind": "field",
|
|
10208
|
-
"name": "
|
|
10475
|
+
"name": "parameter",
|
|
10209
10476
|
"type": {
|
|
10210
|
-
"text": "
|
|
10211
|
-
}
|
|
10212
|
-
"default": "[]"
|
|
10477
|
+
"text": "ParameterBuilderEntity"
|
|
10478
|
+
}
|
|
10213
10479
|
},
|
|
10214
10480
|
{
|
|
10215
10481
|
"kind": "field",
|
|
10216
|
-
"name": "
|
|
10482
|
+
"name": "name",
|
|
10217
10483
|
"type": {
|
|
10218
10484
|
"text": "string"
|
|
10219
|
-
}
|
|
10220
|
-
"default": "null"
|
|
10485
|
+
}
|
|
10221
10486
|
},
|
|
10222
10487
|
{
|
|
10223
10488
|
"kind": "field",
|
|
10224
|
-
"name": "
|
|
10489
|
+
"name": "label",
|
|
10225
10490
|
"type": {
|
|
10226
10491
|
"text": "string"
|
|
10227
10492
|
}
|
|
10228
10493
|
},
|
|
10229
10494
|
{
|
|
10230
10495
|
"kind": "field",
|
|
10231
|
-
"name": "
|
|
10496
|
+
"name": "type",
|
|
10232
10497
|
"type": {
|
|
10233
10498
|
"text": "string"
|
|
10234
|
-
}
|
|
10235
|
-
"default": "null"
|
|
10499
|
+
}
|
|
10236
10500
|
},
|
|
10237
10501
|
{
|
|
10238
10502
|
"kind": "field",
|
|
10239
|
-
"name": "
|
|
10503
|
+
"name": "sourceType",
|
|
10240
10504
|
"type": {
|
|
10241
10505
|
"text": "string"
|
|
10242
|
-
}
|
|
10243
|
-
"default": "null"
|
|
10506
|
+
}
|
|
10244
10507
|
},
|
|
10245
10508
|
{
|
|
10246
10509
|
"kind": "field",
|
|
10247
|
-
"name": "
|
|
10510
|
+
"name": "sourceSelected",
|
|
10248
10511
|
"type": {
|
|
10249
|
-
"text": "string
|
|
10250
|
-
}
|
|
10251
|
-
"default": "[]"
|
|
10252
|
-
},
|
|
10253
|
-
{
|
|
10254
|
-
"kind": "method",
|
|
10255
|
-
"name": "deleteCondition"
|
|
10256
|
-
},
|
|
10257
|
-
{
|
|
10258
|
-
"kind": "method",
|
|
10259
|
-
"name": "conditionChanged"
|
|
10260
|
-
},
|
|
10261
|
-
{
|
|
10262
|
-
"kind": "method",
|
|
10263
|
-
"name": "joinOperatorChanged"
|
|
10264
|
-
},
|
|
10265
|
-
{
|
|
10266
|
-
"kind": "method",
|
|
10267
|
-
"name": "fieldsChanged"
|
|
10268
|
-
},
|
|
10269
|
-
{
|
|
10270
|
-
"kind": "method",
|
|
10271
|
-
"name": "assignLeftValue",
|
|
10272
|
-
"privacy": "private"
|
|
10273
|
-
},
|
|
10274
|
-
{
|
|
10275
|
-
"kind": "method",
|
|
10276
|
-
"name": "assignRightValue"
|
|
10512
|
+
"text": "string"
|
|
10513
|
+
}
|
|
10277
10514
|
},
|
|
10278
10515
|
{
|
|
10279
|
-
"kind": "
|
|
10280
|
-
"name": "
|
|
10281
|
-
"
|
|
10282
|
-
"
|
|
10283
|
-
"text": "Array<any>"
|
|
10284
|
-
}
|
|
10516
|
+
"kind": "field",
|
|
10517
|
+
"name": "sourceTyped",
|
|
10518
|
+
"type": {
|
|
10519
|
+
"text": "string"
|
|
10285
10520
|
}
|
|
10286
10521
|
},
|
|
10287
10522
|
{
|
|
10288
|
-
"kind": "
|
|
10289
|
-
"name": "
|
|
10290
|
-
"
|
|
10291
|
-
"
|
|
10292
|
-
"text": "Array<any>"
|
|
10293
|
-
}
|
|
10523
|
+
"kind": "field",
|
|
10524
|
+
"name": "sourceTextField",
|
|
10525
|
+
"type": {
|
|
10526
|
+
"text": "TextField"
|
|
10294
10527
|
}
|
|
10295
10528
|
},
|
|
10296
10529
|
{
|
|
10297
|
-
"kind": "
|
|
10298
|
-
"name": "
|
|
10530
|
+
"kind": "field",
|
|
10531
|
+
"name": "sourceSelect",
|
|
10532
|
+
"type": {
|
|
10533
|
+
"text": "Select"
|
|
10534
|
+
}
|
|
10299
10535
|
},
|
|
10300
10536
|
{
|
|
10301
|
-
"kind": "
|
|
10302
|
-
"name": "
|
|
10537
|
+
"kind": "field",
|
|
10538
|
+
"name": "reqRepItems",
|
|
10539
|
+
"type": {
|
|
10540
|
+
"text": "array"
|
|
10541
|
+
},
|
|
10542
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10303
10543
|
},
|
|
10304
10544
|
{
|
|
10305
10545
|
"kind": "method",
|
|
10306
|
-
"name": "
|
|
10546
|
+
"name": "deleteParameter"
|
|
10307
10547
|
},
|
|
10308
10548
|
{
|
|
10309
10549
|
"kind": "method",
|
|
10310
|
-
"name": "
|
|
10311
|
-
"privacy": "private"
|
|
10550
|
+
"name": "parameterChanged"
|
|
10312
10551
|
},
|
|
10313
10552
|
{
|
|
10314
10553
|
"kind": "method",
|
|
10315
|
-
"name": "
|
|
10316
|
-
"privacy": "private"
|
|
10554
|
+
"name": "nameChanged"
|
|
10317
10555
|
},
|
|
10318
10556
|
{
|
|
10319
10557
|
"kind": "method",
|
|
10320
|
-
"name": "
|
|
10558
|
+
"name": "labelChanged"
|
|
10321
10559
|
},
|
|
10322
10560
|
{
|
|
10323
10561
|
"kind": "method",
|
|
10324
|
-
"name": "
|
|
10562
|
+
"name": "typeChanged"
|
|
10325
10563
|
},
|
|
10326
10564
|
{
|
|
10327
10565
|
"kind": "method",
|
|
10328
|
-
"name": "
|
|
10566
|
+
"name": "sourceTypeChanged"
|
|
10329
10567
|
},
|
|
10330
10568
|
{
|
|
10331
10569
|
"kind": "method",
|
|
10332
|
-
"name": "
|
|
10333
|
-
"return": {
|
|
10334
|
-
"type": {
|
|
10335
|
-
"text": "string[]"
|
|
10336
|
-
}
|
|
10337
|
-
}
|
|
10570
|
+
"name": "sourceSelectedChanged"
|
|
10338
10571
|
},
|
|
10339
10572
|
{
|
|
10340
10573
|
"kind": "method",
|
|
10341
|
-
"name": "
|
|
10342
|
-
"parameters": [
|
|
10343
|
-
{
|
|
10344
|
-
"name": "dateTimeStr",
|
|
10345
|
-
"type": {
|
|
10346
|
-
"text": "string"
|
|
10347
|
-
}
|
|
10348
|
-
}
|
|
10349
|
-
]
|
|
10574
|
+
"name": "sourceTypedChanged"
|
|
10350
10575
|
},
|
|
10351
10576
|
{
|
|
10352
10577
|
"kind": "method",
|
|
10353
|
-
"name": "
|
|
10578
|
+
"name": "genericChanged",
|
|
10579
|
+
"privacy": "private",
|
|
10354
10580
|
"parameters": [
|
|
10355
10581
|
{
|
|
10356
|
-
"name": "
|
|
10357
|
-
"type": {
|
|
10358
|
-
"text": "number"
|
|
10359
|
-
}
|
|
10582
|
+
"name": "parameterAttribute"
|
|
10360
10583
|
},
|
|
10361
10584
|
{
|
|
10362
|
-
"name": "
|
|
10363
|
-
"default": "false",
|
|
10364
|
-
"type": {
|
|
10365
|
-
"text": "boolean"
|
|
10366
|
-
}
|
|
10585
|
+
"name": "value"
|
|
10367
10586
|
}
|
|
10368
10587
|
]
|
|
10369
|
-
},
|
|
10370
|
-
{
|
|
10371
|
-
"kind": "method",
|
|
10372
|
-
"name": "getAllFields"
|
|
10373
|
-
},
|
|
10374
|
-
{
|
|
10375
|
-
"kind": "method",
|
|
10376
|
-
"name": "getApplicableFields"
|
|
10377
10588
|
}
|
|
10378
10589
|
],
|
|
10379
10590
|
"events": [
|
|
10380
10591
|
{
|
|
10381
|
-
"description": "Fired when a
|
|
10592
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10382
10593
|
"name": "delete"
|
|
10383
10594
|
},
|
|
10384
10595
|
{
|
|
10385
|
-
"description": "Fired when a
|
|
10596
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10386
10597
|
"name": "edit"
|
|
10387
10598
|
}
|
|
10388
10599
|
],
|
|
10600
|
+
"attributes": [
|
|
10601
|
+
{
|
|
10602
|
+
"name": "parameter",
|
|
10603
|
+
"type": {
|
|
10604
|
+
"text": "ParameterBuilderEntity"
|
|
10605
|
+
},
|
|
10606
|
+
"fieldName": "parameter"
|
|
10607
|
+
}
|
|
10608
|
+
],
|
|
10389
10609
|
"superclass": {
|
|
10390
10610
|
"name": "GenesisElement",
|
|
10391
10611
|
"package": "@genesislcap/web-core"
|
|
10392
10612
|
},
|
|
10393
|
-
"tagName": "
|
|
10613
|
+
"tagName": "parameter-builder",
|
|
10394
10614
|
"customElement": true
|
|
10395
10615
|
}
|
|
10396
10616
|
],
|
|
10397
10617
|
"exports": [
|
|
10398
10618
|
{
|
|
10399
10619
|
"kind": "js",
|
|
10400
|
-
"name": "
|
|
10620
|
+
"name": "ParameterBuilder",
|
|
10401
10621
|
"declaration": {
|
|
10402
|
-
"name": "
|
|
10403
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10622
|
+
"name": "ParameterBuilder",
|
|
10623
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10404
10624
|
}
|
|
10405
10625
|
},
|
|
10406
10626
|
{
|
|
10407
10627
|
"kind": "custom-element-definition",
|
|
10408
|
-
"name": "
|
|
10628
|
+
"name": "parameter-builder",
|
|
10409
10629
|
"declaration": {
|
|
10410
|
-
"name": "
|
|
10411
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10630
|
+
"name": "ParameterBuilder",
|
|
10631
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10412
10632
|
}
|
|
10413
10633
|
}
|
|
10414
10634
|
]
|
|
10415
10635
|
},
|
|
10416
|
-
{
|
|
10417
|
-
"kind": "javascript-module",
|
|
10418
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10419
|
-
"declarations": [],
|
|
10420
|
-
"exports": []
|
|
10421
|
-
},
|
|
10422
10636
|
{
|
|
10423
10637
|
"kind": "javascript-module",
|
|
10424
10638
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -10703,220 +10917,6 @@
|
|
|
10703
10917
|
}
|
|
10704
10918
|
]
|
|
10705
10919
|
},
|
|
10706
|
-
{
|
|
10707
|
-
"kind": "javascript-module",
|
|
10708
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10709
|
-
"declarations": [
|
|
10710
|
-
{
|
|
10711
|
-
"kind": "variable",
|
|
10712
|
-
"name": "ParameterBuilderStyles",
|
|
10713
|
-
"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`"
|
|
10714
|
-
}
|
|
10715
|
-
],
|
|
10716
|
-
"exports": [
|
|
10717
|
-
{
|
|
10718
|
-
"kind": "js",
|
|
10719
|
-
"name": "ParameterBuilderStyles",
|
|
10720
|
-
"declaration": {
|
|
10721
|
-
"name": "ParameterBuilderStyles",
|
|
10722
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10723
|
-
}
|
|
10724
|
-
}
|
|
10725
|
-
]
|
|
10726
|
-
},
|
|
10727
|
-
{
|
|
10728
|
-
"kind": "javascript-module",
|
|
10729
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10730
|
-
"declarations": [
|
|
10731
|
-
{
|
|
10732
|
-
"kind": "variable",
|
|
10733
|
-
"name": "ParameterBuilderTemplate",
|
|
10734
|
-
"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`"
|
|
10735
|
-
}
|
|
10736
|
-
],
|
|
10737
|
-
"exports": [
|
|
10738
|
-
{
|
|
10739
|
-
"kind": "js",
|
|
10740
|
-
"name": "ParameterBuilderTemplate",
|
|
10741
|
-
"declaration": {
|
|
10742
|
-
"name": "ParameterBuilderTemplate",
|
|
10743
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10744
|
-
}
|
|
10745
|
-
}
|
|
10746
|
-
]
|
|
10747
|
-
},
|
|
10748
|
-
{
|
|
10749
|
-
"kind": "javascript-module",
|
|
10750
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10751
|
-
"declarations": [
|
|
10752
|
-
{
|
|
10753
|
-
"kind": "class",
|
|
10754
|
-
"description": "Parameter builder for notification templates.",
|
|
10755
|
-
"name": "ParameterBuilder",
|
|
10756
|
-
"members": [
|
|
10757
|
-
{
|
|
10758
|
-
"kind": "field",
|
|
10759
|
-
"name": "parameter",
|
|
10760
|
-
"type": {
|
|
10761
|
-
"text": "ParameterBuilderEntity"
|
|
10762
|
-
}
|
|
10763
|
-
},
|
|
10764
|
-
{
|
|
10765
|
-
"kind": "field",
|
|
10766
|
-
"name": "name",
|
|
10767
|
-
"type": {
|
|
10768
|
-
"text": "string"
|
|
10769
|
-
}
|
|
10770
|
-
},
|
|
10771
|
-
{
|
|
10772
|
-
"kind": "field",
|
|
10773
|
-
"name": "label",
|
|
10774
|
-
"type": {
|
|
10775
|
-
"text": "string"
|
|
10776
|
-
}
|
|
10777
|
-
},
|
|
10778
|
-
{
|
|
10779
|
-
"kind": "field",
|
|
10780
|
-
"name": "type",
|
|
10781
|
-
"type": {
|
|
10782
|
-
"text": "string"
|
|
10783
|
-
}
|
|
10784
|
-
},
|
|
10785
|
-
{
|
|
10786
|
-
"kind": "field",
|
|
10787
|
-
"name": "sourceType",
|
|
10788
|
-
"type": {
|
|
10789
|
-
"text": "string"
|
|
10790
|
-
}
|
|
10791
|
-
},
|
|
10792
|
-
{
|
|
10793
|
-
"kind": "field",
|
|
10794
|
-
"name": "sourceSelected",
|
|
10795
|
-
"type": {
|
|
10796
|
-
"text": "string"
|
|
10797
|
-
}
|
|
10798
|
-
},
|
|
10799
|
-
{
|
|
10800
|
-
"kind": "field",
|
|
10801
|
-
"name": "sourceTyped",
|
|
10802
|
-
"type": {
|
|
10803
|
-
"text": "string"
|
|
10804
|
-
}
|
|
10805
|
-
},
|
|
10806
|
-
{
|
|
10807
|
-
"kind": "field",
|
|
10808
|
-
"name": "sourceTextField",
|
|
10809
|
-
"type": {
|
|
10810
|
-
"text": "TextField"
|
|
10811
|
-
}
|
|
10812
|
-
},
|
|
10813
|
-
{
|
|
10814
|
-
"kind": "field",
|
|
10815
|
-
"name": "sourceSelect",
|
|
10816
|
-
"type": {
|
|
10817
|
-
"text": "Select"
|
|
10818
|
-
}
|
|
10819
|
-
},
|
|
10820
|
-
{
|
|
10821
|
-
"kind": "field",
|
|
10822
|
-
"name": "reqRepItems",
|
|
10823
|
-
"type": {
|
|
10824
|
-
"text": "array"
|
|
10825
|
-
},
|
|
10826
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10827
|
-
},
|
|
10828
|
-
{
|
|
10829
|
-
"kind": "method",
|
|
10830
|
-
"name": "deleteParameter"
|
|
10831
|
-
},
|
|
10832
|
-
{
|
|
10833
|
-
"kind": "method",
|
|
10834
|
-
"name": "parameterChanged"
|
|
10835
|
-
},
|
|
10836
|
-
{
|
|
10837
|
-
"kind": "method",
|
|
10838
|
-
"name": "nameChanged"
|
|
10839
|
-
},
|
|
10840
|
-
{
|
|
10841
|
-
"kind": "method",
|
|
10842
|
-
"name": "labelChanged"
|
|
10843
|
-
},
|
|
10844
|
-
{
|
|
10845
|
-
"kind": "method",
|
|
10846
|
-
"name": "typeChanged"
|
|
10847
|
-
},
|
|
10848
|
-
{
|
|
10849
|
-
"kind": "method",
|
|
10850
|
-
"name": "sourceTypeChanged"
|
|
10851
|
-
},
|
|
10852
|
-
{
|
|
10853
|
-
"kind": "method",
|
|
10854
|
-
"name": "sourceSelectedChanged"
|
|
10855
|
-
},
|
|
10856
|
-
{
|
|
10857
|
-
"kind": "method",
|
|
10858
|
-
"name": "sourceTypedChanged"
|
|
10859
|
-
},
|
|
10860
|
-
{
|
|
10861
|
-
"kind": "method",
|
|
10862
|
-
"name": "genericChanged",
|
|
10863
|
-
"privacy": "private",
|
|
10864
|
-
"parameters": [
|
|
10865
|
-
{
|
|
10866
|
-
"name": "parameterAttribute"
|
|
10867
|
-
},
|
|
10868
|
-
{
|
|
10869
|
-
"name": "value"
|
|
10870
|
-
}
|
|
10871
|
-
]
|
|
10872
|
-
}
|
|
10873
|
-
],
|
|
10874
|
-
"events": [
|
|
10875
|
-
{
|
|
10876
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10877
|
-
"name": "delete"
|
|
10878
|
-
},
|
|
10879
|
-
{
|
|
10880
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10881
|
-
"name": "edit"
|
|
10882
|
-
}
|
|
10883
|
-
],
|
|
10884
|
-
"attributes": [
|
|
10885
|
-
{
|
|
10886
|
-
"name": "parameter",
|
|
10887
|
-
"type": {
|
|
10888
|
-
"text": "ParameterBuilderEntity"
|
|
10889
|
-
},
|
|
10890
|
-
"fieldName": "parameter"
|
|
10891
|
-
}
|
|
10892
|
-
],
|
|
10893
|
-
"superclass": {
|
|
10894
|
-
"name": "GenesisElement",
|
|
10895
|
-
"package": "@genesislcap/web-core"
|
|
10896
|
-
},
|
|
10897
|
-
"tagName": "parameter-builder",
|
|
10898
|
-
"customElement": true
|
|
10899
|
-
}
|
|
10900
|
-
],
|
|
10901
|
-
"exports": [
|
|
10902
|
-
{
|
|
10903
|
-
"kind": "js",
|
|
10904
|
-
"name": "ParameterBuilder",
|
|
10905
|
-
"declaration": {
|
|
10906
|
-
"name": "ParameterBuilder",
|
|
10907
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10908
|
-
}
|
|
10909
|
-
},
|
|
10910
|
-
{
|
|
10911
|
-
"kind": "custom-element-definition",
|
|
10912
|
-
"name": "parameter-builder",
|
|
10913
|
-
"declaration": {
|
|
10914
|
-
"name": "ParameterBuilder",
|
|
10915
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10916
|
-
}
|
|
10917
|
-
}
|
|
10918
|
-
]
|
|
10919
|
-
},
|
|
10920
10920
|
{
|
|
10921
10921
|
"kind": "javascript-module",
|
|
10922
10922
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|