@genesislcap/pbc-notify-ui 15.94.1-alpha-6f4e61418f.0 → 15.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1216 -1216
- 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
|
@@ -505,27 +505,6 @@
|
|
|
505
505
|
}
|
|
506
506
|
]
|
|
507
507
|
},
|
|
508
|
-
{
|
|
509
|
-
"kind": "javascript-module",
|
|
510
|
-
"path": "src/styles/scrollbar.styles.ts",
|
|
511
|
-
"declarations": [
|
|
512
|
-
{
|
|
513
|
-
"kind": "variable",
|
|
514
|
-
"name": "scrollbarStyles",
|
|
515
|
-
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
516
|
-
}
|
|
517
|
-
],
|
|
518
|
-
"exports": [
|
|
519
|
-
{
|
|
520
|
-
"kind": "js",
|
|
521
|
-
"name": "scrollbarStyles",
|
|
522
|
-
"declaration": {
|
|
523
|
-
"name": "scrollbarStyles",
|
|
524
|
-
"module": "src/styles/scrollbar.styles.ts"
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
]
|
|
528
|
-
},
|
|
529
508
|
{
|
|
530
509
|
"kind": "javascript-module",
|
|
531
510
|
"path": "src/utils/default-sounds.ts",
|
|
@@ -1036,6 +1015,27 @@
|
|
|
1036
1015
|
}
|
|
1037
1016
|
]
|
|
1038
1017
|
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "javascript-module",
|
|
1020
|
+
"path": "src/styles/scrollbar.styles.ts",
|
|
1021
|
+
"declarations": [
|
|
1022
|
+
{
|
|
1023
|
+
"kind": "variable",
|
|
1024
|
+
"name": "scrollbarStyles",
|
|
1025
|
+
"default": "css`\n ::-webkit-scrollbar {\n width: calc((var(--base-height-multiplier) + var(--design-unit)) * 1px);\n }\n\n ::-webkit-scrollbar-track {\n background: var(--neutral-layer-1);\n }\n\n ::-webkit-scrollbar-thumb {\n background: var(--neutral-fill-rest);\n }\n`"
|
|
1026
|
+
}
|
|
1027
|
+
],
|
|
1028
|
+
"exports": [
|
|
1029
|
+
{
|
|
1030
|
+
"kind": "js",
|
|
1031
|
+
"name": "scrollbarStyles",
|
|
1032
|
+
"declaration": {
|
|
1033
|
+
"name": "scrollbarStyles",
|
|
1034
|
+
"module": "src/styles/scrollbar.styles.ts"
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
]
|
|
1038
|
+
},
|
|
1039
1039
|
{
|
|
1040
1040
|
"kind": "javascript-module",
|
|
1041
1041
|
"path": "src/components/foundation-inbox/inbox.styles.ts",
|
|
@@ -3095,19 +3095,54 @@
|
|
|
3095
3095
|
},
|
|
3096
3096
|
{
|
|
3097
3097
|
"kind": "javascript-module",
|
|
3098
|
-
"path": "src/components/foundation-
|
|
3098
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts",
|
|
3099
3099
|
"declarations": [
|
|
3100
3100
|
{
|
|
3101
3101
|
"kind": "variable",
|
|
3102
|
-
"name": "
|
|
3103
|
-
"default": "
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
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
3107
|
{
|
|
3108
|
-
"kind": "
|
|
3109
|
-
"
|
|
3110
|
-
"
|
|
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",
|
|
3120
|
+
"declarations": [
|
|
3121
|
+
{
|
|
3122
|
+
"kind": "variable",
|
|
3123
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
3124
|
+
"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`"
|
|
3125
|
+
}
|
|
3126
|
+
],
|
|
3127
|
+
"exports": [
|
|
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": [
|
|
3142
|
+
{
|
|
3143
|
+
"kind": "class",
|
|
3144
|
+
"description": "Configures alert sound rules in the inbox Sounds tab. Persists via the shared\nAlertSoundPlayer; playback is handled by layout-mounted\nFoundationSounds.",
|
|
3145
|
+
"name": "FoundationSoundsPanel",
|
|
3111
3146
|
"members": [
|
|
3112
3147
|
{
|
|
3113
3148
|
"kind": "field",
|
|
@@ -3118,56 +3153,21 @@
|
|
|
3118
3153
|
},
|
|
3119
3154
|
{
|
|
3120
3155
|
"kind": "field",
|
|
3121
|
-
"name": "
|
|
3122
|
-
"type": {
|
|
3123
|
-
"text": "boolean"
|
|
3124
|
-
},
|
|
3125
|
-
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
3126
|
-
"readonly": true
|
|
3127
|
-
},
|
|
3128
|
-
{
|
|
3129
|
-
"kind": "field",
|
|
3130
|
-
"name": "alertSoundEntityId",
|
|
3131
|
-
"type": {
|
|
3132
|
-
"text": "string | null"
|
|
3133
|
-
},
|
|
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",
|
|
3156
|
+
"name": "volumePercent",
|
|
3158
3157
|
"type": {
|
|
3159
|
-
"text": "
|
|
3158
|
+
"text": "number"
|
|
3160
3159
|
},
|
|
3161
|
-
"default": "
|
|
3160
|
+
"default": "100",
|
|
3161
|
+
"description": "Global playback volume 0–100. @internal"
|
|
3162
3162
|
},
|
|
3163
3163
|
{
|
|
3164
3164
|
"kind": "field",
|
|
3165
|
-
"name": "
|
|
3165
|
+
"name": "selectableRules",
|
|
3166
3166
|
"type": {
|
|
3167
|
-
"text": "
|
|
3167
|
+
"text": "AlertSoundSelectableRule[]"
|
|
3168
3168
|
},
|
|
3169
|
-
"default": "
|
|
3170
|
-
"description": "
|
|
3169
|
+
"default": "[]",
|
|
3170
|
+
"description": "Notification rules from REQ_NOTIFICATION_RULE. @internal"
|
|
3171
3171
|
},
|
|
3172
3172
|
{
|
|
3173
3173
|
"kind": "field",
|
|
@@ -3178,58 +3178,75 @@
|
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
3180
|
"kind": "field",
|
|
3181
|
-
"name": "
|
|
3181
|
+
"name": "pendingRuleIndex",
|
|
3182
3182
|
"type": {
|
|
3183
|
-
"text": "
|
|
3183
|
+
"text": "number | null"
|
|
3184
3184
|
},
|
|
3185
|
+
"privacy": "private",
|
|
3185
3186
|
"default": "null"
|
|
3186
3187
|
},
|
|
3187
3188
|
{
|
|
3188
3189
|
"kind": "field",
|
|
3189
|
-
"name": "
|
|
3190
|
-
"
|
|
3191
|
-
|
|
3192
|
-
},
|
|
3193
|
-
"default": "false",
|
|
3194
|
-
"description": "True when the user picked a new file this session (needs upload)."
|
|
3190
|
+
"name": "player",
|
|
3191
|
+
"privacy": "private",
|
|
3192
|
+
"readonly": true
|
|
3195
3193
|
},
|
|
3196
3194
|
{
|
|
3197
3195
|
"kind": "field",
|
|
3198
|
-
"name": "
|
|
3196
|
+
"name": "unsubscribePlayer",
|
|
3199
3197
|
"type": {
|
|
3200
|
-
"text": "
|
|
3198
|
+
"text": "(() => void) | undefined"
|
|
3201
3199
|
},
|
|
3202
|
-
"
|
|
3200
|
+
"privacy": "private"
|
|
3203
3201
|
},
|
|
3204
3202
|
{
|
|
3205
3203
|
"kind": "field",
|
|
3206
|
-
"name": "
|
|
3204
|
+
"name": "ignoreSelectChanges",
|
|
3207
3205
|
"type": {
|
|
3208
|
-
"text": "
|
|
3206
|
+
"text": "boolean"
|
|
3209
3207
|
},
|
|
3210
|
-
"
|
|
3211
|
-
"
|
|
3208
|
+
"privacy": "private",
|
|
3209
|
+
"default": "false",
|
|
3210
|
+
"description": "Suppresses select change events while options are rebuilt."
|
|
3212
3211
|
},
|
|
3213
3212
|
{
|
|
3214
3213
|
"kind": "method",
|
|
3215
|
-
"name": "
|
|
3214
|
+
"name": "onMatchModeChange",
|
|
3215
|
+
"return": {
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3216
3220
|
"parameters": [
|
|
3217
3221
|
{
|
|
3218
|
-
"name": "
|
|
3222
|
+
"name": "index",
|
|
3219
3223
|
"type": {
|
|
3220
|
-
"text": "
|
|
3224
|
+
"text": "number"
|
|
3225
|
+
}
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
"name": "event",
|
|
3229
|
+
"type": {
|
|
3230
|
+
"text": "Event"
|
|
3221
3231
|
}
|
|
3222
3232
|
}
|
|
3223
3233
|
]
|
|
3224
3234
|
},
|
|
3225
3235
|
{
|
|
3226
3236
|
"kind": "method",
|
|
3227
|
-
"name": "
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3237
|
+
"name": "onPatternInput",
|
|
3238
|
+
"return": {
|
|
3239
|
+
"type": {
|
|
3240
|
+
"text": "boolean"
|
|
3241
|
+
}
|
|
3242
|
+
},
|
|
3232
3243
|
"parameters": [
|
|
3244
|
+
{
|
|
3245
|
+
"name": "index",
|
|
3246
|
+
"type": {
|
|
3247
|
+
"text": "number"
|
|
3248
|
+
}
|
|
3249
|
+
},
|
|
3233
3250
|
{
|
|
3234
3251
|
"name": "event",
|
|
3235
3252
|
"type": {
|
|
@@ -3240,354 +3257,173 @@
|
|
|
3240
3257
|
},
|
|
3241
3258
|
{
|
|
3242
3259
|
"kind": "method",
|
|
3243
|
-
"name": "
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3260
|
+
"name": "onRuleChange",
|
|
3261
|
+
"return": {
|
|
3262
|
+
"type": {
|
|
3263
|
+
"text": "boolean"
|
|
3264
|
+
}
|
|
3265
|
+
},
|
|
3266
|
+
"parameters": [
|
|
3267
|
+
{
|
|
3268
|
+
"name": "index",
|
|
3269
|
+
"type": {
|
|
3270
|
+
"text": "number"
|
|
3271
|
+
}
|
|
3272
|
+
},
|
|
3273
|
+
{
|
|
3274
|
+
"name": "event",
|
|
3275
|
+
"type": {
|
|
3276
|
+
"text": "Event"
|
|
3277
|
+
}
|
|
3278
|
+
}
|
|
3279
|
+
]
|
|
3256
3280
|
},
|
|
3257
3281
|
{
|
|
3258
3282
|
"kind": "method",
|
|
3259
|
-
"name": "
|
|
3283
|
+
"name": "openFilePicker",
|
|
3260
3284
|
"return": {
|
|
3261
3285
|
"type": {
|
|
3262
|
-
"text": "
|
|
3286
|
+
"text": "boolean"
|
|
3263
3287
|
}
|
|
3264
3288
|
},
|
|
3265
3289
|
"parameters": [
|
|
3266
3290
|
{
|
|
3267
|
-
"name": "
|
|
3291
|
+
"name": "index",
|
|
3268
3292
|
"type": {
|
|
3269
|
-
"text": "
|
|
3293
|
+
"text": "number"
|
|
3270
3294
|
}
|
|
3271
3295
|
}
|
|
3272
|
-
]
|
|
3273
|
-
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3296
|
+
]
|
|
3274
3297
|
},
|
|
3275
3298
|
{
|
|
3276
3299
|
"kind": "method",
|
|
3277
|
-
"name": "
|
|
3278
|
-
"
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
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
|
-
}
|
|
3363
|
-
},
|
|
3364
|
-
{
|
|
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"
|
|
3300
|
+
"name": "onSoundChoiceChange",
|
|
3301
|
+
"return": {
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "boolean"
|
|
3304
|
+
}
|
|
3457
3305
|
},
|
|
3458
|
-
"
|
|
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
|
+
]
|
|
3459
3320
|
},
|
|
3460
3321
|
{
|
|
3461
|
-
"kind": "
|
|
3462
|
-
"name": "
|
|
3463
|
-
"
|
|
3464
|
-
"
|
|
3465
|
-
|
|
3466
|
-
|
|
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"
|
|
3322
|
+
"kind": "method",
|
|
3323
|
+
"name": "onFileSelected",
|
|
3324
|
+
"return": {
|
|
3325
|
+
"type": {
|
|
3326
|
+
"text": "boolean"
|
|
3327
|
+
}
|
|
3510
3328
|
},
|
|
3511
|
-
"
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
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
|
|
3329
|
+
"parameters": [
|
|
3330
|
+
{
|
|
3331
|
+
"name": "event",
|
|
3332
|
+
"type": {
|
|
3333
|
+
"text": "Event"
|
|
3334
|
+
}
|
|
3335
|
+
}
|
|
3336
|
+
]
|
|
3549
3337
|
},
|
|
3550
3338
|
{
|
|
3551
|
-
"kind": "
|
|
3552
|
-
"name": "
|
|
3553
|
-
"
|
|
3339
|
+
"kind": "method",
|
|
3340
|
+
"name": "clearSound",
|
|
3341
|
+
"return": {
|
|
3342
|
+
"type": {
|
|
3343
|
+
"text": "boolean"
|
|
3344
|
+
}
|
|
3345
|
+
},
|
|
3346
|
+
"parameters": [
|
|
3347
|
+
{
|
|
3348
|
+
"name": "index",
|
|
3349
|
+
"type": {
|
|
3350
|
+
"text": "number"
|
|
3351
|
+
}
|
|
3352
|
+
}
|
|
3353
|
+
]
|
|
3554
3354
|
},
|
|
3555
3355
|
{
|
|
3556
|
-
"kind": "
|
|
3557
|
-
"name": "
|
|
3558
|
-
"
|
|
3356
|
+
"kind": "method",
|
|
3357
|
+
"name": "testSound",
|
|
3358
|
+
"return": {
|
|
3359
|
+
"type": {
|
|
3360
|
+
"text": "boolean"
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
3363
|
+
"parameters": [
|
|
3364
|
+
{
|
|
3365
|
+
"name": "index",
|
|
3366
|
+
"type": {
|
|
3367
|
+
"text": "number"
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
]
|
|
3559
3371
|
},
|
|
3560
3372
|
{
|
|
3561
|
-
"kind": "
|
|
3562
|
-
"name": "
|
|
3563
|
-
"
|
|
3373
|
+
"kind": "method",
|
|
3374
|
+
"name": "toggleRuleMute",
|
|
3375
|
+
"return": {
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "boolean"
|
|
3378
|
+
}
|
|
3379
|
+
},
|
|
3380
|
+
"parameters": [
|
|
3381
|
+
{
|
|
3382
|
+
"name": "index",
|
|
3383
|
+
"type": {
|
|
3384
|
+
"text": "number"
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
]
|
|
3564
3388
|
},
|
|
3565
3389
|
{
|
|
3566
3390
|
"kind": "method",
|
|
3567
|
-
"name": "
|
|
3568
|
-
"static": true,
|
|
3391
|
+
"name": "onVolumeChange",
|
|
3569
3392
|
"return": {
|
|
3570
3393
|
"type": {
|
|
3571
|
-
"text": "
|
|
3394
|
+
"text": "boolean"
|
|
3572
3395
|
}
|
|
3573
3396
|
},
|
|
3574
3397
|
"parameters": [
|
|
3575
3398
|
{
|
|
3576
|
-
"name": "
|
|
3399
|
+
"name": "event",
|
|
3577
3400
|
"type": {
|
|
3578
|
-
"text": "
|
|
3401
|
+
"text": "Event"
|
|
3579
3402
|
}
|
|
3580
|
-
},
|
|
3581
|
-
{
|
|
3582
|
-
"name": "parameters",
|
|
3583
|
-
"optional": true
|
|
3584
3403
|
}
|
|
3585
3404
|
]
|
|
3586
3405
|
},
|
|
3587
3406
|
{
|
|
3588
3407
|
"kind": "method",
|
|
3589
|
-
"name": "
|
|
3590
|
-
"
|
|
3408
|
+
"name": "toggleMute",
|
|
3409
|
+
"return": {
|
|
3410
|
+
"type": {
|
|
3411
|
+
"text": "boolean"
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "method",
|
|
3417
|
+
"name": "addRule",
|
|
3418
|
+
"return": {
|
|
3419
|
+
"type": {
|
|
3420
|
+
"text": "boolean"
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"kind": "method",
|
|
3426
|
+
"name": "removeRule",
|
|
3591
3427
|
"return": {
|
|
3592
3428
|
"type": {
|
|
3593
3429
|
"text": "boolean"
|
|
@@ -3595,520 +3431,846 @@
|
|
|
3595
3431
|
},
|
|
3596
3432
|
"parameters": [
|
|
3597
3433
|
{
|
|
3598
|
-
"name": "
|
|
3434
|
+
"name": "index",
|
|
3599
3435
|
"type": {
|
|
3600
|
-
"text": "
|
|
3436
|
+
"text": "number"
|
|
3601
3437
|
}
|
|
3602
3438
|
}
|
|
3603
3439
|
]
|
|
3604
3440
|
},
|
|
3605
3441
|
{
|
|
3606
3442
|
"kind": "method",
|
|
3607
|
-
"name": "
|
|
3608
|
-
"static": true,
|
|
3443
|
+
"name": "reloadRules",
|
|
3609
3444
|
"return": {
|
|
3610
3445
|
"type": {
|
|
3611
|
-
"text": "
|
|
3446
|
+
"text": "Promise<void>"
|
|
3612
3447
|
}
|
|
3613
3448
|
},
|
|
3614
|
-
"
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3449
|
+
"description": "Reloads the notification-rule picker (e.g. when the Sounds tab is opened)."
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"kind": "method",
|
|
3453
|
+
"name": "loadRules",
|
|
3454
|
+
"privacy": "private",
|
|
3455
|
+
"return": {
|
|
3456
|
+
"type": {
|
|
3457
|
+
"text": "Promise<void>"
|
|
3620
3458
|
}
|
|
3621
|
-
|
|
3459
|
+
}
|
|
3622
3460
|
},
|
|
3623
3461
|
{
|
|
3624
3462
|
"kind": "method",
|
|
3625
|
-
"name": "
|
|
3626
|
-
"
|
|
3463
|
+
"name": "settleRuleOptions",
|
|
3464
|
+
"privacy": "private",
|
|
3627
3465
|
"return": {
|
|
3628
3466
|
"type": {
|
|
3629
|
-
"text": "
|
|
3467
|
+
"text": "Promise<void>"
|
|
3630
3468
|
}
|
|
3631
3469
|
},
|
|
3632
|
-
"
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3470
|
+
"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."
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "method",
|
|
3474
|
+
"name": "applyRuleSelectValues",
|
|
3475
|
+
"privacy": "private",
|
|
3476
|
+
"return": {
|
|
3477
|
+
"type": {
|
|
3478
|
+
"text": "void"
|
|
3638
3479
|
}
|
|
3639
|
-
|
|
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...\"."
|
|
3640
3482
|
},
|
|
3641
3483
|
{
|
|
3642
3484
|
"kind": "method",
|
|
3643
|
-
"name": "
|
|
3644
|
-
"
|
|
3485
|
+
"name": "syncSoundSelect",
|
|
3486
|
+
"privacy": "private",
|
|
3645
3487
|
"return": {
|
|
3646
3488
|
"type": {
|
|
3647
|
-
"text": "
|
|
3489
|
+
"text": "void"
|
|
3648
3490
|
}
|
|
3649
3491
|
},
|
|
3650
3492
|
"parameters": [
|
|
3651
3493
|
{
|
|
3652
|
-
"name": "
|
|
3494
|
+
"name": "select",
|
|
3653
3495
|
"type": {
|
|
3654
|
-
"text": "
|
|
3496
|
+
"text": "HTMLSelectElement"
|
|
3655
3497
|
}
|
|
3656
3498
|
}
|
|
3657
|
-
]
|
|
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."
|
|
3658
3501
|
},
|
|
3659
3502
|
{
|
|
3660
3503
|
"kind": "method",
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3504
|
+
"name": "applySoundSelectValues",
|
|
3505
|
+
"privacy": "private",
|
|
3663
3506
|
"return": {
|
|
3664
3507
|
"type": {
|
|
3665
|
-
"text": "
|
|
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."
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"kind": "method",
|
|
3515
|
+
"name": "mapRules",
|
|
3516
|
+
"privacy": "private",
|
|
3517
|
+
"return": {
|
|
3518
|
+
"type": {
|
|
3519
|
+
"text": "AlertSoundSelectableRule[]"
|
|
3666
3520
|
}
|
|
3667
3521
|
},
|
|
3668
3522
|
"parameters": [
|
|
3669
3523
|
{
|
|
3670
|
-
"name": "
|
|
3524
|
+
"name": "ruleList",
|
|
3671
3525
|
"type": {
|
|
3672
|
-
"text": "
|
|
3526
|
+
"text": "NamedRuleRow[]"
|
|
3673
3527
|
}
|
|
3674
3528
|
}
|
|
3675
3529
|
]
|
|
3676
3530
|
},
|
|
3677
3531
|
{
|
|
3678
3532
|
"kind": "method",
|
|
3679
|
-
"name": "
|
|
3680
|
-
"
|
|
3533
|
+
"name": "ruleMatchId",
|
|
3534
|
+
"privacy": "private",
|
|
3681
3535
|
"return": {
|
|
3682
3536
|
"type": {
|
|
3683
|
-
"text": "
|
|
3537
|
+
"text": "string"
|
|
3684
3538
|
}
|
|
3685
3539
|
},
|
|
3686
3540
|
"parameters": [
|
|
3687
3541
|
{
|
|
3688
|
-
"name": "
|
|
3542
|
+
"name": "rule",
|
|
3689
3543
|
"type": {
|
|
3690
|
-
"text": "
|
|
3544
|
+
"text": "NamedRuleRow | undefined"
|
|
3691
3545
|
}
|
|
3692
3546
|
}
|
|
3693
3547
|
]
|
|
3694
3548
|
},
|
|
3695
3549
|
{
|
|
3696
3550
|
"kind": "method",
|
|
3697
|
-
"name": "
|
|
3698
|
-
"
|
|
3551
|
+
"name": "syncSoundState",
|
|
3552
|
+
"privacy": "private"
|
|
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",
|
|
3699
3675
|
"return": {
|
|
3700
3676
|
"type": {
|
|
3701
|
-
"text": "
|
|
3677
|
+
"text": "void"
|
|
3678
|
+
}
|
|
3679
|
+
}
|
|
3680
|
+
},
|
|
3681
|
+
{
|
|
3682
|
+
"kind": "field",
|
|
3683
|
+
"name": "subscriptionHandler",
|
|
3684
|
+
"privacy": "private"
|
|
3685
|
+
},
|
|
3686
|
+
{
|
|
3687
|
+
"kind": "method",
|
|
3688
|
+
"name": "playForNewAlerts",
|
|
3689
|
+
"privacy": "private",
|
|
3690
|
+
"return": {
|
|
3691
|
+
"type": {
|
|
3692
|
+
"text": "Promise<void>"
|
|
3702
3693
|
}
|
|
3703
3694
|
},
|
|
3704
3695
|
"parameters": [
|
|
3705
3696
|
{
|
|
3706
|
-
"name": "
|
|
3707
|
-
"type": {
|
|
3708
|
-
"text": "ConditionNode[]"
|
|
3709
|
-
}
|
|
3710
|
-
},
|
|
3711
|
-
{
|
|
3712
|
-
"name": "fields",
|
|
3697
|
+
"name": "rows",
|
|
3713
3698
|
"type": {
|
|
3714
|
-
"text": "
|
|
3699
|
+
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
3715
3700
|
}
|
|
3716
|
-
}
|
|
3717
|
-
]
|
|
3718
|
-
},
|
|
3719
|
-
{
|
|
3720
|
-
"kind": "field",
|
|
3721
|
-
"name": "createEmptyGroup",
|
|
3722
|
-
"static": true
|
|
3701
|
+
}
|
|
3702
|
+
]
|
|
3723
3703
|
},
|
|
3724
3704
|
{
|
|
3725
3705
|
"kind": "method",
|
|
3726
|
-
"name": "
|
|
3727
|
-
"
|
|
3706
|
+
"name": "tryPlayServerSound",
|
|
3707
|
+
"privacy": "private",
|
|
3728
3708
|
"return": {
|
|
3729
3709
|
"type": {
|
|
3730
|
-
"text": "
|
|
3710
|
+
"text": "Promise<boolean>"
|
|
3731
3711
|
}
|
|
3732
3712
|
},
|
|
3733
3713
|
"parameters": [
|
|
3734
3714
|
{
|
|
3735
|
-
"name": "
|
|
3715
|
+
"name": "dynamicRuleId",
|
|
3736
3716
|
"type": {
|
|
3737
|
-
"text": "
|
|
3717
|
+
"text": "string"
|
|
3738
3718
|
}
|
|
3739
3719
|
}
|
|
3740
3720
|
]
|
|
3741
3721
|
},
|
|
3742
3722
|
{
|
|
3743
3723
|
"kind": "method",
|
|
3744
|
-
"name": "
|
|
3745
|
-
"
|
|
3724
|
+
"name": "fetchAndCacheServerSound",
|
|
3725
|
+
"privacy": "private",
|
|
3746
3726
|
"return": {
|
|
3747
3727
|
"type": {
|
|
3748
|
-
"text": "
|
|
3728
|
+
"text": "Promise<boolean>"
|
|
3749
3729
|
}
|
|
3750
3730
|
},
|
|
3751
3731
|
"parameters": [
|
|
3752
3732
|
{
|
|
3753
|
-
"name": "
|
|
3733
|
+
"name": "dynamicRuleId",
|
|
3754
3734
|
"type": {
|
|
3755
3735
|
"text": "string"
|
|
3756
3736
|
}
|
|
3757
3737
|
}
|
|
3758
3738
|
]
|
|
3759
3739
|
}
|
|
3760
|
-
]
|
|
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
|
+
}
|
|
3761
3768
|
},
|
|
3762
3769
|
{
|
|
3763
|
-
"kind": "
|
|
3764
|
-
"
|
|
3765
|
-
"
|
|
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"
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
"kind": "mixin",
|
|
3792
|
+
"description": "Mixin: pick / test / clear / load server sound + apply fields to submit payload.\n\nSubclasses must provide ruleService, isAlertSoundEditMode,\nalertSoundEntityId, and alertSoundCacheSyncMode.",
|
|
3793
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3766
3794
|
"members": [
|
|
3767
3795
|
{
|
|
3768
3796
|
"kind": "field",
|
|
3769
|
-
"name": "
|
|
3770
|
-
"
|
|
3797
|
+
"name": "ruleService",
|
|
3798
|
+
"type": {
|
|
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."
|
|
3771
3895
|
},
|
|
3772
3896
|
{
|
|
3773
3897
|
"kind": "method",
|
|
3774
|
-
"name": "
|
|
3775
|
-
"static": true,
|
|
3898
|
+
"name": "loadExistingAlertSound",
|
|
3776
3899
|
"parameters": [
|
|
3777
3900
|
{
|
|
3778
|
-
"name": "
|
|
3901
|
+
"name": "dynamicRuleId",
|
|
3902
|
+
"type": {
|
|
3903
|
+
"text": "string"
|
|
3904
|
+
}
|
|
3779
3905
|
}
|
|
3780
3906
|
]
|
|
3781
3907
|
},
|
|
3782
3908
|
{
|
|
3783
3909
|
"kind": "method",
|
|
3784
|
-
"name": "
|
|
3785
|
-
|
|
3786
|
-
|
|
3910
|
+
"name": "openAlertSoundPicker"
|
|
3911
|
+
},
|
|
3912
|
+
{
|
|
3913
|
+
"kind": "method",
|
|
3914
|
+
"name": "onAlertSoundSelected",
|
|
3787
3915
|
"parameters": [
|
|
3788
3916
|
{
|
|
3789
|
-
"name": "
|
|
3917
|
+
"name": "event",
|
|
3790
3918
|
"type": {
|
|
3791
|
-
"text": "
|
|
3919
|
+
"text": "Event"
|
|
3792
3920
|
}
|
|
3793
|
-
},
|
|
3794
|
-
{
|
|
3795
|
-
"name": "condition"
|
|
3796
|
-
},
|
|
3797
|
-
{
|
|
3798
|
-
"name": "parameters",
|
|
3799
|
-
"optional": true
|
|
3800
3921
|
}
|
|
3801
3922
|
]
|
|
3802
3923
|
},
|
|
3803
3924
|
{
|
|
3804
3925
|
"kind": "method",
|
|
3805
|
-
"name": "
|
|
3806
|
-
"static": true,
|
|
3807
|
-
"parameters": [
|
|
3808
|
-
{
|
|
3809
|
-
"name": "conditions"
|
|
3810
|
-
},
|
|
3811
|
-
{
|
|
3812
|
-
"name": "parameters",
|
|
3813
|
-
"optional": true
|
|
3814
|
-
}
|
|
3815
|
-
]
|
|
3926
|
+
"name": "clearAttachedAlertSound"
|
|
3816
3927
|
},
|
|
3817
3928
|
{
|
|
3818
3929
|
"kind": "method",
|
|
3819
|
-
"name": "
|
|
3820
|
-
|
|
3821
|
-
"parameters": [
|
|
3822
|
-
{
|
|
3823
|
-
"name": "parameters"
|
|
3824
|
-
}
|
|
3825
|
-
]
|
|
3826
|
-
}
|
|
3827
|
-
]
|
|
3828
|
-
},
|
|
3829
|
-
{
|
|
3830
|
-
"kind": "class",
|
|
3831
|
-
"description": "",
|
|
3832
|
-
"name": "RuleUtils",
|
|
3833
|
-
"members": [
|
|
3930
|
+
"name": "testAttachedAlertSound"
|
|
3931
|
+
},
|
|
3834
3932
|
{
|
|
3835
3933
|
"kind": "method",
|
|
3836
|
-
"name": "
|
|
3837
|
-
|
|
3838
|
-
|
|
3934
|
+
"name": "stopTestSound"
|
|
3935
|
+
},
|
|
3936
|
+
{
|
|
3937
|
+
"kind": "method",
|
|
3938
|
+
"name": "resetAlertSoundState"
|
|
3939
|
+
},
|
|
3940
|
+
{
|
|
3941
|
+
"kind": "method",
|
|
3942
|
+
"name": "applyAlertSoundToPayload",
|
|
3943
|
+
"return": {
|
|
3944
|
+
"type": {
|
|
3945
|
+
"text": "T"
|
|
3946
|
+
}
|
|
3947
|
+
},
|
|
3839
3948
|
"parameters": [
|
|
3840
3949
|
{
|
|
3841
|
-
"name": "
|
|
3950
|
+
"name": "target",
|
|
3842
3951
|
"type": {
|
|
3843
|
-
"text": "
|
|
3952
|
+
"text": "T"
|
|
3844
3953
|
}
|
|
3845
|
-
},
|
|
3846
|
-
{
|
|
3847
|
-
"name": "condition"
|
|
3848
3954
|
}
|
|
3849
|
-
]
|
|
3955
|
+
],
|
|
3956
|
+
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3850
3957
|
},
|
|
3851
3958
|
{
|
|
3852
3959
|
"kind": "method",
|
|
3853
|
-
"name": "
|
|
3854
|
-
"
|
|
3855
|
-
"parameters": [
|
|
3856
|
-
{
|
|
3857
|
-
"name": "conditions"
|
|
3858
|
-
}
|
|
3859
|
-
]
|
|
3960
|
+
"name": "syncAlertSoundCacheAfterSave",
|
|
3961
|
+
"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."
|
|
3860
3962
|
}
|
|
3861
|
-
]
|
|
3862
|
-
},
|
|
3863
|
-
{
|
|
3864
|
-
"kind": "function",
|
|
3865
|
-
"name": "showNotificationError",
|
|
3963
|
+
],
|
|
3866
3964
|
"parameters": [
|
|
3867
3965
|
{
|
|
3868
|
-
"name": "
|
|
3966
|
+
"name": "Base",
|
|
3967
|
+
"type": {
|
|
3968
|
+
"text": "TBase"
|
|
3969
|
+
}
|
|
3869
3970
|
}
|
|
3870
|
-
]
|
|
3971
|
+
],
|
|
3972
|
+
"privacy": "public"
|
|
3871
3973
|
}
|
|
3872
3974
|
],
|
|
3873
3975
|
"exports": [
|
|
3874
3976
|
{
|
|
3875
3977
|
"kind": "js",
|
|
3876
|
-
"name": "
|
|
3877
|
-
"declaration": {
|
|
3878
|
-
"name": "UUIDGenerator",
|
|
3879
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3880
|
-
}
|
|
3881
|
-
},
|
|
3882
|
-
{
|
|
3883
|
-
"kind": "js",
|
|
3884
|
-
"name": "isEmpty",
|
|
3978
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3885
3979
|
"declaration": {
|
|
3886
|
-
"name": "
|
|
3887
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
3980
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3981
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3888
3982
|
}
|
|
3889
3983
|
},
|
|
3890
3984
|
{
|
|
3891
3985
|
"kind": "js",
|
|
3892
|
-
"name": "
|
|
3986
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3893
3987
|
"declaration": {
|
|
3894
|
-
"name": "
|
|
3895
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
3988
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3989
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3896
3990
|
}
|
|
3897
|
-
}
|
|
3991
|
+
}
|
|
3992
|
+
]
|
|
3993
|
+
},
|
|
3994
|
+
{
|
|
3995
|
+
"kind": "javascript-module",
|
|
3996
|
+
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
3997
|
+
"declarations": [],
|
|
3998
|
+
"exports": [
|
|
3898
3999
|
{
|
|
3899
4000
|
"kind": "js",
|
|
3900
|
-
"name": "
|
|
4001
|
+
"name": "*",
|
|
3901
4002
|
"declaration": {
|
|
3902
|
-
"name": "
|
|
3903
|
-
"
|
|
4003
|
+
"name": "*",
|
|
4004
|
+
"package": "./notification-dashboard"
|
|
3904
4005
|
}
|
|
3905
|
-
}
|
|
4006
|
+
}
|
|
4007
|
+
]
|
|
4008
|
+
},
|
|
4009
|
+
{
|
|
4010
|
+
"kind": "javascript-module",
|
|
4011
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
4012
|
+
"declarations": [
|
|
3906
4013
|
{
|
|
3907
|
-
"kind": "
|
|
3908
|
-
"name": "
|
|
3909
|
-
"
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
4014
|
+
"kind": "variable",
|
|
4015
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
4016
|
+
"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`",
|
|
4017
|
+
"privacy": "public"
|
|
4018
|
+
}
|
|
4019
|
+
],
|
|
4020
|
+
"exports": [
|
|
3914
4021
|
{
|
|
3915
4022
|
"kind": "js",
|
|
3916
|
-
"name": "
|
|
4023
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3917
4024
|
"declaration": {
|
|
3918
|
-
"name": "
|
|
3919
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.
|
|
4025
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
4026
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"
|
|
3920
4027
|
}
|
|
3921
4028
|
}
|
|
3922
4029
|
]
|
|
3923
4030
|
},
|
|
3924
4031
|
{
|
|
3925
4032
|
"kind": "javascript-module",
|
|
3926
|
-
"path": "src/components/foundation-
|
|
4033
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts",
|
|
3927
4034
|
"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
|
+
},
|
|
3928
4070
|
{
|
|
3929
4071
|
"kind": "variable",
|
|
3930
|
-
"name": "
|
|
3931
|
-
"
|
|
4072
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
4073
|
+
"type": {
|
|
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]"
|
|
3932
4077
|
}
|
|
3933
4078
|
],
|
|
3934
4079
|
"exports": [
|
|
3935
4080
|
{
|
|
3936
4081
|
"kind": "js",
|
|
3937
|
-
"name": "
|
|
4082
|
+
"name": "NotificationDashboardTab",
|
|
3938
4083
|
"declaration": {
|
|
3939
|
-
"name": "
|
|
3940
|
-
"module": "src/components/foundation-
|
|
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",
|
|
4091
|
+
"declaration": {
|
|
4092
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
4093
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3941
4094
|
}
|
|
3942
4095
|
}
|
|
3943
4096
|
]
|
|
3944
4097
|
},
|
|
3945
4098
|
{
|
|
3946
4099
|
"kind": "javascript-module",
|
|
3947
|
-
"path": "src/components/foundation-
|
|
4100
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
3948
4101
|
"declarations": [
|
|
3949
4102
|
{
|
|
3950
4103
|
"kind": "variable",
|
|
3951
|
-
"name": "
|
|
3952
|
-
"default": "html<
|
|
4104
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
4105
|
+
"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`"
|
|
3953
4106
|
}
|
|
3954
4107
|
],
|
|
3955
4108
|
"exports": [
|
|
3956
4109
|
{
|
|
3957
4110
|
"kind": "js",
|
|
3958
|
-
"name": "
|
|
4111
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3959
4112
|
"declaration": {
|
|
3960
|
-
"name": "
|
|
3961
|
-
"module": "src/components/foundation-
|
|
4113
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
4114
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
3962
4115
|
}
|
|
3963
4116
|
}
|
|
3964
4117
|
]
|
|
3965
4118
|
},
|
|
3966
4119
|
{
|
|
3967
4120
|
"kind": "javascript-module",
|
|
3968
|
-
"path": "src/components/foundation-
|
|
4121
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
3969
4122
|
"declarations": [
|
|
3970
4123
|
{
|
|
3971
4124
|
"kind": "class",
|
|
3972
|
-
"description": "
|
|
3973
|
-
"name": "
|
|
4125
|
+
"description": "",
|
|
4126
|
+
"name": "FoundationNotificationDashboard",
|
|
3974
4127
|
"members": [
|
|
3975
4128
|
{
|
|
3976
4129
|
"kind": "field",
|
|
3977
|
-
"name": "
|
|
4130
|
+
"name": "auth",
|
|
3978
4131
|
"type": {
|
|
3979
|
-
"text": "
|
|
4132
|
+
"text": "Auth"
|
|
3980
4133
|
}
|
|
3981
4134
|
},
|
|
3982
4135
|
{
|
|
3983
4136
|
"kind": "field",
|
|
3984
|
-
"name": "
|
|
4137
|
+
"name": "ready",
|
|
3985
4138
|
"type": {
|
|
3986
|
-
"text": "
|
|
4139
|
+
"text": "boolean"
|
|
3987
4140
|
},
|
|
3988
|
-
"default": "
|
|
3989
|
-
"description": "Global playback volume 0–100. @internal"
|
|
4141
|
+
"default": "false"
|
|
3990
4142
|
},
|
|
3991
4143
|
{
|
|
3992
4144
|
"kind": "field",
|
|
3993
|
-
"name": "
|
|
4145
|
+
"name": "hasPermissions",
|
|
3994
4146
|
"type": {
|
|
3995
|
-
"text": "
|
|
4147
|
+
"text": "boolean"
|
|
3996
4148
|
},
|
|
3997
|
-
"default": "
|
|
3998
|
-
|
|
3999
|
-
|
|
4149
|
+
"default": "true"
|
|
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": [
|
|
4000
4188
|
{
|
|
4001
4189
|
"kind": "field",
|
|
4002
|
-
"name": "
|
|
4190
|
+
"name": "uuid",
|
|
4003
4191
|
"type": {
|
|
4004
|
-
"text": "
|
|
4005
|
-
}
|
|
4192
|
+
"text": "UUID"
|
|
4193
|
+
},
|
|
4194
|
+
"privacy": "private",
|
|
4195
|
+
"static": true
|
|
4006
4196
|
},
|
|
4007
4197
|
{
|
|
4008
4198
|
"kind": "field",
|
|
4009
|
-
"name": "
|
|
4010
|
-
"
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4199
|
+
"name": "createUUID",
|
|
4200
|
+
"static": true
|
|
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": [
|
|
4218
|
+
{
|
|
4219
|
+
"kind": "field",
|
|
4220
|
+
"name": "createEmptyCondition",
|
|
4221
|
+
"static": true
|
|
4015
4222
|
},
|
|
4016
4223
|
{
|
|
4017
4224
|
"kind": "field",
|
|
4018
|
-
"name": "
|
|
4019
|
-
"
|
|
4020
|
-
"readonly": true
|
|
4225
|
+
"name": "createAssignment",
|
|
4226
|
+
"static": true
|
|
4021
4227
|
},
|
|
4022
4228
|
{
|
|
4023
4229
|
"kind": "field",
|
|
4024
|
-
"name": "
|
|
4025
|
-
"
|
|
4026
|
-
"text": "(() => void) | undefined"
|
|
4027
|
-
},
|
|
4028
|
-
"privacy": "private"
|
|
4230
|
+
"name": "createPlaceholderAssignment",
|
|
4231
|
+
"static": true
|
|
4029
4232
|
},
|
|
4030
4233
|
{
|
|
4031
4234
|
"kind": "field",
|
|
4032
|
-
"name": "
|
|
4033
|
-
"
|
|
4034
|
-
"text": "boolean"
|
|
4035
|
-
},
|
|
4036
|
-
"privacy": "private",
|
|
4037
|
-
"default": "false",
|
|
4038
|
-
"description": "Suppresses select change events while options are rebuilt."
|
|
4235
|
+
"name": "createTextAssignment",
|
|
4236
|
+
"static": true
|
|
4039
4237
|
},
|
|
4040
4238
|
{
|
|
4041
|
-
"kind": "
|
|
4042
|
-
"name": "
|
|
4043
|
-
"
|
|
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
|
-
]
|
|
4239
|
+
"kind": "field",
|
|
4240
|
+
"name": "getAssignmentValue",
|
|
4241
|
+
"static": true
|
|
4062
4242
|
},
|
|
4063
4243
|
{
|
|
4064
|
-
"kind": "
|
|
4065
|
-
"name": "
|
|
4066
|
-
"
|
|
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
|
-
]
|
|
4244
|
+
"kind": "field",
|
|
4245
|
+
"name": "getAssignmentText",
|
|
4246
|
+
"static": true
|
|
4085
4247
|
},
|
|
4086
4248
|
{
|
|
4087
4249
|
"kind": "method",
|
|
4088
|
-
"name": "
|
|
4250
|
+
"name": "createConditions",
|
|
4251
|
+
"static": true,
|
|
4089
4252
|
"return": {
|
|
4090
4253
|
"type": {
|
|
4091
|
-
"text": "
|
|
4254
|
+
"text": "any"
|
|
4092
4255
|
}
|
|
4093
4256
|
},
|
|
4094
4257
|
"parameters": [
|
|
4095
4258
|
{
|
|
4096
|
-
"name": "
|
|
4259
|
+
"name": "conditions",
|
|
4097
4260
|
"type": {
|
|
4098
|
-
"text": "
|
|
4261
|
+
"text": "ConditionNode[]"
|
|
4099
4262
|
}
|
|
4100
4263
|
},
|
|
4101
4264
|
{
|
|
4102
|
-
"name": "
|
|
4103
|
-
"
|
|
4104
|
-
"text": "Event"
|
|
4105
|
-
}
|
|
4265
|
+
"name": "parameters",
|
|
4266
|
+
"optional": true
|
|
4106
4267
|
}
|
|
4107
4268
|
]
|
|
4108
4269
|
},
|
|
4109
4270
|
{
|
|
4110
4271
|
"kind": "method",
|
|
4111
|
-
"name": "
|
|
4272
|
+
"name": "hasMultiValueCondition",
|
|
4273
|
+
"static": true,
|
|
4112
4274
|
"return": {
|
|
4113
4275
|
"type": {
|
|
4114
4276
|
"text": "boolean"
|
|
@@ -4116,16 +4278,17 @@
|
|
|
4116
4278
|
},
|
|
4117
4279
|
"parameters": [
|
|
4118
4280
|
{
|
|
4119
|
-
"name": "
|
|
4281
|
+
"name": "conditions",
|
|
4120
4282
|
"type": {
|
|
4121
|
-
"text": "
|
|
4283
|
+
"text": "ConditionNode[]"
|
|
4122
4284
|
}
|
|
4123
4285
|
}
|
|
4124
4286
|
]
|
|
4125
4287
|
},
|
|
4126
4288
|
{
|
|
4127
4289
|
"kind": "method",
|
|
4128
|
-
"name": "
|
|
4290
|
+
"name": "hasOrJoin",
|
|
4291
|
+
"static": true,
|
|
4129
4292
|
"return": {
|
|
4130
4293
|
"type": {
|
|
4131
4294
|
"text": "boolean"
|
|
@@ -4133,22 +4296,17 @@
|
|
|
4133
4296
|
},
|
|
4134
4297
|
"parameters": [
|
|
4135
4298
|
{
|
|
4136
|
-
"name": "
|
|
4137
|
-
"type": {
|
|
4138
|
-
"text": "AlertSoundRuleView"
|
|
4139
|
-
}
|
|
4140
|
-
},
|
|
4141
|
-
{
|
|
4142
|
-
"name": "event",
|
|
4299
|
+
"name": "conditions",
|
|
4143
4300
|
"type": {
|
|
4144
|
-
"text": "
|
|
4301
|
+
"text": "ConditionNode[]"
|
|
4145
4302
|
}
|
|
4146
4303
|
}
|
|
4147
4304
|
]
|
|
4148
4305
|
},
|
|
4149
4306
|
{
|
|
4150
4307
|
"kind": "method",
|
|
4151
|
-
"name": "
|
|
4308
|
+
"name": "hasGroup",
|
|
4309
|
+
"static": true,
|
|
4152
4310
|
"return": {
|
|
4153
4311
|
"type": {
|
|
4154
4312
|
"text": "boolean"
|
|
@@ -4156,16 +4314,17 @@
|
|
|
4156
4314
|
},
|
|
4157
4315
|
"parameters": [
|
|
4158
4316
|
{
|
|
4159
|
-
"name": "
|
|
4317
|
+
"name": "conditions",
|
|
4160
4318
|
"type": {
|
|
4161
|
-
"text": "
|
|
4319
|
+
"text": "ConditionNode[]"
|
|
4162
4320
|
}
|
|
4163
4321
|
}
|
|
4164
4322
|
]
|
|
4165
4323
|
},
|
|
4166
4324
|
{
|
|
4167
4325
|
"kind": "method",
|
|
4168
|
-
"name": "
|
|
4326
|
+
"name": "hasUnsupportedOperator",
|
|
4327
|
+
"static": true,
|
|
4169
4328
|
"return": {
|
|
4170
4329
|
"type": {
|
|
4171
4330
|
"text": "boolean"
|
|
@@ -4173,16 +4332,17 @@
|
|
|
4173
4332
|
},
|
|
4174
4333
|
"parameters": [
|
|
4175
4334
|
{
|
|
4176
|
-
"name": "
|
|
4335
|
+
"name": "conditions",
|
|
4177
4336
|
"type": {
|
|
4178
|
-
"text": "
|
|
4337
|
+
"text": "ConditionNode[]"
|
|
4179
4338
|
}
|
|
4180
4339
|
}
|
|
4181
4340
|
]
|
|
4182
4341
|
},
|
|
4183
4342
|
{
|
|
4184
4343
|
"kind": "method",
|
|
4185
|
-
"name": "
|
|
4344
|
+
"name": "hasCurrentUser",
|
|
4345
|
+
"static": true,
|
|
4186
4346
|
"return": {
|
|
4187
4347
|
"type": {
|
|
4188
4348
|
"text": "boolean"
|
|
@@ -4190,416 +4350,256 @@
|
|
|
4190
4350
|
},
|
|
4191
4351
|
"parameters": [
|
|
4192
4352
|
{
|
|
4193
|
-
"name": "
|
|
4353
|
+
"name": "conditions",
|
|
4194
4354
|
"type": {
|
|
4195
|
-
"text": "
|
|
4355
|
+
"text": "ConditionNode[]"
|
|
4196
4356
|
}
|
|
4197
4357
|
}
|
|
4198
4358
|
]
|
|
4199
4359
|
},
|
|
4200
4360
|
{
|
|
4201
4361
|
"kind": "method",
|
|
4202
|
-
"name": "
|
|
4362
|
+
"name": "flattenConditions",
|
|
4363
|
+
"static": true,
|
|
4203
4364
|
"return": {
|
|
4204
4365
|
"type": {
|
|
4205
|
-
"text": "
|
|
4366
|
+
"text": "ConditionBuilderEntity[]"
|
|
4206
4367
|
}
|
|
4207
4368
|
},
|
|
4208
4369
|
"parameters": [
|
|
4209
4370
|
{
|
|
4210
|
-
"name": "
|
|
4371
|
+
"name": "conditions",
|
|
4211
4372
|
"type": {
|
|
4212
|
-
"text": "
|
|
4373
|
+
"text": "ConditionNode[]"
|
|
4213
4374
|
}
|
|
4214
4375
|
}
|
|
4215
4376
|
]
|
|
4216
4377
|
},
|
|
4217
4378
|
{
|
|
4218
4379
|
"kind": "method",
|
|
4219
|
-
"name": "
|
|
4380
|
+
"name": "resolveLeftValues",
|
|
4381
|
+
"static": true,
|
|
4220
4382
|
"return": {
|
|
4221
4383
|
"type": {
|
|
4222
|
-
"text": "
|
|
4384
|
+
"text": "ConditionNode[]"
|
|
4223
4385
|
}
|
|
4224
4386
|
},
|
|
4225
4387
|
"parameters": [
|
|
4226
4388
|
{
|
|
4227
|
-
"name": "
|
|
4389
|
+
"name": "conditions",
|
|
4228
4390
|
"type": {
|
|
4229
|
-
"text": "
|
|
4391
|
+
"text": "ConditionNode[]"
|
|
4230
4392
|
}
|
|
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": [
|
|
4393
|
+
},
|
|
4261
4394
|
{
|
|
4262
|
-
"name": "
|
|
4395
|
+
"name": "fields",
|
|
4263
4396
|
"type": {
|
|
4264
|
-
"text": "
|
|
4397
|
+
"text": "any[]"
|
|
4265
4398
|
}
|
|
4266
4399
|
}
|
|
4267
4400
|
]
|
|
4268
4401
|
},
|
|
4269
4402
|
{
|
|
4270
|
-
"kind": "
|
|
4271
|
-
"name": "
|
|
4272
|
-
"
|
|
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...\"."
|
|
4310
|
-
},
|
|
4311
|
-
{
|
|
4312
|
-
"kind": "method",
|
|
4313
|
-
"name": "syncSoundSelect",
|
|
4314
|
-
"privacy": "private",
|
|
4315
|
-
"return": {
|
|
4316
|
-
"type": {
|
|
4317
|
-
"text": "void"
|
|
4318
|
-
}
|
|
4319
|
-
},
|
|
4320
|
-
"parameters": [
|
|
4321
|
-
{
|
|
4322
|
-
"name": "select",
|
|
4323
|
-
"type": {
|
|
4324
|
-
"text": "HTMLSelectElement"
|
|
4325
|
-
}
|
|
4326
|
-
}
|
|
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."
|
|
4329
|
-
},
|
|
4330
|
-
{
|
|
4331
|
-
"kind": "method",
|
|
4332
|
-
"name": "applySoundSelectValues",
|
|
4333
|
-
"privacy": "private",
|
|
4334
|
-
"return": {
|
|
4335
|
-
"type": {
|
|
4336
|
-
"text": "void"
|
|
4337
|
-
}
|
|
4338
|
-
},
|
|
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."
|
|
4403
|
+
"kind": "field",
|
|
4404
|
+
"name": "createEmptyGroup",
|
|
4405
|
+
"static": true
|
|
4340
4406
|
},
|
|
4341
4407
|
{
|
|
4342
4408
|
"kind": "method",
|
|
4343
|
-
"name": "
|
|
4344
|
-
"
|
|
4409
|
+
"name": "buildRawExpression",
|
|
4410
|
+
"static": true,
|
|
4345
4411
|
"return": {
|
|
4346
4412
|
"type": {
|
|
4347
|
-
"text": "
|
|
4413
|
+
"text": "string"
|
|
4348
4414
|
}
|
|
4349
4415
|
},
|
|
4350
4416
|
"parameters": [
|
|
4351
4417
|
{
|
|
4352
|
-
"name": "
|
|
4418
|
+
"name": "conditions",
|
|
4353
4419
|
"type": {
|
|
4354
|
-
"text": "
|
|
4420
|
+
"text": "ConditionNode[]"
|
|
4355
4421
|
}
|
|
4356
4422
|
}
|
|
4357
4423
|
]
|
|
4358
4424
|
},
|
|
4359
4425
|
{
|
|
4360
4426
|
"kind": "method",
|
|
4361
|
-
"name": "
|
|
4362
|
-
"
|
|
4427
|
+
"name": "parseRawExpression",
|
|
4428
|
+
"static": true,
|
|
4363
4429
|
"return": {
|
|
4364
4430
|
"type": {
|
|
4365
|
-
"text": "
|
|
4431
|
+
"text": "ConditionNode[] | null"
|
|
4366
4432
|
}
|
|
4367
4433
|
},
|
|
4368
4434
|
"parameters": [
|
|
4369
4435
|
{
|
|
4370
|
-
"name": "
|
|
4436
|
+
"name": "rawExpression",
|
|
4371
4437
|
"type": {
|
|
4372
|
-
"text": "
|
|
4438
|
+
"text": "string"
|
|
4373
4439
|
}
|
|
4374
4440
|
}
|
|
4375
4441
|
]
|
|
4376
|
-
},
|
|
4377
|
-
{
|
|
4378
|
-
"kind": "method",
|
|
4379
|
-
"name": "syncSoundState",
|
|
4380
|
-
"privacy": "private"
|
|
4381
4442
|
}
|
|
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
|
-
}
|
|
4443
|
+
]
|
|
4399
4444
|
},
|
|
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": [
|
|
4436
4445
|
{
|
|
4437
4446
|
"kind": "class",
|
|
4438
|
-
"description": "
|
|
4439
|
-
"name": "
|
|
4447
|
+
"description": "",
|
|
4448
|
+
"name": "TemplateUtils",
|
|
4440
4449
|
"members": [
|
|
4441
4450
|
{
|
|
4442
4451
|
"kind": "field",
|
|
4443
|
-
"name": "
|
|
4444
|
-
"
|
|
4445
|
-
"text": "Connect"
|
|
4446
|
-
}
|
|
4447
|
-
},
|
|
4448
|
-
{
|
|
4449
|
-
"kind": "field",
|
|
4450
|
-
"name": "inboxService",
|
|
4451
|
-
"type": {
|
|
4452
|
-
"text": "FoundationInboxService"
|
|
4453
|
-
}
|
|
4454
|
-
},
|
|
4455
|
-
{
|
|
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",
|
|
4482
|
-
"privacy": "private",
|
|
4483
|
-
"readonly": true
|
|
4484
|
-
},
|
|
4485
|
-
{
|
|
4486
|
-
"kind": "field",
|
|
4487
|
-
"name": "knownAlertIds",
|
|
4488
|
-
"privacy": "private",
|
|
4489
|
-
"default": "new Set<string>()"
|
|
4452
|
+
"name": "createEmptyParameter",
|
|
4453
|
+
"static": true
|
|
4490
4454
|
},
|
|
4491
4455
|
{
|
|
4492
|
-
"kind": "
|
|
4493
|
-
"name": "
|
|
4494
|
-
"
|
|
4495
|
-
"
|
|
4496
|
-
|
|
4497
|
-
|
|
4456
|
+
"kind": "method",
|
|
4457
|
+
"name": "getParameters",
|
|
4458
|
+
"static": true,
|
|
4459
|
+
"parameters": [
|
|
4460
|
+
{
|
|
4461
|
+
"name": "parameters"
|
|
4462
|
+
}
|
|
4463
|
+
]
|
|
4498
4464
|
},
|
|
4499
4465
|
{
|
|
4500
4466
|
"kind": "method",
|
|
4501
|
-
"name": "
|
|
4467
|
+
"name": "buildRightValue",
|
|
4502
4468
|
"privacy": "private",
|
|
4503
|
-
"
|
|
4504
|
-
|
|
4505
|
-
|
|
4469
|
+
"static": true,
|
|
4470
|
+
"parameters": [
|
|
4471
|
+
{
|
|
4472
|
+
"name": "logicalOperator",
|
|
4473
|
+
"type": {
|
|
4474
|
+
"text": "LogicalOperator"
|
|
4475
|
+
}
|
|
4476
|
+
},
|
|
4477
|
+
{
|
|
4478
|
+
"name": "condition"
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
"name": "parameters",
|
|
4482
|
+
"optional": true
|
|
4506
4483
|
}
|
|
4507
|
-
|
|
4484
|
+
]
|
|
4508
4485
|
},
|
|
4509
4486
|
{
|
|
4510
|
-
"kind": "
|
|
4511
|
-
"name": "
|
|
4512
|
-
"
|
|
4487
|
+
"kind": "method",
|
|
4488
|
+
"name": "getConditions",
|
|
4489
|
+
"static": true,
|
|
4490
|
+
"parameters": [
|
|
4491
|
+
{
|
|
4492
|
+
"name": "conditions"
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
"name": "parameters",
|
|
4496
|
+
"optional": true
|
|
4497
|
+
}
|
|
4498
|
+
]
|
|
4513
4499
|
},
|
|
4514
4500
|
{
|
|
4515
4501
|
"kind": "method",
|
|
4516
|
-
"name": "
|
|
4517
|
-
"
|
|
4518
|
-
"return": {
|
|
4519
|
-
"type": {
|
|
4520
|
-
"text": "Promise<void>"
|
|
4521
|
-
}
|
|
4522
|
-
},
|
|
4502
|
+
"name": "createParameterDetails",
|
|
4503
|
+
"static": true,
|
|
4523
4504
|
"parameters": [
|
|
4524
4505
|
{
|
|
4525
|
-
"name": "
|
|
4526
|
-
"type": {
|
|
4527
|
-
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
4528
|
-
}
|
|
4506
|
+
"name": "parameters"
|
|
4529
4507
|
}
|
|
4530
4508
|
]
|
|
4531
|
-
}
|
|
4509
|
+
}
|
|
4510
|
+
]
|
|
4511
|
+
},
|
|
4512
|
+
{
|
|
4513
|
+
"kind": "class",
|
|
4514
|
+
"description": "",
|
|
4515
|
+
"name": "RuleUtils",
|
|
4516
|
+
"members": [
|
|
4532
4517
|
{
|
|
4533
4518
|
"kind": "method",
|
|
4534
|
-
"name": "
|
|
4519
|
+
"name": "buildRightValue",
|
|
4535
4520
|
"privacy": "private",
|
|
4536
|
-
"
|
|
4537
|
-
"type": {
|
|
4538
|
-
"text": "Promise<boolean>"
|
|
4539
|
-
}
|
|
4540
|
-
},
|
|
4521
|
+
"static": true,
|
|
4541
4522
|
"parameters": [
|
|
4542
4523
|
{
|
|
4543
|
-
"name": "
|
|
4524
|
+
"name": "logicalOperator",
|
|
4544
4525
|
"type": {
|
|
4545
|
-
"text": "
|
|
4526
|
+
"text": "LogicalOperator"
|
|
4546
4527
|
}
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"name": "condition"
|
|
4547
4531
|
}
|
|
4548
4532
|
]
|
|
4549
4533
|
},
|
|
4550
4534
|
{
|
|
4551
4535
|
"kind": "method",
|
|
4552
|
-
"name": "
|
|
4553
|
-
"
|
|
4554
|
-
"return": {
|
|
4555
|
-
"type": {
|
|
4556
|
-
"text": "Promise<boolean>"
|
|
4557
|
-
}
|
|
4558
|
-
},
|
|
4536
|
+
"name": "getConditions",
|
|
4537
|
+
"static": true,
|
|
4559
4538
|
"parameters": [
|
|
4560
4539
|
{
|
|
4561
|
-
"name": "
|
|
4562
|
-
"type": {
|
|
4563
|
-
"text": "string"
|
|
4564
|
-
}
|
|
4540
|
+
"name": "conditions"
|
|
4565
4541
|
}
|
|
4566
4542
|
]
|
|
4567
4543
|
}
|
|
4568
|
-
]
|
|
4569
|
-
|
|
4544
|
+
]
|
|
4545
|
+
},
|
|
4546
|
+
{
|
|
4547
|
+
"kind": "function",
|
|
4548
|
+
"name": "showNotificationError",
|
|
4549
|
+
"parameters": [
|
|
4570
4550
|
{
|
|
4571
|
-
"name": "
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
},
|
|
4575
|
-
"default": "true",
|
|
4576
|
-
"description": "When false, new audible alerts are tracked but do not play.",
|
|
4577
|
-
"fieldName": "soundEnabled"
|
|
4578
|
-
}
|
|
4579
|
-
],
|
|
4580
|
-
"superclass": {
|
|
4581
|
-
"name": "GenesisElement",
|
|
4582
|
-
"package": "@genesislcap/web-core"
|
|
4583
|
-
},
|
|
4584
|
-
"tagName": "foundation-sounds",
|
|
4585
|
-
"customElement": true
|
|
4551
|
+
"name": "error"
|
|
4552
|
+
}
|
|
4553
|
+
]
|
|
4586
4554
|
}
|
|
4587
4555
|
],
|
|
4588
4556
|
"exports": [
|
|
4589
4557
|
{
|
|
4590
4558
|
"kind": "js",
|
|
4591
|
-
"name": "
|
|
4559
|
+
"name": "UUIDGenerator",
|
|
4592
4560
|
"declaration": {
|
|
4593
|
-
"name": "
|
|
4594
|
-
"module": "src/components/foundation-
|
|
4561
|
+
"name": "UUIDGenerator",
|
|
4562
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4595
4563
|
}
|
|
4596
4564
|
},
|
|
4597
4565
|
{
|
|
4598
|
-
"kind": "
|
|
4599
|
-
"name": "
|
|
4566
|
+
"kind": "js",
|
|
4567
|
+
"name": "isEmpty",
|
|
4600
4568
|
"declaration": {
|
|
4601
|
-
"name": "
|
|
4602
|
-
"module": "src/components/foundation-
|
|
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",
|
|
4592
|
+
"declaration": {
|
|
4593
|
+
"name": "RuleUtils",
|
|
4594
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4595
|
+
}
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"kind": "js",
|
|
4599
|
+
"name": "showNotificationError",
|
|
4600
|
+
"declaration": {
|
|
4601
|
+
"name": "showNotificationError",
|
|
4602
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4603
4603
|
}
|
|
4604
4604
|
}
|
|
4605
4605
|
]
|
|
@@ -10684,54 +10684,268 @@
|
|
|
10684
10684
|
},
|
|
10685
10685
|
{
|
|
10686
10686
|
"kind": "method",
|
|
10687
|
-
"name": "deleteChild",
|
|
10687
|
+
"name": "deleteChild",
|
|
10688
|
+
"parameters": [
|
|
10689
|
+
{
|
|
10690
|
+
"name": "deletedChild",
|
|
10691
|
+
"type": {
|
|
10692
|
+
"text": "ConditionNode"
|
|
10693
|
+
}
|
|
10694
|
+
}
|
|
10695
|
+
]
|
|
10696
|
+
},
|
|
10697
|
+
{
|
|
10698
|
+
"kind": "method",
|
|
10699
|
+
"name": "deleteSelf"
|
|
10700
|
+
}
|
|
10701
|
+
],
|
|
10702
|
+
"events": [
|
|
10703
|
+
{
|
|
10704
|
+
"description": "Fired when this whole group should be removed",
|
|
10705
|
+
"name": "delete"
|
|
10706
|
+
},
|
|
10707
|
+
{
|
|
10708
|
+
"description": "Fired when anything inside this group changes",
|
|
10709
|
+
"name": "edit"
|
|
10710
|
+
}
|
|
10711
|
+
],
|
|
10712
|
+
"superclass": {
|
|
10713
|
+
"name": "GenesisElement",
|
|
10714
|
+
"package": "@genesislcap/web-core"
|
|
10715
|
+
},
|
|
10716
|
+
"tagName": "rule-condition-group",
|
|
10717
|
+
"customElement": true
|
|
10718
|
+
}
|
|
10719
|
+
],
|
|
10720
|
+
"exports": [
|
|
10721
|
+
{
|
|
10722
|
+
"kind": "js",
|
|
10723
|
+
"name": "RuleConditionGroup",
|
|
10724
|
+
"declaration": {
|
|
10725
|
+
"name": "RuleConditionGroup",
|
|
10726
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10727
|
+
}
|
|
10728
|
+
},
|
|
10729
|
+
{
|
|
10730
|
+
"kind": "custom-element-definition",
|
|
10731
|
+
"name": "rule-condition-group",
|
|
10732
|
+
"declaration": {
|
|
10733
|
+
"name": "RuleConditionGroup",
|
|
10734
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
10735
|
+
}
|
|
10736
|
+
}
|
|
10737
|
+
]
|
|
10738
|
+
},
|
|
10739
|
+
{
|
|
10740
|
+
"kind": "javascript-module",
|
|
10741
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10742
|
+
"declarations": [
|
|
10743
|
+
{
|
|
10744
|
+
"kind": "variable",
|
|
10745
|
+
"name": "ParameterBuilderStyles",
|
|
10746
|
+
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
10747
|
+
}
|
|
10748
|
+
],
|
|
10749
|
+
"exports": [
|
|
10750
|
+
{
|
|
10751
|
+
"kind": "js",
|
|
10752
|
+
"name": "ParameterBuilderStyles",
|
|
10753
|
+
"declaration": {
|
|
10754
|
+
"name": "ParameterBuilderStyles",
|
|
10755
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10756
|
+
}
|
|
10757
|
+
}
|
|
10758
|
+
]
|
|
10759
|
+
},
|
|
10760
|
+
{
|
|
10761
|
+
"kind": "javascript-module",
|
|
10762
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10763
|
+
"declarations": [
|
|
10764
|
+
{
|
|
10765
|
+
"kind": "variable",
|
|
10766
|
+
"name": "ParameterBuilderTemplate",
|
|
10767
|
+
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10768
|
+
}
|
|
10769
|
+
],
|
|
10770
|
+
"exports": [
|
|
10771
|
+
{
|
|
10772
|
+
"kind": "js",
|
|
10773
|
+
"name": "ParameterBuilderTemplate",
|
|
10774
|
+
"declaration": {
|
|
10775
|
+
"name": "ParameterBuilderTemplate",
|
|
10776
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10777
|
+
}
|
|
10778
|
+
}
|
|
10779
|
+
]
|
|
10780
|
+
},
|
|
10781
|
+
{
|
|
10782
|
+
"kind": "javascript-module",
|
|
10783
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10784
|
+
"declarations": [
|
|
10785
|
+
{
|
|
10786
|
+
"kind": "class",
|
|
10787
|
+
"description": "Parameter builder for notification templates.",
|
|
10788
|
+
"name": "ParameterBuilder",
|
|
10789
|
+
"members": [
|
|
10790
|
+
{
|
|
10791
|
+
"kind": "field",
|
|
10792
|
+
"name": "parameter",
|
|
10793
|
+
"type": {
|
|
10794
|
+
"text": "ParameterBuilderEntity"
|
|
10795
|
+
}
|
|
10796
|
+
},
|
|
10797
|
+
{
|
|
10798
|
+
"kind": "field",
|
|
10799
|
+
"name": "name",
|
|
10800
|
+
"type": {
|
|
10801
|
+
"text": "string"
|
|
10802
|
+
}
|
|
10803
|
+
},
|
|
10804
|
+
{
|
|
10805
|
+
"kind": "field",
|
|
10806
|
+
"name": "label",
|
|
10807
|
+
"type": {
|
|
10808
|
+
"text": "string"
|
|
10809
|
+
}
|
|
10810
|
+
},
|
|
10811
|
+
{
|
|
10812
|
+
"kind": "field",
|
|
10813
|
+
"name": "type",
|
|
10814
|
+
"type": {
|
|
10815
|
+
"text": "string"
|
|
10816
|
+
}
|
|
10817
|
+
},
|
|
10818
|
+
{
|
|
10819
|
+
"kind": "field",
|
|
10820
|
+
"name": "sourceType",
|
|
10821
|
+
"type": {
|
|
10822
|
+
"text": "string"
|
|
10823
|
+
}
|
|
10824
|
+
},
|
|
10825
|
+
{
|
|
10826
|
+
"kind": "field",
|
|
10827
|
+
"name": "sourceSelected",
|
|
10828
|
+
"type": {
|
|
10829
|
+
"text": "string"
|
|
10830
|
+
}
|
|
10831
|
+
},
|
|
10832
|
+
{
|
|
10833
|
+
"kind": "field",
|
|
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",
|
|
10688
10897
|
"parameters": [
|
|
10689
10898
|
{
|
|
10690
|
-
"name": "
|
|
10691
|
-
|
|
10692
|
-
|
|
10693
|
-
|
|
10899
|
+
"name": "parameterAttribute"
|
|
10900
|
+
},
|
|
10901
|
+
{
|
|
10902
|
+
"name": "value"
|
|
10694
10903
|
}
|
|
10695
10904
|
]
|
|
10696
|
-
},
|
|
10697
|
-
{
|
|
10698
|
-
"kind": "method",
|
|
10699
|
-
"name": "deleteSelf"
|
|
10700
10905
|
}
|
|
10701
10906
|
],
|
|
10702
10907
|
"events": [
|
|
10703
10908
|
{
|
|
10704
|
-
"description": "Fired when
|
|
10909
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10705
10910
|
"name": "delete"
|
|
10706
10911
|
},
|
|
10707
10912
|
{
|
|
10708
|
-
"description": "Fired when
|
|
10913
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10709
10914
|
"name": "edit"
|
|
10710
10915
|
}
|
|
10711
10916
|
],
|
|
10917
|
+
"attributes": [
|
|
10918
|
+
{
|
|
10919
|
+
"name": "parameter",
|
|
10920
|
+
"type": {
|
|
10921
|
+
"text": "ParameterBuilderEntity"
|
|
10922
|
+
},
|
|
10923
|
+
"fieldName": "parameter"
|
|
10924
|
+
}
|
|
10925
|
+
],
|
|
10712
10926
|
"superclass": {
|
|
10713
10927
|
"name": "GenesisElement",
|
|
10714
10928
|
"package": "@genesislcap/web-core"
|
|
10715
10929
|
},
|
|
10716
|
-
"tagName": "
|
|
10930
|
+
"tagName": "parameter-builder",
|
|
10717
10931
|
"customElement": true
|
|
10718
10932
|
}
|
|
10719
10933
|
],
|
|
10720
10934
|
"exports": [
|
|
10721
10935
|
{
|
|
10722
10936
|
"kind": "js",
|
|
10723
|
-
"name": "
|
|
10937
|
+
"name": "ParameterBuilder",
|
|
10724
10938
|
"declaration": {
|
|
10725
|
-
"name": "
|
|
10726
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10939
|
+
"name": "ParameterBuilder",
|
|
10940
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10727
10941
|
}
|
|
10728
10942
|
},
|
|
10729
10943
|
{
|
|
10730
10944
|
"kind": "custom-element-definition",
|
|
10731
|
-
"name": "
|
|
10945
|
+
"name": "parameter-builder",
|
|
10732
10946
|
"declaration": {
|
|
10733
|
-
"name": "
|
|
10734
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10947
|
+
"name": "ParameterBuilder",
|
|
10948
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10735
10949
|
}
|
|
10736
10950
|
}
|
|
10737
10951
|
]
|
|
@@ -11020,220 +11234,6 @@
|
|
|
11020
11234
|
}
|
|
11021
11235
|
]
|
|
11022
11236
|
},
|
|
11023
|
-
{
|
|
11024
|
-
"kind": "javascript-module",
|
|
11025
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
11026
|
-
"declarations": [
|
|
11027
|
-
{
|
|
11028
|
-
"kind": "variable",
|
|
11029
|
-
"name": "ParameterBuilderStyles",
|
|
11030
|
-
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
11031
|
-
}
|
|
11032
|
-
],
|
|
11033
|
-
"exports": [
|
|
11034
|
-
{
|
|
11035
|
-
"kind": "js",
|
|
11036
|
-
"name": "ParameterBuilderStyles",
|
|
11037
|
-
"declaration": {
|
|
11038
|
-
"name": "ParameterBuilderStyles",
|
|
11039
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
11040
|
-
}
|
|
11041
|
-
}
|
|
11042
|
-
]
|
|
11043
|
-
},
|
|
11044
|
-
{
|
|
11045
|
-
"kind": "javascript-module",
|
|
11046
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
11047
|
-
"declarations": [
|
|
11048
|
-
{
|
|
11049
|
-
"kind": "variable",
|
|
11050
|
-
"name": "ParameterBuilderTemplate",
|
|
11051
|
-
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
11052
|
-
}
|
|
11053
|
-
],
|
|
11054
|
-
"exports": [
|
|
11055
|
-
{
|
|
11056
|
-
"kind": "js",
|
|
11057
|
-
"name": "ParameterBuilderTemplate",
|
|
11058
|
-
"declaration": {
|
|
11059
|
-
"name": "ParameterBuilderTemplate",
|
|
11060
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
11061
|
-
}
|
|
11062
|
-
}
|
|
11063
|
-
]
|
|
11064
|
-
},
|
|
11065
|
-
{
|
|
11066
|
-
"kind": "javascript-module",
|
|
11067
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
11068
|
-
"declarations": [
|
|
11069
|
-
{
|
|
11070
|
-
"kind": "class",
|
|
11071
|
-
"description": "Parameter builder for notification templates.",
|
|
11072
|
-
"name": "ParameterBuilder",
|
|
11073
|
-
"members": [
|
|
11074
|
-
{
|
|
11075
|
-
"kind": "field",
|
|
11076
|
-
"name": "parameter",
|
|
11077
|
-
"type": {
|
|
11078
|
-
"text": "ParameterBuilderEntity"
|
|
11079
|
-
}
|
|
11080
|
-
},
|
|
11081
|
-
{
|
|
11082
|
-
"kind": "field",
|
|
11083
|
-
"name": "name",
|
|
11084
|
-
"type": {
|
|
11085
|
-
"text": "string"
|
|
11086
|
-
}
|
|
11087
|
-
},
|
|
11088
|
-
{
|
|
11089
|
-
"kind": "field",
|
|
11090
|
-
"name": "label",
|
|
11091
|
-
"type": {
|
|
11092
|
-
"text": "string"
|
|
11093
|
-
}
|
|
11094
|
-
},
|
|
11095
|
-
{
|
|
11096
|
-
"kind": "field",
|
|
11097
|
-
"name": "type",
|
|
11098
|
-
"type": {
|
|
11099
|
-
"text": "string"
|
|
11100
|
-
}
|
|
11101
|
-
},
|
|
11102
|
-
{
|
|
11103
|
-
"kind": "field",
|
|
11104
|
-
"name": "sourceType",
|
|
11105
|
-
"type": {
|
|
11106
|
-
"text": "string"
|
|
11107
|
-
}
|
|
11108
|
-
},
|
|
11109
|
-
{
|
|
11110
|
-
"kind": "field",
|
|
11111
|
-
"name": "sourceSelected",
|
|
11112
|
-
"type": {
|
|
11113
|
-
"text": "string"
|
|
11114
|
-
}
|
|
11115
|
-
},
|
|
11116
|
-
{
|
|
11117
|
-
"kind": "field",
|
|
11118
|
-
"name": "sourceTyped",
|
|
11119
|
-
"type": {
|
|
11120
|
-
"text": "string"
|
|
11121
|
-
}
|
|
11122
|
-
},
|
|
11123
|
-
{
|
|
11124
|
-
"kind": "field",
|
|
11125
|
-
"name": "sourceTextField",
|
|
11126
|
-
"type": {
|
|
11127
|
-
"text": "TextField"
|
|
11128
|
-
}
|
|
11129
|
-
},
|
|
11130
|
-
{
|
|
11131
|
-
"kind": "field",
|
|
11132
|
-
"name": "sourceSelect",
|
|
11133
|
-
"type": {
|
|
11134
|
-
"text": "Select"
|
|
11135
|
-
}
|
|
11136
|
-
},
|
|
11137
|
-
{
|
|
11138
|
-
"kind": "field",
|
|
11139
|
-
"name": "reqRepItems",
|
|
11140
|
-
"type": {
|
|
11141
|
-
"text": "array"
|
|
11142
|
-
},
|
|
11143
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
11144
|
-
},
|
|
11145
|
-
{
|
|
11146
|
-
"kind": "method",
|
|
11147
|
-
"name": "deleteParameter"
|
|
11148
|
-
},
|
|
11149
|
-
{
|
|
11150
|
-
"kind": "method",
|
|
11151
|
-
"name": "parameterChanged"
|
|
11152
|
-
},
|
|
11153
|
-
{
|
|
11154
|
-
"kind": "method",
|
|
11155
|
-
"name": "nameChanged"
|
|
11156
|
-
},
|
|
11157
|
-
{
|
|
11158
|
-
"kind": "method",
|
|
11159
|
-
"name": "labelChanged"
|
|
11160
|
-
},
|
|
11161
|
-
{
|
|
11162
|
-
"kind": "method",
|
|
11163
|
-
"name": "typeChanged"
|
|
11164
|
-
},
|
|
11165
|
-
{
|
|
11166
|
-
"kind": "method",
|
|
11167
|
-
"name": "sourceTypeChanged"
|
|
11168
|
-
},
|
|
11169
|
-
{
|
|
11170
|
-
"kind": "method",
|
|
11171
|
-
"name": "sourceSelectedChanged"
|
|
11172
|
-
},
|
|
11173
|
-
{
|
|
11174
|
-
"kind": "method",
|
|
11175
|
-
"name": "sourceTypedChanged"
|
|
11176
|
-
},
|
|
11177
|
-
{
|
|
11178
|
-
"kind": "method",
|
|
11179
|
-
"name": "genericChanged",
|
|
11180
|
-
"privacy": "private",
|
|
11181
|
-
"parameters": [
|
|
11182
|
-
{
|
|
11183
|
-
"name": "parameterAttribute"
|
|
11184
|
-
},
|
|
11185
|
-
{
|
|
11186
|
-
"name": "value"
|
|
11187
|
-
}
|
|
11188
|
-
]
|
|
11189
|
-
}
|
|
11190
|
-
],
|
|
11191
|
-
"events": [
|
|
11192
|
-
{
|
|
11193
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
11194
|
-
"name": "delete"
|
|
11195
|
-
},
|
|
11196
|
-
{
|
|
11197
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
11198
|
-
"name": "edit"
|
|
11199
|
-
}
|
|
11200
|
-
],
|
|
11201
|
-
"attributes": [
|
|
11202
|
-
{
|
|
11203
|
-
"name": "parameter",
|
|
11204
|
-
"type": {
|
|
11205
|
-
"text": "ParameterBuilderEntity"
|
|
11206
|
-
},
|
|
11207
|
-
"fieldName": "parameter"
|
|
11208
|
-
}
|
|
11209
|
-
],
|
|
11210
|
-
"superclass": {
|
|
11211
|
-
"name": "GenesisElement",
|
|
11212
|
-
"package": "@genesislcap/web-core"
|
|
11213
|
-
},
|
|
11214
|
-
"tagName": "parameter-builder",
|
|
11215
|
-
"customElement": true
|
|
11216
|
-
}
|
|
11217
|
-
],
|
|
11218
|
-
"exports": [
|
|
11219
|
-
{
|
|
11220
|
-
"kind": "js",
|
|
11221
|
-
"name": "ParameterBuilder",
|
|
11222
|
-
"declaration": {
|
|
11223
|
-
"name": "ParameterBuilder",
|
|
11224
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11225
|
-
}
|
|
11226
|
-
},
|
|
11227
|
-
{
|
|
11228
|
-
"kind": "custom-element-definition",
|
|
11229
|
-
"name": "parameter-builder",
|
|
11230
|
-
"declaration": {
|
|
11231
|
-
"name": "ParameterBuilder",
|
|
11232
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
11233
|
-
}
|
|
11234
|
-
}
|
|
11235
|
-
]
|
|
11236
|
-
},
|
|
11237
11237
|
{
|
|
11238
11238
|
"kind": "javascript-module",
|
|
11239
11239
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|