@genesislcap/pbc-notify-ui 15.95.0 → 15.95.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1180 -1180
- package/dist/dts/react.d.ts +20 -20
- package/dist/react.cjs +11 -11
- package/dist/react.mjs +9 -9
- package/package.json +22 -22
|
@@ -3095,54 +3095,19 @@
|
|
|
3095
3095
|
},
|
|
3096
3096
|
{
|
|
3097
3097
|
"kind": "javascript-module",
|
|
3098
|
-
"path": "src/components/foundation-
|
|
3099
|
-
"declarations": [
|
|
3100
|
-
{
|
|
3101
|
-
"kind": "variable",
|
|
3102
|
-
"name": "FoundationSoundsPanelStyles",
|
|
3103
|
-
"default": "css`\n :host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n width: 100%;\n }\n\n .sounds-controls {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n gap: 12px;\n padding: calc(var(--design-unit) * 3px);\n box-sizing: border-box;\n }\n\n .sounds-help-disclosure {\n flex: 0 0 auto;\n }\n\n .sounds-help-toggle {\n margin-inline-start: calc(var(--design-unit) * 1px);\n }\n\n .sounds-help-toggle::before {\n content: '+';\n }\n\n .sounds-help-disclosure[expanded] .sounds-help-toggle::before {\n content: '−';\n }\n\n .sounds-help {\n margin: 0;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n text-align: left;\n }\n\n .volume-row {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n gap: calc(var(--design-unit) * 2px);\n min-width: 0;\n }\n\n .volume-icon {\n flex: 0 0 auto;\n }\n\n .volume-label {\n flex: 0 0 auto;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .volume-slider {\n flex: 1 1 auto;\n min-width: 0;\n }\n\n .volume-percent {\n flex: 0 0 auto;\n min-width: 3ch;\n text-align: end;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .mute-all {\n flex: 0 0 auto;\n margin: 0;\n }\n\n .sound-rules-panel {\n flex: 1 1 auto;\n min-height: 0;\n overflow: auto;\n }\n\n .sound-rules {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .sound-rule {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 12px;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n\n /* Keep absolute listboxes from being clipped by the card itself. */\n overflow: visible;\n }\n\n .sound-rule-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-weight: 700;\n font-size: var(--type-ramp-minus-1-font-size);\n }\n\n .sound-rule-actions {\n display: flex;\n align-items: center;\n gap: 2px;\n }\n\n .sound-rule-label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .pattern-input,\n .match-mode-select,\n .rule-select,\n .sound-select {\n width: 100%;\n }\n\n /*\n * Anchor the listbox to the select host and use position:fixed so it escapes\n * .sound-rules-panel overflow:auto (and the rule card). Each select sets a\n * unique --sounds-select-anchor / anchor-name via inline style.\n * !important beats FAST's internal absolute top/bottom for [open] selects.\n */\n .match-mode-select[open]::part(listbox),\n .rule-select[open]::part(listbox),\n .sound-select[open]::part(listbox) {\n position: fixed !important;\n /* stylelint-disable-next-line property-no-unknown -- CSS anchor positioning */\n position-anchor: var(--sounds-select-anchor);\n inset: auto !important;\n top: anchor(bottom) !important;\n left: anchor(left) !important;\n right: anchor(right) !important;\n width: auto !important;\n margin-top: calc(var(--design-unit) * 1px);\n z-index: 10000;\n max-height: min(240px, 40vh);\n overflow: hidden auto;\n box-shadow: 0 4px 16px rgb(0 0 0 / 24%);\n }\n\n .match-mode-select[open][position='above']::part(listbox),\n .rule-select[open][position='above']::part(listbox),\n .sound-select[open][position='above']::part(listbox) {\n top: auto !important;\n bottom: anchor(top) !important;\n margin-top: 0;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .sound-file-row {\n display: flex;\n align-items: center;\n gap: 4px;\n }\n\n .sound-file-row .sound-select {\n flex: 1;\n min-width: 0;\n }\n\n .sound-rules-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 auto;\n gap: 8px;\n }\n\n .rule-count {\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .file-input {\n display: none;\n }\n\n ${scrollbarStyles}\n`"
|
|
3104
|
-
}
|
|
3105
|
-
],
|
|
3106
|
-
"exports": [
|
|
3107
|
-
{
|
|
3108
|
-
"kind": "js",
|
|
3109
|
-
"name": "FoundationSoundsPanelStyles",
|
|
3110
|
-
"declaration": {
|
|
3111
|
-
"name": "FoundationSoundsPanelStyles",
|
|
3112
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts"
|
|
3113
|
-
}
|
|
3114
|
-
}
|
|
3115
|
-
]
|
|
3116
|
-
},
|
|
3117
|
-
{
|
|
3118
|
-
"kind": "javascript-module",
|
|
3119
|
-
"path": "src/components/foundation-sounds/foundation-sounds-panel.template.ts",
|
|
3098
|
+
"path": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts",
|
|
3120
3099
|
"declarations": [
|
|
3121
3100
|
{
|
|
3122
3101
|
"kind": "variable",
|
|
3123
|
-
"name": "
|
|
3124
|
-
"default": "html<
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
{
|
|
3129
|
-
"kind": "js",
|
|
3130
|
-
"name": "FoundationSoundsPanelTemplate",
|
|
3131
|
-
"declaration": {
|
|
3132
|
-
"name": "FoundationSoundsPanelTemplate",
|
|
3133
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.template.ts"
|
|
3134
|
-
}
|
|
3135
|
-
}
|
|
3136
|
-
]
|
|
3137
|
-
},
|
|
3138
|
-
{
|
|
3139
|
-
"kind": "javascript-module",
|
|
3140
|
-
"path": "src/components/foundation-sounds/foundation-sounds-panel.ts",
|
|
3141
|
-
"declarations": [
|
|
3102
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3103
|
+
"default": "html<AlertSoundAttachmentHost>`\n <div class=\"alert-sound\">\n <input\n ${ref('fileInput')}\n class=\"file-input\"\n type=\"file\"\n accept=\"audio/*\"\n @change=${(x, c) => x.onAlertSoundSelected(c.event)}\n />\n <label>Alert sound</label>\n <div class=\"alert-sound-row\">\n <span class=\"alert-sound-name\" title=${(x) => x.alertSoundFileName || ''}>\n ${(x) => x.alertSoundFileName || 'No sound attached'}\n </span>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.openAlertSoundPicker()}>\n ${(x) => (x.hasAlertSound ? 'Replace' : 'Attach')}\n </rapid-button>\n ${when(\n (x) => x.hasAlertSound,\n html<AlertSoundAttachmentHost>`\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.testAttachedAlertSound()}>\n Test\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.clearAttachedAlertSound()}>\n Clear\n </rapid-button>\n `,\n )}\n </div>\n </div>\n`",
|
|
3104
|
+
"description": "Shared Attach/Replace/Test/Clear UI for rule and template dialogs.",
|
|
3105
|
+
"privacy": "public"
|
|
3106
|
+
},
|
|
3142
3107
|
{
|
|
3143
|
-
"kind": "
|
|
3144
|
-
"description": "
|
|
3145
|
-
"name": "
|
|
3108
|
+
"kind": "mixin",
|
|
3109
|
+
"description": "Mixin: pick / test / clear / load server sound + apply fields to submit payload.\n\nSubclasses must provide ruleService, isAlertSoundEditMode,\nalertSoundEntityId, and alertSoundCacheSyncMode.",
|
|
3110
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3146
3111
|
"members": [
|
|
3147
3112
|
{
|
|
3148
3113
|
"kind": "field",
|
|
@@ -3153,21 +3118,56 @@
|
|
|
3153
3118
|
},
|
|
3154
3119
|
{
|
|
3155
3120
|
"kind": "field",
|
|
3156
|
-
"name": "
|
|
3121
|
+
"name": "isAlertSoundEditMode",
|
|
3157
3122
|
"type": {
|
|
3158
|
-
"text": "
|
|
3123
|
+
"text": "boolean"
|
|
3159
3124
|
},
|
|
3160
|
-
"
|
|
3161
|
-
"
|
|
3125
|
+
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
3126
|
+
"readonly": true
|
|
3162
3127
|
},
|
|
3163
3128
|
{
|
|
3164
3129
|
"kind": "field",
|
|
3165
|
-
"name": "
|
|
3130
|
+
"name": "alertSoundEntityId",
|
|
3166
3131
|
"type": {
|
|
3167
|
-
"text": "
|
|
3132
|
+
"text": "string | null"
|
|
3168
3133
|
},
|
|
3169
|
-
"
|
|
3170
|
-
"
|
|
3134
|
+
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
3135
|
+
"readonly": true
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"kind": "field",
|
|
3139
|
+
"name": "alertSoundCacheSyncMode",
|
|
3140
|
+
"type": {
|
|
3141
|
+
"text": "'entity' | 'all'"
|
|
3142
|
+
},
|
|
3143
|
+
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
3144
|
+
"readonly": true
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
"kind": "field",
|
|
3148
|
+
"name": "alertSoundFileName",
|
|
3149
|
+
"type": {
|
|
3150
|
+
"text": "string"
|
|
3151
|
+
},
|
|
3152
|
+
"default": "''",
|
|
3153
|
+
"description": "Display name of the attached / pending alert sound file."
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
"kind": "field",
|
|
3157
|
+
"name": "alertSoundMimeType",
|
|
3158
|
+
"type": {
|
|
3159
|
+
"text": "string"
|
|
3160
|
+
},
|
|
3161
|
+
"default": "''"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"kind": "field",
|
|
3165
|
+
"name": "hasAlertSound",
|
|
3166
|
+
"type": {
|
|
3167
|
+
"text": "boolean"
|
|
3168
|
+
},
|
|
3169
|
+
"default": "false",
|
|
3170
|
+
"description": "True when edit loaded an existing server sound (or user attached one)."
|
|
3171
3171
|
},
|
|
3172
3172
|
{
|
|
3173
3173
|
"kind": "field",
|
|
@@ -3178,98 +3178,58 @@
|
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
3180
|
"kind": "field",
|
|
3181
|
-
"name": "
|
|
3181
|
+
"name": "pendingAlertSoundData",
|
|
3182
3182
|
"type": {
|
|
3183
|
-
"text": "
|
|
3183
|
+
"text": "string | null"
|
|
3184
3184
|
},
|
|
3185
|
-
"privacy": "private",
|
|
3186
3185
|
"default": "null"
|
|
3187
3186
|
},
|
|
3188
3187
|
{
|
|
3189
3188
|
"kind": "field",
|
|
3190
|
-
"name": "
|
|
3191
|
-
"
|
|
3192
|
-
|
|
3189
|
+
"name": "alertSoundDirty",
|
|
3190
|
+
"type": {
|
|
3191
|
+
"text": "boolean"
|
|
3192
|
+
},
|
|
3193
|
+
"default": "false",
|
|
3194
|
+
"description": "True when the user picked a new file this session (needs upload)."
|
|
3193
3195
|
},
|
|
3194
3196
|
{
|
|
3195
3197
|
"kind": "field",
|
|
3196
|
-
"name": "
|
|
3198
|
+
"name": "clearAlertSound",
|
|
3197
3199
|
"type": {
|
|
3198
|
-
"text": "
|
|
3200
|
+
"text": "boolean"
|
|
3199
3201
|
},
|
|
3200
|
-
"
|
|
3202
|
+
"default": "false"
|
|
3201
3203
|
},
|
|
3202
3204
|
{
|
|
3203
3205
|
"kind": "field",
|
|
3204
|
-
"name": "
|
|
3206
|
+
"name": "testAudio",
|
|
3205
3207
|
"type": {
|
|
3206
|
-
"text": "
|
|
3208
|
+
"text": "HTMLAudioElement | null"
|
|
3207
3209
|
},
|
|
3208
|
-
"
|
|
3209
|
-
"
|
|
3210
|
-
"description": "Suppresses select change events while options are rebuilt."
|
|
3210
|
+
"default": "null",
|
|
3211
|
+
"description": "In-progress Test playback; not private — mixin return type is exported."
|
|
3211
3212
|
},
|
|
3212
3213
|
{
|
|
3213
3214
|
"kind": "method",
|
|
3214
|
-
"name": "
|
|
3215
|
-
"return": {
|
|
3216
|
-
"type": {
|
|
3217
|
-
"text": "boolean"
|
|
3218
|
-
}
|
|
3219
|
-
},
|
|
3215
|
+
"name": "loadExistingAlertSound",
|
|
3220
3216
|
"parameters": [
|
|
3221
3217
|
{
|
|
3222
|
-
"name": "
|
|
3223
|
-
"type": {
|
|
3224
|
-
"text": "number"
|
|
3225
|
-
}
|
|
3226
|
-
},
|
|
3227
|
-
{
|
|
3228
|
-
"name": "event",
|
|
3218
|
+
"name": "dynamicRuleId",
|
|
3229
3219
|
"type": {
|
|
3230
|
-
"text": "
|
|
3220
|
+
"text": "string"
|
|
3231
3221
|
}
|
|
3232
3222
|
}
|
|
3233
3223
|
]
|
|
3234
3224
|
},
|
|
3235
3225
|
{
|
|
3236
3226
|
"kind": "method",
|
|
3237
|
-
"name": "
|
|
3238
|
-
"return": {
|
|
3239
|
-
"type": {
|
|
3240
|
-
"text": "boolean"
|
|
3241
|
-
}
|
|
3242
|
-
},
|
|
3243
|
-
"parameters": [
|
|
3244
|
-
{
|
|
3245
|
-
"name": "index",
|
|
3246
|
-
"type": {
|
|
3247
|
-
"text": "number"
|
|
3248
|
-
}
|
|
3249
|
-
},
|
|
3250
|
-
{
|
|
3251
|
-
"name": "event",
|
|
3252
|
-
"type": {
|
|
3253
|
-
"text": "Event"
|
|
3254
|
-
}
|
|
3255
|
-
}
|
|
3256
|
-
]
|
|
3227
|
+
"name": "openAlertSoundPicker"
|
|
3257
3228
|
},
|
|
3258
3229
|
{
|
|
3259
3230
|
"kind": "method",
|
|
3260
|
-
"name": "
|
|
3261
|
-
"return": {
|
|
3262
|
-
"type": {
|
|
3263
|
-
"text": "boolean"
|
|
3264
|
-
}
|
|
3265
|
-
},
|
|
3231
|
+
"name": "onAlertSoundSelected",
|
|
3266
3232
|
"parameters": [
|
|
3267
|
-
{
|
|
3268
|
-
"name": "index",
|
|
3269
|
-
"type": {
|
|
3270
|
-
"text": "number"
|
|
3271
|
-
}
|
|
3272
|
-
},
|
|
3273
3233
|
{
|
|
3274
3234
|
"name": "event",
|
|
3275
3235
|
"type": {
|
|
@@ -3280,997 +3240,915 @@
|
|
|
3280
3240
|
},
|
|
3281
3241
|
{
|
|
3282
3242
|
"kind": "method",
|
|
3283
|
-
"name": "
|
|
3284
|
-
"return": {
|
|
3285
|
-
"type": {
|
|
3286
|
-
"text": "boolean"
|
|
3287
|
-
}
|
|
3288
|
-
},
|
|
3289
|
-
"parameters": [
|
|
3290
|
-
{
|
|
3291
|
-
"name": "index",
|
|
3292
|
-
"type": {
|
|
3293
|
-
"text": "number"
|
|
3294
|
-
}
|
|
3295
|
-
}
|
|
3296
|
-
]
|
|
3243
|
+
"name": "clearAttachedAlertSound"
|
|
3297
3244
|
},
|
|
3298
3245
|
{
|
|
3299
3246
|
"kind": "method",
|
|
3300
|
-
"name": "
|
|
3301
|
-
"return": {
|
|
3302
|
-
"type": {
|
|
3303
|
-
"text": "boolean"
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
"parameters": [
|
|
3307
|
-
{
|
|
3308
|
-
"name": "rule",
|
|
3309
|
-
"type": {
|
|
3310
|
-
"text": "AlertSoundRuleView"
|
|
3311
|
-
}
|
|
3312
|
-
},
|
|
3313
|
-
{
|
|
3314
|
-
"name": "event",
|
|
3315
|
-
"type": {
|
|
3316
|
-
"text": "Event"
|
|
3317
|
-
}
|
|
3318
|
-
}
|
|
3319
|
-
]
|
|
3247
|
+
"name": "testAttachedAlertSound"
|
|
3320
3248
|
},
|
|
3321
3249
|
{
|
|
3322
3250
|
"kind": "method",
|
|
3323
|
-
"name": "
|
|
3324
|
-
"return": {
|
|
3325
|
-
"type": {
|
|
3326
|
-
"text": "boolean"
|
|
3327
|
-
}
|
|
3328
|
-
},
|
|
3329
|
-
"parameters": [
|
|
3330
|
-
{
|
|
3331
|
-
"name": "event",
|
|
3332
|
-
"type": {
|
|
3333
|
-
"text": "Event"
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
|
-
]
|
|
3251
|
+
"name": "stopTestSound"
|
|
3337
3252
|
},
|
|
3338
3253
|
{
|
|
3339
3254
|
"kind": "method",
|
|
3340
|
-
"name": "
|
|
3255
|
+
"name": "resetAlertSoundState"
|
|
3256
|
+
},
|
|
3257
|
+
{
|
|
3258
|
+
"kind": "method",
|
|
3259
|
+
"name": "applyAlertSoundToPayload",
|
|
3341
3260
|
"return": {
|
|
3342
3261
|
"type": {
|
|
3343
|
-
"text": "
|
|
3262
|
+
"text": "T"
|
|
3344
3263
|
}
|
|
3345
3264
|
},
|
|
3346
3265
|
"parameters": [
|
|
3347
3266
|
{
|
|
3348
|
-
"name": "
|
|
3267
|
+
"name": "target",
|
|
3349
3268
|
"type": {
|
|
3350
|
-
"text": "
|
|
3269
|
+
"text": "T"
|
|
3351
3270
|
}
|
|
3352
3271
|
}
|
|
3353
|
-
]
|
|
3272
|
+
],
|
|
3273
|
+
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3354
3274
|
},
|
|
3355
3275
|
{
|
|
3356
3276
|
"kind": "method",
|
|
3357
|
-
"name": "
|
|
3358
|
-
"
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
"
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3277
|
+
"name": "syncAlertSoundCacheAfterSave",
|
|
3278
|
+
"description": "Keep AlertSoundPlayer's in-memory NOTIFY_ALERT_SOUND cache in sync with\nwhat we just saved — otherwise the next alert still plays the old file."
|
|
3279
|
+
}
|
|
3280
|
+
],
|
|
3281
|
+
"parameters": [
|
|
3282
|
+
{
|
|
3283
|
+
"name": "Base",
|
|
3284
|
+
"type": {
|
|
3285
|
+
"text": "TBase"
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
],
|
|
3289
|
+
"privacy": "public"
|
|
3290
|
+
}
|
|
3291
|
+
],
|
|
3292
|
+
"exports": [
|
|
3293
|
+
{
|
|
3294
|
+
"kind": "js",
|
|
3295
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3296
|
+
"declaration": {
|
|
3297
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3298
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3299
|
+
}
|
|
3300
|
+
},
|
|
3301
|
+
{
|
|
3302
|
+
"kind": "js",
|
|
3303
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3304
|
+
"declaration": {
|
|
3305
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3306
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
]
|
|
3310
|
+
},
|
|
3311
|
+
{
|
|
3312
|
+
"kind": "javascript-module",
|
|
3313
|
+
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
3314
|
+
"declarations": [],
|
|
3315
|
+
"exports": [
|
|
3316
|
+
{
|
|
3317
|
+
"kind": "js",
|
|
3318
|
+
"name": "*",
|
|
3319
|
+
"declaration": {
|
|
3320
|
+
"name": "*",
|
|
3321
|
+
"package": "./notification-dashboard"
|
|
3322
|
+
}
|
|
3323
|
+
}
|
|
3324
|
+
]
|
|
3325
|
+
},
|
|
3326
|
+
{
|
|
3327
|
+
"kind": "javascript-module",
|
|
3328
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
3329
|
+
"declarations": [
|
|
3330
|
+
{
|
|
3331
|
+
"kind": "variable",
|
|
3332
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3333
|
+
"default": "css`\n .notification-dashboard,\n rapid-tabs,\n rapid-tab-panel {\n height: 100%;\n }\n\n .no-permissions {\n font-family: var(--body-font);\n color: var(--neutral-foreground-rest);\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n`",
|
|
3334
|
+
"privacy": "public"
|
|
3335
|
+
}
|
|
3336
|
+
],
|
|
3337
|
+
"exports": [
|
|
3338
|
+
{
|
|
3339
|
+
"kind": "js",
|
|
3340
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3341
|
+
"declaration": {
|
|
3342
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3343
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
]
|
|
3347
|
+
},
|
|
3348
|
+
{
|
|
3349
|
+
"kind": "javascript-module",
|
|
3350
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts",
|
|
3351
|
+
"declarations": [
|
|
3352
|
+
{
|
|
3353
|
+
"kind": "class",
|
|
3354
|
+
"description": "",
|
|
3355
|
+
"name": "NotificationDashboardTab",
|
|
3356
|
+
"members": [
|
|
3357
|
+
{
|
|
3358
|
+
"kind": "field",
|
|
3359
|
+
"name": "id",
|
|
3360
|
+
"type": {
|
|
3361
|
+
"text": "string"
|
|
3362
|
+
}
|
|
3371
3363
|
},
|
|
3372
3364
|
{
|
|
3373
|
-
"kind": "
|
|
3374
|
-
"name": "
|
|
3375
|
-
"
|
|
3376
|
-
"
|
|
3377
|
-
|
|
3378
|
-
|
|
3365
|
+
"kind": "field",
|
|
3366
|
+
"name": "name",
|
|
3367
|
+
"type": {
|
|
3368
|
+
"text": "string"
|
|
3369
|
+
}
|
|
3370
|
+
},
|
|
3371
|
+
{
|
|
3372
|
+
"kind": "field",
|
|
3373
|
+
"name": "component",
|
|
3374
|
+
"type": {
|
|
3375
|
+
"text": "string"
|
|
3376
|
+
}
|
|
3377
|
+
},
|
|
3378
|
+
{
|
|
3379
|
+
"kind": "field",
|
|
3380
|
+
"name": "right",
|
|
3381
|
+
"type": {
|
|
3382
|
+
"text": "string"
|
|
3383
|
+
}
|
|
3384
|
+
}
|
|
3385
|
+
]
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"kind": "variable",
|
|
3389
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3390
|
+
"type": {
|
|
3391
|
+
"text": "NotificationDashboardTab[]"
|
|
3392
|
+
},
|
|
3393
|
+
"default": "[\n {\n id: 'rules',\n name: 'Rules',\n component: 'rule-management',\n right: 'NotificationRuleView',\n },\n {\n id: 'templates',\n name: 'Templates',\n component: 'template-management',\n right: 'NotificationRuleTemplateView',\n },\n {\n id: 'routes',\n name: 'Routes',\n component: 'route-management',\n right: 'NotificationRouteView',\n },\n /* TODO: Not needed at the moment\n {\n id: 'notify-audit',\n name: 'Notify Audit',\n component: 'notify-audit-management',\n right: 'NotificationAuditView',\n },\n */\n]"
|
|
3394
|
+
}
|
|
3395
|
+
],
|
|
3396
|
+
"exports": [
|
|
3397
|
+
{
|
|
3398
|
+
"kind": "js",
|
|
3399
|
+
"name": "NotificationDashboardTab",
|
|
3400
|
+
"declaration": {
|
|
3401
|
+
"name": "NotificationDashboardTab",
|
|
3402
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3403
|
+
}
|
|
3404
|
+
},
|
|
3405
|
+
{
|
|
3406
|
+
"kind": "js",
|
|
3407
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3408
|
+
"declaration": {
|
|
3409
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3410
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
]
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "javascript-module",
|
|
3417
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
3418
|
+
"declarations": [
|
|
3419
|
+
{
|
|
3420
|
+
"kind": "variable",
|
|
3421
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3422
|
+
"default": "html<FoundationNotificationDashboard>`\n <div class=\"notification-dashboard\">\n ${whenElse(\n (x) => x.hasPermissions,\n html`\n <rapid-tabs class=\"tabs\">\n <!-- Tabs -->\n ${repeat(\n (_) => NOTIFICATION_DASHBOARD_TABS,\n html<NotificationDashboardTab>`\n ${when(\n (x, c) => (c.parent.auth as Auth).currentUser.hasPermission(x.right),\n html<NotificationDashboardTab>`\n <rapid-tab slot=\"${(x) => x.id}-tab\">${(x) => x.name}</rapid-tab>\n `,\n )}\n `,\n )}\n\n <!-- Panels -->\n ${repeat(\n (_) => NOTIFICATION_DASHBOARD_TABS,\n html<NotificationDashboardTab>`\n ${when(\n (x, c) => (c.parent.auth as Auth).currentUser.hasPermission(x.right),\n html`\n ${\n /* HTML Render */\n (x) => html<NotificationDashboardTab>`\n <rapid-tab-panel slot=\"${x.id}-tab\"\n id=\"${x.id}-tab-panel\">\n <${x.component}></${x.component}>\n </rapid-tab-panel>\n `\n }\n `,\n )}\n `,\n )}\n </rapid-tabs>\n `,\n html`\n <div class=\"no-permissions\">\n <label>User has no permissions to view Notification Screens</label>\n </div>\n `,\n )}\n </div>\n`"
|
|
3423
|
+
}
|
|
3424
|
+
],
|
|
3425
|
+
"exports": [
|
|
3426
|
+
{
|
|
3427
|
+
"kind": "js",
|
|
3428
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3429
|
+
"declaration": {
|
|
3430
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3431
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
3432
|
+
}
|
|
3433
|
+
}
|
|
3434
|
+
]
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"kind": "javascript-module",
|
|
3438
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
3439
|
+
"declarations": [
|
|
3440
|
+
{
|
|
3441
|
+
"kind": "class",
|
|
3442
|
+
"description": "",
|
|
3443
|
+
"name": "FoundationNotificationDashboard",
|
|
3444
|
+
"members": [
|
|
3445
|
+
{
|
|
3446
|
+
"kind": "field",
|
|
3447
|
+
"name": "auth",
|
|
3448
|
+
"type": {
|
|
3449
|
+
"text": "Auth"
|
|
3450
|
+
}
|
|
3451
|
+
},
|
|
3452
|
+
{
|
|
3453
|
+
"kind": "field",
|
|
3454
|
+
"name": "ready",
|
|
3455
|
+
"type": {
|
|
3456
|
+
"text": "boolean"
|
|
3379
3457
|
},
|
|
3380
|
-
"
|
|
3381
|
-
{
|
|
3382
|
-
"name": "index",
|
|
3383
|
-
"type": {
|
|
3384
|
-
"text": "number"
|
|
3385
|
-
}
|
|
3386
|
-
}
|
|
3387
|
-
]
|
|
3458
|
+
"default": "false"
|
|
3388
3459
|
},
|
|
3389
3460
|
{
|
|
3390
|
-
"kind": "
|
|
3391
|
-
"name": "
|
|
3392
|
-
"
|
|
3393
|
-
"
|
|
3394
|
-
"text": "boolean"
|
|
3395
|
-
}
|
|
3461
|
+
"kind": "field",
|
|
3462
|
+
"name": "hasPermissions",
|
|
3463
|
+
"type": {
|
|
3464
|
+
"text": "boolean"
|
|
3396
3465
|
},
|
|
3397
|
-
"
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3466
|
+
"default": "true"
|
|
3467
|
+
}
|
|
3468
|
+
],
|
|
3469
|
+
"superclass": {
|
|
3470
|
+
"name": "GenesisElement",
|
|
3471
|
+
"package": "@genesislcap/web-core"
|
|
3472
|
+
},
|
|
3473
|
+
"tagName": "foundation-notification-dashboard",
|
|
3474
|
+
"customElement": true
|
|
3475
|
+
}
|
|
3476
|
+
],
|
|
3477
|
+
"exports": [
|
|
3478
|
+
{
|
|
3479
|
+
"kind": "js",
|
|
3480
|
+
"name": "FoundationNotificationDashboard",
|
|
3481
|
+
"declaration": {
|
|
3482
|
+
"name": "FoundationNotificationDashboard",
|
|
3483
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3484
|
+
}
|
|
3485
|
+
},
|
|
3486
|
+
{
|
|
3487
|
+
"kind": "custom-element-definition",
|
|
3488
|
+
"name": "foundation-notification-dashboard",
|
|
3489
|
+
"declaration": {
|
|
3490
|
+
"name": "FoundationNotificationDashboard",
|
|
3491
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
]
|
|
3495
|
+
},
|
|
3496
|
+
{
|
|
3497
|
+
"kind": "javascript-module",
|
|
3498
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts",
|
|
3499
|
+
"declarations": [
|
|
3500
|
+
{
|
|
3501
|
+
"kind": "class",
|
|
3502
|
+
"description": "",
|
|
3503
|
+
"name": "UUIDGenerator",
|
|
3504
|
+
"members": [
|
|
3505
|
+
{
|
|
3506
|
+
"kind": "field",
|
|
3507
|
+
"name": "uuid",
|
|
3508
|
+
"type": {
|
|
3509
|
+
"text": "UUID"
|
|
3510
|
+
},
|
|
3511
|
+
"privacy": "private",
|
|
3512
|
+
"static": true
|
|
3405
3513
|
},
|
|
3406
3514
|
{
|
|
3407
|
-
"kind": "
|
|
3408
|
-
"name": "
|
|
3409
|
-
"
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3515
|
+
"kind": "field",
|
|
3516
|
+
"name": "createUUID",
|
|
3517
|
+
"static": true
|
|
3518
|
+
}
|
|
3519
|
+
]
|
|
3520
|
+
},
|
|
3521
|
+
{
|
|
3522
|
+
"kind": "function",
|
|
3523
|
+
"name": "isEmpty",
|
|
3524
|
+
"parameters": [
|
|
3525
|
+
{
|
|
3526
|
+
"name": "value"
|
|
3527
|
+
}
|
|
3528
|
+
]
|
|
3529
|
+
},
|
|
3530
|
+
{
|
|
3531
|
+
"kind": "class",
|
|
3532
|
+
"description": "",
|
|
3533
|
+
"name": "DynamicRuleUtils",
|
|
3534
|
+
"members": [
|
|
3535
|
+
{
|
|
3536
|
+
"kind": "field",
|
|
3537
|
+
"name": "createEmptyCondition",
|
|
3538
|
+
"static": true
|
|
3539
|
+
},
|
|
3540
|
+
{
|
|
3541
|
+
"kind": "field",
|
|
3542
|
+
"name": "createAssignment",
|
|
3543
|
+
"static": true
|
|
3544
|
+
},
|
|
3545
|
+
{
|
|
3546
|
+
"kind": "field",
|
|
3547
|
+
"name": "createPlaceholderAssignment",
|
|
3548
|
+
"static": true
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"kind": "field",
|
|
3552
|
+
"name": "createTextAssignment",
|
|
3553
|
+
"static": true
|
|
3414
3554
|
},
|
|
3415
3555
|
{
|
|
3416
|
-
"kind": "
|
|
3417
|
-
"name": "
|
|
3418
|
-
"
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3556
|
+
"kind": "field",
|
|
3557
|
+
"name": "getAssignmentValue",
|
|
3558
|
+
"static": true
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "field",
|
|
3562
|
+
"name": "getAssignmentText",
|
|
3563
|
+
"static": true
|
|
3423
3564
|
},
|
|
3424
3565
|
{
|
|
3425
3566
|
"kind": "method",
|
|
3426
|
-
"name": "
|
|
3567
|
+
"name": "createConditions",
|
|
3568
|
+
"static": true,
|
|
3427
3569
|
"return": {
|
|
3428
3570
|
"type": {
|
|
3429
|
-
"text": "
|
|
3571
|
+
"text": "any"
|
|
3430
3572
|
}
|
|
3431
3573
|
},
|
|
3432
3574
|
"parameters": [
|
|
3433
3575
|
{
|
|
3434
|
-
"name": "
|
|
3576
|
+
"name": "conditions",
|
|
3435
3577
|
"type": {
|
|
3436
|
-
"text": "
|
|
3578
|
+
"text": "ConditionNode[]"
|
|
3437
3579
|
}
|
|
3580
|
+
},
|
|
3581
|
+
{
|
|
3582
|
+
"name": "parameters",
|
|
3583
|
+
"optional": true
|
|
3438
3584
|
}
|
|
3439
3585
|
]
|
|
3440
3586
|
},
|
|
3441
3587
|
{
|
|
3442
3588
|
"kind": "method",
|
|
3443
|
-
"name": "
|
|
3589
|
+
"name": "hasMultiValueCondition",
|
|
3590
|
+
"static": true,
|
|
3444
3591
|
"return": {
|
|
3445
3592
|
"type": {
|
|
3446
|
-
"text": "
|
|
3593
|
+
"text": "boolean"
|
|
3447
3594
|
}
|
|
3448
3595
|
},
|
|
3449
|
-
"
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
"return": {
|
|
3456
|
-
"type": {
|
|
3457
|
-
"text": "Promise<void>"
|
|
3596
|
+
"parameters": [
|
|
3597
|
+
{
|
|
3598
|
+
"name": "conditions",
|
|
3599
|
+
"type": {
|
|
3600
|
+
"text": "ConditionNode[]"
|
|
3601
|
+
}
|
|
3458
3602
|
}
|
|
3459
|
-
|
|
3603
|
+
]
|
|
3460
3604
|
},
|
|
3461
3605
|
{
|
|
3462
3606
|
"kind": "method",
|
|
3463
|
-
"name": "
|
|
3464
|
-
"
|
|
3607
|
+
"name": "hasOrJoin",
|
|
3608
|
+
"static": true,
|
|
3465
3609
|
"return": {
|
|
3466
3610
|
"type": {
|
|
3467
|
-
"text": "
|
|
3611
|
+
"text": "boolean"
|
|
3468
3612
|
}
|
|
3469
3613
|
},
|
|
3470
|
-
"
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
"return": {
|
|
3477
|
-
"type": {
|
|
3478
|
-
"text": "void"
|
|
3614
|
+
"parameters": [
|
|
3615
|
+
{
|
|
3616
|
+
"name": "conditions",
|
|
3617
|
+
"type": {
|
|
3618
|
+
"text": "ConditionNode[]"
|
|
3619
|
+
}
|
|
3479
3620
|
}
|
|
3480
|
-
|
|
3481
|
-
"description": "Re-applies persisted template ids onto `.rule-select` hosts after\noptions-datasource has rebuilt its options. We deliberately do *not* bind\n`:initialSelectedValue` to templateId: that path compares the option label\nagainst Select.value (the option id), always mismatches, clearData()'s the\nselect, and leaves the next pick stuck on \"Select a rule...\"."
|
|
3621
|
+
]
|
|
3482
3622
|
},
|
|
3483
3623
|
{
|
|
3484
3624
|
"kind": "method",
|
|
3485
|
-
"name": "
|
|
3486
|
-
"
|
|
3625
|
+
"name": "hasGroup",
|
|
3626
|
+
"static": true,
|
|
3487
3627
|
"return": {
|
|
3488
3628
|
"type": {
|
|
3489
|
-
"text": "
|
|
3629
|
+
"text": "boolean"
|
|
3490
3630
|
}
|
|
3491
3631
|
},
|
|
3492
3632
|
"parameters": [
|
|
3493
3633
|
{
|
|
3494
|
-
"name": "
|
|
3634
|
+
"name": "conditions",
|
|
3495
3635
|
"type": {
|
|
3496
|
-
"text": "
|
|
3636
|
+
"text": "ConditionNode[]"
|
|
3497
3637
|
}
|
|
3498
3638
|
}
|
|
3499
|
-
]
|
|
3500
|
-
"description": "Points a sound select back at its row's current sound after a choice that did not apply\n(a failed load, or one overtaken by a newer change). The row is looked up from the DOM\nbecause removing an earlier rule while the sound loaded shifts its index."
|
|
3501
|
-
},
|
|
3502
|
-
{
|
|
3503
|
-
"kind": "method",
|
|
3504
|
-
"name": "applySoundSelectValues",
|
|
3505
|
-
"privacy": "private",
|
|
3506
|
-
"return": {
|
|
3507
|
-
"type": {
|
|
3508
|
-
"text": "void"
|
|
3509
|
-
}
|
|
3510
|
-
},
|
|
3511
|
-
"description": "The `:value` binding is applied before the uploaded-file option's `disabled` attribute\nupdates, and the select refuses a disabled option, so a new upload would show \"No sound\nselected\". Re-applying once the row's bindings have run selects it."
|
|
3639
|
+
]
|
|
3512
3640
|
},
|
|
3513
3641
|
{
|
|
3514
3642
|
"kind": "method",
|
|
3515
|
-
"name": "
|
|
3516
|
-
"
|
|
3643
|
+
"name": "hasUnsupportedOperator",
|
|
3644
|
+
"static": true,
|
|
3517
3645
|
"return": {
|
|
3518
3646
|
"type": {
|
|
3519
|
-
"text": "
|
|
3647
|
+
"text": "boolean"
|
|
3520
3648
|
}
|
|
3521
3649
|
},
|
|
3522
3650
|
"parameters": [
|
|
3523
3651
|
{
|
|
3524
|
-
"name": "
|
|
3652
|
+
"name": "conditions",
|
|
3525
3653
|
"type": {
|
|
3526
|
-
"text": "
|
|
3654
|
+
"text": "ConditionNode[]"
|
|
3527
3655
|
}
|
|
3528
3656
|
}
|
|
3529
3657
|
]
|
|
3530
3658
|
},
|
|
3531
3659
|
{
|
|
3532
3660
|
"kind": "method",
|
|
3533
|
-
"name": "
|
|
3534
|
-
"
|
|
3661
|
+
"name": "hasCurrentUser",
|
|
3662
|
+
"static": true,
|
|
3535
3663
|
"return": {
|
|
3536
3664
|
"type": {
|
|
3537
|
-
"text": "
|
|
3665
|
+
"text": "boolean"
|
|
3538
3666
|
}
|
|
3539
3667
|
},
|
|
3540
3668
|
"parameters": [
|
|
3541
3669
|
{
|
|
3542
|
-
"name": "
|
|
3670
|
+
"name": "conditions",
|
|
3543
3671
|
"type": {
|
|
3544
|
-
"text": "
|
|
3672
|
+
"text": "ConditionNode[]"
|
|
3545
3673
|
}
|
|
3546
3674
|
}
|
|
3547
3675
|
]
|
|
3548
3676
|
},
|
|
3549
3677
|
{
|
|
3550
3678
|
"kind": "method",
|
|
3551
|
-
"name": "
|
|
3552
|
-
"
|
|
3553
|
-
}
|
|
3554
|
-
],
|
|
3555
|
-
"superclass": {
|
|
3556
|
-
"name": "GenesisElement",
|
|
3557
|
-
"package": "@genesislcap/web-core"
|
|
3558
|
-
},
|
|
3559
|
-
"tagName": "foundation-sounds-panel",
|
|
3560
|
-
"customElement": true
|
|
3561
|
-
}
|
|
3562
|
-
],
|
|
3563
|
-
"exports": [
|
|
3564
|
-
{
|
|
3565
|
-
"kind": "js",
|
|
3566
|
-
"name": "FoundationSoundsPanel",
|
|
3567
|
-
"declaration": {
|
|
3568
|
-
"name": "FoundationSoundsPanel",
|
|
3569
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3570
|
-
}
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
"kind": "custom-element-definition",
|
|
3574
|
-
"name": "foundation-sounds-panel",
|
|
3575
|
-
"declaration": {
|
|
3576
|
-
"name": "FoundationSoundsPanel",
|
|
3577
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3578
|
-
}
|
|
3579
|
-
}
|
|
3580
|
-
]
|
|
3581
|
-
},
|
|
3582
|
-
{
|
|
3583
|
-
"kind": "javascript-module",
|
|
3584
|
-
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
3585
|
-
"declarations": [
|
|
3586
|
-
{
|
|
3587
|
-
"kind": "variable",
|
|
3588
|
-
"name": "FoundationSoundsStyles",
|
|
3589
|
-
"default": "css`\n :host {\n display: none;\n }\n`",
|
|
3590
|
-
"description": "Headless layout listener — take no space in the layout chrome."
|
|
3591
|
-
}
|
|
3592
|
-
],
|
|
3593
|
-
"exports": [
|
|
3594
|
-
{
|
|
3595
|
-
"kind": "js",
|
|
3596
|
-
"name": "FoundationSoundsStyles",
|
|
3597
|
-
"declaration": {
|
|
3598
|
-
"name": "FoundationSoundsStyles",
|
|
3599
|
-
"module": "src/components/foundation-sounds/foundation-sounds.styles.ts"
|
|
3600
|
-
}
|
|
3601
|
-
}
|
|
3602
|
-
]
|
|
3603
|
-
},
|
|
3604
|
-
{
|
|
3605
|
-
"kind": "javascript-module",
|
|
3606
|
-
"path": "src/components/foundation-sounds/foundation-sounds.ts",
|
|
3607
|
-
"declarations": [
|
|
3608
|
-
{
|
|
3609
|
-
"kind": "class",
|
|
3610
|
-
"description": "Headless listener for inbox alert inserts. Plays configured sounds via the\nshared AlertSoundPlayer. Mount once in the app layout.\n\nConfigure rules in the inbox Sounds tab with FoundationSoundsPanel.",
|
|
3611
|
-
"name": "FoundationSounds",
|
|
3612
|
-
"members": [
|
|
3613
|
-
{
|
|
3614
|
-
"kind": "field",
|
|
3615
|
-
"name": "connect",
|
|
3616
|
-
"type": {
|
|
3617
|
-
"text": "Connect"
|
|
3618
|
-
}
|
|
3619
|
-
},
|
|
3620
|
-
{
|
|
3621
|
-
"kind": "field",
|
|
3622
|
-
"name": "inboxService",
|
|
3623
|
-
"type": {
|
|
3624
|
-
"text": "FoundationInboxService"
|
|
3625
|
-
}
|
|
3626
|
-
},
|
|
3627
|
-
{
|
|
3628
|
-
"kind": "field",
|
|
3629
|
-
"name": "ruleService",
|
|
3630
|
-
"type": {
|
|
3631
|
-
"text": "RuleService"
|
|
3632
|
-
}
|
|
3633
|
-
},
|
|
3634
|
-
{
|
|
3635
|
-
"kind": "field",
|
|
3636
|
-
"name": "soundEnabled",
|
|
3637
|
-
"type": {
|
|
3638
|
-
"text": "boolean"
|
|
3639
|
-
},
|
|
3640
|
-
"default": "true",
|
|
3641
|
-
"description": "When false, new audible alerts are tracked but do not play."
|
|
3642
|
-
},
|
|
3643
|
-
{
|
|
3644
|
-
"kind": "field",
|
|
3645
|
-
"name": "connectionSub",
|
|
3646
|
-
"type": {
|
|
3647
|
-
"text": "Subscription | undefined"
|
|
3648
|
-
},
|
|
3649
|
-
"privacy": "private"
|
|
3650
|
-
},
|
|
3651
|
-
{
|
|
3652
|
-
"kind": "field",
|
|
3653
|
-
"name": "player",
|
|
3654
|
-
"privacy": "private",
|
|
3655
|
-
"readonly": true
|
|
3656
|
-
},
|
|
3657
|
-
{
|
|
3658
|
-
"kind": "field",
|
|
3659
|
-
"name": "knownAlertIds",
|
|
3660
|
-
"privacy": "private",
|
|
3661
|
-
"default": "new Set<string>()"
|
|
3662
|
-
},
|
|
3663
|
-
{
|
|
3664
|
-
"kind": "field",
|
|
3665
|
-
"name": "serverSoundFetches",
|
|
3666
|
-
"privacy": "private",
|
|
3667
|
-
"readonly": true,
|
|
3668
|
-
"default": "new Map<string, Promise<boolean>>()",
|
|
3669
|
-
"description": "In-flight server sound fetches keyed by DYNAMIC_RULE_ID."
|
|
3670
|
-
},
|
|
3671
|
-
{
|
|
3672
|
-
"kind": "method",
|
|
3673
|
-
"name": "subscribeToAlerts",
|
|
3674
|
-
"privacy": "private",
|
|
3679
|
+
"name": "flattenConditions",
|
|
3680
|
+
"static": true,
|
|
3675
3681
|
"return": {
|
|
3676
3682
|
"type": {
|
|
3677
|
-
"text": "
|
|
3683
|
+
"text": "ConditionBuilderEntity[]"
|
|
3678
3684
|
}
|
|
3679
|
-
}
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
+
},
|
|
3686
|
+
"parameters": [
|
|
3687
|
+
{
|
|
3688
|
+
"name": "conditions",
|
|
3689
|
+
"type": {
|
|
3690
|
+
"text": "ConditionNode[]"
|
|
3691
|
+
}
|
|
3692
|
+
}
|
|
3693
|
+
]
|
|
3685
3694
|
},
|
|
3686
3695
|
{
|
|
3687
3696
|
"kind": "method",
|
|
3688
|
-
"name": "
|
|
3689
|
-
"
|
|
3697
|
+
"name": "resolveLeftValues",
|
|
3698
|
+
"static": true,
|
|
3690
3699
|
"return": {
|
|
3691
3700
|
"type": {
|
|
3692
|
-
"text": "
|
|
3701
|
+
"text": "ConditionNode[]"
|
|
3693
3702
|
}
|
|
3694
3703
|
},
|
|
3695
3704
|
"parameters": [
|
|
3696
3705
|
{
|
|
3697
|
-
"name": "
|
|
3706
|
+
"name": "conditions",
|
|
3698
3707
|
"type": {
|
|
3699
|
-
"text": "
|
|
3708
|
+
"text": "ConditionNode[]"
|
|
3709
|
+
}
|
|
3710
|
+
},
|
|
3711
|
+
{
|
|
3712
|
+
"name": "fields",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "any[]"
|
|
3700
3715
|
}
|
|
3701
3716
|
}
|
|
3702
3717
|
]
|
|
3703
3718
|
},
|
|
3719
|
+
{
|
|
3720
|
+
"kind": "field",
|
|
3721
|
+
"name": "createEmptyGroup",
|
|
3722
|
+
"static": true
|
|
3723
|
+
},
|
|
3704
3724
|
{
|
|
3705
3725
|
"kind": "method",
|
|
3706
|
-
"name": "
|
|
3707
|
-
"
|
|
3726
|
+
"name": "buildRawExpression",
|
|
3727
|
+
"static": true,
|
|
3708
3728
|
"return": {
|
|
3709
3729
|
"type": {
|
|
3710
|
-
"text": "
|
|
3730
|
+
"text": "string"
|
|
3711
3731
|
}
|
|
3712
3732
|
},
|
|
3713
3733
|
"parameters": [
|
|
3714
3734
|
{
|
|
3715
|
-
"name": "
|
|
3735
|
+
"name": "conditions",
|
|
3716
3736
|
"type": {
|
|
3717
|
-
"text": "
|
|
3737
|
+
"text": "ConditionNode[]"
|
|
3718
3738
|
}
|
|
3719
3739
|
}
|
|
3720
3740
|
]
|
|
3721
3741
|
},
|
|
3722
3742
|
{
|
|
3723
3743
|
"kind": "method",
|
|
3724
|
-
"name": "
|
|
3725
|
-
"
|
|
3744
|
+
"name": "parseRawExpression",
|
|
3745
|
+
"static": true,
|
|
3726
3746
|
"return": {
|
|
3727
3747
|
"type": {
|
|
3728
|
-
"text": "
|
|
3748
|
+
"text": "ConditionNode[] | null"
|
|
3729
3749
|
}
|
|
3730
3750
|
},
|
|
3731
3751
|
"parameters": [
|
|
3732
3752
|
{
|
|
3733
|
-
"name": "
|
|
3753
|
+
"name": "rawExpression",
|
|
3734
3754
|
"type": {
|
|
3735
3755
|
"text": "string"
|
|
3736
3756
|
}
|
|
3737
3757
|
}
|
|
3738
3758
|
]
|
|
3739
3759
|
}
|
|
3740
|
-
]
|
|
3741
|
-
"attributes": [
|
|
3742
|
-
{
|
|
3743
|
-
"name": "sound-enabled",
|
|
3744
|
-
"type": {
|
|
3745
|
-
"text": "boolean"
|
|
3746
|
-
},
|
|
3747
|
-
"default": "true",
|
|
3748
|
-
"description": "When false, new audible alerts are tracked but do not play.",
|
|
3749
|
-
"fieldName": "soundEnabled"
|
|
3750
|
-
}
|
|
3751
|
-
],
|
|
3752
|
-
"superclass": {
|
|
3753
|
-
"name": "GenesisElement",
|
|
3754
|
-
"package": "@genesislcap/web-core"
|
|
3755
|
-
},
|
|
3756
|
-
"tagName": "foundation-sounds",
|
|
3757
|
-
"customElement": true
|
|
3758
|
-
}
|
|
3759
|
-
],
|
|
3760
|
-
"exports": [
|
|
3761
|
-
{
|
|
3762
|
-
"kind": "js",
|
|
3763
|
-
"name": "FoundationSounds",
|
|
3764
|
-
"declaration": {
|
|
3765
|
-
"name": "FoundationSounds",
|
|
3766
|
-
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
3767
|
-
}
|
|
3768
|
-
},
|
|
3769
|
-
{
|
|
3770
|
-
"kind": "custom-element-definition",
|
|
3771
|
-
"name": "foundation-sounds",
|
|
3772
|
-
"declaration": {
|
|
3773
|
-
"name": "FoundationSounds",
|
|
3774
|
-
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
3775
|
-
}
|
|
3776
|
-
}
|
|
3777
|
-
]
|
|
3778
|
-
},
|
|
3779
|
-
{
|
|
3780
|
-
"kind": "javascript-module",
|
|
3781
|
-
"path": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts",
|
|
3782
|
-
"declarations": [
|
|
3783
|
-
{
|
|
3784
|
-
"kind": "variable",
|
|
3785
|
-
"name": "alertSoundAttachmentTemplate",
|
|
3786
|
-
"default": "html<AlertSoundAttachmentHost>`\n <div class=\"alert-sound\">\n <input\n ${ref('fileInput')}\n class=\"file-input\"\n type=\"file\"\n accept=\"audio/*\"\n @change=${(x, c) => x.onAlertSoundSelected(c.event)}\n />\n <label>Alert sound</label>\n <div class=\"alert-sound-row\">\n <span class=\"alert-sound-name\" title=${(x) => x.alertSoundFileName || ''}>\n ${(x) => x.alertSoundFileName || 'No sound attached'}\n </span>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.openAlertSoundPicker()}>\n ${(x) => (x.hasAlertSound ? 'Replace' : 'Attach')}\n </rapid-button>\n ${when(\n (x) => x.hasAlertSound,\n html<AlertSoundAttachmentHost>`\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.testAttachedAlertSound()}>\n Test\n </rapid-button>\n <rapid-button appearance=\"lightweight\" @click=${(x) => x.clearAttachedAlertSound()}>\n Clear\n </rapid-button>\n `,\n )}\n </div>\n </div>\n`",
|
|
3787
|
-
"description": "Shared Attach/Replace/Test/Clear UI for rule and template dialogs.",
|
|
3788
|
-
"privacy": "public"
|
|
3760
|
+
]
|
|
3789
3761
|
},
|
|
3790
3762
|
{
|
|
3791
|
-
"kind": "
|
|
3792
|
-
"description": "
|
|
3793
|
-
"name": "
|
|
3763
|
+
"kind": "class",
|
|
3764
|
+
"description": "",
|
|
3765
|
+
"name": "TemplateUtils",
|
|
3794
3766
|
"members": [
|
|
3795
3767
|
{
|
|
3796
3768
|
"kind": "field",
|
|
3797
|
-
"name": "
|
|
3798
|
-
"
|
|
3799
|
-
"text": "RuleService"
|
|
3800
|
-
}
|
|
3801
|
-
},
|
|
3802
|
-
{
|
|
3803
|
-
"kind": "field",
|
|
3804
|
-
"name": "isAlertSoundEditMode",
|
|
3805
|
-
"type": {
|
|
3806
|
-
"text": "boolean"
|
|
3807
|
-
},
|
|
3808
|
-
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
3809
|
-
"readonly": true
|
|
3810
|
-
},
|
|
3811
|
-
{
|
|
3812
|
-
"kind": "field",
|
|
3813
|
-
"name": "alertSoundEntityId",
|
|
3814
|
-
"type": {
|
|
3815
|
-
"text": "string | null"
|
|
3816
|
-
},
|
|
3817
|
-
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
3818
|
-
"readonly": true
|
|
3819
|
-
},
|
|
3820
|
-
{
|
|
3821
|
-
"kind": "field",
|
|
3822
|
-
"name": "alertSoundCacheSyncMode",
|
|
3823
|
-
"type": {
|
|
3824
|
-
"text": "'entity' | 'all'"
|
|
3825
|
-
},
|
|
3826
|
-
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
3827
|
-
"readonly": true
|
|
3828
|
-
},
|
|
3829
|
-
{
|
|
3830
|
-
"kind": "field",
|
|
3831
|
-
"name": "alertSoundFileName",
|
|
3832
|
-
"type": {
|
|
3833
|
-
"text": "string"
|
|
3834
|
-
},
|
|
3835
|
-
"default": "''",
|
|
3836
|
-
"description": "Display name of the attached / pending alert sound file."
|
|
3837
|
-
},
|
|
3838
|
-
{
|
|
3839
|
-
"kind": "field",
|
|
3840
|
-
"name": "alertSoundMimeType",
|
|
3841
|
-
"type": {
|
|
3842
|
-
"text": "string"
|
|
3843
|
-
},
|
|
3844
|
-
"default": "''"
|
|
3845
|
-
},
|
|
3846
|
-
{
|
|
3847
|
-
"kind": "field",
|
|
3848
|
-
"name": "hasAlertSound",
|
|
3849
|
-
"type": {
|
|
3850
|
-
"text": "boolean"
|
|
3851
|
-
},
|
|
3852
|
-
"default": "false",
|
|
3853
|
-
"description": "True when edit loaded an existing server sound (or user attached one)."
|
|
3854
|
-
},
|
|
3855
|
-
{
|
|
3856
|
-
"kind": "field",
|
|
3857
|
-
"name": "fileInput",
|
|
3858
|
-
"type": {
|
|
3859
|
-
"text": "HTMLInputElement"
|
|
3860
|
-
}
|
|
3861
|
-
},
|
|
3862
|
-
{
|
|
3863
|
-
"kind": "field",
|
|
3864
|
-
"name": "pendingAlertSoundData",
|
|
3865
|
-
"type": {
|
|
3866
|
-
"text": "string | null"
|
|
3867
|
-
},
|
|
3868
|
-
"default": "null"
|
|
3869
|
-
},
|
|
3870
|
-
{
|
|
3871
|
-
"kind": "field",
|
|
3872
|
-
"name": "alertSoundDirty",
|
|
3873
|
-
"type": {
|
|
3874
|
-
"text": "boolean"
|
|
3875
|
-
},
|
|
3876
|
-
"default": "false",
|
|
3877
|
-
"description": "True when the user picked a new file this session (needs upload)."
|
|
3878
|
-
},
|
|
3879
|
-
{
|
|
3880
|
-
"kind": "field",
|
|
3881
|
-
"name": "clearAlertSound",
|
|
3882
|
-
"type": {
|
|
3883
|
-
"text": "boolean"
|
|
3884
|
-
},
|
|
3885
|
-
"default": "false"
|
|
3886
|
-
},
|
|
3887
|
-
{
|
|
3888
|
-
"kind": "field",
|
|
3889
|
-
"name": "testAudio",
|
|
3890
|
-
"type": {
|
|
3891
|
-
"text": "HTMLAudioElement | null"
|
|
3892
|
-
},
|
|
3893
|
-
"default": "null",
|
|
3894
|
-
"description": "In-progress Test playback; not private — mixin return type is exported."
|
|
3769
|
+
"name": "createEmptyParameter",
|
|
3770
|
+
"static": true
|
|
3895
3771
|
},
|
|
3896
3772
|
{
|
|
3897
3773
|
"kind": "method",
|
|
3898
|
-
"name": "
|
|
3774
|
+
"name": "getParameters",
|
|
3775
|
+
"static": true,
|
|
3899
3776
|
"parameters": [
|
|
3900
3777
|
{
|
|
3901
|
-
"name": "
|
|
3902
|
-
"type": {
|
|
3903
|
-
"text": "string"
|
|
3904
|
-
}
|
|
3778
|
+
"name": "parameters"
|
|
3905
3779
|
}
|
|
3906
3780
|
]
|
|
3907
3781
|
},
|
|
3908
3782
|
{
|
|
3909
3783
|
"kind": "method",
|
|
3910
|
-
"name": "
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
"kind": "method",
|
|
3914
|
-
"name": "onAlertSoundSelected",
|
|
3784
|
+
"name": "buildRightValue",
|
|
3785
|
+
"privacy": "private",
|
|
3786
|
+
"static": true,
|
|
3915
3787
|
"parameters": [
|
|
3916
3788
|
{
|
|
3917
|
-
"name": "
|
|
3789
|
+
"name": "logicalOperator",
|
|
3918
3790
|
"type": {
|
|
3919
|
-
"text": "
|
|
3791
|
+
"text": "LogicalOperator"
|
|
3920
3792
|
}
|
|
3793
|
+
},
|
|
3794
|
+
{
|
|
3795
|
+
"name": "condition"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"name": "parameters",
|
|
3799
|
+
"optional": true
|
|
3921
3800
|
}
|
|
3922
3801
|
]
|
|
3923
3802
|
},
|
|
3924
3803
|
{
|
|
3925
3804
|
"kind": "method",
|
|
3926
|
-
"name": "
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3805
|
+
"name": "getConditions",
|
|
3806
|
+
"static": true,
|
|
3807
|
+
"parameters": [
|
|
3808
|
+
{
|
|
3809
|
+
"name": "conditions"
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"name": "parameters",
|
|
3813
|
+
"optional": true
|
|
3814
|
+
}
|
|
3815
|
+
]
|
|
3935
3816
|
},
|
|
3936
3817
|
{
|
|
3937
3818
|
"kind": "method",
|
|
3938
|
-
"name": "
|
|
3939
|
-
|
|
3819
|
+
"name": "createParameterDetails",
|
|
3820
|
+
"static": true,
|
|
3821
|
+
"parameters": [
|
|
3822
|
+
{
|
|
3823
|
+
"name": "parameters"
|
|
3824
|
+
}
|
|
3825
|
+
]
|
|
3826
|
+
}
|
|
3827
|
+
]
|
|
3828
|
+
},
|
|
3829
|
+
{
|
|
3830
|
+
"kind": "class",
|
|
3831
|
+
"description": "",
|
|
3832
|
+
"name": "RuleUtils",
|
|
3833
|
+
"members": [
|
|
3940
3834
|
{
|
|
3941
3835
|
"kind": "method",
|
|
3942
|
-
"name": "
|
|
3943
|
-
"
|
|
3944
|
-
|
|
3945
|
-
"text": "T"
|
|
3946
|
-
}
|
|
3947
|
-
},
|
|
3836
|
+
"name": "buildRightValue",
|
|
3837
|
+
"privacy": "private",
|
|
3838
|
+
"static": true,
|
|
3948
3839
|
"parameters": [
|
|
3949
3840
|
{
|
|
3950
|
-
"name": "
|
|
3841
|
+
"name": "logicalOperator",
|
|
3951
3842
|
"type": {
|
|
3952
|
-
"text": "
|
|
3843
|
+
"text": "LogicalOperator"
|
|
3953
3844
|
}
|
|
3845
|
+
},
|
|
3846
|
+
{
|
|
3847
|
+
"name": "condition"
|
|
3954
3848
|
}
|
|
3955
|
-
]
|
|
3956
|
-
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3849
|
+
]
|
|
3957
3850
|
},
|
|
3958
3851
|
{
|
|
3959
3852
|
"kind": "method",
|
|
3960
|
-
"name": "
|
|
3961
|
-
"
|
|
3853
|
+
"name": "getConditions",
|
|
3854
|
+
"static": true,
|
|
3855
|
+
"parameters": [
|
|
3856
|
+
{
|
|
3857
|
+
"name": "conditions"
|
|
3858
|
+
}
|
|
3859
|
+
]
|
|
3962
3860
|
}
|
|
3963
|
-
]
|
|
3861
|
+
]
|
|
3862
|
+
},
|
|
3863
|
+
{
|
|
3864
|
+
"kind": "function",
|
|
3865
|
+
"name": "showNotificationError",
|
|
3964
3866
|
"parameters": [
|
|
3965
3867
|
{
|
|
3966
|
-
"name": "
|
|
3967
|
-
"type": {
|
|
3968
|
-
"text": "TBase"
|
|
3969
|
-
}
|
|
3868
|
+
"name": "error"
|
|
3970
3869
|
}
|
|
3971
|
-
]
|
|
3972
|
-
"privacy": "public"
|
|
3870
|
+
]
|
|
3973
3871
|
}
|
|
3974
3872
|
],
|
|
3975
3873
|
"exports": [
|
|
3976
3874
|
{
|
|
3977
3875
|
"kind": "js",
|
|
3978
|
-
"name": "
|
|
3876
|
+
"name": "UUIDGenerator",
|
|
3979
3877
|
"declaration": {
|
|
3980
|
-
"name": "
|
|
3981
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
3878
|
+
"name": "UUIDGenerator",
|
|
3879
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3982
3880
|
}
|
|
3983
3881
|
},
|
|
3984
3882
|
{
|
|
3985
3883
|
"kind": "js",
|
|
3986
|
-
"name": "
|
|
3884
|
+
"name": "isEmpty",
|
|
3987
3885
|
"declaration": {
|
|
3988
|
-
"name": "
|
|
3989
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
3886
|
+
"name": "isEmpty",
|
|
3887
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3990
3888
|
}
|
|
3991
|
-
}
|
|
3992
|
-
]
|
|
3993
|
-
},
|
|
3994
|
-
{
|
|
3995
|
-
"kind": "javascript-module",
|
|
3996
|
-
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
3997
|
-
"declarations": [],
|
|
3998
|
-
"exports": [
|
|
3889
|
+
},
|
|
3999
3890
|
{
|
|
4000
3891
|
"kind": "js",
|
|
4001
|
-
"name": "
|
|
3892
|
+
"name": "DynamicRuleUtils",
|
|
4002
3893
|
"declaration": {
|
|
4003
|
-
"name": "
|
|
4004
|
-
"
|
|
3894
|
+
"name": "DynamicRuleUtils",
|
|
3895
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4005
3896
|
}
|
|
4006
|
-
}
|
|
4007
|
-
]
|
|
4008
|
-
},
|
|
4009
|
-
{
|
|
4010
|
-
"kind": "javascript-module",
|
|
4011
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
4012
|
-
"declarations": [
|
|
3897
|
+
},
|
|
4013
3898
|
{
|
|
4014
|
-
"kind": "
|
|
4015
|
-
"name": "
|
|
4016
|
-
"
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
3899
|
+
"kind": "js",
|
|
3900
|
+
"name": "TemplateUtils",
|
|
3901
|
+
"declaration": {
|
|
3902
|
+
"name": "TemplateUtils",
|
|
3903
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3904
|
+
}
|
|
3905
|
+
},
|
|
4021
3906
|
{
|
|
4022
3907
|
"kind": "js",
|
|
4023
|
-
"name": "
|
|
3908
|
+
"name": "RuleUtils",
|
|
4024
3909
|
"declaration": {
|
|
4025
|
-
"name": "
|
|
4026
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.
|
|
3910
|
+
"name": "RuleUtils",
|
|
3911
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3912
|
+
}
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"kind": "js",
|
|
3916
|
+
"name": "showNotificationError",
|
|
3917
|
+
"declaration": {
|
|
3918
|
+
"name": "showNotificationError",
|
|
3919
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4027
3920
|
}
|
|
4028
3921
|
}
|
|
4029
3922
|
]
|
|
4030
3923
|
},
|
|
4031
3924
|
{
|
|
4032
3925
|
"kind": "javascript-module",
|
|
4033
|
-
"path": "src/components/foundation-
|
|
3926
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts",
|
|
4034
3927
|
"declarations": [
|
|
4035
|
-
{
|
|
4036
|
-
"kind": "class",
|
|
4037
|
-
"description": "",
|
|
4038
|
-
"name": "NotificationDashboardTab",
|
|
4039
|
-
"members": [
|
|
4040
|
-
{
|
|
4041
|
-
"kind": "field",
|
|
4042
|
-
"name": "id",
|
|
4043
|
-
"type": {
|
|
4044
|
-
"text": "string"
|
|
4045
|
-
}
|
|
4046
|
-
},
|
|
4047
|
-
{
|
|
4048
|
-
"kind": "field",
|
|
4049
|
-
"name": "name",
|
|
4050
|
-
"type": {
|
|
4051
|
-
"text": "string"
|
|
4052
|
-
}
|
|
4053
|
-
},
|
|
4054
|
-
{
|
|
4055
|
-
"kind": "field",
|
|
4056
|
-
"name": "component",
|
|
4057
|
-
"type": {
|
|
4058
|
-
"text": "string"
|
|
4059
|
-
}
|
|
4060
|
-
},
|
|
4061
|
-
{
|
|
4062
|
-
"kind": "field",
|
|
4063
|
-
"name": "right",
|
|
4064
|
-
"type": {
|
|
4065
|
-
"text": "string"
|
|
4066
|
-
}
|
|
4067
|
-
}
|
|
4068
|
-
]
|
|
4069
|
-
},
|
|
4070
3928
|
{
|
|
4071
3929
|
"kind": "variable",
|
|
4072
|
-
"name": "
|
|
4073
|
-
"
|
|
4074
|
-
"text": "NotificationDashboardTab[]"
|
|
4075
|
-
},
|
|
4076
|
-
"default": "[\n {\n id: 'rules',\n name: 'Rules',\n component: 'rule-management',\n right: 'NotificationRuleView',\n },\n {\n id: 'templates',\n name: 'Templates',\n component: 'template-management',\n right: 'NotificationRuleTemplateView',\n },\n {\n id: 'routes',\n name: 'Routes',\n component: 'route-management',\n right: 'NotificationRouteView',\n },\n /* TODO: Not needed at the moment\n {\n id: 'notify-audit',\n name: 'Notify Audit',\n component: 'notify-audit-management',\n right: 'NotificationAuditView',\n },\n */\n]"
|
|
3930
|
+
"name": "FoundationSoundsPanelStyles",
|
|
3931
|
+
"default": "css`\n :host {\n display: flex;\n flex-direction: column;\n height: 100%;\n min-height: 0;\n width: 100%;\n }\n\n .sounds-controls {\n display: flex;\n flex-direction: column;\n flex: 1;\n min-height: 0;\n gap: 12px;\n padding: calc(var(--design-unit) * 3px);\n box-sizing: border-box;\n }\n\n .sounds-help-disclosure {\n flex: 0 0 auto;\n }\n\n .sounds-help-toggle {\n margin-inline-start: calc(var(--design-unit) * 1px);\n }\n\n .sounds-help-toggle::before {\n content: '+';\n }\n\n .sounds-help-disclosure[expanded] .sounds-help-toggle::before {\n content: '−';\n }\n\n .sounds-help {\n margin: 0;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n text-align: left;\n }\n\n .volume-row {\n display: flex;\n align-items: center;\n flex: 0 0 auto;\n gap: calc(var(--design-unit) * 2px);\n min-width: 0;\n }\n\n .volume-icon {\n flex: 0 0 auto;\n }\n\n .volume-label {\n flex: 0 0 auto;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .volume-slider {\n flex: 1 1 auto;\n min-width: 0;\n }\n\n .volume-percent {\n flex: 0 0 auto;\n min-width: 3ch;\n text-align: end;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .mute-all {\n flex: 0 0 auto;\n margin: 0;\n }\n\n .sound-rules-panel {\n flex: 1 1 auto;\n min-height: 0;\n overflow: auto;\n }\n\n .sound-rules {\n display: flex;\n flex-direction: column;\n gap: 12px;\n }\n\n .sound-rule {\n display: flex;\n flex-direction: column;\n gap: 8px;\n padding: 12px;\n border: calc(var(--stroke-width) * 1px) solid var(--neutral-stroke-divider-rest);\n border-radius: calc(var(--control-corner-radius) * 1px);\n\n /* Keep absolute listboxes from being clipped by the card itself. */\n overflow: visible;\n }\n\n .sound-rule-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n font-weight: 700;\n font-size: var(--type-ramp-minus-1-font-size);\n }\n\n .sound-rule-actions {\n display: flex;\n align-items: center;\n gap: 2px;\n }\n\n .sound-rule-label {\n display: flex;\n flex-direction: column;\n gap: 4px;\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .pattern-input,\n .match-mode-select,\n .rule-select,\n .sound-select {\n width: 100%;\n }\n\n /*\n * Anchor the listbox to the select host and use position:fixed so it escapes\n * .sound-rules-panel overflow:auto (and the rule card). Each select sets a\n * unique --sounds-select-anchor / anchor-name via inline style.\n * !important beats FAST's internal absolute top/bottom for [open] selects.\n */\n .match-mode-select[open]::part(listbox),\n .rule-select[open]::part(listbox),\n .sound-select[open]::part(listbox) {\n position: fixed !important;\n /* stylelint-disable-next-line property-no-unknown -- CSS anchor positioning */\n position-anchor: var(--sounds-select-anchor);\n inset: auto !important;\n top: anchor(bottom) !important;\n left: anchor(left) !important;\n right: anchor(right) !important;\n width: auto !important;\n margin-top: calc(var(--design-unit) * 1px);\n z-index: 10000;\n max-height: min(240px, 40vh);\n overflow: hidden auto;\n box-shadow: 0 4px 16px rgb(0 0 0 / 24%);\n }\n\n .match-mode-select[open][position='above']::part(listbox),\n .rule-select[open][position='above']::part(listbox),\n .sound-select[open][position='above']::part(listbox) {\n top: auto !important;\n bottom: anchor(top) !important;\n margin-top: 0;\n margin-bottom: calc(var(--design-unit) * 1px);\n }\n\n .sound-file-row {\n display: flex;\n align-items: center;\n gap: 4px;\n }\n\n .sound-file-row .sound-select {\n flex: 1;\n min-width: 0;\n }\n\n .sound-rules-footer {\n display: flex;\n align-items: center;\n justify-content: space-between;\n flex: 0 0 auto;\n gap: 8px;\n }\n\n .rule-count {\n font-size: var(--type-ramp-minus-1-font-size);\n color: var(--neutral-foreground-hint);\n }\n\n .file-input {\n display: none;\n }\n\n ${scrollbarStyles}\n`"
|
|
4077
3932
|
}
|
|
4078
3933
|
],
|
|
4079
3934
|
"exports": [
|
|
4080
3935
|
{
|
|
4081
3936
|
"kind": "js",
|
|
4082
|
-
"name": "
|
|
4083
|
-
"declaration": {
|
|
4084
|
-
"name": "NotificationDashboardTab",
|
|
4085
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
4086
|
-
}
|
|
4087
|
-
},
|
|
4088
|
-
{
|
|
4089
|
-
"kind": "js",
|
|
4090
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3937
|
+
"name": "FoundationSoundsPanelStyles",
|
|
4091
3938
|
"declaration": {
|
|
4092
|
-
"name": "
|
|
4093
|
-
"module": "src/components/foundation-
|
|
3939
|
+
"name": "FoundationSoundsPanelStyles",
|
|
3940
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts"
|
|
4094
3941
|
}
|
|
4095
3942
|
}
|
|
4096
3943
|
]
|
|
4097
3944
|
},
|
|
4098
3945
|
{
|
|
4099
3946
|
"kind": "javascript-module",
|
|
4100
|
-
"path": "src/components/foundation-
|
|
3947
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.template.ts",
|
|
4101
3948
|
"declarations": [
|
|
4102
3949
|
{
|
|
4103
3950
|
"kind": "variable",
|
|
4104
|
-
"name": "
|
|
4105
|
-
"default": "html<
|
|
3951
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
3952
|
+
"default": "html<FoundationSoundsPanel>`\n <div class=\"sounds-controls\" part=\"controls\">\n <input\n ${ref('fileInput')}\n class=\"file-input\"\n type=\"file\"\n accept=\"audio/*\"\n @change=${(x, c) => x.onFileSelected(c.event)}\n />\n <rapid-disclosure class=\"sounds-help-disclosure\" appearance=\"lightweight\">\n <span slot=\"title\">\n Sound Alerts Information\n <span class=\"sounds-help-toggle\" aria-hidden=\"true\"></span>\n </span>\n <p class=\"sounds-help\">\n Add up to ${(x) => x.maxRules} sounds.\n <br />\n Match text in MESSAGE or HEADER (a word or phrase), or a notification rule (including rules\n created when you subscribe to a template).\n <br />\n The first matching rule is played.\n </p>\n </rapid-disclosure>\n <div class=\"volume-row\">\n <rapid-icon\n class=\"volume-icon\"\n name=${(x) => (x.muted || x.volumePercent === 0 ? 'volume-xmark' : 'volume-high')}\n ></rapid-icon>\n <span class=\"volume-label\">Volume</span>\n <rapid-slider\n class=\"volume-slider\"\n min=\"0\"\n max=\"100\"\n step=\"1\"\n :value=${(x) => String(x.volumePercent)}\n @change=${(x, c) => x.onVolumeChange(c.event)}\n ></rapid-slider>\n <span class=\"volume-percent\">${(x) => `${x.volumePercent}%`}</span>\n <rapid-button\n class=\"mute-all\"\n appearance=\"lightweight\"\n title=${(x) => (x.muted ? 'Unmute alert sounds' : 'Mute all alert sounds')}\n @click=${(x) => x.toggleMute()}\n >\n ${(x) => (x.muted ? 'Unmute' : 'Mute all')}\n </rapid-button>\n </div>\n <div class=\"sound-rules-panel\">\n <div class=\"sound-rules\">\n ${repeat(\n (x) => x.rules,\n html<AlertSoundRuleView, FoundationSoundsPanel>`\n <div class=\"sound-rule\" data-rule-index=${(x) => x.index}>\n <div class=\"sound-rule-header\">\n <span>Rule ${(x) => x.index + 1}</span>\n <div class=\"sound-rule-actions\">\n <rapid-button\n class=\"mute-rule\"\n appearance=\"stealth\"\n title=${(x) => (x.muted ? 'Unmute this rule' : 'Mute this rule')}\n @click=${(x, c) => c.parent.toggleRuleMute(x.index)}\n >\n <rapid-icon\n name=${(x) => (x.muted ? 'volume-xmark' : 'volume-high')}\n ></rapid-icon>\n </rapid-button>\n <rapid-button\n class=\"remove-rule\"\n appearance=\"stealth\"\n title=${(_, c) => (c.parent.canRemoveRule ? 'Remove rule' : 'Reset rule')}\n @click=${(x, c) => c.parent.removeRule(x.index)}\n >\n <rapid-icon name=\"trash\"></rapid-icon>\n </rapid-button>\n </div>\n </div>\n <label class=\"sound-rule-label\">\n Match by\n <rapid-select\n class=\"match-mode-select\"\n style=${(x) =>\n `anchor-name: --sound-match-${x.index}; --sounds-select-anchor: --sound-match-${x.index}`}\n :value=${(x) => x.matchMode}\n @change=${(x, c) => c.parent.onMatchModeChange(x.index, c.event)}\n >\n <rapid-option value=\"message\">MESSAGE text</rapid-option>\n <rapid-option value=\"header\">HEADER text</rapid-option>\n <rapid-option value=\"rule\">Notification rule</rapid-option>\n </rapid-select>\n </label>\n <label\n class=\"sound-rule-label\"\n style=${(x) => (x.matchMode === 'rule' ? 'display: none;' : '')}\n >\n ${(x) => (x.matchMode === 'header' ? 'HEADER text' : 'MESSAGE text')}\n <rapid-text-field\n class=\"pattern-input\"\n placeholder=${(x) =>\n x.matchMode === 'header' ? 'e.g. Price alert' : 'e.g. limit breached'}\n :value=${(x) => x.pattern}\n @input=${(x, c) => c.parent.onPatternInput(x.index, c.event)}\n ></rapid-text-field>\n </label>\n <label\n class=\"sound-rule-label\"\n style=${(x) => (x.matchMode === 'rule' ? '' : 'display: none;')}\n >\n Notification rule\n <rapid-select\n class=\"rule-select\"\n style=${(x) =>\n `anchor-name: --sound-rule-${x.index}; --sounds-select-anchor: --sound-rule-${x.index}`}\n :value=${(x) => x.templateId ?? ''}\n @change=${(x, c) => c.parent.onRuleChange(x.index, c.event)}\n >\n <options-datasource\n value-field=\"id\"\n label-field=\"name\"\n option-element=\"rapid-option\"\n :data=${(_, c) => c.parent.ruleSelectOptions}\n ></options-datasource>\n </rapid-select>\n </label>\n <label class=\"sound-rule-label\">\n Sound\n <div class=\"sound-file-row\">\n <rapid-select\n class=\"sound-select\"\n title=${(x) => soundChoiceTitle(x)}\n style=${(x) =>\n `anchor-name: --sound-file-${x.index}; --sounds-select-anchor: --sound-file-${x.index}`}\n :value=${(x) => soundChoiceFor(x)}\n @change=${(x, c) => c.parent.onSoundChoiceChange(x, c.event)}\n >\n <rapid-option value=${SOUND_CHOICE_NONE}>No sound selected</rapid-option>\n ${repeat(\n (_, c) => c.parent.defaultSounds,\n html<DefaultAlertSound>`\n <rapid-option value=${(x) => x.id}>${(x) => x.name}</rapid-option>\n `,\n )}\n <rapid-option\n value=${SOUND_CHOICE_CUSTOM}\n ?hidden=${(x) => soundChoiceFor(x) !== SOUND_CHOICE_CUSTOM}\n ?disabled=${(x) => soundChoiceFor(x) !== SOUND_CHOICE_CUSTOM}\n >\n ${(x) => x.fileName}\n </rapid-option>\n </rapid-select>\n <rapid-button\n class=\"choose-sound\"\n appearance=\"stealth\"\n title=\"Upload a custom sound file\"\n @click=${(x, c) => c.parent.openFilePicker(x.index)}\n >\n <rapid-icon name=\"folder-open\"></rapid-icon>\n </rapid-button>\n <rapid-button\n class=\"test-sound\"\n appearance=\"stealth\"\n title=\"Test play this sound\"\n ?disabled=${(x) => !x.hasSound}\n @click=${(x, c) => c.parent.testSound(x.index)}\n >\n <rapid-icon name=\"play\"></rapid-icon>\n </rapid-button>\n </div>\n </label>\n </div>\n `,\n )}\n </div>\n </div>\n <div class=\"sound-rules-footer\">\n <rapid-button\n class=\"add-rule\"\n appearance=\"lightweight\"\n title=\"Add sound rule\"\n ?disabled=${(x) => !x.canAddRule}\n @click=${(x) => x.addRule()}\n >\n <rapid-icon name=\"plus\"></rapid-icon>\n Add rule\n </rapid-button>\n <span class=\"rule-count\">${(x) => `${x.rules.length} / ${x.maxRules}`}</span>\n </div>\n </div>\n`"
|
|
4106
3953
|
}
|
|
4107
3954
|
],
|
|
4108
3955
|
"exports": [
|
|
4109
3956
|
{
|
|
4110
3957
|
"kind": "js",
|
|
4111
|
-
"name": "
|
|
3958
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
4112
3959
|
"declaration": {
|
|
4113
|
-
"name": "
|
|
4114
|
-
"module": "src/components/foundation-
|
|
3960
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
3961
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.template.ts"
|
|
4115
3962
|
}
|
|
4116
3963
|
}
|
|
4117
3964
|
]
|
|
4118
3965
|
},
|
|
4119
3966
|
{
|
|
4120
3967
|
"kind": "javascript-module",
|
|
4121
|
-
"path": "src/components/foundation-
|
|
3968
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.ts",
|
|
4122
3969
|
"declarations": [
|
|
4123
3970
|
{
|
|
4124
3971
|
"kind": "class",
|
|
4125
|
-
"description": "",
|
|
4126
|
-
"name": "
|
|
3972
|
+
"description": "Configures alert sound rules in the inbox Sounds tab. Persists via the shared\nAlertSoundPlayer; playback is handled by layout-mounted\nFoundationSounds.",
|
|
3973
|
+
"name": "FoundationSoundsPanel",
|
|
4127
3974
|
"members": [
|
|
4128
3975
|
{
|
|
4129
3976
|
"kind": "field",
|
|
4130
|
-
"name": "
|
|
3977
|
+
"name": "ruleService",
|
|
4131
3978
|
"type": {
|
|
4132
|
-
"text": "
|
|
3979
|
+
"text": "RuleService"
|
|
4133
3980
|
}
|
|
4134
3981
|
},
|
|
4135
3982
|
{
|
|
4136
3983
|
"kind": "field",
|
|
4137
|
-
"name": "
|
|
3984
|
+
"name": "volumePercent",
|
|
4138
3985
|
"type": {
|
|
4139
|
-
"text": "
|
|
3986
|
+
"text": "number"
|
|
4140
3987
|
},
|
|
4141
|
-
"default": "
|
|
3988
|
+
"default": "100",
|
|
3989
|
+
"description": "Global playback volume 0–100. @internal"
|
|
4142
3990
|
},
|
|
4143
3991
|
{
|
|
4144
3992
|
"kind": "field",
|
|
4145
|
-
"name": "
|
|
3993
|
+
"name": "selectableRules",
|
|
4146
3994
|
"type": {
|
|
4147
|
-
"text": "
|
|
3995
|
+
"text": "AlertSoundSelectableRule[]"
|
|
4148
3996
|
},
|
|
4149
|
-
"default": "
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
"superclass": {
|
|
4153
|
-
"name": "GenesisElement",
|
|
4154
|
-
"package": "@genesislcap/web-core"
|
|
4155
|
-
},
|
|
4156
|
-
"tagName": "foundation-notification-dashboard",
|
|
4157
|
-
"customElement": true
|
|
4158
|
-
}
|
|
4159
|
-
],
|
|
4160
|
-
"exports": [
|
|
4161
|
-
{
|
|
4162
|
-
"kind": "js",
|
|
4163
|
-
"name": "FoundationNotificationDashboard",
|
|
4164
|
-
"declaration": {
|
|
4165
|
-
"name": "FoundationNotificationDashboard",
|
|
4166
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
4167
|
-
}
|
|
4168
|
-
},
|
|
4169
|
-
{
|
|
4170
|
-
"kind": "custom-element-definition",
|
|
4171
|
-
"name": "foundation-notification-dashboard",
|
|
4172
|
-
"declaration": {
|
|
4173
|
-
"name": "FoundationNotificationDashboard",
|
|
4174
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
4175
|
-
}
|
|
4176
|
-
}
|
|
4177
|
-
]
|
|
4178
|
-
},
|
|
4179
|
-
{
|
|
4180
|
-
"kind": "javascript-module",
|
|
4181
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts",
|
|
4182
|
-
"declarations": [
|
|
4183
|
-
{
|
|
4184
|
-
"kind": "class",
|
|
4185
|
-
"description": "",
|
|
4186
|
-
"name": "UUIDGenerator",
|
|
4187
|
-
"members": [
|
|
3997
|
+
"default": "[]",
|
|
3998
|
+
"description": "Notification rules from REQ_NOTIFICATION_RULE. @internal"
|
|
3999
|
+
},
|
|
4188
4000
|
{
|
|
4189
4001
|
"kind": "field",
|
|
4190
|
-
"name": "
|
|
4002
|
+
"name": "fileInput",
|
|
4191
4003
|
"type": {
|
|
4192
|
-
"text": "
|
|
4004
|
+
"text": "HTMLInputElement"
|
|
4005
|
+
}
|
|
4006
|
+
},
|
|
4007
|
+
{
|
|
4008
|
+
"kind": "field",
|
|
4009
|
+
"name": "pendingRuleIndex",
|
|
4010
|
+
"type": {
|
|
4011
|
+
"text": "number | null"
|
|
4193
4012
|
},
|
|
4194
4013
|
"privacy": "private",
|
|
4195
|
-
"
|
|
4014
|
+
"default": "null"
|
|
4196
4015
|
},
|
|
4197
4016
|
{
|
|
4198
4017
|
"kind": "field",
|
|
4199
|
-
"name": "
|
|
4200
|
-
"
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
},
|
|
4204
|
-
{
|
|
4205
|
-
"kind": "function",
|
|
4206
|
-
"name": "isEmpty",
|
|
4207
|
-
"parameters": [
|
|
4208
|
-
{
|
|
4209
|
-
"name": "value"
|
|
4210
|
-
}
|
|
4211
|
-
]
|
|
4212
|
-
},
|
|
4213
|
-
{
|
|
4214
|
-
"kind": "class",
|
|
4215
|
-
"description": "",
|
|
4216
|
-
"name": "DynamicRuleUtils",
|
|
4217
|
-
"members": [
|
|
4018
|
+
"name": "player",
|
|
4019
|
+
"privacy": "private",
|
|
4020
|
+
"readonly": true
|
|
4021
|
+
},
|
|
4218
4022
|
{
|
|
4219
4023
|
"kind": "field",
|
|
4220
|
-
"name": "
|
|
4221
|
-
"
|
|
4024
|
+
"name": "unsubscribePlayer",
|
|
4025
|
+
"type": {
|
|
4026
|
+
"text": "(() => void) | undefined"
|
|
4027
|
+
},
|
|
4028
|
+
"privacy": "private"
|
|
4222
4029
|
},
|
|
4223
4030
|
{
|
|
4224
4031
|
"kind": "field",
|
|
4225
|
-
"name": "
|
|
4226
|
-
"
|
|
4032
|
+
"name": "ignoreSelectChanges",
|
|
4033
|
+
"type": {
|
|
4034
|
+
"text": "boolean"
|
|
4035
|
+
},
|
|
4036
|
+
"privacy": "private",
|
|
4037
|
+
"default": "false",
|
|
4038
|
+
"description": "Suppresses select change events while options are rebuilt."
|
|
4227
4039
|
},
|
|
4228
4040
|
{
|
|
4229
|
-
"kind": "
|
|
4230
|
-
"name": "
|
|
4231
|
-
"
|
|
4041
|
+
"kind": "method",
|
|
4042
|
+
"name": "onMatchModeChange",
|
|
4043
|
+
"return": {
|
|
4044
|
+
"type": {
|
|
4045
|
+
"text": "boolean"
|
|
4046
|
+
}
|
|
4047
|
+
},
|
|
4048
|
+
"parameters": [
|
|
4049
|
+
{
|
|
4050
|
+
"name": "index",
|
|
4051
|
+
"type": {
|
|
4052
|
+
"text": "number"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"name": "event",
|
|
4057
|
+
"type": {
|
|
4058
|
+
"text": "Event"
|
|
4059
|
+
}
|
|
4060
|
+
}
|
|
4061
|
+
]
|
|
4232
4062
|
},
|
|
4233
4063
|
{
|
|
4234
|
-
"kind": "
|
|
4235
|
-
"name": "
|
|
4236
|
-
"
|
|
4064
|
+
"kind": "method",
|
|
4065
|
+
"name": "onPatternInput",
|
|
4066
|
+
"return": {
|
|
4067
|
+
"type": {
|
|
4068
|
+
"text": "boolean"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
"parameters": [
|
|
4072
|
+
{
|
|
4073
|
+
"name": "index",
|
|
4074
|
+
"type": {
|
|
4075
|
+
"text": "number"
|
|
4076
|
+
}
|
|
4077
|
+
},
|
|
4078
|
+
{
|
|
4079
|
+
"name": "event",
|
|
4080
|
+
"type": {
|
|
4081
|
+
"text": "Event"
|
|
4082
|
+
}
|
|
4083
|
+
}
|
|
4084
|
+
]
|
|
4237
4085
|
},
|
|
4238
4086
|
{
|
|
4239
|
-
"kind": "
|
|
4240
|
-
"name": "
|
|
4241
|
-
"
|
|
4087
|
+
"kind": "method",
|
|
4088
|
+
"name": "onRuleChange",
|
|
4089
|
+
"return": {
|
|
4090
|
+
"type": {
|
|
4091
|
+
"text": "boolean"
|
|
4092
|
+
}
|
|
4093
|
+
},
|
|
4094
|
+
"parameters": [
|
|
4095
|
+
{
|
|
4096
|
+
"name": "index",
|
|
4097
|
+
"type": {
|
|
4098
|
+
"text": "number"
|
|
4099
|
+
}
|
|
4100
|
+
},
|
|
4101
|
+
{
|
|
4102
|
+
"name": "event",
|
|
4103
|
+
"type": {
|
|
4104
|
+
"text": "Event"
|
|
4105
|
+
}
|
|
4106
|
+
}
|
|
4107
|
+
]
|
|
4242
4108
|
},
|
|
4243
4109
|
{
|
|
4244
|
-
"kind": "
|
|
4245
|
-
"name": "
|
|
4246
|
-
"
|
|
4110
|
+
"kind": "method",
|
|
4111
|
+
"name": "openFilePicker",
|
|
4112
|
+
"return": {
|
|
4113
|
+
"type": {
|
|
4114
|
+
"text": "boolean"
|
|
4115
|
+
}
|
|
4116
|
+
},
|
|
4117
|
+
"parameters": [
|
|
4118
|
+
{
|
|
4119
|
+
"name": "index",
|
|
4120
|
+
"type": {
|
|
4121
|
+
"text": "number"
|
|
4122
|
+
}
|
|
4123
|
+
}
|
|
4124
|
+
]
|
|
4247
4125
|
},
|
|
4248
4126
|
{
|
|
4249
4127
|
"kind": "method",
|
|
4250
|
-
"name": "
|
|
4251
|
-
"static": true,
|
|
4128
|
+
"name": "onSoundChoiceChange",
|
|
4252
4129
|
"return": {
|
|
4253
4130
|
"type": {
|
|
4254
|
-
"text": "
|
|
4131
|
+
"text": "boolean"
|
|
4255
4132
|
}
|
|
4256
4133
|
},
|
|
4257
4134
|
"parameters": [
|
|
4258
4135
|
{
|
|
4259
|
-
"name": "
|
|
4136
|
+
"name": "rule",
|
|
4260
4137
|
"type": {
|
|
4261
|
-
"text": "
|
|
4138
|
+
"text": "AlertSoundRuleView"
|
|
4262
4139
|
}
|
|
4263
4140
|
},
|
|
4264
4141
|
{
|
|
4265
|
-
"name": "
|
|
4266
|
-
"
|
|
4142
|
+
"name": "event",
|
|
4143
|
+
"type": {
|
|
4144
|
+
"text": "Event"
|
|
4145
|
+
}
|
|
4267
4146
|
}
|
|
4268
4147
|
]
|
|
4269
4148
|
},
|
|
4270
4149
|
{
|
|
4271
4150
|
"kind": "method",
|
|
4272
|
-
"name": "
|
|
4273
|
-
"static": true,
|
|
4151
|
+
"name": "onFileSelected",
|
|
4274
4152
|
"return": {
|
|
4275
4153
|
"type": {
|
|
4276
4154
|
"text": "boolean"
|
|
@@ -4278,17 +4156,16 @@
|
|
|
4278
4156
|
},
|
|
4279
4157
|
"parameters": [
|
|
4280
4158
|
{
|
|
4281
|
-
"name": "
|
|
4159
|
+
"name": "event",
|
|
4282
4160
|
"type": {
|
|
4283
|
-
"text": "
|
|
4161
|
+
"text": "Event"
|
|
4284
4162
|
}
|
|
4285
4163
|
}
|
|
4286
4164
|
]
|
|
4287
4165
|
},
|
|
4288
4166
|
{
|
|
4289
4167
|
"kind": "method",
|
|
4290
|
-
"name": "
|
|
4291
|
-
"static": true,
|
|
4168
|
+
"name": "clearSound",
|
|
4292
4169
|
"return": {
|
|
4293
4170
|
"type": {
|
|
4294
4171
|
"text": "boolean"
|
|
@@ -4296,17 +4173,16 @@
|
|
|
4296
4173
|
},
|
|
4297
4174
|
"parameters": [
|
|
4298
4175
|
{
|
|
4299
|
-
"name": "
|
|
4176
|
+
"name": "index",
|
|
4300
4177
|
"type": {
|
|
4301
|
-
"text": "
|
|
4178
|
+
"text": "number"
|
|
4302
4179
|
}
|
|
4303
4180
|
}
|
|
4304
4181
|
]
|
|
4305
4182
|
},
|
|
4306
4183
|
{
|
|
4307
4184
|
"kind": "method",
|
|
4308
|
-
"name": "
|
|
4309
|
-
"static": true,
|
|
4185
|
+
"name": "testSound",
|
|
4310
4186
|
"return": {
|
|
4311
4187
|
"type": {
|
|
4312
4188
|
"text": "boolean"
|
|
@@ -4314,17 +4190,16 @@
|
|
|
4314
4190
|
},
|
|
4315
4191
|
"parameters": [
|
|
4316
4192
|
{
|
|
4317
|
-
"name": "
|
|
4193
|
+
"name": "index",
|
|
4318
4194
|
"type": {
|
|
4319
|
-
"text": "
|
|
4195
|
+
"text": "number"
|
|
4320
4196
|
}
|
|
4321
4197
|
}
|
|
4322
4198
|
]
|
|
4323
4199
|
},
|
|
4324
4200
|
{
|
|
4325
4201
|
"kind": "method",
|
|
4326
|
-
"name": "
|
|
4327
|
-
"static": true,
|
|
4202
|
+
"name": "toggleRuleMute",
|
|
4328
4203
|
"return": {
|
|
4329
4204
|
"type": {
|
|
4330
4205
|
"text": "boolean"
|
|
@@ -4332,17 +4207,16 @@
|
|
|
4332
4207
|
},
|
|
4333
4208
|
"parameters": [
|
|
4334
4209
|
{
|
|
4335
|
-
"name": "
|
|
4210
|
+
"name": "index",
|
|
4336
4211
|
"type": {
|
|
4337
|
-
"text": "
|
|
4212
|
+
"text": "number"
|
|
4338
4213
|
}
|
|
4339
4214
|
}
|
|
4340
4215
|
]
|
|
4341
4216
|
},
|
|
4342
4217
|
{
|
|
4343
4218
|
"kind": "method",
|
|
4344
|
-
"name": "
|
|
4345
|
-
"static": true,
|
|
4219
|
+
"name": "onVolumeChange",
|
|
4346
4220
|
"return": {
|
|
4347
4221
|
"type": {
|
|
4348
4222
|
"text": "boolean"
|
|
@@ -4350,256 +4224,382 @@
|
|
|
4350
4224
|
},
|
|
4351
4225
|
"parameters": [
|
|
4352
4226
|
{
|
|
4353
|
-
"name": "
|
|
4227
|
+
"name": "event",
|
|
4354
4228
|
"type": {
|
|
4355
|
-
"text": "
|
|
4229
|
+
"text": "Event"
|
|
4230
|
+
}
|
|
4231
|
+
}
|
|
4232
|
+
]
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"kind": "method",
|
|
4236
|
+
"name": "toggleMute",
|
|
4237
|
+
"return": {
|
|
4238
|
+
"type": {
|
|
4239
|
+
"text": "boolean"
|
|
4240
|
+
}
|
|
4241
|
+
}
|
|
4242
|
+
},
|
|
4243
|
+
{
|
|
4244
|
+
"kind": "method",
|
|
4245
|
+
"name": "addRule",
|
|
4246
|
+
"return": {
|
|
4247
|
+
"type": {
|
|
4248
|
+
"text": "boolean"
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
},
|
|
4252
|
+
{
|
|
4253
|
+
"kind": "method",
|
|
4254
|
+
"name": "removeRule",
|
|
4255
|
+
"return": {
|
|
4256
|
+
"type": {
|
|
4257
|
+
"text": "boolean"
|
|
4258
|
+
}
|
|
4259
|
+
},
|
|
4260
|
+
"parameters": [
|
|
4261
|
+
{
|
|
4262
|
+
"name": "index",
|
|
4263
|
+
"type": {
|
|
4264
|
+
"text": "number"
|
|
4356
4265
|
}
|
|
4357
4266
|
}
|
|
4358
|
-
]
|
|
4267
|
+
]
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
"kind": "method",
|
|
4271
|
+
"name": "reloadRules",
|
|
4272
|
+
"return": {
|
|
4273
|
+
"type": {
|
|
4274
|
+
"text": "Promise<void>"
|
|
4275
|
+
}
|
|
4276
|
+
},
|
|
4277
|
+
"description": "Reloads the notification-rule picker (e.g. when the Sounds tab is opened)."
|
|
4278
|
+
},
|
|
4279
|
+
{
|
|
4280
|
+
"kind": "method",
|
|
4281
|
+
"name": "loadRules",
|
|
4282
|
+
"privacy": "private",
|
|
4283
|
+
"return": {
|
|
4284
|
+
"type": {
|
|
4285
|
+
"text": "Promise<void>"
|
|
4286
|
+
}
|
|
4287
|
+
}
|
|
4288
|
+
},
|
|
4289
|
+
{
|
|
4290
|
+
"kind": "method",
|
|
4291
|
+
"name": "settleRuleOptions",
|
|
4292
|
+
"privacy": "private",
|
|
4293
|
+
"return": {
|
|
4294
|
+
"type": {
|
|
4295
|
+
"text": "Promise<void>"
|
|
4296
|
+
}
|
|
4297
|
+
},
|
|
4298
|
+
"description": "Suppresses select `change` events only while options-datasource rebuilds\nthe DOM — not for the `getRules()` round trip itself, so a user picking a\nrule while a request is in flight isn't silently dropped."
|
|
4299
|
+
},
|
|
4300
|
+
{
|
|
4301
|
+
"kind": "method",
|
|
4302
|
+
"name": "applyRuleSelectValues",
|
|
4303
|
+
"privacy": "private",
|
|
4304
|
+
"return": {
|
|
4305
|
+
"type": {
|
|
4306
|
+
"text": "void"
|
|
4307
|
+
}
|
|
4308
|
+
},
|
|
4309
|
+
"description": "Re-applies persisted template ids onto `.rule-select` hosts after\noptions-datasource has rebuilt its options. We deliberately do *not* bind\n`:initialSelectedValue` to templateId: that path compares the option label\nagainst Select.value (the option id), always mismatches, clearData()'s the\nselect, and leaves the next pick stuck on \"Select a rule...\"."
|
|
4359
4310
|
},
|
|
4360
4311
|
{
|
|
4361
4312
|
"kind": "method",
|
|
4362
|
-
"name": "
|
|
4363
|
-
"
|
|
4313
|
+
"name": "syncSoundSelect",
|
|
4314
|
+
"privacy": "private",
|
|
4364
4315
|
"return": {
|
|
4365
4316
|
"type": {
|
|
4366
|
-
"text": "
|
|
4317
|
+
"text": "void"
|
|
4367
4318
|
}
|
|
4368
4319
|
},
|
|
4369
4320
|
"parameters": [
|
|
4370
4321
|
{
|
|
4371
|
-
"name": "
|
|
4322
|
+
"name": "select",
|
|
4372
4323
|
"type": {
|
|
4373
|
-
"text": "
|
|
4324
|
+
"text": "HTMLSelectElement"
|
|
4374
4325
|
}
|
|
4375
4326
|
}
|
|
4376
|
-
]
|
|
4327
|
+
],
|
|
4328
|
+
"description": "Points a sound select back at its row's current sound after a choice that did not apply\n(a failed load, or one overtaken by a newer change). The row is looked up from the DOM\nbecause removing an earlier rule while the sound loaded shifts its index."
|
|
4377
4329
|
},
|
|
4378
4330
|
{
|
|
4379
4331
|
"kind": "method",
|
|
4380
|
-
"name": "
|
|
4381
|
-
"
|
|
4332
|
+
"name": "applySoundSelectValues",
|
|
4333
|
+
"privacy": "private",
|
|
4382
4334
|
"return": {
|
|
4383
4335
|
"type": {
|
|
4384
|
-
"text": "
|
|
4336
|
+
"text": "void"
|
|
4385
4337
|
}
|
|
4386
4338
|
},
|
|
4387
|
-
"
|
|
4388
|
-
{
|
|
4389
|
-
"name": "conditions",
|
|
4390
|
-
"type": {
|
|
4391
|
-
"text": "ConditionNode[]"
|
|
4392
|
-
}
|
|
4393
|
-
},
|
|
4394
|
-
{
|
|
4395
|
-
"name": "fields",
|
|
4396
|
-
"type": {
|
|
4397
|
-
"text": "any[]"
|
|
4398
|
-
}
|
|
4399
|
-
}
|
|
4400
|
-
]
|
|
4401
|
-
},
|
|
4402
|
-
{
|
|
4403
|
-
"kind": "field",
|
|
4404
|
-
"name": "createEmptyGroup",
|
|
4405
|
-
"static": true
|
|
4339
|
+
"description": "The `:value` binding is applied before the uploaded-file option's `disabled` attribute\nupdates, and the select refuses a disabled option, so a new upload would show \"No sound\nselected\". Re-applying once the row's bindings have run selects it."
|
|
4406
4340
|
},
|
|
4407
4341
|
{
|
|
4408
4342
|
"kind": "method",
|
|
4409
|
-
"name": "
|
|
4410
|
-
"
|
|
4343
|
+
"name": "mapRules",
|
|
4344
|
+
"privacy": "private",
|
|
4411
4345
|
"return": {
|
|
4412
4346
|
"type": {
|
|
4413
|
-
"text": "
|
|
4347
|
+
"text": "AlertSoundSelectableRule[]"
|
|
4414
4348
|
}
|
|
4415
4349
|
},
|
|
4416
4350
|
"parameters": [
|
|
4417
4351
|
{
|
|
4418
|
-
"name": "
|
|
4352
|
+
"name": "ruleList",
|
|
4419
4353
|
"type": {
|
|
4420
|
-
"text": "
|
|
4354
|
+
"text": "NamedRuleRow[]"
|
|
4421
4355
|
}
|
|
4422
4356
|
}
|
|
4423
4357
|
]
|
|
4424
4358
|
},
|
|
4425
4359
|
{
|
|
4426
4360
|
"kind": "method",
|
|
4427
|
-
"name": "
|
|
4428
|
-
"
|
|
4361
|
+
"name": "ruleMatchId",
|
|
4362
|
+
"privacy": "private",
|
|
4429
4363
|
"return": {
|
|
4430
4364
|
"type": {
|
|
4431
|
-
"text": "
|
|
4365
|
+
"text": "string"
|
|
4432
4366
|
}
|
|
4433
4367
|
},
|
|
4434
4368
|
"parameters": [
|
|
4435
4369
|
{
|
|
4436
|
-
"name": "
|
|
4370
|
+
"name": "rule",
|
|
4437
4371
|
"type": {
|
|
4438
|
-
"text": "
|
|
4372
|
+
"text": "NamedRuleRow | undefined"
|
|
4439
4373
|
}
|
|
4440
4374
|
}
|
|
4441
4375
|
]
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
"kind": "method",
|
|
4379
|
+
"name": "syncSoundState",
|
|
4380
|
+
"privacy": "private"
|
|
4442
4381
|
}
|
|
4443
|
-
]
|
|
4382
|
+
],
|
|
4383
|
+
"superclass": {
|
|
4384
|
+
"name": "GenesisElement",
|
|
4385
|
+
"package": "@genesislcap/web-core"
|
|
4386
|
+
},
|
|
4387
|
+
"tagName": "foundation-sounds-panel",
|
|
4388
|
+
"customElement": true
|
|
4389
|
+
}
|
|
4390
|
+
],
|
|
4391
|
+
"exports": [
|
|
4392
|
+
{
|
|
4393
|
+
"kind": "js",
|
|
4394
|
+
"name": "FoundationSoundsPanel",
|
|
4395
|
+
"declaration": {
|
|
4396
|
+
"name": "FoundationSoundsPanel",
|
|
4397
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
4398
|
+
}
|
|
4444
4399
|
},
|
|
4400
|
+
{
|
|
4401
|
+
"kind": "custom-element-definition",
|
|
4402
|
+
"name": "foundation-sounds-panel",
|
|
4403
|
+
"declaration": {
|
|
4404
|
+
"name": "FoundationSoundsPanel",
|
|
4405
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
4406
|
+
}
|
|
4407
|
+
}
|
|
4408
|
+
]
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
"kind": "javascript-module",
|
|
4412
|
+
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
4413
|
+
"declarations": [
|
|
4414
|
+
{
|
|
4415
|
+
"kind": "variable",
|
|
4416
|
+
"name": "FoundationSoundsStyles",
|
|
4417
|
+
"default": "css`\n :host {\n display: none;\n }\n`",
|
|
4418
|
+
"description": "Headless layout listener — take no space in the layout chrome."
|
|
4419
|
+
}
|
|
4420
|
+
],
|
|
4421
|
+
"exports": [
|
|
4422
|
+
{
|
|
4423
|
+
"kind": "js",
|
|
4424
|
+
"name": "FoundationSoundsStyles",
|
|
4425
|
+
"declaration": {
|
|
4426
|
+
"name": "FoundationSoundsStyles",
|
|
4427
|
+
"module": "src/components/foundation-sounds/foundation-sounds.styles.ts"
|
|
4428
|
+
}
|
|
4429
|
+
}
|
|
4430
|
+
]
|
|
4431
|
+
},
|
|
4432
|
+
{
|
|
4433
|
+
"kind": "javascript-module",
|
|
4434
|
+
"path": "src/components/foundation-sounds/foundation-sounds.ts",
|
|
4435
|
+
"declarations": [
|
|
4445
4436
|
{
|
|
4446
4437
|
"kind": "class",
|
|
4447
|
-
"description": "",
|
|
4448
|
-
"name": "
|
|
4438
|
+
"description": "Headless listener for inbox alert inserts. Plays configured sounds via the\nshared AlertSoundPlayer. Mount once in the app layout.\n\nConfigure rules in the inbox Sounds tab with FoundationSoundsPanel.",
|
|
4439
|
+
"name": "FoundationSounds",
|
|
4449
4440
|
"members": [
|
|
4450
4441
|
{
|
|
4451
4442
|
"kind": "field",
|
|
4452
|
-
"name": "
|
|
4453
|
-
"
|
|
4443
|
+
"name": "connect",
|
|
4444
|
+
"type": {
|
|
4445
|
+
"text": "Connect"
|
|
4446
|
+
}
|
|
4454
4447
|
},
|
|
4455
4448
|
{
|
|
4456
|
-
"kind": "
|
|
4457
|
-
"name": "
|
|
4458
|
-
"
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
"name": "parameters"
|
|
4462
|
-
}
|
|
4463
|
-
]
|
|
4449
|
+
"kind": "field",
|
|
4450
|
+
"name": "inboxService",
|
|
4451
|
+
"type": {
|
|
4452
|
+
"text": "FoundationInboxService"
|
|
4453
|
+
}
|
|
4464
4454
|
},
|
|
4465
4455
|
{
|
|
4466
|
-
"kind": "
|
|
4467
|
-
"name": "
|
|
4456
|
+
"kind": "field",
|
|
4457
|
+
"name": "ruleService",
|
|
4458
|
+
"type": {
|
|
4459
|
+
"text": "RuleService"
|
|
4460
|
+
}
|
|
4461
|
+
},
|
|
4462
|
+
{
|
|
4463
|
+
"kind": "field",
|
|
4464
|
+
"name": "soundEnabled",
|
|
4465
|
+
"type": {
|
|
4466
|
+
"text": "boolean"
|
|
4467
|
+
},
|
|
4468
|
+
"default": "true",
|
|
4469
|
+
"description": "When false, new audible alerts are tracked but do not play."
|
|
4470
|
+
},
|
|
4471
|
+
{
|
|
4472
|
+
"kind": "field",
|
|
4473
|
+
"name": "connectionSub",
|
|
4474
|
+
"type": {
|
|
4475
|
+
"text": "Subscription | undefined"
|
|
4476
|
+
},
|
|
4477
|
+
"privacy": "private"
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"kind": "field",
|
|
4481
|
+
"name": "player",
|
|
4468
4482
|
"privacy": "private",
|
|
4469
|
-
"
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
]
|
|
4483
|
+
"readonly": true
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"kind": "field",
|
|
4487
|
+
"name": "knownAlertIds",
|
|
4488
|
+
"privacy": "private",
|
|
4489
|
+
"default": "new Set<string>()"
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"kind": "field",
|
|
4493
|
+
"name": "serverSoundFetches",
|
|
4494
|
+
"privacy": "private",
|
|
4495
|
+
"readonly": true,
|
|
4496
|
+
"default": "new Map<string, Promise<boolean>>()",
|
|
4497
|
+
"description": "In-flight server sound fetches keyed by DYNAMIC_RULE_ID."
|
|
4485
4498
|
},
|
|
4486
4499
|
{
|
|
4487
4500
|
"kind": "method",
|
|
4488
|
-
"name": "
|
|
4489
|
-
"
|
|
4490
|
-
"
|
|
4491
|
-
{
|
|
4492
|
-
"
|
|
4493
|
-
},
|
|
4494
|
-
{
|
|
4495
|
-
"name": "parameters",
|
|
4496
|
-
"optional": true
|
|
4501
|
+
"name": "subscribeToAlerts",
|
|
4502
|
+
"privacy": "private",
|
|
4503
|
+
"return": {
|
|
4504
|
+
"type": {
|
|
4505
|
+
"text": "void"
|
|
4497
4506
|
}
|
|
4498
|
-
|
|
4507
|
+
}
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
"kind": "field",
|
|
4511
|
+
"name": "subscriptionHandler",
|
|
4512
|
+
"privacy": "private"
|
|
4499
4513
|
},
|
|
4500
4514
|
{
|
|
4501
4515
|
"kind": "method",
|
|
4502
|
-
"name": "
|
|
4503
|
-
"
|
|
4516
|
+
"name": "playForNewAlerts",
|
|
4517
|
+
"privacy": "private",
|
|
4518
|
+
"return": {
|
|
4519
|
+
"type": {
|
|
4520
|
+
"text": "Promise<void>"
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4504
4523
|
"parameters": [
|
|
4505
4524
|
{
|
|
4506
|
-
"name": "
|
|
4525
|
+
"name": "rows",
|
|
4526
|
+
"type": {
|
|
4527
|
+
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
4528
|
+
}
|
|
4507
4529
|
}
|
|
4508
4530
|
]
|
|
4509
|
-
}
|
|
4510
|
-
]
|
|
4511
|
-
},
|
|
4512
|
-
{
|
|
4513
|
-
"kind": "class",
|
|
4514
|
-
"description": "",
|
|
4515
|
-
"name": "RuleUtils",
|
|
4516
|
-
"members": [
|
|
4531
|
+
},
|
|
4517
4532
|
{
|
|
4518
4533
|
"kind": "method",
|
|
4519
|
-
"name": "
|
|
4534
|
+
"name": "tryPlayServerSound",
|
|
4520
4535
|
"privacy": "private",
|
|
4521
|
-
"
|
|
4536
|
+
"return": {
|
|
4537
|
+
"type": {
|
|
4538
|
+
"text": "Promise<boolean>"
|
|
4539
|
+
}
|
|
4540
|
+
},
|
|
4522
4541
|
"parameters": [
|
|
4523
4542
|
{
|
|
4524
|
-
"name": "
|
|
4543
|
+
"name": "dynamicRuleId",
|
|
4525
4544
|
"type": {
|
|
4526
|
-
"text": "
|
|
4545
|
+
"text": "string"
|
|
4527
4546
|
}
|
|
4528
|
-
},
|
|
4529
|
-
{
|
|
4530
|
-
"name": "condition"
|
|
4531
4547
|
}
|
|
4532
4548
|
]
|
|
4533
4549
|
},
|
|
4534
4550
|
{
|
|
4535
4551
|
"kind": "method",
|
|
4536
|
-
"name": "
|
|
4537
|
-
"
|
|
4552
|
+
"name": "fetchAndCacheServerSound",
|
|
4553
|
+
"privacy": "private",
|
|
4554
|
+
"return": {
|
|
4555
|
+
"type": {
|
|
4556
|
+
"text": "Promise<boolean>"
|
|
4557
|
+
}
|
|
4558
|
+
},
|
|
4538
4559
|
"parameters": [
|
|
4539
4560
|
{
|
|
4540
|
-
"name": "
|
|
4561
|
+
"name": "dynamicRuleId",
|
|
4562
|
+
"type": {
|
|
4563
|
+
"text": "string"
|
|
4564
|
+
}
|
|
4541
4565
|
}
|
|
4542
4566
|
]
|
|
4543
4567
|
}
|
|
4544
|
-
]
|
|
4545
|
-
|
|
4546
|
-
{
|
|
4547
|
-
"kind": "function",
|
|
4548
|
-
"name": "showNotificationError",
|
|
4549
|
-
"parameters": [
|
|
4568
|
+
],
|
|
4569
|
+
"attributes": [
|
|
4550
4570
|
{
|
|
4551
|
-
"name": "
|
|
4571
|
+
"name": "sound-enabled",
|
|
4572
|
+
"type": {
|
|
4573
|
+
"text": "boolean"
|
|
4574
|
+
},
|
|
4575
|
+
"default": "true",
|
|
4576
|
+
"description": "When false, new audible alerts are tracked but do not play.",
|
|
4577
|
+
"fieldName": "soundEnabled"
|
|
4552
4578
|
}
|
|
4553
|
-
]
|
|
4579
|
+
],
|
|
4580
|
+
"superclass": {
|
|
4581
|
+
"name": "GenesisElement",
|
|
4582
|
+
"package": "@genesislcap/web-core"
|
|
4583
|
+
},
|
|
4584
|
+
"tagName": "foundation-sounds",
|
|
4585
|
+
"customElement": true
|
|
4554
4586
|
}
|
|
4555
4587
|
],
|
|
4556
4588
|
"exports": [
|
|
4557
4589
|
{
|
|
4558
4590
|
"kind": "js",
|
|
4559
|
-
"name": "
|
|
4560
|
-
"declaration": {
|
|
4561
|
-
"name": "UUIDGenerator",
|
|
4562
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4563
|
-
}
|
|
4564
|
-
},
|
|
4565
|
-
{
|
|
4566
|
-
"kind": "js",
|
|
4567
|
-
"name": "isEmpty",
|
|
4568
|
-
"declaration": {
|
|
4569
|
-
"name": "isEmpty",
|
|
4570
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4571
|
-
}
|
|
4572
|
-
},
|
|
4573
|
-
{
|
|
4574
|
-
"kind": "js",
|
|
4575
|
-
"name": "DynamicRuleUtils",
|
|
4576
|
-
"declaration": {
|
|
4577
|
-
"name": "DynamicRuleUtils",
|
|
4578
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4579
|
-
}
|
|
4580
|
-
},
|
|
4581
|
-
{
|
|
4582
|
-
"kind": "js",
|
|
4583
|
-
"name": "TemplateUtils",
|
|
4584
|
-
"declaration": {
|
|
4585
|
-
"name": "TemplateUtils",
|
|
4586
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4587
|
-
}
|
|
4588
|
-
},
|
|
4589
|
-
{
|
|
4590
|
-
"kind": "js",
|
|
4591
|
-
"name": "RuleUtils",
|
|
4591
|
+
"name": "FoundationSounds",
|
|
4592
4592
|
"declaration": {
|
|
4593
|
-
"name": "
|
|
4594
|
-
"module": "src/components/foundation-
|
|
4593
|
+
"name": "FoundationSounds",
|
|
4594
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
4595
4595
|
}
|
|
4596
4596
|
},
|
|
4597
4597
|
{
|
|
4598
|
-
"kind": "
|
|
4599
|
-
"name": "
|
|
4598
|
+
"kind": "custom-element-definition",
|
|
4599
|
+
"name": "foundation-sounds",
|
|
4600
4600
|
"declaration": {
|
|
4601
|
-
"name": "
|
|
4602
|
-
"module": "src/components/foundation-
|
|
4601
|
+
"name": "FoundationSounds",
|
|
4602
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
]
|
|
@@ -10831,121 +10831,279 @@
|
|
|
10831
10831
|
},
|
|
10832
10832
|
{
|
|
10833
10833
|
"kind": "field",
|
|
10834
|
-
"name": "sourceTyped",
|
|
10834
|
+
"name": "sourceTyped",
|
|
10835
|
+
"type": {
|
|
10836
|
+
"text": "string"
|
|
10837
|
+
}
|
|
10838
|
+
},
|
|
10839
|
+
{
|
|
10840
|
+
"kind": "field",
|
|
10841
|
+
"name": "sourceTextField",
|
|
10842
|
+
"type": {
|
|
10843
|
+
"text": "TextField"
|
|
10844
|
+
}
|
|
10845
|
+
},
|
|
10846
|
+
{
|
|
10847
|
+
"kind": "field",
|
|
10848
|
+
"name": "sourceSelect",
|
|
10849
|
+
"type": {
|
|
10850
|
+
"text": "Select"
|
|
10851
|
+
}
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"kind": "field",
|
|
10855
|
+
"name": "reqRepItems",
|
|
10856
|
+
"type": {
|
|
10857
|
+
"text": "array"
|
|
10858
|
+
},
|
|
10859
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10860
|
+
},
|
|
10861
|
+
{
|
|
10862
|
+
"kind": "method",
|
|
10863
|
+
"name": "deleteParameter"
|
|
10864
|
+
},
|
|
10865
|
+
{
|
|
10866
|
+
"kind": "method",
|
|
10867
|
+
"name": "parameterChanged"
|
|
10868
|
+
},
|
|
10869
|
+
{
|
|
10870
|
+
"kind": "method",
|
|
10871
|
+
"name": "nameChanged"
|
|
10872
|
+
},
|
|
10873
|
+
{
|
|
10874
|
+
"kind": "method",
|
|
10875
|
+
"name": "labelChanged"
|
|
10876
|
+
},
|
|
10877
|
+
{
|
|
10878
|
+
"kind": "method",
|
|
10879
|
+
"name": "typeChanged"
|
|
10880
|
+
},
|
|
10881
|
+
{
|
|
10882
|
+
"kind": "method",
|
|
10883
|
+
"name": "sourceTypeChanged"
|
|
10884
|
+
},
|
|
10885
|
+
{
|
|
10886
|
+
"kind": "method",
|
|
10887
|
+
"name": "sourceSelectedChanged"
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
"kind": "method",
|
|
10891
|
+
"name": "sourceTypedChanged"
|
|
10892
|
+
},
|
|
10893
|
+
{
|
|
10894
|
+
"kind": "method",
|
|
10895
|
+
"name": "genericChanged",
|
|
10896
|
+
"privacy": "private",
|
|
10897
|
+
"parameters": [
|
|
10898
|
+
{
|
|
10899
|
+
"name": "parameterAttribute"
|
|
10900
|
+
},
|
|
10901
|
+
{
|
|
10902
|
+
"name": "value"
|
|
10903
|
+
}
|
|
10904
|
+
]
|
|
10905
|
+
}
|
|
10906
|
+
],
|
|
10907
|
+
"events": [
|
|
10908
|
+
{
|
|
10909
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10910
|
+
"name": "delete"
|
|
10911
|
+
},
|
|
10912
|
+
{
|
|
10913
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10914
|
+
"name": "edit"
|
|
10915
|
+
}
|
|
10916
|
+
],
|
|
10917
|
+
"attributes": [
|
|
10918
|
+
{
|
|
10919
|
+
"name": "parameter",
|
|
10920
|
+
"type": {
|
|
10921
|
+
"text": "ParameterBuilderEntity"
|
|
10922
|
+
},
|
|
10923
|
+
"fieldName": "parameter"
|
|
10924
|
+
}
|
|
10925
|
+
],
|
|
10926
|
+
"superclass": {
|
|
10927
|
+
"name": "GenesisElement",
|
|
10928
|
+
"package": "@genesislcap/web-core"
|
|
10929
|
+
},
|
|
10930
|
+
"tagName": "parameter-builder",
|
|
10931
|
+
"customElement": true
|
|
10932
|
+
}
|
|
10933
|
+
],
|
|
10934
|
+
"exports": [
|
|
10935
|
+
{
|
|
10936
|
+
"kind": "js",
|
|
10937
|
+
"name": "ParameterBuilder",
|
|
10938
|
+
"declaration": {
|
|
10939
|
+
"name": "ParameterBuilder",
|
|
10940
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10941
|
+
}
|
|
10942
|
+
},
|
|
10943
|
+
{
|
|
10944
|
+
"kind": "custom-element-definition",
|
|
10945
|
+
"name": "parameter-builder",
|
|
10946
|
+
"declaration": {
|
|
10947
|
+
"name": "ParameterBuilder",
|
|
10948
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10949
|
+
}
|
|
10950
|
+
}
|
|
10951
|
+
]
|
|
10952
|
+
},
|
|
10953
|
+
{
|
|
10954
|
+
"kind": "javascript-module",
|
|
10955
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
10956
|
+
"declarations": [
|
|
10957
|
+
{
|
|
10958
|
+
"kind": "variable",
|
|
10959
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10960
|
+
"default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
|
|
10961
|
+
}
|
|
10962
|
+
],
|
|
10963
|
+
"exports": [
|
|
10964
|
+
{
|
|
10965
|
+
"kind": "js",
|
|
10966
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10967
|
+
"declaration": {
|
|
10968
|
+
"name": "TemplateConditionGroupTemplate",
|
|
10969
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
10970
|
+
}
|
|
10971
|
+
}
|
|
10972
|
+
]
|
|
10973
|
+
},
|
|
10974
|
+
{
|
|
10975
|
+
"kind": "javascript-module",
|
|
10976
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
10977
|
+
"declarations": [
|
|
10978
|
+
{
|
|
10979
|
+
"kind": "class",
|
|
10980
|
+
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
10981
|
+
"name": "TemplateConditionGroup",
|
|
10982
|
+
"members": [
|
|
10983
|
+
{
|
|
10984
|
+
"kind": "field",
|
|
10985
|
+
"name": "node",
|
|
10986
|
+
"type": {
|
|
10987
|
+
"text": "ConditionGroupEntity"
|
|
10988
|
+
}
|
|
10989
|
+
},
|
|
10990
|
+
{
|
|
10991
|
+
"kind": "field",
|
|
10992
|
+
"name": "fields",
|
|
10993
|
+
"type": {
|
|
10994
|
+
"text": "Field[]"
|
|
10995
|
+
},
|
|
10996
|
+
"default": "[]"
|
|
10997
|
+
},
|
|
10998
|
+
{
|
|
10999
|
+
"kind": "field",
|
|
11000
|
+
"name": "parameters",
|
|
10835
11001
|
"type": {
|
|
10836
|
-
"text": "
|
|
10837
|
-
}
|
|
11002
|
+
"text": "Array<ParameterBuilderEntity>"
|
|
11003
|
+
},
|
|
11004
|
+
"default": "[]"
|
|
10838
11005
|
},
|
|
10839
11006
|
{
|
|
10840
11007
|
"kind": "field",
|
|
10841
|
-
"name": "
|
|
11008
|
+
"name": "isFirst",
|
|
10842
11009
|
"type": {
|
|
10843
|
-
"text": "
|
|
10844
|
-
}
|
|
11010
|
+
"text": "boolean"
|
|
11011
|
+
},
|
|
11012
|
+
"default": "false"
|
|
10845
11013
|
},
|
|
10846
11014
|
{
|
|
10847
11015
|
"kind": "field",
|
|
10848
|
-
"name": "
|
|
11016
|
+
"name": "joinOperator",
|
|
10849
11017
|
"type": {
|
|
10850
|
-
"text": "
|
|
11018
|
+
"text": "string"
|
|
10851
11019
|
}
|
|
10852
11020
|
},
|
|
10853
11021
|
{
|
|
10854
11022
|
"kind": "field",
|
|
10855
|
-
"name": "
|
|
11023
|
+
"name": "groupChildren",
|
|
10856
11024
|
"type": {
|
|
10857
|
-
"text": "
|
|
11025
|
+
"text": "ConditionNode[]"
|
|
10858
11026
|
},
|
|
10859
|
-
"default": "[
|
|
10860
|
-
},
|
|
10861
|
-
{
|
|
10862
|
-
"kind": "method",
|
|
10863
|
-
"name": "deleteParameter"
|
|
10864
|
-
},
|
|
10865
|
-
{
|
|
10866
|
-
"kind": "method",
|
|
10867
|
-
"name": "parameterChanged"
|
|
10868
|
-
},
|
|
10869
|
-
{
|
|
10870
|
-
"kind": "method",
|
|
10871
|
-
"name": "nameChanged"
|
|
11027
|
+
"default": "[]"
|
|
10872
11028
|
},
|
|
10873
11029
|
{
|
|
10874
11030
|
"kind": "method",
|
|
10875
|
-
"name": "
|
|
11031
|
+
"name": "nodeChanged"
|
|
10876
11032
|
},
|
|
10877
11033
|
{
|
|
10878
11034
|
"kind": "method",
|
|
10879
|
-
"name": "
|
|
11035
|
+
"name": "joinOperatorChanged"
|
|
10880
11036
|
},
|
|
10881
11037
|
{
|
|
10882
11038
|
"kind": "method",
|
|
10883
|
-
"name": "
|
|
11039
|
+
"name": "newCondition"
|
|
10884
11040
|
},
|
|
10885
11041
|
{
|
|
10886
11042
|
"kind": "method",
|
|
10887
|
-
"name": "
|
|
11043
|
+
"name": "newGroup"
|
|
10888
11044
|
},
|
|
10889
11045
|
{
|
|
10890
11046
|
"kind": "method",
|
|
10891
|
-
"name": "
|
|
11047
|
+
"name": "editChild",
|
|
11048
|
+
"parameters": [
|
|
11049
|
+
{
|
|
11050
|
+
"name": "_editedChild",
|
|
11051
|
+
"type": {
|
|
11052
|
+
"text": "ConditionNode"
|
|
11053
|
+
}
|
|
11054
|
+
}
|
|
11055
|
+
]
|
|
10892
11056
|
},
|
|
10893
11057
|
{
|
|
10894
11058
|
"kind": "method",
|
|
10895
|
-
"name": "
|
|
10896
|
-
"privacy": "private",
|
|
11059
|
+
"name": "deleteChild",
|
|
10897
11060
|
"parameters": [
|
|
10898
11061
|
{
|
|
10899
|
-
"name": "
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
11062
|
+
"name": "deletedChild",
|
|
11063
|
+
"type": {
|
|
11064
|
+
"text": "ConditionNode"
|
|
11065
|
+
}
|
|
10903
11066
|
}
|
|
10904
11067
|
]
|
|
11068
|
+
},
|
|
11069
|
+
{
|
|
11070
|
+
"kind": "method",
|
|
11071
|
+
"name": "deleteSelf"
|
|
10905
11072
|
}
|
|
10906
11073
|
],
|
|
10907
11074
|
"events": [
|
|
10908
11075
|
{
|
|
10909
|
-
"description": "Fired when
|
|
11076
|
+
"description": "Fired when this whole group should be removed",
|
|
10910
11077
|
"name": "delete"
|
|
10911
11078
|
},
|
|
10912
11079
|
{
|
|
10913
|
-
"description": "Fired when
|
|
11080
|
+
"description": "Fired when anything inside this group changes",
|
|
10914
11081
|
"name": "edit"
|
|
10915
11082
|
}
|
|
10916
11083
|
],
|
|
10917
|
-
"attributes": [
|
|
10918
|
-
{
|
|
10919
|
-
"name": "parameter",
|
|
10920
|
-
"type": {
|
|
10921
|
-
"text": "ParameterBuilderEntity"
|
|
10922
|
-
},
|
|
10923
|
-
"fieldName": "parameter"
|
|
10924
|
-
}
|
|
10925
|
-
],
|
|
10926
11084
|
"superclass": {
|
|
10927
11085
|
"name": "GenesisElement",
|
|
10928
11086
|
"package": "@genesislcap/web-core"
|
|
10929
11087
|
},
|
|
10930
|
-
"tagName": "
|
|
11088
|
+
"tagName": "template-condition-group",
|
|
10931
11089
|
"customElement": true
|
|
10932
11090
|
}
|
|
10933
11091
|
],
|
|
10934
11092
|
"exports": [
|
|
10935
11093
|
{
|
|
10936
11094
|
"kind": "js",
|
|
10937
|
-
"name": "
|
|
11095
|
+
"name": "TemplateConditionGroup",
|
|
10938
11096
|
"declaration": {
|
|
10939
|
-
"name": "
|
|
10940
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11097
|
+
"name": "TemplateConditionGroup",
|
|
11098
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10941
11099
|
}
|
|
10942
11100
|
},
|
|
10943
11101
|
{
|
|
10944
11102
|
"kind": "custom-element-definition",
|
|
10945
|
-
"name": "
|
|
11103
|
+
"name": "template-condition-group",
|
|
10946
11104
|
"declaration": {
|
|
10947
|
-
"name": "
|
|
10948
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/
|
|
11105
|
+
"name": "TemplateConditionGroup",
|
|
11106
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
10949
11107
|
}
|
|
10950
11108
|
}
|
|
10951
11109
|
]
|
|
@@ -11233,164 +11391,6 @@
|
|
|
11233
11391
|
}
|
|
11234
11392
|
}
|
|
11235
11393
|
]
|
|
11236
|
-
},
|
|
11237
|
-
{
|
|
11238
|
-
"kind": "javascript-module",
|
|
11239
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|
|
11240
|
-
"declarations": [
|
|
11241
|
-
{
|
|
11242
|
-
"kind": "variable",
|
|
11243
|
-
"name": "TemplateConditionGroupTemplate",
|
|
11244
|
-
"default": "html<TemplateConditionGroup>`\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, TemplateConditionGroup>`\n ${when(\n (x) => isGroup(x),\n html<ConditionNode>`\n <template-condition-group\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-condition-group>\n `,\n )}\n ${when(\n (x) => !isGroup(x),\n html<ConditionNode>`\n <template-condition-builder\n :fields=${(x, c) => c.parent.fields}\n :parameters=${(x, c) => c.parent.parameters}\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 ></template-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`"
|
|
11245
|
-
}
|
|
11246
|
-
],
|
|
11247
|
-
"exports": [
|
|
11248
|
-
{
|
|
11249
|
-
"kind": "js",
|
|
11250
|
-
"name": "TemplateConditionGroupTemplate",
|
|
11251
|
-
"declaration": {
|
|
11252
|
-
"name": "TemplateConditionGroupTemplate",
|
|
11253
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts"
|
|
11254
|
-
}
|
|
11255
|
-
}
|
|
11256
|
-
]
|
|
11257
|
-
},
|
|
11258
|
-
{
|
|
11259
|
-
"kind": "javascript-module",
|
|
11260
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts",
|
|
11261
|
-
"declarations": [
|
|
11262
|
-
{
|
|
11263
|
-
"kind": "class",
|
|
11264
|
-
"description": "Parenthesized group of conditions/nested groups for notification template\ncriteria - see rule-condition-group for the rationale. Also forwards\n:parameters down to nested template-condition-builder rows so parameter\nbinding (USER_ENTRY) keeps working inside a group.",
|
|
11265
|
-
"name": "TemplateConditionGroup",
|
|
11266
|
-
"members": [
|
|
11267
|
-
{
|
|
11268
|
-
"kind": "field",
|
|
11269
|
-
"name": "node",
|
|
11270
|
-
"type": {
|
|
11271
|
-
"text": "ConditionGroupEntity"
|
|
11272
|
-
}
|
|
11273
|
-
},
|
|
11274
|
-
{
|
|
11275
|
-
"kind": "field",
|
|
11276
|
-
"name": "fields",
|
|
11277
|
-
"type": {
|
|
11278
|
-
"text": "Field[]"
|
|
11279
|
-
},
|
|
11280
|
-
"default": "[]"
|
|
11281
|
-
},
|
|
11282
|
-
{
|
|
11283
|
-
"kind": "field",
|
|
11284
|
-
"name": "parameters",
|
|
11285
|
-
"type": {
|
|
11286
|
-
"text": "Array<ParameterBuilderEntity>"
|
|
11287
|
-
},
|
|
11288
|
-
"default": "[]"
|
|
11289
|
-
},
|
|
11290
|
-
{
|
|
11291
|
-
"kind": "field",
|
|
11292
|
-
"name": "isFirst",
|
|
11293
|
-
"type": {
|
|
11294
|
-
"text": "boolean"
|
|
11295
|
-
},
|
|
11296
|
-
"default": "false"
|
|
11297
|
-
},
|
|
11298
|
-
{
|
|
11299
|
-
"kind": "field",
|
|
11300
|
-
"name": "joinOperator",
|
|
11301
|
-
"type": {
|
|
11302
|
-
"text": "string"
|
|
11303
|
-
}
|
|
11304
|
-
},
|
|
11305
|
-
{
|
|
11306
|
-
"kind": "field",
|
|
11307
|
-
"name": "groupChildren",
|
|
11308
|
-
"type": {
|
|
11309
|
-
"text": "ConditionNode[]"
|
|
11310
|
-
},
|
|
11311
|
-
"default": "[]"
|
|
11312
|
-
},
|
|
11313
|
-
{
|
|
11314
|
-
"kind": "method",
|
|
11315
|
-
"name": "nodeChanged"
|
|
11316
|
-
},
|
|
11317
|
-
{
|
|
11318
|
-
"kind": "method",
|
|
11319
|
-
"name": "joinOperatorChanged"
|
|
11320
|
-
},
|
|
11321
|
-
{
|
|
11322
|
-
"kind": "method",
|
|
11323
|
-
"name": "newCondition"
|
|
11324
|
-
},
|
|
11325
|
-
{
|
|
11326
|
-
"kind": "method",
|
|
11327
|
-
"name": "newGroup"
|
|
11328
|
-
},
|
|
11329
|
-
{
|
|
11330
|
-
"kind": "method",
|
|
11331
|
-
"name": "editChild",
|
|
11332
|
-
"parameters": [
|
|
11333
|
-
{
|
|
11334
|
-
"name": "_editedChild",
|
|
11335
|
-
"type": {
|
|
11336
|
-
"text": "ConditionNode"
|
|
11337
|
-
}
|
|
11338
|
-
}
|
|
11339
|
-
]
|
|
11340
|
-
},
|
|
11341
|
-
{
|
|
11342
|
-
"kind": "method",
|
|
11343
|
-
"name": "deleteChild",
|
|
11344
|
-
"parameters": [
|
|
11345
|
-
{
|
|
11346
|
-
"name": "deletedChild",
|
|
11347
|
-
"type": {
|
|
11348
|
-
"text": "ConditionNode"
|
|
11349
|
-
}
|
|
11350
|
-
}
|
|
11351
|
-
]
|
|
11352
|
-
},
|
|
11353
|
-
{
|
|
11354
|
-
"kind": "method",
|
|
11355
|
-
"name": "deleteSelf"
|
|
11356
|
-
}
|
|
11357
|
-
],
|
|
11358
|
-
"events": [
|
|
11359
|
-
{
|
|
11360
|
-
"description": "Fired when this whole group should be removed",
|
|
11361
|
-
"name": "delete"
|
|
11362
|
-
},
|
|
11363
|
-
{
|
|
11364
|
-
"description": "Fired when anything inside this group changes",
|
|
11365
|
-
"name": "edit"
|
|
11366
|
-
}
|
|
11367
|
-
],
|
|
11368
|
-
"superclass": {
|
|
11369
|
-
"name": "GenesisElement",
|
|
11370
|
-
"package": "@genesislcap/web-core"
|
|
11371
|
-
},
|
|
11372
|
-
"tagName": "template-condition-group",
|
|
11373
|
-
"customElement": true
|
|
11374
|
-
}
|
|
11375
|
-
],
|
|
11376
|
-
"exports": [
|
|
11377
|
-
{
|
|
11378
|
-
"kind": "js",
|
|
11379
|
-
"name": "TemplateConditionGroup",
|
|
11380
|
-
"declaration": {
|
|
11381
|
-
"name": "TemplateConditionGroup",
|
|
11382
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11383
|
-
}
|
|
11384
|
-
},
|
|
11385
|
-
{
|
|
11386
|
-
"kind": "custom-element-definition",
|
|
11387
|
-
"name": "template-condition-group",
|
|
11388
|
-
"declaration": {
|
|
11389
|
-
"name": "TemplateConditionGroup",
|
|
11390
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.ts"
|
|
11391
|
-
}
|
|
11392
|
-
}
|
|
11393
|
-
]
|
|
11394
11394
|
}
|
|
11395
11395
|
]
|
|
11396
11396
|
}
|