@genesislcap/pbc-notify-ui 15.10.6 → 15.11.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 +1325 -1325
- package/dist/dts/react.d.ts +24 -24
- package/dist/react.cjs +14 -14
- package/dist/react.mjs +11 -11
- package/package.json +23 -23
|
@@ -2041,19 +2041,54 @@
|
|
|
2041
2041
|
},
|
|
2042
2042
|
{
|
|
2043
2043
|
"kind": "javascript-module",
|
|
2044
|
-
"path": "src/components/foundation-
|
|
2044
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts",
|
|
2045
2045
|
"declarations": [
|
|
2046
2046
|
{
|
|
2047
2047
|
"kind": "variable",
|
|
2048
|
-
"name": "
|
|
2049
|
-
"default": "
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2048
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2049
|
+
"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-file-input {\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 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 bottom: auto !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-x: hidden;\n overflow-y: 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 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-file-input {\n flex: 1;\n min-width: 0;\n }\n\n .choose-sound {\n cursor: pointer;\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`"
|
|
2050
|
+
}
|
|
2051
|
+
],
|
|
2052
|
+
"exports": [
|
|
2053
2053
|
{
|
|
2054
|
-
"kind": "
|
|
2055
|
-
"
|
|
2056
|
-
"
|
|
2054
|
+
"kind": "js",
|
|
2055
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2056
|
+
"declaration": {
|
|
2057
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2058
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts"
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
]
|
|
2062
|
+
},
|
|
2063
|
+
{
|
|
2064
|
+
"kind": "javascript-module",
|
|
2065
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.template.ts",
|
|
2066
|
+
"declarations": [
|
|
2067
|
+
{
|
|
2068
|
+
"kind": "variable",
|
|
2069
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2070
|
+
"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 file\n <div class=\"sound-file-row\">\n <rapid-text-field\n class=\"sound-file-input\"\n readonly\n placeholder=\"No sound selected\"\n :value=${(x) => x.fileName ?? ''}\n title=${(x) => x.fileName ?? 'No sound selected'}\n >\n <rapid-icon\n slot=\"end\"\n class=\"choose-sound\"\n name=\"folder-open\"\n title=\"Choose alert sound\"\n @click=${(x, c) => {\n c.event.stopPropagation();\n return c.parent.openFilePicker(x.index);\n }}\n ></rapid-icon>\n </rapid-text-field>\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 <rapid-button\n class=\"clear-sound\"\n appearance=\"stealth\"\n title=\"Clear sound file\"\n ?disabled=${(x) => !x.hasSound}\n @click=${(x, c) => c.parent.clearSound(x.index)}\n >\n <rapid-icon name=\"times\"></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`"
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"exports": [
|
|
2074
|
+
{
|
|
2075
|
+
"kind": "js",
|
|
2076
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2077
|
+
"declaration": {
|
|
2078
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2079
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.template.ts"
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "javascript-module",
|
|
2086
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.ts",
|
|
2087
|
+
"declarations": [
|
|
2088
|
+
{
|
|
2089
|
+
"kind": "class",
|
|
2090
|
+
"description": "Configures alert sound rules in the inbox Sounds tab. Persists via the shared\nAlertSoundPlayer; playback is handled by layout-mounted\nFoundationSounds.",
|
|
2091
|
+
"name": "FoundationSoundsPanel",
|
|
2057
2092
|
"members": [
|
|
2058
2093
|
{
|
|
2059
2094
|
"kind": "field",
|
|
@@ -2064,56 +2099,21 @@
|
|
|
2064
2099
|
},
|
|
2065
2100
|
{
|
|
2066
2101
|
"kind": "field",
|
|
2067
|
-
"name": "
|
|
2068
|
-
"type": {
|
|
2069
|
-
"text": "boolean"
|
|
2070
|
-
},
|
|
2071
|
-
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
2072
|
-
"readonly": true
|
|
2073
|
-
},
|
|
2074
|
-
{
|
|
2075
|
-
"kind": "field",
|
|
2076
|
-
"name": "alertSoundEntityId",
|
|
2077
|
-
"type": {
|
|
2078
|
-
"text": "string | null"
|
|
2079
|
-
},
|
|
2080
|
-
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
2081
|
-
"readonly": true
|
|
2082
|
-
},
|
|
2083
|
-
{
|
|
2084
|
-
"kind": "field",
|
|
2085
|
-
"name": "alertSoundCacheSyncMode",
|
|
2086
|
-
"type": {
|
|
2087
|
-
"text": "'entity' | 'all'"
|
|
2088
|
-
},
|
|
2089
|
-
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
2090
|
-
"readonly": true
|
|
2091
|
-
},
|
|
2092
|
-
{
|
|
2093
|
-
"kind": "field",
|
|
2094
|
-
"name": "alertSoundFileName",
|
|
2095
|
-
"type": {
|
|
2096
|
-
"text": "string"
|
|
2097
|
-
},
|
|
2098
|
-
"default": "''",
|
|
2099
|
-
"description": "Display name of the attached / pending alert sound file."
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
"kind": "field",
|
|
2103
|
-
"name": "alertSoundMimeType",
|
|
2102
|
+
"name": "volumePercent",
|
|
2104
2103
|
"type": {
|
|
2105
|
-
"text": "
|
|
2104
|
+
"text": "number"
|
|
2106
2105
|
},
|
|
2107
|
-
"default": "
|
|
2106
|
+
"default": "100",
|
|
2107
|
+
"description": "Global playback volume 0–100. @internal"
|
|
2108
2108
|
},
|
|
2109
2109
|
{
|
|
2110
2110
|
"kind": "field",
|
|
2111
|
-
"name": "
|
|
2111
|
+
"name": "selectableRules",
|
|
2112
2112
|
"type": {
|
|
2113
|
-
"text": "
|
|
2113
|
+
"text": "AlertSoundSelectableRule[]"
|
|
2114
2114
|
},
|
|
2115
|
-
"default": "
|
|
2116
|
-
"description": "
|
|
2115
|
+
"default": "[]",
|
|
2116
|
+
"description": "Notification rules from REQ_NOTIFICATION_RULE. @internal"
|
|
2117
2117
|
},
|
|
2118
2118
|
{
|
|
2119
2119
|
"kind": "field",
|
|
@@ -2124,58 +2124,98 @@
|
|
|
2124
2124
|
},
|
|
2125
2125
|
{
|
|
2126
2126
|
"kind": "field",
|
|
2127
|
-
"name": "
|
|
2127
|
+
"name": "pendingRuleIndex",
|
|
2128
2128
|
"type": {
|
|
2129
|
-
"text": "
|
|
2129
|
+
"text": "number | null"
|
|
2130
2130
|
},
|
|
2131
|
+
"privacy": "private",
|
|
2131
2132
|
"default": "null"
|
|
2132
2133
|
},
|
|
2133
2134
|
{
|
|
2134
2135
|
"kind": "field",
|
|
2135
|
-
"name": "
|
|
2136
|
-
"
|
|
2137
|
-
|
|
2138
|
-
},
|
|
2139
|
-
"default": "false",
|
|
2140
|
-
"description": "True when the user picked a new file this session (needs upload)."
|
|
2136
|
+
"name": "player",
|
|
2137
|
+
"privacy": "private",
|
|
2138
|
+
"readonly": true
|
|
2141
2139
|
},
|
|
2142
2140
|
{
|
|
2143
2141
|
"kind": "field",
|
|
2144
|
-
"name": "
|
|
2142
|
+
"name": "unsubscribePlayer",
|
|
2145
2143
|
"type": {
|
|
2146
|
-
"text": "
|
|
2144
|
+
"text": "(() => void) | undefined"
|
|
2147
2145
|
},
|
|
2148
|
-
"
|
|
2146
|
+
"privacy": "private"
|
|
2149
2147
|
},
|
|
2150
2148
|
{
|
|
2151
2149
|
"kind": "field",
|
|
2152
|
-
"name": "
|
|
2150
|
+
"name": "ignoreSelectChanges",
|
|
2153
2151
|
"type": {
|
|
2154
|
-
"text": "
|
|
2152
|
+
"text": "boolean"
|
|
2155
2153
|
},
|
|
2156
|
-
"
|
|
2157
|
-
"
|
|
2154
|
+
"privacy": "private",
|
|
2155
|
+
"default": "false",
|
|
2156
|
+
"description": "Suppresses select change events while options are rebuilt."
|
|
2158
2157
|
},
|
|
2159
2158
|
{
|
|
2160
2159
|
"kind": "method",
|
|
2161
|
-
"name": "
|
|
2160
|
+
"name": "onMatchModeChange",
|
|
2161
|
+
"return": {
|
|
2162
|
+
"type": {
|
|
2163
|
+
"text": "boolean"
|
|
2164
|
+
}
|
|
2165
|
+
},
|
|
2162
2166
|
"parameters": [
|
|
2163
2167
|
{
|
|
2164
|
-
"name": "
|
|
2168
|
+
"name": "index",
|
|
2165
2169
|
"type": {
|
|
2166
|
-
"text": "
|
|
2170
|
+
"text": "number"
|
|
2171
|
+
}
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
"name": "event",
|
|
2175
|
+
"type": {
|
|
2176
|
+
"text": "Event"
|
|
2167
2177
|
}
|
|
2168
2178
|
}
|
|
2169
2179
|
]
|
|
2170
2180
|
},
|
|
2171
2181
|
{
|
|
2172
2182
|
"kind": "method",
|
|
2173
|
-
"name": "
|
|
2183
|
+
"name": "onPatternInput",
|
|
2184
|
+
"return": {
|
|
2185
|
+
"type": {
|
|
2186
|
+
"text": "boolean"
|
|
2187
|
+
}
|
|
2188
|
+
},
|
|
2189
|
+
"parameters": [
|
|
2190
|
+
{
|
|
2191
|
+
"name": "index",
|
|
2192
|
+
"type": {
|
|
2193
|
+
"text": "number"
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "event",
|
|
2198
|
+
"type": {
|
|
2199
|
+
"text": "Event"
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
]
|
|
2174
2203
|
},
|
|
2175
2204
|
{
|
|
2176
2205
|
"kind": "method",
|
|
2177
|
-
"name": "
|
|
2206
|
+
"name": "onRuleChange",
|
|
2207
|
+
"return": {
|
|
2208
|
+
"type": {
|
|
2209
|
+
"text": "boolean"
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2178
2212
|
"parameters": [
|
|
2213
|
+
{
|
|
2214
|
+
"name": "index",
|
|
2215
|
+
"type": {
|
|
2216
|
+
"text": "number"
|
|
2217
|
+
}
|
|
2218
|
+
},
|
|
2179
2219
|
{
|
|
2180
2220
|
"name": "event",
|
|
2181
2221
|
"type": {
|
|
@@ -2186,869 +2226,939 @@
|
|
|
2186
2226
|
},
|
|
2187
2227
|
{
|
|
2188
2228
|
"kind": "method",
|
|
2189
|
-
"name": "
|
|
2229
|
+
"name": "openFilePicker",
|
|
2230
|
+
"return": {
|
|
2231
|
+
"type": {
|
|
2232
|
+
"text": "boolean"
|
|
2233
|
+
}
|
|
2234
|
+
},
|
|
2235
|
+
"parameters": [
|
|
2236
|
+
{
|
|
2237
|
+
"name": "index",
|
|
2238
|
+
"type": {
|
|
2239
|
+
"text": "number"
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
]
|
|
2190
2243
|
},
|
|
2191
2244
|
{
|
|
2192
2245
|
"kind": "method",
|
|
2193
|
-
"name": "
|
|
2246
|
+
"name": "onFileSelected",
|
|
2247
|
+
"return": {
|
|
2248
|
+
"type": {
|
|
2249
|
+
"text": "boolean"
|
|
2250
|
+
}
|
|
2251
|
+
},
|
|
2252
|
+
"parameters": [
|
|
2253
|
+
{
|
|
2254
|
+
"name": "event",
|
|
2255
|
+
"type": {
|
|
2256
|
+
"text": "Event"
|
|
2257
|
+
}
|
|
2258
|
+
}
|
|
2259
|
+
]
|
|
2194
2260
|
},
|
|
2195
2261
|
{
|
|
2196
2262
|
"kind": "method",
|
|
2197
|
-
"name": "
|
|
2263
|
+
"name": "clearSound",
|
|
2264
|
+
"return": {
|
|
2265
|
+
"type": {
|
|
2266
|
+
"text": "boolean"
|
|
2267
|
+
}
|
|
2268
|
+
},
|
|
2269
|
+
"parameters": [
|
|
2270
|
+
{
|
|
2271
|
+
"name": "index",
|
|
2272
|
+
"type": {
|
|
2273
|
+
"text": "number"
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
]
|
|
2198
2277
|
},
|
|
2199
2278
|
{
|
|
2200
2279
|
"kind": "method",
|
|
2201
|
-
"name": "
|
|
2280
|
+
"name": "testSound",
|
|
2281
|
+
"return": {
|
|
2282
|
+
"type": {
|
|
2283
|
+
"text": "boolean"
|
|
2284
|
+
}
|
|
2285
|
+
},
|
|
2286
|
+
"parameters": [
|
|
2287
|
+
{
|
|
2288
|
+
"name": "index",
|
|
2289
|
+
"type": {
|
|
2290
|
+
"text": "number"
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
]
|
|
2202
2294
|
},
|
|
2203
2295
|
{
|
|
2204
2296
|
"kind": "method",
|
|
2205
|
-
"name": "
|
|
2297
|
+
"name": "toggleRuleMute",
|
|
2206
2298
|
"return": {
|
|
2207
2299
|
"type": {
|
|
2208
|
-
"text": "
|
|
2300
|
+
"text": "boolean"
|
|
2209
2301
|
}
|
|
2210
2302
|
},
|
|
2211
2303
|
"parameters": [
|
|
2212
2304
|
{
|
|
2213
|
-
"name": "
|
|
2305
|
+
"name": "index",
|
|
2214
2306
|
"type": {
|
|
2215
|
-
"text": "
|
|
2307
|
+
"text": "number"
|
|
2216
2308
|
}
|
|
2217
2309
|
}
|
|
2218
|
-
]
|
|
2219
|
-
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
2310
|
+
]
|
|
2220
2311
|
},
|
|
2221
2312
|
{
|
|
2222
2313
|
"kind": "method",
|
|
2223
|
-
"name": "
|
|
2224
|
-
"
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2314
|
+
"name": "onVolumeChange",
|
|
2315
|
+
"return": {
|
|
2316
|
+
"type": {
|
|
2317
|
+
"text": "boolean"
|
|
2318
|
+
}
|
|
2319
|
+
},
|
|
2320
|
+
"parameters": [
|
|
2321
|
+
{
|
|
2322
|
+
"name": "event",
|
|
2323
|
+
"type": {
|
|
2324
|
+
"text": "Event"
|
|
2325
|
+
}
|
|
2326
|
+
}
|
|
2327
|
+
]
|
|
2328
|
+
},
|
|
2228
2329
|
{
|
|
2229
|
-
"
|
|
2230
|
-
"
|
|
2231
|
-
|
|
2330
|
+
"kind": "method",
|
|
2331
|
+
"name": "toggleMute",
|
|
2332
|
+
"return": {
|
|
2333
|
+
"type": {
|
|
2334
|
+
"text": "boolean"
|
|
2335
|
+
}
|
|
2232
2336
|
}
|
|
2233
|
-
}
|
|
2234
|
-
],
|
|
2235
|
-
"privacy": "public"
|
|
2236
|
-
}
|
|
2237
|
-
],
|
|
2238
|
-
"exports": [
|
|
2239
|
-
{
|
|
2240
|
-
"kind": "js",
|
|
2241
|
-
"name": "alertSoundAttachmentTemplate",
|
|
2242
|
-
"declaration": {
|
|
2243
|
-
"name": "alertSoundAttachmentTemplate",
|
|
2244
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
2245
|
-
}
|
|
2246
|
-
},
|
|
2247
|
-
{
|
|
2248
|
-
"kind": "js",
|
|
2249
|
-
"name": "AlertSoundAttachmentMixin",
|
|
2250
|
-
"declaration": {
|
|
2251
|
-
"name": "AlertSoundAttachmentMixin",
|
|
2252
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
2253
|
-
}
|
|
2254
|
-
}
|
|
2255
|
-
]
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
"kind": "javascript-module",
|
|
2259
|
-
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
2260
|
-
"declarations": [],
|
|
2261
|
-
"exports": [
|
|
2262
|
-
{
|
|
2263
|
-
"kind": "js",
|
|
2264
|
-
"name": "*",
|
|
2265
|
-
"declaration": {
|
|
2266
|
-
"name": "*",
|
|
2267
|
-
"package": "./notification-dashboard"
|
|
2268
|
-
}
|
|
2269
|
-
}
|
|
2270
|
-
]
|
|
2271
|
-
},
|
|
2272
|
-
{
|
|
2273
|
-
"kind": "javascript-module",
|
|
2274
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
2275
|
-
"declarations": [
|
|
2276
|
-
{
|
|
2277
|
-
"kind": "variable",
|
|
2278
|
-
"name": "FoundationNotificationDashboardStyles",
|
|
2279
|
-
"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`",
|
|
2280
|
-
"privacy": "public"
|
|
2281
|
-
}
|
|
2282
|
-
],
|
|
2283
|
-
"exports": [
|
|
2284
|
-
{
|
|
2285
|
-
"kind": "js",
|
|
2286
|
-
"name": "FoundationNotificationDashboardStyles",
|
|
2287
|
-
"declaration": {
|
|
2288
|
-
"name": "FoundationNotificationDashboardStyles",
|
|
2289
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"
|
|
2290
|
-
}
|
|
2291
|
-
}
|
|
2292
|
-
]
|
|
2293
|
-
},
|
|
2294
|
-
{
|
|
2295
|
-
"kind": "javascript-module",
|
|
2296
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts",
|
|
2297
|
-
"declarations": [
|
|
2298
|
-
{
|
|
2299
|
-
"kind": "class",
|
|
2300
|
-
"description": "",
|
|
2301
|
-
"name": "NotificationDashboardTab",
|
|
2302
|
-
"members": [
|
|
2337
|
+
},
|
|
2303
2338
|
{
|
|
2304
|
-
"kind": "
|
|
2305
|
-
"name": "
|
|
2306
|
-
"
|
|
2307
|
-
"
|
|
2339
|
+
"kind": "method",
|
|
2340
|
+
"name": "addRule",
|
|
2341
|
+
"return": {
|
|
2342
|
+
"type": {
|
|
2343
|
+
"text": "boolean"
|
|
2344
|
+
}
|
|
2308
2345
|
}
|
|
2309
2346
|
},
|
|
2310
2347
|
{
|
|
2311
|
-
"kind": "
|
|
2312
|
-
"name": "
|
|
2313
|
-
"
|
|
2314
|
-
"
|
|
2315
|
-
|
|
2348
|
+
"kind": "method",
|
|
2349
|
+
"name": "removeRule",
|
|
2350
|
+
"return": {
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "boolean"
|
|
2353
|
+
}
|
|
2354
|
+
},
|
|
2355
|
+
"parameters": [
|
|
2356
|
+
{
|
|
2357
|
+
"name": "index",
|
|
2358
|
+
"type": {
|
|
2359
|
+
"text": "number"
|
|
2360
|
+
}
|
|
2361
|
+
}
|
|
2362
|
+
]
|
|
2316
2363
|
},
|
|
2317
2364
|
{
|
|
2318
|
-
"kind": "
|
|
2319
|
-
"name": "
|
|
2320
|
-
"
|
|
2321
|
-
"
|
|
2322
|
-
|
|
2365
|
+
"kind": "method",
|
|
2366
|
+
"name": "reloadRules",
|
|
2367
|
+
"return": {
|
|
2368
|
+
"type": {
|
|
2369
|
+
"text": "Promise<void>"
|
|
2370
|
+
}
|
|
2371
|
+
},
|
|
2372
|
+
"description": "Reloads the notification-rule picker (e.g. when the Sounds tab is opened)."
|
|
2323
2373
|
},
|
|
2324
2374
|
{
|
|
2325
|
-
"kind": "
|
|
2326
|
-
"name": "
|
|
2327
|
-
"
|
|
2328
|
-
|
|
2375
|
+
"kind": "method",
|
|
2376
|
+
"name": "loadRules",
|
|
2377
|
+
"privacy": "private",
|
|
2378
|
+
"return": {
|
|
2379
|
+
"type": {
|
|
2380
|
+
"text": "Promise<void>"
|
|
2381
|
+
}
|
|
2329
2382
|
}
|
|
2330
|
-
}
|
|
2331
|
-
]
|
|
2332
|
-
},
|
|
2333
|
-
{
|
|
2334
|
-
"kind": "variable",
|
|
2335
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2336
|
-
"type": {
|
|
2337
|
-
"text": "NotificationDashboardTab[]"
|
|
2338
|
-
},
|
|
2339
|
-
"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]"
|
|
2340
|
-
}
|
|
2341
|
-
],
|
|
2342
|
-
"exports": [
|
|
2343
|
-
{
|
|
2344
|
-
"kind": "js",
|
|
2345
|
-
"name": "NotificationDashboardTab",
|
|
2346
|
-
"declaration": {
|
|
2347
|
-
"name": "NotificationDashboardTab",
|
|
2348
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
2349
|
-
}
|
|
2350
|
-
},
|
|
2351
|
-
{
|
|
2352
|
-
"kind": "js",
|
|
2353
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2354
|
-
"declaration": {
|
|
2355
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2356
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
]
|
|
2360
|
-
},
|
|
2361
|
-
{
|
|
2362
|
-
"kind": "javascript-module",
|
|
2363
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
2364
|
-
"declarations": [
|
|
2365
|
-
{
|
|
2366
|
-
"kind": "variable",
|
|
2367
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
2368
|
-
"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`"
|
|
2369
|
-
}
|
|
2370
|
-
],
|
|
2371
|
-
"exports": [
|
|
2372
|
-
{
|
|
2373
|
-
"kind": "js",
|
|
2374
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
2375
|
-
"declaration": {
|
|
2376
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
2377
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
2378
|
-
}
|
|
2379
|
-
}
|
|
2380
|
-
]
|
|
2381
|
-
},
|
|
2382
|
-
{
|
|
2383
|
-
"kind": "javascript-module",
|
|
2384
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
2385
|
-
"declarations": [
|
|
2386
|
-
{
|
|
2387
|
-
"kind": "class",
|
|
2388
|
-
"description": "",
|
|
2389
|
-
"name": "FoundationNotificationDashboard",
|
|
2390
|
-
"members": [
|
|
2383
|
+
},
|
|
2391
2384
|
{
|
|
2392
|
-
"kind": "
|
|
2393
|
-
"name": "
|
|
2394
|
-
"
|
|
2395
|
-
|
|
2396
|
-
|
|
2385
|
+
"kind": "method",
|
|
2386
|
+
"name": "settleRuleOptions",
|
|
2387
|
+
"privacy": "private",
|
|
2388
|
+
"return": {
|
|
2389
|
+
"type": {
|
|
2390
|
+
"text": "Promise<void>"
|
|
2391
|
+
}
|
|
2392
|
+
},
|
|
2393
|
+
"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."
|
|
2397
2394
|
},
|
|
2398
2395
|
{
|
|
2399
|
-
"kind": "
|
|
2400
|
-
"name": "
|
|
2401
|
-
"
|
|
2402
|
-
|
|
2396
|
+
"kind": "method",
|
|
2397
|
+
"name": "applyRuleSelectValues",
|
|
2398
|
+
"privacy": "private",
|
|
2399
|
+
"return": {
|
|
2400
|
+
"type": {
|
|
2401
|
+
"text": "void"
|
|
2402
|
+
}
|
|
2403
2403
|
},
|
|
2404
|
-
"
|
|
2404
|
+
"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...\"."
|
|
2405
2405
|
},
|
|
2406
2406
|
{
|
|
2407
|
-
"kind": "
|
|
2408
|
-
"name": "
|
|
2409
|
-
"
|
|
2410
|
-
|
|
2407
|
+
"kind": "method",
|
|
2408
|
+
"name": "mapRules",
|
|
2409
|
+
"privacy": "private",
|
|
2410
|
+
"return": {
|
|
2411
|
+
"type": {
|
|
2412
|
+
"text": "AlertSoundSelectableRule[]"
|
|
2413
|
+
}
|
|
2411
2414
|
},
|
|
2412
|
-
"
|
|
2415
|
+
"parameters": [
|
|
2416
|
+
{
|
|
2417
|
+
"name": "ruleList",
|
|
2418
|
+
"type": {
|
|
2419
|
+
"text": "NamedRuleRow[]"
|
|
2420
|
+
}
|
|
2421
|
+
}
|
|
2422
|
+
]
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"kind": "method",
|
|
2426
|
+
"name": "ruleMatchId",
|
|
2427
|
+
"privacy": "private",
|
|
2428
|
+
"return": {
|
|
2429
|
+
"type": {
|
|
2430
|
+
"text": "string"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
"parameters": [
|
|
2434
|
+
{
|
|
2435
|
+
"name": "rule",
|
|
2436
|
+
"type": {
|
|
2437
|
+
"text": "NamedRuleRow | undefined"
|
|
2438
|
+
}
|
|
2439
|
+
}
|
|
2440
|
+
]
|
|
2441
|
+
},
|
|
2442
|
+
{
|
|
2443
|
+
"kind": "method",
|
|
2444
|
+
"name": "syncSoundState",
|
|
2445
|
+
"privacy": "private"
|
|
2413
2446
|
}
|
|
2414
2447
|
],
|
|
2415
2448
|
"superclass": {
|
|
2416
2449
|
"name": "GenesisElement",
|
|
2417
2450
|
"package": "@genesislcap/web-core"
|
|
2418
2451
|
},
|
|
2419
|
-
"tagName": "foundation-
|
|
2452
|
+
"tagName": "foundation-sounds-panel",
|
|
2420
2453
|
"customElement": true
|
|
2421
2454
|
}
|
|
2422
2455
|
],
|
|
2423
2456
|
"exports": [
|
|
2424
2457
|
{
|
|
2425
2458
|
"kind": "js",
|
|
2426
|
-
"name": "
|
|
2459
|
+
"name": "FoundationSoundsPanel",
|
|
2427
2460
|
"declaration": {
|
|
2428
|
-
"name": "
|
|
2429
|
-
"module": "src/components/foundation-
|
|
2461
|
+
"name": "FoundationSoundsPanel",
|
|
2462
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
2430
2463
|
}
|
|
2431
2464
|
},
|
|
2432
2465
|
{
|
|
2433
2466
|
"kind": "custom-element-definition",
|
|
2434
|
-
"name": "foundation-
|
|
2467
|
+
"name": "foundation-sounds-panel",
|
|
2435
2468
|
"declaration": {
|
|
2436
|
-
"name": "
|
|
2437
|
-
"module": "src/components/foundation-
|
|
2469
|
+
"name": "FoundationSoundsPanel",
|
|
2470
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
2438
2471
|
}
|
|
2439
2472
|
}
|
|
2440
2473
|
]
|
|
2441
2474
|
},
|
|
2442
2475
|
{
|
|
2443
2476
|
"kind": "javascript-module",
|
|
2444
|
-
"path": "src/components/foundation-
|
|
2477
|
+
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
2445
2478
|
"declarations": [
|
|
2446
2479
|
{
|
|
2447
|
-
"kind": "
|
|
2448
|
-
"
|
|
2449
|
-
"
|
|
2450
|
-
"
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
"type": {
|
|
2455
|
-
"text": "UUID"
|
|
2456
|
-
},
|
|
2457
|
-
"privacy": "private",
|
|
2458
|
-
"static": true
|
|
2459
|
-
},
|
|
2460
|
-
{
|
|
2461
|
-
"kind": "field",
|
|
2462
|
-
"name": "createUUID",
|
|
2463
|
-
"static": true
|
|
2464
|
-
}
|
|
2465
|
-
]
|
|
2466
|
-
},
|
|
2480
|
+
"kind": "variable",
|
|
2481
|
+
"name": "FoundationSoundsStyles",
|
|
2482
|
+
"default": "css`\n :host {\n display: none;\n }\n`",
|
|
2483
|
+
"description": "Headless layout listener — take no space in the layout chrome."
|
|
2484
|
+
}
|
|
2485
|
+
],
|
|
2486
|
+
"exports": [
|
|
2467
2487
|
{
|
|
2468
|
-
"kind": "
|
|
2469
|
-
"name": "
|
|
2470
|
-
"
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2488
|
+
"kind": "js",
|
|
2489
|
+
"name": "FoundationSoundsStyles",
|
|
2490
|
+
"declaration": {
|
|
2491
|
+
"name": "FoundationSoundsStyles",
|
|
2492
|
+
"module": "src/components/foundation-sounds/foundation-sounds.styles.ts"
|
|
2493
|
+
}
|
|
2494
|
+
}
|
|
2495
|
+
]
|
|
2496
|
+
},
|
|
2497
|
+
{
|
|
2498
|
+
"kind": "javascript-module",
|
|
2499
|
+
"path": "src/components/foundation-sounds/foundation-sounds.ts",
|
|
2500
|
+
"declarations": [
|
|
2476
2501
|
{
|
|
2477
2502
|
"kind": "class",
|
|
2478
|
-
"description": "",
|
|
2479
|
-
"name": "
|
|
2503
|
+
"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.",
|
|
2504
|
+
"name": "FoundationSounds",
|
|
2480
2505
|
"members": [
|
|
2481
2506
|
{
|
|
2482
2507
|
"kind": "field",
|
|
2483
|
-
"name": "
|
|
2484
|
-
"
|
|
2508
|
+
"name": "connect",
|
|
2509
|
+
"type": {
|
|
2510
|
+
"text": "Connect"
|
|
2511
|
+
}
|
|
2485
2512
|
},
|
|
2486
2513
|
{
|
|
2487
2514
|
"kind": "field",
|
|
2488
|
-
"name": "
|
|
2489
|
-
"
|
|
2515
|
+
"name": "inboxService",
|
|
2516
|
+
"type": {
|
|
2517
|
+
"text": "FoundationInboxService"
|
|
2518
|
+
}
|
|
2490
2519
|
},
|
|
2491
2520
|
{
|
|
2492
2521
|
"kind": "field",
|
|
2493
|
-
"name": "
|
|
2494
|
-
"
|
|
2522
|
+
"name": "ruleService",
|
|
2523
|
+
"type": {
|
|
2524
|
+
"text": "RuleService"
|
|
2525
|
+
}
|
|
2495
2526
|
},
|
|
2496
2527
|
{
|
|
2497
2528
|
"kind": "field",
|
|
2498
|
-
"name": "
|
|
2499
|
-
"
|
|
2529
|
+
"name": "soundEnabled",
|
|
2530
|
+
"type": {
|
|
2531
|
+
"text": "boolean"
|
|
2532
|
+
},
|
|
2533
|
+
"default": "true",
|
|
2534
|
+
"description": "When false, new audible alerts are tracked but do not play."
|
|
2500
2535
|
},
|
|
2501
2536
|
{
|
|
2502
2537
|
"kind": "field",
|
|
2503
|
-
"name": "
|
|
2504
|
-
"
|
|
2538
|
+
"name": "connectionSub",
|
|
2539
|
+
"type": {
|
|
2540
|
+
"text": "Subscription | undefined"
|
|
2541
|
+
},
|
|
2542
|
+
"privacy": "private"
|
|
2543
|
+
},
|
|
2544
|
+
{
|
|
2545
|
+
"kind": "field",
|
|
2546
|
+
"name": "player",
|
|
2547
|
+
"privacy": "private",
|
|
2548
|
+
"readonly": true
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"kind": "field",
|
|
2552
|
+
"name": "knownAlertIds",
|
|
2553
|
+
"privacy": "private",
|
|
2554
|
+
"default": "new Set<string>()"
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
"kind": "field",
|
|
2558
|
+
"name": "serverSoundFetches",
|
|
2559
|
+
"privacy": "private",
|
|
2560
|
+
"readonly": true,
|
|
2561
|
+
"default": "new Map<string, Promise<boolean>>()",
|
|
2562
|
+
"description": "In-flight server sound fetches keyed by DYNAMIC_RULE_ID."
|
|
2505
2563
|
},
|
|
2506
2564
|
{
|
|
2507
2565
|
"kind": "method",
|
|
2508
|
-
"name": "
|
|
2509
|
-
"
|
|
2566
|
+
"name": "subscribeToAlerts",
|
|
2567
|
+
"privacy": "private",
|
|
2510
2568
|
"return": {
|
|
2511
2569
|
"type": {
|
|
2512
|
-
"text": "
|
|
2513
|
-
}
|
|
2514
|
-
},
|
|
2515
|
-
"parameters": [
|
|
2516
|
-
{
|
|
2517
|
-
"name": "conditions",
|
|
2518
|
-
"type": {
|
|
2519
|
-
"text": "ConditionNode[]"
|
|
2520
|
-
}
|
|
2521
|
-
},
|
|
2522
|
-
{
|
|
2523
|
-
"name": "parameters",
|
|
2524
|
-
"optional": true
|
|
2570
|
+
"text": "void"
|
|
2525
2571
|
}
|
|
2526
|
-
|
|
2572
|
+
}
|
|
2573
|
+
},
|
|
2574
|
+
{
|
|
2575
|
+
"kind": "field",
|
|
2576
|
+
"name": "subscriptionHandler",
|
|
2577
|
+
"privacy": "private"
|
|
2527
2578
|
},
|
|
2528
2579
|
{
|
|
2529
2580
|
"kind": "method",
|
|
2530
|
-
"name": "
|
|
2531
|
-
"
|
|
2581
|
+
"name": "playForNewAlerts",
|
|
2582
|
+
"privacy": "private",
|
|
2532
2583
|
"return": {
|
|
2533
2584
|
"type": {
|
|
2534
|
-
"text": "
|
|
2585
|
+
"text": "Promise<void>"
|
|
2535
2586
|
}
|
|
2536
2587
|
},
|
|
2537
2588
|
"parameters": [
|
|
2538
2589
|
{
|
|
2539
|
-
"name": "
|
|
2590
|
+
"name": "rows",
|
|
2540
2591
|
"type": {
|
|
2541
|
-
"text": "
|
|
2592
|
+
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
2542
2593
|
}
|
|
2543
2594
|
}
|
|
2544
2595
|
]
|
|
2545
2596
|
},
|
|
2546
2597
|
{
|
|
2547
2598
|
"kind": "method",
|
|
2548
|
-
"name": "
|
|
2549
|
-
"
|
|
2599
|
+
"name": "tryPlayServerSound",
|
|
2600
|
+
"privacy": "private",
|
|
2550
2601
|
"return": {
|
|
2551
2602
|
"type": {
|
|
2552
|
-
"text": "boolean"
|
|
2603
|
+
"text": "Promise<boolean>"
|
|
2553
2604
|
}
|
|
2554
2605
|
},
|
|
2555
2606
|
"parameters": [
|
|
2556
2607
|
{
|
|
2557
|
-
"name": "
|
|
2608
|
+
"name": "dynamicRuleId",
|
|
2558
2609
|
"type": {
|
|
2559
|
-
"text": "
|
|
2610
|
+
"text": "string"
|
|
2560
2611
|
}
|
|
2561
2612
|
}
|
|
2562
2613
|
]
|
|
2563
2614
|
},
|
|
2564
2615
|
{
|
|
2565
2616
|
"kind": "method",
|
|
2566
|
-
"name": "
|
|
2567
|
-
"
|
|
2617
|
+
"name": "fetchAndCacheServerSound",
|
|
2618
|
+
"privacy": "private",
|
|
2568
2619
|
"return": {
|
|
2569
2620
|
"type": {
|
|
2570
|
-
"text": "boolean"
|
|
2621
|
+
"text": "Promise<boolean>"
|
|
2571
2622
|
}
|
|
2572
2623
|
},
|
|
2573
2624
|
"parameters": [
|
|
2574
2625
|
{
|
|
2575
|
-
"name": "
|
|
2626
|
+
"name": "dynamicRuleId",
|
|
2576
2627
|
"type": {
|
|
2577
|
-
"text": "
|
|
2628
|
+
"text": "string"
|
|
2578
2629
|
}
|
|
2579
2630
|
}
|
|
2580
2631
|
]
|
|
2632
|
+
}
|
|
2633
|
+
],
|
|
2634
|
+
"attributes": [
|
|
2635
|
+
{
|
|
2636
|
+
"name": "sound-enabled",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "boolean"
|
|
2639
|
+
},
|
|
2640
|
+
"default": "true",
|
|
2641
|
+
"description": "When false, new audible alerts are tracked but do not play.",
|
|
2642
|
+
"fieldName": "soundEnabled"
|
|
2643
|
+
}
|
|
2644
|
+
],
|
|
2645
|
+
"superclass": {
|
|
2646
|
+
"name": "GenesisElement",
|
|
2647
|
+
"package": "@genesislcap/web-core"
|
|
2648
|
+
},
|
|
2649
|
+
"tagName": "foundation-sounds",
|
|
2650
|
+
"customElement": true
|
|
2651
|
+
}
|
|
2652
|
+
],
|
|
2653
|
+
"exports": [
|
|
2654
|
+
{
|
|
2655
|
+
"kind": "js",
|
|
2656
|
+
"name": "FoundationSounds",
|
|
2657
|
+
"declaration": {
|
|
2658
|
+
"name": "FoundationSounds",
|
|
2659
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
{
|
|
2663
|
+
"kind": "custom-element-definition",
|
|
2664
|
+
"name": "foundation-sounds",
|
|
2665
|
+
"declaration": {
|
|
2666
|
+
"name": "FoundationSounds",
|
|
2667
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
2668
|
+
}
|
|
2669
|
+
}
|
|
2670
|
+
]
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"kind": "javascript-module",
|
|
2674
|
+
"path": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts",
|
|
2675
|
+
"declarations": [
|
|
2676
|
+
{
|
|
2677
|
+
"kind": "variable",
|
|
2678
|
+
"name": "alertSoundAttachmentTemplate",
|
|
2679
|
+
"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`",
|
|
2680
|
+
"description": "Shared Attach/Replace/Test/Clear UI for rule and template dialogs.",
|
|
2681
|
+
"privacy": "public"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"kind": "mixin",
|
|
2685
|
+
"description": "Mixin: pick / test / clear / load server sound + apply fields to submit payload.\n\nSubclasses must provide ruleService, isAlertSoundEditMode,\nalertSoundEntityId, and alertSoundCacheSyncMode.",
|
|
2686
|
+
"name": "AlertSoundAttachmentMixin",
|
|
2687
|
+
"members": [
|
|
2688
|
+
{
|
|
2689
|
+
"kind": "field",
|
|
2690
|
+
"name": "ruleService",
|
|
2691
|
+
"type": {
|
|
2692
|
+
"text": "RuleService"
|
|
2693
|
+
}
|
|
2581
2694
|
},
|
|
2582
2695
|
{
|
|
2583
|
-
"kind": "
|
|
2584
|
-
"name": "
|
|
2585
|
-
"
|
|
2586
|
-
|
|
2587
|
-
"type": {
|
|
2588
|
-
"text": "boolean"
|
|
2589
|
-
}
|
|
2696
|
+
"kind": "field",
|
|
2697
|
+
"name": "isAlertSoundEditMode",
|
|
2698
|
+
"type": {
|
|
2699
|
+
"text": "boolean"
|
|
2590
2700
|
},
|
|
2591
|
-
"
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2701
|
+
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
2702
|
+
"readonly": true
|
|
2703
|
+
},
|
|
2704
|
+
{
|
|
2705
|
+
"kind": "field",
|
|
2706
|
+
"name": "alertSoundEntityId",
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": "string | null"
|
|
2709
|
+
},
|
|
2710
|
+
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
2711
|
+
"readonly": true
|
|
2712
|
+
},
|
|
2713
|
+
{
|
|
2714
|
+
"kind": "field",
|
|
2715
|
+
"name": "alertSoundCacheSyncMode",
|
|
2716
|
+
"type": {
|
|
2717
|
+
"text": "'entity' | 'all'"
|
|
2718
|
+
},
|
|
2719
|
+
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
2720
|
+
"readonly": true
|
|
2721
|
+
},
|
|
2722
|
+
{
|
|
2723
|
+
"kind": "field",
|
|
2724
|
+
"name": "alertSoundFileName",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "string"
|
|
2727
|
+
},
|
|
2728
|
+
"default": "''",
|
|
2729
|
+
"description": "Display name of the attached / pending alert sound file."
|
|
2730
|
+
},
|
|
2731
|
+
{
|
|
2732
|
+
"kind": "field",
|
|
2733
|
+
"name": "alertSoundMimeType",
|
|
2734
|
+
"type": {
|
|
2735
|
+
"text": "string"
|
|
2736
|
+
},
|
|
2737
|
+
"default": "''"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
"kind": "field",
|
|
2741
|
+
"name": "hasAlertSound",
|
|
2742
|
+
"type": {
|
|
2743
|
+
"text": "boolean"
|
|
2744
|
+
},
|
|
2745
|
+
"default": "false",
|
|
2746
|
+
"description": "True when edit loaded an existing server sound (or user attached one)."
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"kind": "field",
|
|
2750
|
+
"name": "fileInput",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "HTMLInputElement"
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2755
|
+
{
|
|
2756
|
+
"kind": "field",
|
|
2757
|
+
"name": "pendingAlertSoundData",
|
|
2758
|
+
"type": {
|
|
2759
|
+
"text": "string | null"
|
|
2760
|
+
},
|
|
2761
|
+
"default": "null"
|
|
2599
2762
|
},
|
|
2600
2763
|
{
|
|
2601
|
-
"kind": "
|
|
2602
|
-
"name": "
|
|
2603
|
-
"
|
|
2604
|
-
|
|
2605
|
-
"type": {
|
|
2606
|
-
"text": "ConditionBuilderEntity[]"
|
|
2607
|
-
}
|
|
2764
|
+
"kind": "field",
|
|
2765
|
+
"name": "alertSoundDirty",
|
|
2766
|
+
"type": {
|
|
2767
|
+
"text": "boolean"
|
|
2608
2768
|
},
|
|
2609
|
-
"
|
|
2610
|
-
|
|
2611
|
-
"name": "conditions",
|
|
2612
|
-
"type": {
|
|
2613
|
-
"text": "ConditionNode[]"
|
|
2614
|
-
}
|
|
2615
|
-
}
|
|
2616
|
-
]
|
|
2769
|
+
"default": "false",
|
|
2770
|
+
"description": "True when the user picked a new file this session (needs upload)."
|
|
2617
2771
|
},
|
|
2618
2772
|
{
|
|
2619
|
-
"kind": "
|
|
2620
|
-
"name": "
|
|
2621
|
-
"
|
|
2622
|
-
|
|
2623
|
-
"type": {
|
|
2624
|
-
"text": "ConditionNode[]"
|
|
2625
|
-
}
|
|
2773
|
+
"kind": "field",
|
|
2774
|
+
"name": "clearAlertSound",
|
|
2775
|
+
"type": {
|
|
2776
|
+
"text": "boolean"
|
|
2626
2777
|
},
|
|
2627
|
-
"
|
|
2628
|
-
{
|
|
2629
|
-
"name": "conditions",
|
|
2630
|
-
"type": {
|
|
2631
|
-
"text": "ConditionNode[]"
|
|
2632
|
-
}
|
|
2633
|
-
},
|
|
2634
|
-
{
|
|
2635
|
-
"name": "fields",
|
|
2636
|
-
"type": {
|
|
2637
|
-
"text": "any[]"
|
|
2638
|
-
}
|
|
2639
|
-
}
|
|
2640
|
-
]
|
|
2778
|
+
"default": "false"
|
|
2641
2779
|
},
|
|
2642
2780
|
{
|
|
2643
2781
|
"kind": "field",
|
|
2644
|
-
"name": "
|
|
2645
|
-
"
|
|
2782
|
+
"name": "testAudio",
|
|
2783
|
+
"type": {
|
|
2784
|
+
"text": "HTMLAudioElement | null"
|
|
2785
|
+
},
|
|
2786
|
+
"default": "null",
|
|
2787
|
+
"description": "In-progress Test playback; not private — mixin return type is exported."
|
|
2646
2788
|
},
|
|
2647
2789
|
{
|
|
2648
2790
|
"kind": "method",
|
|
2649
|
-
"name": "
|
|
2650
|
-
"static": true,
|
|
2651
|
-
"return": {
|
|
2652
|
-
"type": {
|
|
2653
|
-
"text": "string"
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2791
|
+
"name": "loadExistingAlertSound",
|
|
2656
2792
|
"parameters": [
|
|
2657
2793
|
{
|
|
2658
|
-
"name": "
|
|
2794
|
+
"name": "dynamicRuleId",
|
|
2659
2795
|
"type": {
|
|
2660
|
-
"text": "
|
|
2796
|
+
"text": "string"
|
|
2661
2797
|
}
|
|
2662
2798
|
}
|
|
2663
2799
|
]
|
|
2664
2800
|
},
|
|
2665
2801
|
{
|
|
2666
2802
|
"kind": "method",
|
|
2667
|
-
"name": "
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
}
|
|
2673
|
-
},
|
|
2803
|
+
"name": "openAlertSoundPicker"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"kind": "method",
|
|
2807
|
+
"name": "onAlertSoundSelected",
|
|
2674
2808
|
"parameters": [
|
|
2675
2809
|
{
|
|
2676
|
-
"name": "
|
|
2810
|
+
"name": "event",
|
|
2677
2811
|
"type": {
|
|
2678
|
-
"text": "
|
|
2812
|
+
"text": "Event"
|
|
2679
2813
|
}
|
|
2680
2814
|
}
|
|
2681
2815
|
]
|
|
2682
|
-
}
|
|
2683
|
-
]
|
|
2684
|
-
},
|
|
2685
|
-
{
|
|
2686
|
-
"kind": "class",
|
|
2687
|
-
"description": "",
|
|
2688
|
-
"name": "TemplateUtils",
|
|
2689
|
-
"members": [
|
|
2690
|
-
{
|
|
2691
|
-
"kind": "field",
|
|
2692
|
-
"name": "createEmptyParameter",
|
|
2693
|
-
"static": true
|
|
2694
2816
|
},
|
|
2695
2817
|
{
|
|
2696
2818
|
"kind": "method",
|
|
2697
|
-
"name": "
|
|
2698
|
-
"static": true,
|
|
2699
|
-
"parameters": [
|
|
2700
|
-
{
|
|
2701
|
-
"name": "parameters"
|
|
2702
|
-
}
|
|
2703
|
-
]
|
|
2819
|
+
"name": "clearAttachedAlertSound"
|
|
2704
2820
|
},
|
|
2705
2821
|
{
|
|
2706
2822
|
"kind": "method",
|
|
2707
|
-
"name": "
|
|
2708
|
-
"privacy": "private",
|
|
2709
|
-
"static": true,
|
|
2710
|
-
"parameters": [
|
|
2711
|
-
{
|
|
2712
|
-
"name": "logicalOperator",
|
|
2713
|
-
"type": {
|
|
2714
|
-
"text": "LogicalOperator"
|
|
2715
|
-
}
|
|
2716
|
-
},
|
|
2717
|
-
{
|
|
2718
|
-
"name": "condition"
|
|
2719
|
-
},
|
|
2720
|
-
{
|
|
2721
|
-
"name": "parameters",
|
|
2722
|
-
"optional": true
|
|
2723
|
-
}
|
|
2724
|
-
]
|
|
2823
|
+
"name": "testAttachedAlertSound"
|
|
2725
2824
|
},
|
|
2726
2825
|
{
|
|
2727
2826
|
"kind": "method",
|
|
2728
|
-
"name": "
|
|
2729
|
-
"static": true,
|
|
2730
|
-
"parameters": [
|
|
2731
|
-
{
|
|
2732
|
-
"name": "conditions"
|
|
2733
|
-
},
|
|
2734
|
-
{
|
|
2735
|
-
"name": "parameters",
|
|
2736
|
-
"optional": true
|
|
2737
|
-
}
|
|
2738
|
-
]
|
|
2827
|
+
"name": "stopTestSound"
|
|
2739
2828
|
},
|
|
2740
2829
|
{
|
|
2741
2830
|
"kind": "method",
|
|
2742
|
-
"name": "
|
|
2743
|
-
|
|
2744
|
-
"parameters": [
|
|
2745
|
-
{
|
|
2746
|
-
"name": "parameters"
|
|
2747
|
-
}
|
|
2748
|
-
]
|
|
2749
|
-
}
|
|
2750
|
-
]
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
"kind": "class",
|
|
2754
|
-
"description": "",
|
|
2755
|
-
"name": "RuleUtils",
|
|
2756
|
-
"members": [
|
|
2831
|
+
"name": "resetAlertSoundState"
|
|
2832
|
+
},
|
|
2757
2833
|
{
|
|
2758
2834
|
"kind": "method",
|
|
2759
|
-
"name": "
|
|
2760
|
-
"
|
|
2761
|
-
|
|
2835
|
+
"name": "applyAlertSoundToPayload",
|
|
2836
|
+
"return": {
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "T"
|
|
2839
|
+
}
|
|
2840
|
+
},
|
|
2762
2841
|
"parameters": [
|
|
2763
2842
|
{
|
|
2764
|
-
"name": "
|
|
2843
|
+
"name": "target",
|
|
2765
2844
|
"type": {
|
|
2766
|
-
"text": "
|
|
2845
|
+
"text": "T"
|
|
2767
2846
|
}
|
|
2768
|
-
},
|
|
2769
|
-
{
|
|
2770
|
-
"name": "condition"
|
|
2771
2847
|
}
|
|
2772
|
-
]
|
|
2848
|
+
],
|
|
2849
|
+
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
2773
2850
|
},
|
|
2774
2851
|
{
|
|
2775
2852
|
"kind": "method",
|
|
2776
|
-
"name": "
|
|
2777
|
-
"
|
|
2778
|
-
"parameters": [
|
|
2779
|
-
{
|
|
2780
|
-
"name": "conditions"
|
|
2781
|
-
}
|
|
2782
|
-
]
|
|
2853
|
+
"name": "syncAlertSoundCacheAfterSave",
|
|
2854
|
+
"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."
|
|
2783
2855
|
}
|
|
2784
|
-
]
|
|
2785
|
-
},
|
|
2786
|
-
{
|
|
2787
|
-
"kind": "function",
|
|
2788
|
-
"name": "showNotificationError",
|
|
2856
|
+
],
|
|
2789
2857
|
"parameters": [
|
|
2790
2858
|
{
|
|
2791
|
-
"name": "
|
|
2859
|
+
"name": "Base",
|
|
2860
|
+
"type": {
|
|
2861
|
+
"text": "TBase"
|
|
2862
|
+
}
|
|
2792
2863
|
}
|
|
2793
|
-
]
|
|
2864
|
+
],
|
|
2865
|
+
"privacy": "public"
|
|
2794
2866
|
}
|
|
2795
2867
|
],
|
|
2796
2868
|
"exports": [
|
|
2797
2869
|
{
|
|
2798
2870
|
"kind": "js",
|
|
2799
|
-
"name": "
|
|
2800
|
-
"declaration": {
|
|
2801
|
-
"name": "UUIDGenerator",
|
|
2802
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
2803
|
-
}
|
|
2804
|
-
},
|
|
2805
|
-
{
|
|
2806
|
-
"kind": "js",
|
|
2807
|
-
"name": "isEmpty",
|
|
2871
|
+
"name": "alertSoundAttachmentTemplate",
|
|
2808
2872
|
"declaration": {
|
|
2809
|
-
"name": "
|
|
2810
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
2873
|
+
"name": "alertSoundAttachmentTemplate",
|
|
2874
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
2811
2875
|
}
|
|
2812
2876
|
},
|
|
2813
2877
|
{
|
|
2814
2878
|
"kind": "js",
|
|
2815
|
-
"name": "
|
|
2879
|
+
"name": "AlertSoundAttachmentMixin",
|
|
2816
2880
|
"declaration": {
|
|
2817
|
-
"name": "
|
|
2818
|
-
"module": "src/components/foundation-notification-dashboard/
|
|
2881
|
+
"name": "AlertSoundAttachmentMixin",
|
|
2882
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
2819
2883
|
}
|
|
2820
|
-
}
|
|
2884
|
+
}
|
|
2885
|
+
]
|
|
2886
|
+
},
|
|
2887
|
+
{
|
|
2888
|
+
"kind": "javascript-module",
|
|
2889
|
+
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
2890
|
+
"declarations": [],
|
|
2891
|
+
"exports": [
|
|
2821
2892
|
{
|
|
2822
2893
|
"kind": "js",
|
|
2823
|
-
"name": "
|
|
2894
|
+
"name": "*",
|
|
2824
2895
|
"declaration": {
|
|
2825
|
-
"name": "
|
|
2826
|
-
"
|
|
2896
|
+
"name": "*",
|
|
2897
|
+
"package": "./notification-dashboard"
|
|
2827
2898
|
}
|
|
2828
|
-
}
|
|
2899
|
+
}
|
|
2900
|
+
]
|
|
2901
|
+
},
|
|
2902
|
+
{
|
|
2903
|
+
"kind": "javascript-module",
|
|
2904
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
2905
|
+
"declarations": [
|
|
2829
2906
|
{
|
|
2830
|
-
"kind": "
|
|
2831
|
-
"name": "
|
|
2832
|
-
"
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2907
|
+
"kind": "variable",
|
|
2908
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
2909
|
+
"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`",
|
|
2910
|
+
"privacy": "public"
|
|
2911
|
+
}
|
|
2912
|
+
],
|
|
2913
|
+
"exports": [
|
|
2837
2914
|
{
|
|
2838
2915
|
"kind": "js",
|
|
2839
|
-
"name": "
|
|
2916
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
2840
2917
|
"declaration": {
|
|
2841
|
-
"name": "
|
|
2842
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.
|
|
2918
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
2919
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"
|
|
2843
2920
|
}
|
|
2844
2921
|
}
|
|
2845
2922
|
]
|
|
2846
2923
|
},
|
|
2847
2924
|
{
|
|
2848
2925
|
"kind": "javascript-module",
|
|
2849
|
-
"path": "src/components/foundation-
|
|
2926
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts",
|
|
2850
2927
|
"declarations": [
|
|
2928
|
+
{
|
|
2929
|
+
"kind": "class",
|
|
2930
|
+
"description": "",
|
|
2931
|
+
"name": "NotificationDashboardTab",
|
|
2932
|
+
"members": [
|
|
2933
|
+
{
|
|
2934
|
+
"kind": "field",
|
|
2935
|
+
"name": "id",
|
|
2936
|
+
"type": {
|
|
2937
|
+
"text": "string"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "field",
|
|
2942
|
+
"name": "name",
|
|
2943
|
+
"type": {
|
|
2944
|
+
"text": "string"
|
|
2945
|
+
}
|
|
2946
|
+
},
|
|
2947
|
+
{
|
|
2948
|
+
"kind": "field",
|
|
2949
|
+
"name": "component",
|
|
2950
|
+
"type": {
|
|
2951
|
+
"text": "string"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "field",
|
|
2956
|
+
"name": "right",
|
|
2957
|
+
"type": {
|
|
2958
|
+
"text": "string"
|
|
2959
|
+
}
|
|
2960
|
+
}
|
|
2961
|
+
]
|
|
2962
|
+
},
|
|
2851
2963
|
{
|
|
2852
2964
|
"kind": "variable",
|
|
2853
|
-
"name": "
|
|
2854
|
-
"
|
|
2965
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2966
|
+
"type": {
|
|
2967
|
+
"text": "NotificationDashboardTab[]"
|
|
2968
|
+
},
|
|
2969
|
+
"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]"
|
|
2855
2970
|
}
|
|
2856
2971
|
],
|
|
2857
2972
|
"exports": [
|
|
2858
2973
|
{
|
|
2859
2974
|
"kind": "js",
|
|
2860
|
-
"name": "
|
|
2975
|
+
"name": "NotificationDashboardTab",
|
|
2861
2976
|
"declaration": {
|
|
2862
|
-
"name": "
|
|
2863
|
-
"module": "src/components/foundation-
|
|
2977
|
+
"name": "NotificationDashboardTab",
|
|
2978
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
2979
|
+
}
|
|
2980
|
+
},
|
|
2981
|
+
{
|
|
2982
|
+
"kind": "js",
|
|
2983
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2984
|
+
"declaration": {
|
|
2985
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
2986
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
2864
2987
|
}
|
|
2865
2988
|
}
|
|
2866
2989
|
]
|
|
2867
2990
|
},
|
|
2868
2991
|
{
|
|
2869
2992
|
"kind": "javascript-module",
|
|
2870
|
-
"path": "src/components/foundation-
|
|
2993
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
2871
2994
|
"declarations": [
|
|
2872
2995
|
{
|
|
2873
2996
|
"kind": "variable",
|
|
2874
|
-
"name": "
|
|
2875
|
-
"default": "html<
|
|
2997
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
2998
|
+
"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`"
|
|
2876
2999
|
}
|
|
2877
3000
|
],
|
|
2878
3001
|
"exports": [
|
|
2879
3002
|
{
|
|
2880
3003
|
"kind": "js",
|
|
2881
|
-
"name": "
|
|
3004
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
2882
3005
|
"declaration": {
|
|
2883
|
-
"name": "
|
|
2884
|
-
"module": "src/components/foundation-
|
|
3006
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3007
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
2885
3008
|
}
|
|
2886
3009
|
}
|
|
2887
3010
|
]
|
|
2888
3011
|
},
|
|
2889
3012
|
{
|
|
2890
3013
|
"kind": "javascript-module",
|
|
2891
|
-
"path": "src/components/foundation-
|
|
3014
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
2892
3015
|
"declarations": [
|
|
2893
3016
|
{
|
|
2894
3017
|
"kind": "class",
|
|
2895
|
-
"description": "
|
|
2896
|
-
"name": "
|
|
3018
|
+
"description": "",
|
|
3019
|
+
"name": "FoundationNotificationDashboard",
|
|
2897
3020
|
"members": [
|
|
2898
3021
|
{
|
|
2899
3022
|
"kind": "field",
|
|
2900
|
-
"name": "
|
|
3023
|
+
"name": "auth",
|
|
2901
3024
|
"type": {
|
|
2902
|
-
"text": "
|
|
3025
|
+
"text": "Auth"
|
|
2903
3026
|
}
|
|
2904
3027
|
},
|
|
2905
3028
|
{
|
|
2906
3029
|
"kind": "field",
|
|
2907
|
-
"name": "
|
|
3030
|
+
"name": "ready",
|
|
2908
3031
|
"type": {
|
|
2909
|
-
"text": "
|
|
3032
|
+
"text": "boolean"
|
|
2910
3033
|
},
|
|
2911
|
-
"default": "
|
|
2912
|
-
"description": "Global playback volume 0–100. @internal"
|
|
3034
|
+
"default": "false"
|
|
2913
3035
|
},
|
|
2914
3036
|
{
|
|
2915
3037
|
"kind": "field",
|
|
2916
|
-
"name": "
|
|
3038
|
+
"name": "hasPermissions",
|
|
2917
3039
|
"type": {
|
|
2918
|
-
"text": "
|
|
3040
|
+
"text": "boolean"
|
|
2919
3041
|
},
|
|
2920
|
-
"default": "
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
3042
|
+
"default": "true"
|
|
3043
|
+
}
|
|
3044
|
+
],
|
|
3045
|
+
"superclass": {
|
|
3046
|
+
"name": "GenesisElement",
|
|
3047
|
+
"package": "@genesislcap/web-core"
|
|
3048
|
+
},
|
|
3049
|
+
"tagName": "foundation-notification-dashboard",
|
|
3050
|
+
"customElement": true
|
|
3051
|
+
}
|
|
3052
|
+
],
|
|
3053
|
+
"exports": [
|
|
3054
|
+
{
|
|
3055
|
+
"kind": "js",
|
|
3056
|
+
"name": "FoundationNotificationDashboard",
|
|
3057
|
+
"declaration": {
|
|
3058
|
+
"name": "FoundationNotificationDashboard",
|
|
3059
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3060
|
+
}
|
|
3061
|
+
},
|
|
3062
|
+
{
|
|
3063
|
+
"kind": "custom-element-definition",
|
|
3064
|
+
"name": "foundation-notification-dashboard",
|
|
3065
|
+
"declaration": {
|
|
3066
|
+
"name": "FoundationNotificationDashboard",
|
|
3067
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3068
|
+
}
|
|
3069
|
+
}
|
|
3070
|
+
]
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "javascript-module",
|
|
3074
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts",
|
|
3075
|
+
"declarations": [
|
|
3076
|
+
{
|
|
3077
|
+
"kind": "class",
|
|
3078
|
+
"description": "",
|
|
3079
|
+
"name": "UUIDGenerator",
|
|
3080
|
+
"members": [
|
|
2930
3081
|
{
|
|
2931
3082
|
"kind": "field",
|
|
2932
|
-
"name": "
|
|
3083
|
+
"name": "uuid",
|
|
2933
3084
|
"type": {
|
|
2934
|
-
"text": "
|
|
3085
|
+
"text": "UUID"
|
|
2935
3086
|
},
|
|
2936
3087
|
"privacy": "private",
|
|
2937
|
-
"
|
|
3088
|
+
"static": true
|
|
2938
3089
|
},
|
|
2939
3090
|
{
|
|
2940
3091
|
"kind": "field",
|
|
2941
|
-
"name": "
|
|
2942
|
-
"
|
|
2943
|
-
|
|
2944
|
-
|
|
3092
|
+
"name": "createUUID",
|
|
3093
|
+
"static": true
|
|
3094
|
+
}
|
|
3095
|
+
]
|
|
3096
|
+
},
|
|
3097
|
+
{
|
|
3098
|
+
"kind": "function",
|
|
3099
|
+
"name": "isEmpty",
|
|
3100
|
+
"parameters": [
|
|
3101
|
+
{
|
|
3102
|
+
"name": "value"
|
|
3103
|
+
}
|
|
3104
|
+
]
|
|
3105
|
+
},
|
|
3106
|
+
{
|
|
3107
|
+
"kind": "class",
|
|
3108
|
+
"description": "",
|
|
3109
|
+
"name": "DynamicRuleUtils",
|
|
3110
|
+
"members": [
|
|
2945
3111
|
{
|
|
2946
3112
|
"kind": "field",
|
|
2947
|
-
"name": "
|
|
2948
|
-
"
|
|
2949
|
-
"text": "(() => void) | undefined"
|
|
2950
|
-
},
|
|
2951
|
-
"privacy": "private"
|
|
3113
|
+
"name": "createEmptyCondition",
|
|
3114
|
+
"static": true
|
|
2952
3115
|
},
|
|
2953
3116
|
{
|
|
2954
3117
|
"kind": "field",
|
|
2955
|
-
"name": "
|
|
2956
|
-
"
|
|
2957
|
-
"text": "boolean"
|
|
2958
|
-
},
|
|
2959
|
-
"privacy": "private",
|
|
2960
|
-
"default": "false",
|
|
2961
|
-
"description": "Suppresses select change events while options are rebuilt."
|
|
3118
|
+
"name": "createAssignment",
|
|
3119
|
+
"static": true
|
|
2962
3120
|
},
|
|
2963
3121
|
{
|
|
2964
|
-
"kind": "
|
|
2965
|
-
"name": "
|
|
2966
|
-
"
|
|
2967
|
-
"type": {
|
|
2968
|
-
"text": "boolean"
|
|
2969
|
-
}
|
|
2970
|
-
},
|
|
2971
|
-
"parameters": [
|
|
2972
|
-
{
|
|
2973
|
-
"name": "index",
|
|
2974
|
-
"type": {
|
|
2975
|
-
"text": "number"
|
|
2976
|
-
}
|
|
2977
|
-
},
|
|
2978
|
-
{
|
|
2979
|
-
"name": "event",
|
|
2980
|
-
"type": {
|
|
2981
|
-
"text": "Event"
|
|
2982
|
-
}
|
|
2983
|
-
}
|
|
2984
|
-
]
|
|
3122
|
+
"kind": "field",
|
|
3123
|
+
"name": "createTextAssignment",
|
|
3124
|
+
"static": true
|
|
2985
3125
|
},
|
|
2986
3126
|
{
|
|
2987
|
-
"kind": "
|
|
2988
|
-
"name": "
|
|
2989
|
-
"
|
|
2990
|
-
"type": {
|
|
2991
|
-
"text": "boolean"
|
|
2992
|
-
}
|
|
2993
|
-
},
|
|
2994
|
-
"parameters": [
|
|
2995
|
-
{
|
|
2996
|
-
"name": "index",
|
|
2997
|
-
"type": {
|
|
2998
|
-
"text": "number"
|
|
2999
|
-
}
|
|
3000
|
-
},
|
|
3001
|
-
{
|
|
3002
|
-
"name": "event",
|
|
3003
|
-
"type": {
|
|
3004
|
-
"text": "Event"
|
|
3005
|
-
}
|
|
3006
|
-
}
|
|
3007
|
-
]
|
|
3127
|
+
"kind": "field",
|
|
3128
|
+
"name": "getAssignmentValue",
|
|
3129
|
+
"static": true
|
|
3008
3130
|
},
|
|
3009
3131
|
{
|
|
3010
|
-
"kind": "
|
|
3011
|
-
"name": "
|
|
3012
|
-
"
|
|
3013
|
-
"type": {
|
|
3014
|
-
"text": "boolean"
|
|
3015
|
-
}
|
|
3016
|
-
},
|
|
3017
|
-
"parameters": [
|
|
3018
|
-
{
|
|
3019
|
-
"name": "index",
|
|
3020
|
-
"type": {
|
|
3021
|
-
"text": "number"
|
|
3022
|
-
}
|
|
3023
|
-
},
|
|
3024
|
-
{
|
|
3025
|
-
"name": "event",
|
|
3026
|
-
"type": {
|
|
3027
|
-
"text": "Event"
|
|
3028
|
-
}
|
|
3029
|
-
}
|
|
3030
|
-
]
|
|
3132
|
+
"kind": "field",
|
|
3133
|
+
"name": "getAssignmentText",
|
|
3134
|
+
"static": true
|
|
3031
3135
|
},
|
|
3032
3136
|
{
|
|
3033
3137
|
"kind": "method",
|
|
3034
|
-
"name": "
|
|
3138
|
+
"name": "createConditions",
|
|
3139
|
+
"static": true,
|
|
3035
3140
|
"return": {
|
|
3036
3141
|
"type": {
|
|
3037
|
-
"text": "
|
|
3142
|
+
"text": "any"
|
|
3038
3143
|
}
|
|
3039
3144
|
},
|
|
3040
3145
|
"parameters": [
|
|
3041
3146
|
{
|
|
3042
|
-
"name": "
|
|
3147
|
+
"name": "conditions",
|
|
3043
3148
|
"type": {
|
|
3044
|
-
"text": "
|
|
3149
|
+
"text": "ConditionNode[]"
|
|
3045
3150
|
}
|
|
3151
|
+
},
|
|
3152
|
+
{
|
|
3153
|
+
"name": "parameters",
|
|
3154
|
+
"optional": true
|
|
3046
3155
|
}
|
|
3047
3156
|
]
|
|
3048
3157
|
},
|
|
3049
3158
|
{
|
|
3050
3159
|
"kind": "method",
|
|
3051
|
-
"name": "
|
|
3160
|
+
"name": "hasMultiValueCondition",
|
|
3161
|
+
"static": true,
|
|
3052
3162
|
"return": {
|
|
3053
3163
|
"type": {
|
|
3054
3164
|
"text": "boolean"
|
|
@@ -3056,16 +3166,17 @@
|
|
|
3056
3166
|
},
|
|
3057
3167
|
"parameters": [
|
|
3058
3168
|
{
|
|
3059
|
-
"name": "
|
|
3169
|
+
"name": "conditions",
|
|
3060
3170
|
"type": {
|
|
3061
|
-
"text": "
|
|
3171
|
+
"text": "ConditionNode[]"
|
|
3062
3172
|
}
|
|
3063
3173
|
}
|
|
3064
3174
|
]
|
|
3065
3175
|
},
|
|
3066
3176
|
{
|
|
3067
3177
|
"kind": "method",
|
|
3068
|
-
"name": "
|
|
3178
|
+
"name": "hasOrJoin",
|
|
3179
|
+
"static": true,
|
|
3069
3180
|
"return": {
|
|
3070
3181
|
"type": {
|
|
3071
3182
|
"text": "boolean"
|
|
@@ -3073,16 +3184,17 @@
|
|
|
3073
3184
|
},
|
|
3074
3185
|
"parameters": [
|
|
3075
3186
|
{
|
|
3076
|
-
"name": "
|
|
3187
|
+
"name": "conditions",
|
|
3077
3188
|
"type": {
|
|
3078
|
-
"text": "
|
|
3189
|
+
"text": "ConditionNode[]"
|
|
3079
3190
|
}
|
|
3080
3191
|
}
|
|
3081
3192
|
]
|
|
3082
3193
|
},
|
|
3083
3194
|
{
|
|
3084
3195
|
"kind": "method",
|
|
3085
|
-
"name": "
|
|
3196
|
+
"name": "hasGroup",
|
|
3197
|
+
"static": true,
|
|
3086
3198
|
"return": {
|
|
3087
3199
|
"type": {
|
|
3088
3200
|
"text": "boolean"
|
|
@@ -3090,16 +3202,17 @@
|
|
|
3090
3202
|
},
|
|
3091
3203
|
"parameters": [
|
|
3092
3204
|
{
|
|
3093
|
-
"name": "
|
|
3205
|
+
"name": "conditions",
|
|
3094
3206
|
"type": {
|
|
3095
|
-
"text": "
|
|
3207
|
+
"text": "ConditionNode[]"
|
|
3096
3208
|
}
|
|
3097
3209
|
}
|
|
3098
3210
|
]
|
|
3099
3211
|
},
|
|
3100
3212
|
{
|
|
3101
3213
|
"kind": "method",
|
|
3102
|
-
"name": "
|
|
3214
|
+
"name": "hasUnsupportedOperator",
|
|
3215
|
+
"static": true,
|
|
3103
3216
|
"return": {
|
|
3104
3217
|
"type": {
|
|
3105
3218
|
"text": "boolean"
|
|
@@ -3107,369 +3220,256 @@
|
|
|
3107
3220
|
},
|
|
3108
3221
|
"parameters": [
|
|
3109
3222
|
{
|
|
3110
|
-
"name": "
|
|
3223
|
+
"name": "conditions",
|
|
3111
3224
|
"type": {
|
|
3112
|
-
"text": "
|
|
3225
|
+
"text": "ConditionNode[]"
|
|
3113
3226
|
}
|
|
3114
3227
|
}
|
|
3115
3228
|
]
|
|
3116
3229
|
},
|
|
3117
3230
|
{
|
|
3118
3231
|
"kind": "method",
|
|
3119
|
-
"name": "
|
|
3232
|
+
"name": "flattenConditions",
|
|
3233
|
+
"static": true,
|
|
3120
3234
|
"return": {
|
|
3121
3235
|
"type": {
|
|
3122
|
-
"text": "
|
|
3236
|
+
"text": "ConditionBuilderEntity[]"
|
|
3123
3237
|
}
|
|
3124
3238
|
},
|
|
3125
3239
|
"parameters": [
|
|
3126
3240
|
{
|
|
3127
|
-
"name": "
|
|
3241
|
+
"name": "conditions",
|
|
3128
3242
|
"type": {
|
|
3129
|
-
"text": "
|
|
3243
|
+
"text": "ConditionNode[]"
|
|
3130
3244
|
}
|
|
3131
3245
|
}
|
|
3132
3246
|
]
|
|
3133
3247
|
},
|
|
3134
3248
|
{
|
|
3135
3249
|
"kind": "method",
|
|
3136
|
-
"name": "
|
|
3137
|
-
"
|
|
3138
|
-
"type": {
|
|
3139
|
-
"text": "boolean"
|
|
3140
|
-
}
|
|
3141
|
-
}
|
|
3142
|
-
},
|
|
3143
|
-
{
|
|
3144
|
-
"kind": "method",
|
|
3145
|
-
"name": "addRule",
|
|
3146
|
-
"return": {
|
|
3147
|
-
"type": {
|
|
3148
|
-
"text": "boolean"
|
|
3149
|
-
}
|
|
3150
|
-
}
|
|
3151
|
-
},
|
|
3152
|
-
{
|
|
3153
|
-
"kind": "method",
|
|
3154
|
-
"name": "removeRule",
|
|
3250
|
+
"name": "resolveLeftValues",
|
|
3251
|
+
"static": true,
|
|
3155
3252
|
"return": {
|
|
3156
3253
|
"type": {
|
|
3157
|
-
"text": "
|
|
3254
|
+
"text": "ConditionNode[]"
|
|
3158
3255
|
}
|
|
3159
3256
|
},
|
|
3160
3257
|
"parameters": [
|
|
3161
3258
|
{
|
|
3162
|
-
"name": "
|
|
3259
|
+
"name": "conditions",
|
|
3163
3260
|
"type": {
|
|
3164
|
-
"text": "
|
|
3261
|
+
"text": "ConditionNode[]"
|
|
3262
|
+
}
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
"name": "fields",
|
|
3266
|
+
"type": {
|
|
3267
|
+
"text": "any[]"
|
|
3165
3268
|
}
|
|
3166
3269
|
}
|
|
3167
3270
|
]
|
|
3168
3271
|
},
|
|
3169
3272
|
{
|
|
3170
|
-
"kind": "
|
|
3171
|
-
"name": "
|
|
3172
|
-
"
|
|
3173
|
-
"type": {
|
|
3174
|
-
"text": "Promise<void>"
|
|
3175
|
-
}
|
|
3176
|
-
},
|
|
3177
|
-
"description": "Reloads the notification-rule picker (e.g. when the Sounds tab is opened)."
|
|
3178
|
-
},
|
|
3179
|
-
{
|
|
3180
|
-
"kind": "method",
|
|
3181
|
-
"name": "loadRules",
|
|
3182
|
-
"privacy": "private",
|
|
3183
|
-
"return": {
|
|
3184
|
-
"type": {
|
|
3185
|
-
"text": "Promise<void>"
|
|
3186
|
-
}
|
|
3187
|
-
}
|
|
3188
|
-
},
|
|
3189
|
-
{
|
|
3190
|
-
"kind": "method",
|
|
3191
|
-
"name": "settleRuleOptions",
|
|
3192
|
-
"privacy": "private",
|
|
3193
|
-
"return": {
|
|
3194
|
-
"type": {
|
|
3195
|
-
"text": "Promise<void>"
|
|
3196
|
-
}
|
|
3197
|
-
},
|
|
3198
|
-
"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."
|
|
3199
|
-
},
|
|
3200
|
-
{
|
|
3201
|
-
"kind": "method",
|
|
3202
|
-
"name": "applyRuleSelectValues",
|
|
3203
|
-
"privacy": "private",
|
|
3204
|
-
"return": {
|
|
3205
|
-
"type": {
|
|
3206
|
-
"text": "void"
|
|
3207
|
-
}
|
|
3208
|
-
},
|
|
3209
|
-
"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...\"."
|
|
3273
|
+
"kind": "field",
|
|
3274
|
+
"name": "createEmptyGroup",
|
|
3275
|
+
"static": true
|
|
3210
3276
|
},
|
|
3211
3277
|
{
|
|
3212
3278
|
"kind": "method",
|
|
3213
|
-
"name": "
|
|
3214
|
-
"
|
|
3279
|
+
"name": "buildRawExpression",
|
|
3280
|
+
"static": true,
|
|
3215
3281
|
"return": {
|
|
3216
3282
|
"type": {
|
|
3217
|
-
"text": "
|
|
3283
|
+
"text": "string"
|
|
3218
3284
|
}
|
|
3219
3285
|
},
|
|
3220
3286
|
"parameters": [
|
|
3221
3287
|
{
|
|
3222
|
-
"name": "
|
|
3288
|
+
"name": "conditions",
|
|
3223
3289
|
"type": {
|
|
3224
|
-
"text": "
|
|
3290
|
+
"text": "ConditionNode[]"
|
|
3225
3291
|
}
|
|
3226
3292
|
}
|
|
3227
3293
|
]
|
|
3228
3294
|
},
|
|
3229
3295
|
{
|
|
3230
3296
|
"kind": "method",
|
|
3231
|
-
"name": "
|
|
3232
|
-
"
|
|
3297
|
+
"name": "parseRawExpression",
|
|
3298
|
+
"static": true,
|
|
3233
3299
|
"return": {
|
|
3234
3300
|
"type": {
|
|
3235
|
-
"text": "
|
|
3301
|
+
"text": "ConditionNode[] | null"
|
|
3236
3302
|
}
|
|
3237
3303
|
},
|
|
3238
3304
|
"parameters": [
|
|
3239
3305
|
{
|
|
3240
|
-
"name": "
|
|
3306
|
+
"name": "rawExpression",
|
|
3241
3307
|
"type": {
|
|
3242
|
-
"text": "
|
|
3308
|
+
"text": "string"
|
|
3243
3309
|
}
|
|
3244
3310
|
}
|
|
3245
3311
|
]
|
|
3246
|
-
},
|
|
3247
|
-
{
|
|
3248
|
-
"kind": "method",
|
|
3249
|
-
"name": "syncSoundState",
|
|
3250
|
-
"privacy": "private"
|
|
3251
3312
|
}
|
|
3252
|
-
]
|
|
3253
|
-
"superclass": {
|
|
3254
|
-
"name": "GenesisElement",
|
|
3255
|
-
"package": "@genesislcap/web-core"
|
|
3256
|
-
},
|
|
3257
|
-
"tagName": "foundation-sounds-panel",
|
|
3258
|
-
"customElement": true
|
|
3259
|
-
}
|
|
3260
|
-
],
|
|
3261
|
-
"exports": [
|
|
3262
|
-
{
|
|
3263
|
-
"kind": "js",
|
|
3264
|
-
"name": "FoundationSoundsPanel",
|
|
3265
|
-
"declaration": {
|
|
3266
|
-
"name": "FoundationSoundsPanel",
|
|
3267
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3268
|
-
}
|
|
3313
|
+
]
|
|
3269
3314
|
},
|
|
3270
|
-
{
|
|
3271
|
-
"kind": "custom-element-definition",
|
|
3272
|
-
"name": "foundation-sounds-panel",
|
|
3273
|
-
"declaration": {
|
|
3274
|
-
"name": "FoundationSoundsPanel",
|
|
3275
|
-
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3276
|
-
}
|
|
3277
|
-
}
|
|
3278
|
-
]
|
|
3279
|
-
},
|
|
3280
|
-
{
|
|
3281
|
-
"kind": "javascript-module",
|
|
3282
|
-
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
3283
|
-
"declarations": [
|
|
3284
|
-
{
|
|
3285
|
-
"kind": "variable",
|
|
3286
|
-
"name": "FoundationSoundsStyles",
|
|
3287
|
-
"default": "css`\n :host {\n display: none;\n }\n`",
|
|
3288
|
-
"description": "Headless layout listener — take no space in the layout chrome."
|
|
3289
|
-
}
|
|
3290
|
-
],
|
|
3291
|
-
"exports": [
|
|
3292
|
-
{
|
|
3293
|
-
"kind": "js",
|
|
3294
|
-
"name": "FoundationSoundsStyles",
|
|
3295
|
-
"declaration": {
|
|
3296
|
-
"name": "FoundationSoundsStyles",
|
|
3297
|
-
"module": "src/components/foundation-sounds/foundation-sounds.styles.ts"
|
|
3298
|
-
}
|
|
3299
|
-
}
|
|
3300
|
-
]
|
|
3301
|
-
},
|
|
3302
|
-
{
|
|
3303
|
-
"kind": "javascript-module",
|
|
3304
|
-
"path": "src/components/foundation-sounds/foundation-sounds.ts",
|
|
3305
|
-
"declarations": [
|
|
3306
3315
|
{
|
|
3307
3316
|
"kind": "class",
|
|
3308
|
-
"description": "
|
|
3309
|
-
"name": "
|
|
3310
|
-
"members": [
|
|
3311
|
-
{
|
|
3312
|
-
"kind": "field",
|
|
3313
|
-
"name": "connect",
|
|
3314
|
-
"type": {
|
|
3315
|
-
"text": "Connect"
|
|
3316
|
-
}
|
|
3317
|
-
},
|
|
3318
|
-
{
|
|
3319
|
-
"kind": "field",
|
|
3320
|
-
"name": "inboxService",
|
|
3321
|
-
"type": {
|
|
3322
|
-
"text": "FoundationInboxService"
|
|
3323
|
-
}
|
|
3324
|
-
},
|
|
3325
|
-
{
|
|
3326
|
-
"kind": "field",
|
|
3327
|
-
"name": "ruleService",
|
|
3328
|
-
"type": {
|
|
3329
|
-
"text": "RuleService"
|
|
3330
|
-
}
|
|
3331
|
-
},
|
|
3332
|
-
{
|
|
3333
|
-
"kind": "field",
|
|
3334
|
-
"name": "soundEnabled",
|
|
3335
|
-
"type": {
|
|
3336
|
-
"text": "boolean"
|
|
3337
|
-
},
|
|
3338
|
-
"default": "true",
|
|
3339
|
-
"description": "When false, new audible alerts are tracked but do not play."
|
|
3340
|
-
},
|
|
3341
|
-
{
|
|
3342
|
-
"kind": "field",
|
|
3343
|
-
"name": "connectionSub",
|
|
3344
|
-
"type": {
|
|
3345
|
-
"text": "Subscription | undefined"
|
|
3346
|
-
},
|
|
3347
|
-
"privacy": "private"
|
|
3348
|
-
},
|
|
3349
|
-
{
|
|
3350
|
-
"kind": "field",
|
|
3351
|
-
"name": "player",
|
|
3352
|
-
"privacy": "private",
|
|
3353
|
-
"readonly": true
|
|
3354
|
-
},
|
|
3317
|
+
"description": "",
|
|
3318
|
+
"name": "TemplateUtils",
|
|
3319
|
+
"members": [
|
|
3355
3320
|
{
|
|
3356
3321
|
"kind": "field",
|
|
3357
|
-
"name": "
|
|
3358
|
-
"
|
|
3359
|
-
"default": "new Set<string>()"
|
|
3322
|
+
"name": "createEmptyParameter",
|
|
3323
|
+
"static": true
|
|
3360
3324
|
},
|
|
3361
3325
|
{
|
|
3362
|
-
"kind": "
|
|
3363
|
-
"name": "
|
|
3364
|
-
"
|
|
3365
|
-
"
|
|
3366
|
-
|
|
3367
|
-
|
|
3326
|
+
"kind": "method",
|
|
3327
|
+
"name": "getParameters",
|
|
3328
|
+
"static": true,
|
|
3329
|
+
"parameters": [
|
|
3330
|
+
{
|
|
3331
|
+
"name": "parameters"
|
|
3332
|
+
}
|
|
3333
|
+
]
|
|
3368
3334
|
},
|
|
3369
3335
|
{
|
|
3370
3336
|
"kind": "method",
|
|
3371
|
-
"name": "
|
|
3337
|
+
"name": "buildRightValue",
|
|
3372
3338
|
"privacy": "private",
|
|
3373
|
-
"
|
|
3374
|
-
|
|
3375
|
-
|
|
3339
|
+
"static": true,
|
|
3340
|
+
"parameters": [
|
|
3341
|
+
{
|
|
3342
|
+
"name": "logicalOperator",
|
|
3343
|
+
"type": {
|
|
3344
|
+
"text": "LogicalOperator"
|
|
3345
|
+
}
|
|
3346
|
+
},
|
|
3347
|
+
{
|
|
3348
|
+
"name": "condition"
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
"name": "parameters",
|
|
3352
|
+
"optional": true
|
|
3376
3353
|
}
|
|
3377
|
-
|
|
3354
|
+
]
|
|
3378
3355
|
},
|
|
3379
3356
|
{
|
|
3380
|
-
"kind": "
|
|
3381
|
-
"name": "
|
|
3382
|
-
"
|
|
3357
|
+
"kind": "method",
|
|
3358
|
+
"name": "getConditions",
|
|
3359
|
+
"static": true,
|
|
3360
|
+
"parameters": [
|
|
3361
|
+
{
|
|
3362
|
+
"name": "conditions"
|
|
3363
|
+
},
|
|
3364
|
+
{
|
|
3365
|
+
"name": "parameters",
|
|
3366
|
+
"optional": true
|
|
3367
|
+
}
|
|
3368
|
+
]
|
|
3383
3369
|
},
|
|
3384
3370
|
{
|
|
3385
3371
|
"kind": "method",
|
|
3386
|
-
"name": "
|
|
3387
|
-
"
|
|
3388
|
-
"return": {
|
|
3389
|
-
"type": {
|
|
3390
|
-
"text": "Promise<void>"
|
|
3391
|
-
}
|
|
3392
|
-
},
|
|
3372
|
+
"name": "createParameterDetails",
|
|
3373
|
+
"static": true,
|
|
3393
3374
|
"parameters": [
|
|
3394
3375
|
{
|
|
3395
|
-
"name": "
|
|
3396
|
-
"type": {
|
|
3397
|
-
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
3398
|
-
}
|
|
3376
|
+
"name": "parameters"
|
|
3399
3377
|
}
|
|
3400
3378
|
]
|
|
3401
|
-
}
|
|
3379
|
+
}
|
|
3380
|
+
]
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"kind": "class",
|
|
3384
|
+
"description": "",
|
|
3385
|
+
"name": "RuleUtils",
|
|
3386
|
+
"members": [
|
|
3402
3387
|
{
|
|
3403
3388
|
"kind": "method",
|
|
3404
|
-
"name": "
|
|
3389
|
+
"name": "buildRightValue",
|
|
3405
3390
|
"privacy": "private",
|
|
3406
|
-
"
|
|
3407
|
-
"type": {
|
|
3408
|
-
"text": "Promise<boolean>"
|
|
3409
|
-
}
|
|
3410
|
-
},
|
|
3391
|
+
"static": true,
|
|
3411
3392
|
"parameters": [
|
|
3412
3393
|
{
|
|
3413
|
-
"name": "
|
|
3394
|
+
"name": "logicalOperator",
|
|
3414
3395
|
"type": {
|
|
3415
|
-
"text": "
|
|
3396
|
+
"text": "LogicalOperator"
|
|
3416
3397
|
}
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "condition"
|
|
3417
3401
|
}
|
|
3418
3402
|
]
|
|
3419
3403
|
},
|
|
3420
3404
|
{
|
|
3421
3405
|
"kind": "method",
|
|
3422
|
-
"name": "
|
|
3423
|
-
"
|
|
3424
|
-
"return": {
|
|
3425
|
-
"type": {
|
|
3426
|
-
"text": "Promise<boolean>"
|
|
3427
|
-
}
|
|
3428
|
-
},
|
|
3406
|
+
"name": "getConditions",
|
|
3407
|
+
"static": true,
|
|
3429
3408
|
"parameters": [
|
|
3430
3409
|
{
|
|
3431
|
-
"name": "
|
|
3432
|
-
"type": {
|
|
3433
|
-
"text": "string"
|
|
3434
|
-
}
|
|
3410
|
+
"name": "conditions"
|
|
3435
3411
|
}
|
|
3436
3412
|
]
|
|
3437
3413
|
}
|
|
3438
|
-
]
|
|
3439
|
-
|
|
3414
|
+
]
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"kind": "function",
|
|
3418
|
+
"name": "showNotificationError",
|
|
3419
|
+
"parameters": [
|
|
3440
3420
|
{
|
|
3441
|
-
"name": "
|
|
3442
|
-
"type": {
|
|
3443
|
-
"text": "boolean"
|
|
3444
|
-
},
|
|
3445
|
-
"default": "true",
|
|
3446
|
-
"description": "When false, new audible alerts are tracked but do not play.",
|
|
3447
|
-
"fieldName": "soundEnabled"
|
|
3421
|
+
"name": "error"
|
|
3448
3422
|
}
|
|
3449
|
-
]
|
|
3450
|
-
"superclass": {
|
|
3451
|
-
"name": "GenesisElement",
|
|
3452
|
-
"package": "@genesislcap/web-core"
|
|
3453
|
-
},
|
|
3454
|
-
"tagName": "foundation-sounds",
|
|
3455
|
-
"customElement": true
|
|
3423
|
+
]
|
|
3456
3424
|
}
|
|
3457
3425
|
],
|
|
3458
3426
|
"exports": [
|
|
3459
3427
|
{
|
|
3460
3428
|
"kind": "js",
|
|
3461
|
-
"name": "
|
|
3429
|
+
"name": "UUIDGenerator",
|
|
3462
3430
|
"declaration": {
|
|
3463
|
-
"name": "
|
|
3464
|
-
"module": "src/components/foundation-
|
|
3431
|
+
"name": "UUIDGenerator",
|
|
3432
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3465
3433
|
}
|
|
3466
3434
|
},
|
|
3467
3435
|
{
|
|
3468
|
-
"kind": "
|
|
3469
|
-
"name": "
|
|
3436
|
+
"kind": "js",
|
|
3437
|
+
"name": "isEmpty",
|
|
3470
3438
|
"declaration": {
|
|
3471
|
-
"name": "
|
|
3472
|
-
"module": "src/components/foundation-
|
|
3439
|
+
"name": "isEmpty",
|
|
3440
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3441
|
+
}
|
|
3442
|
+
},
|
|
3443
|
+
{
|
|
3444
|
+
"kind": "js",
|
|
3445
|
+
"name": "DynamicRuleUtils",
|
|
3446
|
+
"declaration": {
|
|
3447
|
+
"name": "DynamicRuleUtils",
|
|
3448
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3449
|
+
}
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"kind": "js",
|
|
3453
|
+
"name": "TemplateUtils",
|
|
3454
|
+
"declaration": {
|
|
3455
|
+
"name": "TemplateUtils",
|
|
3456
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3457
|
+
}
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"kind": "js",
|
|
3461
|
+
"name": "RuleUtils",
|
|
3462
|
+
"declaration": {
|
|
3463
|
+
"name": "RuleUtils",
|
|
3464
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3465
|
+
}
|
|
3466
|
+
},
|
|
3467
|
+
{
|
|
3468
|
+
"kind": "js",
|
|
3469
|
+
"name": "showNotificationError",
|
|
3470
|
+
"declaration": {
|
|
3471
|
+
"name": "showNotificationError",
|
|
3472
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3473
3473
|
}
|
|
3474
3474
|
}
|
|
3475
3475
|
]
|
|
@@ -4886,34 +4886,177 @@
|
|
|
4886
4886
|
},
|
|
4887
4887
|
{
|
|
4888
4888
|
"kind": "js",
|
|
4889
|
-
"name": "SEVERITY_CRITICAL",
|
|
4889
|
+
"name": "SEVERITY_CRITICAL",
|
|
4890
|
+
"declaration": {
|
|
4891
|
+
"name": "SEVERITY_CRITICAL",
|
|
4892
|
+
"module": "src/components/foundation-notification-dashboard/types/severity.ts"
|
|
4893
|
+
}
|
|
4894
|
+
},
|
|
4895
|
+
{
|
|
4896
|
+
"kind": "js",
|
|
4897
|
+
"name": "SEVERITY_SERIOUS",
|
|
4898
|
+
"declaration": {
|
|
4899
|
+
"name": "SEVERITY_SERIOUS",
|
|
4900
|
+
"module": "src/components/foundation-notification-dashboard/types/severity.ts"
|
|
4901
|
+
}
|
|
4902
|
+
},
|
|
4903
|
+
{
|
|
4904
|
+
"kind": "js",
|
|
4905
|
+
"name": "SEVERITY_WARNING",
|
|
4906
|
+
"declaration": {
|
|
4907
|
+
"name": "SEVERITY_WARNING",
|
|
4908
|
+
"module": "src/components/foundation-notification-dashboard/types/severity.ts"
|
|
4909
|
+
}
|
|
4910
|
+
},
|
|
4911
|
+
{
|
|
4912
|
+
"kind": "js",
|
|
4913
|
+
"name": "ALL_SEVERITIES",
|
|
4914
|
+
"declaration": {
|
|
4915
|
+
"name": "ALL_SEVERITIES",
|
|
4916
|
+
"module": "src/components/foundation-notification-dashboard/types/severity.ts"
|
|
4917
|
+
}
|
|
4918
|
+
}
|
|
4919
|
+
]
|
|
4920
|
+
},
|
|
4921
|
+
{
|
|
4922
|
+
"kind": "javascript-module",
|
|
4923
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
4924
|
+
"declarations": [
|
|
4925
|
+
{
|
|
4926
|
+
"kind": "variable",
|
|
4927
|
+
"name": "noItemsClass",
|
|
4928
|
+
"type": {
|
|
4929
|
+
"text": "string"
|
|
4930
|
+
},
|
|
4931
|
+
"default": "'no-items'",
|
|
4932
|
+
"description": "Class to use when there are no items"
|
|
4933
|
+
},
|
|
4934
|
+
{
|
|
4935
|
+
"kind": "variable",
|
|
4936
|
+
"name": "FoundationInboxCounterStyles",
|
|
4937
|
+
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
4938
|
+
}
|
|
4939
|
+
],
|
|
4940
|
+
"exports": [
|
|
4941
|
+
{
|
|
4942
|
+
"kind": "js",
|
|
4943
|
+
"name": "noItemsClass",
|
|
4944
|
+
"declaration": {
|
|
4945
|
+
"name": "noItemsClass",
|
|
4946
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
4947
|
+
}
|
|
4948
|
+
},
|
|
4949
|
+
{
|
|
4950
|
+
"kind": "js",
|
|
4951
|
+
"name": "FoundationInboxCounterStyles",
|
|
4952
|
+
"declaration": {
|
|
4953
|
+
"name": "FoundationInboxCounterStyles",
|
|
4954
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
4955
|
+
}
|
|
4956
|
+
}
|
|
4957
|
+
]
|
|
4958
|
+
},
|
|
4959
|
+
{
|
|
4960
|
+
"kind": "javascript-module",
|
|
4961
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
4962
|
+
"declarations": [
|
|
4963
|
+
{
|
|
4964
|
+
"kind": "variable",
|
|
4965
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4966
|
+
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
4967
|
+
}
|
|
4968
|
+
],
|
|
4969
|
+
"exports": [
|
|
4970
|
+
{
|
|
4971
|
+
"kind": "js",
|
|
4972
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4890
4973
|
"declaration": {
|
|
4891
|
-
"name": "
|
|
4892
|
-
"module": "src/components/foundation-
|
|
4974
|
+
"name": "FoundationInboxCounterTemplate",
|
|
4975
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
4893
4976
|
}
|
|
4894
|
-
}
|
|
4977
|
+
}
|
|
4978
|
+
]
|
|
4979
|
+
},
|
|
4980
|
+
{
|
|
4981
|
+
"kind": "javascript-module",
|
|
4982
|
+
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
4983
|
+
"declarations": [
|
|
4895
4984
|
{
|
|
4896
|
-
"kind": "
|
|
4897
|
-
"
|
|
4898
|
-
"
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4985
|
+
"kind": "class",
|
|
4986
|
+
"description": "",
|
|
4987
|
+
"name": "FoundationInboxCounter",
|
|
4988
|
+
"members": [
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "field",
|
|
4991
|
+
"name": "value",
|
|
4992
|
+
"type": {
|
|
4993
|
+
"text": "number"
|
|
4994
|
+
},
|
|
4995
|
+
"default": "0"
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"kind": "field",
|
|
4999
|
+
"name": "connect",
|
|
5000
|
+
"type": {
|
|
5001
|
+
"text": "Connect"
|
|
5002
|
+
}
|
|
5003
|
+
},
|
|
5004
|
+
{
|
|
5005
|
+
"kind": "field",
|
|
5006
|
+
"name": "inboxService",
|
|
5007
|
+
"type": {
|
|
5008
|
+
"text": "FoundationInboxService"
|
|
5009
|
+
}
|
|
5010
|
+
},
|
|
5011
|
+
{
|
|
5012
|
+
"kind": "field",
|
|
5013
|
+
"name": "connectionSub",
|
|
5014
|
+
"type": {
|
|
5015
|
+
"text": "Subscription"
|
|
5016
|
+
},
|
|
5017
|
+
"privacy": "private"
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
"kind": "method",
|
|
5021
|
+
"name": "subscribeToAlerts",
|
|
5022
|
+
"privacy": "private",
|
|
5023
|
+
"return": {
|
|
5024
|
+
"type": {
|
|
5025
|
+
"text": "Promise<void>"
|
|
5026
|
+
}
|
|
5027
|
+
},
|
|
5028
|
+
"description": "Subscribes to alerts from the inbox service"
|
|
5029
|
+
},
|
|
5030
|
+
{
|
|
5031
|
+
"kind": "field",
|
|
5032
|
+
"name": "subscriptionHandler",
|
|
5033
|
+
"privacy": "private",
|
|
5034
|
+
"description": "Handles subscription updates from the inbox service"
|
|
5035
|
+
}
|
|
5036
|
+
],
|
|
5037
|
+
"superclass": {
|
|
5038
|
+
"name": "GenesisElement",
|
|
5039
|
+
"package": "@genesislcap/web-core"
|
|
5040
|
+
},
|
|
5041
|
+
"tagName": "foundation-inbox-counter",
|
|
5042
|
+
"customElement": true
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
5045
|
+
"exports": [
|
|
4903
5046
|
{
|
|
4904
5047
|
"kind": "js",
|
|
4905
|
-
"name": "
|
|
5048
|
+
"name": "FoundationInboxCounter",
|
|
4906
5049
|
"declaration": {
|
|
4907
|
-
"name": "
|
|
4908
|
-
"module": "src/components/foundation-
|
|
5050
|
+
"name": "FoundationInboxCounter",
|
|
5051
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
4909
5052
|
}
|
|
4910
5053
|
},
|
|
4911
5054
|
{
|
|
4912
|
-
"kind": "
|
|
4913
|
-
"name": "
|
|
5055
|
+
"kind": "custom-element-definition",
|
|
5056
|
+
"name": "foundation-inbox-counter",
|
|
4914
5057
|
"declaration": {
|
|
4915
|
-
"name": "
|
|
4916
|
-
"module": "src/components/foundation-
|
|
5058
|
+
"name": "FoundationInboxCounter",
|
|
5059
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts"
|
|
4917
5060
|
}
|
|
4918
5061
|
}
|
|
4919
5062
|
]
|
|
@@ -5980,195 +6123,52 @@
|
|
|
5980
6123
|
"optional": true,
|
|
5981
6124
|
"type": {
|
|
5982
6125
|
"text": "string"
|
|
5983
|
-
}
|
|
5984
|
-
}
|
|
5985
|
-
],
|
|
5986
|
-
"inheritedFrom": {
|
|
5987
|
-
"name": "FoundationInboxBase",
|
|
5988
|
-
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
5989
|
-
}
|
|
5990
|
-
}
|
|
5991
|
-
],
|
|
5992
|
-
"superclass": {
|
|
5993
|
-
"name": "FoundationInboxBase",
|
|
5994
|
-
"module": "/src/components/foundation-inbox/inbox-base/inbox-base"
|
|
5995
|
-
},
|
|
5996
|
-
"tagName": "foundation-inbox-flyout",
|
|
5997
|
-
"customElement": true,
|
|
5998
|
-
"attributes": [
|
|
5999
|
-
{
|
|
6000
|
-
"type": {
|
|
6001
|
-
"text": "boolean"
|
|
6002
|
-
},
|
|
6003
|
-
"default": "false",
|
|
6004
|
-
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
6005
|
-
"fieldName": "hideSeverityFilter",
|
|
6006
|
-
"inheritedFrom": {
|
|
6007
|
-
"name": "FoundationInboxBase",
|
|
6008
|
-
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
6009
|
-
}
|
|
6010
|
-
}
|
|
6011
|
-
]
|
|
6012
|
-
}
|
|
6013
|
-
],
|
|
6014
|
-
"exports": [
|
|
6015
|
-
{
|
|
6016
|
-
"kind": "js",
|
|
6017
|
-
"name": "FoundationInboxFlyout",
|
|
6018
|
-
"declaration": {
|
|
6019
|
-
"name": "FoundationInboxFlyout",
|
|
6020
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
|
|
6021
|
-
}
|
|
6022
|
-
},
|
|
6023
|
-
{
|
|
6024
|
-
"kind": "custom-element-definition",
|
|
6025
|
-
"name": "foundation-inbox-flyout",
|
|
6026
|
-
"declaration": {
|
|
6027
|
-
"name": "FoundationInboxFlyout",
|
|
6028
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
|
|
6029
|
-
}
|
|
6030
|
-
}
|
|
6031
|
-
]
|
|
6032
|
-
},
|
|
6033
|
-
{
|
|
6034
|
-
"kind": "javascript-module",
|
|
6035
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts",
|
|
6036
|
-
"declarations": [
|
|
6037
|
-
{
|
|
6038
|
-
"kind": "variable",
|
|
6039
|
-
"name": "noItemsClass",
|
|
6040
|
-
"type": {
|
|
6041
|
-
"text": "string"
|
|
6042
|
-
},
|
|
6043
|
-
"default": "'no-items'",
|
|
6044
|
-
"description": "Class to use when there are no items"
|
|
6045
|
-
},
|
|
6046
|
-
{
|
|
6047
|
-
"kind": "variable",
|
|
6048
|
-
"name": "FoundationInboxCounterStyles",
|
|
6049
|
-
"default": "css`\n :host {\n display: inline-block;\n min-width: 16px;\n height: 16px;\n border-radius: 9px;\n text-align: center;\n color: #fff;\n line-height: 16px;\n font-size: 9px;\n font-weight: 700;\n background: ${BACKGROUND_COLOR};\n pointer-events: none;\n }\n\n .hidden {\n visibility: hidden;\n }\n\n :host(.${noItemsClass}) {\n display: none;\n }\n`"
|
|
6050
|
-
}
|
|
6051
|
-
],
|
|
6052
|
-
"exports": [
|
|
6053
|
-
{
|
|
6054
|
-
"kind": "js",
|
|
6055
|
-
"name": "noItemsClass",
|
|
6056
|
-
"declaration": {
|
|
6057
|
-
"name": "noItemsClass",
|
|
6058
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6059
|
-
}
|
|
6060
|
-
},
|
|
6061
|
-
{
|
|
6062
|
-
"kind": "js",
|
|
6063
|
-
"name": "FoundationInboxCounterStyles",
|
|
6064
|
-
"declaration": {
|
|
6065
|
-
"name": "FoundationInboxCounterStyles",
|
|
6066
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.styles.ts"
|
|
6067
|
-
}
|
|
6068
|
-
}
|
|
6069
|
-
]
|
|
6070
|
-
},
|
|
6071
|
-
{
|
|
6072
|
-
"kind": "javascript-module",
|
|
6073
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts",
|
|
6074
|
-
"declarations": [
|
|
6075
|
-
{
|
|
6076
|
-
"kind": "variable",
|
|
6077
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6078
|
-
"default": "html<FoundationInboxCounter>`\n <template class=\"${(x) => classNames([noItemsClass, x.value < 1])}\">\n ${when(\n (x) => x.value > 0,\n html`\n ${(x) => (x.value > MAX_NUMBER_TO_DISPLAY ? `${MAX_NUMBER_TO_DISPLAY}+` : x.value)}\n `,\n )}\n </template>\n`"
|
|
6079
|
-
}
|
|
6080
|
-
],
|
|
6081
|
-
"exports": [
|
|
6082
|
-
{
|
|
6083
|
-
"kind": "js",
|
|
6084
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6085
|
-
"declaration": {
|
|
6086
|
-
"name": "FoundationInboxCounterTemplate",
|
|
6087
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.template.ts"
|
|
6088
|
-
}
|
|
6089
|
-
}
|
|
6090
|
-
]
|
|
6091
|
-
},
|
|
6092
|
-
{
|
|
6093
|
-
"kind": "javascript-module",
|
|
6094
|
-
"path": "src/components/foundation-inbox/components/foundation-inbox-counter/foundation-inbox-counter.ts",
|
|
6095
|
-
"declarations": [
|
|
6096
|
-
{
|
|
6097
|
-
"kind": "class",
|
|
6098
|
-
"description": "",
|
|
6099
|
-
"name": "FoundationInboxCounter",
|
|
6100
|
-
"members": [
|
|
6101
|
-
{
|
|
6102
|
-
"kind": "field",
|
|
6103
|
-
"name": "value",
|
|
6104
|
-
"type": {
|
|
6105
|
-
"text": "number"
|
|
6106
|
-
},
|
|
6107
|
-
"default": "0"
|
|
6108
|
-
},
|
|
6109
|
-
{
|
|
6110
|
-
"kind": "field",
|
|
6111
|
-
"name": "connect",
|
|
6112
|
-
"type": {
|
|
6113
|
-
"text": "Connect"
|
|
6114
|
-
}
|
|
6115
|
-
},
|
|
6116
|
-
{
|
|
6117
|
-
"kind": "field",
|
|
6118
|
-
"name": "inboxService",
|
|
6119
|
-
"type": {
|
|
6120
|
-
"text": "FoundationInboxService"
|
|
6121
|
-
}
|
|
6122
|
-
},
|
|
6123
|
-
{
|
|
6124
|
-
"kind": "field",
|
|
6125
|
-
"name": "connectionSub",
|
|
6126
|
-
"type": {
|
|
6127
|
-
"text": "Subscription"
|
|
6128
|
-
},
|
|
6129
|
-
"privacy": "private"
|
|
6130
|
-
},
|
|
6131
|
-
{
|
|
6132
|
-
"kind": "method",
|
|
6133
|
-
"name": "subscribeToAlerts",
|
|
6134
|
-
"privacy": "private",
|
|
6135
|
-
"return": {
|
|
6136
|
-
"type": {
|
|
6137
|
-
"text": "Promise<void>"
|
|
6126
|
+
}
|
|
6138
6127
|
}
|
|
6139
|
-
|
|
6140
|
-
"
|
|
6141
|
-
|
|
6142
|
-
|
|
6143
|
-
|
|
6144
|
-
"name": "subscriptionHandler",
|
|
6145
|
-
"privacy": "private",
|
|
6146
|
-
"description": "Handles subscription updates from the inbox service"
|
|
6128
|
+
],
|
|
6129
|
+
"inheritedFrom": {
|
|
6130
|
+
"name": "FoundationInboxBase",
|
|
6131
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
6132
|
+
}
|
|
6147
6133
|
}
|
|
6148
6134
|
],
|
|
6149
6135
|
"superclass": {
|
|
6150
|
-
"name": "
|
|
6151
|
-
"
|
|
6136
|
+
"name": "FoundationInboxBase",
|
|
6137
|
+
"module": "/src/components/foundation-inbox/inbox-base/inbox-base"
|
|
6152
6138
|
},
|
|
6153
|
-
"tagName": "foundation-inbox-
|
|
6154
|
-
"customElement": true
|
|
6139
|
+
"tagName": "foundation-inbox-flyout",
|
|
6140
|
+
"customElement": true,
|
|
6141
|
+
"attributes": [
|
|
6142
|
+
{
|
|
6143
|
+
"type": {
|
|
6144
|
+
"text": "boolean"
|
|
6145
|
+
},
|
|
6146
|
+
"default": "false",
|
|
6147
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public",
|
|
6148
|
+
"fieldName": "hideSeverityFilter",
|
|
6149
|
+
"inheritedFrom": {
|
|
6150
|
+
"name": "FoundationInboxBase",
|
|
6151
|
+
"module": "src/components/foundation-inbox/inbox-base/inbox-base.ts"
|
|
6152
|
+
}
|
|
6153
|
+
}
|
|
6154
|
+
]
|
|
6155
6155
|
}
|
|
6156
6156
|
],
|
|
6157
6157
|
"exports": [
|
|
6158
6158
|
{
|
|
6159
6159
|
"kind": "js",
|
|
6160
|
-
"name": "
|
|
6160
|
+
"name": "FoundationInboxFlyout",
|
|
6161
6161
|
"declaration": {
|
|
6162
|
-
"name": "
|
|
6163
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-
|
|
6162
|
+
"name": "FoundationInboxFlyout",
|
|
6163
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
|
|
6164
6164
|
}
|
|
6165
6165
|
},
|
|
6166
6166
|
{
|
|
6167
6167
|
"kind": "custom-element-definition",
|
|
6168
|
-
"name": "foundation-inbox-
|
|
6168
|
+
"name": "foundation-inbox-flyout",
|
|
6169
6169
|
"declaration": {
|
|
6170
|
-
"name": "
|
|
6171
|
-
"module": "src/components/foundation-inbox/components/foundation-inbox-
|
|
6170
|
+
"name": "FoundationInboxFlyout",
|
|
6171
|
+
"module": "src/components/foundation-inbox/components/foundation-inbox-flyout/foundation-inbox-flyout.ts"
|
|
6172
6172
|
}
|
|
6173
6173
|
}
|
|
6174
6174
|
]
|
|
@@ -8718,54 +8718,268 @@
|
|
|
8718
8718
|
},
|
|
8719
8719
|
{
|
|
8720
8720
|
"kind": "method",
|
|
8721
|
-
"name": "deleteChild",
|
|
8721
|
+
"name": "deleteChild",
|
|
8722
|
+
"parameters": [
|
|
8723
|
+
{
|
|
8724
|
+
"name": "deletedChild",
|
|
8725
|
+
"type": {
|
|
8726
|
+
"text": "ConditionNode"
|
|
8727
|
+
}
|
|
8728
|
+
}
|
|
8729
|
+
]
|
|
8730
|
+
},
|
|
8731
|
+
{
|
|
8732
|
+
"kind": "method",
|
|
8733
|
+
"name": "deleteSelf"
|
|
8734
|
+
}
|
|
8735
|
+
],
|
|
8736
|
+
"events": [
|
|
8737
|
+
{
|
|
8738
|
+
"description": "Fired when this whole group should be removed",
|
|
8739
|
+
"name": "delete"
|
|
8740
|
+
},
|
|
8741
|
+
{
|
|
8742
|
+
"description": "Fired when anything inside this group changes",
|
|
8743
|
+
"name": "edit"
|
|
8744
|
+
}
|
|
8745
|
+
],
|
|
8746
|
+
"superclass": {
|
|
8747
|
+
"name": "GenesisElement",
|
|
8748
|
+
"package": "@genesislcap/web-core"
|
|
8749
|
+
},
|
|
8750
|
+
"tagName": "rule-condition-group",
|
|
8751
|
+
"customElement": true
|
|
8752
|
+
}
|
|
8753
|
+
],
|
|
8754
|
+
"exports": [
|
|
8755
|
+
{
|
|
8756
|
+
"kind": "js",
|
|
8757
|
+
"name": "RuleConditionGroup",
|
|
8758
|
+
"declaration": {
|
|
8759
|
+
"name": "RuleConditionGroup",
|
|
8760
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8761
|
+
}
|
|
8762
|
+
},
|
|
8763
|
+
{
|
|
8764
|
+
"kind": "custom-element-definition",
|
|
8765
|
+
"name": "rule-condition-group",
|
|
8766
|
+
"declaration": {
|
|
8767
|
+
"name": "RuleConditionGroup",
|
|
8768
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-group/rule-condition-group.ts"
|
|
8769
|
+
}
|
|
8770
|
+
}
|
|
8771
|
+
]
|
|
8772
|
+
},
|
|
8773
|
+
{
|
|
8774
|
+
"kind": "javascript-module",
|
|
8775
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
8776
|
+
"declarations": [
|
|
8777
|
+
{
|
|
8778
|
+
"kind": "variable",
|
|
8779
|
+
"name": "ParameterBuilderStyles",
|
|
8780
|
+
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
8781
|
+
}
|
|
8782
|
+
],
|
|
8783
|
+
"exports": [
|
|
8784
|
+
{
|
|
8785
|
+
"kind": "js",
|
|
8786
|
+
"name": "ParameterBuilderStyles",
|
|
8787
|
+
"declaration": {
|
|
8788
|
+
"name": "ParameterBuilderStyles",
|
|
8789
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
8790
|
+
}
|
|
8791
|
+
}
|
|
8792
|
+
]
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
"kind": "javascript-module",
|
|
8796
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
8797
|
+
"declarations": [
|
|
8798
|
+
{
|
|
8799
|
+
"kind": "variable",
|
|
8800
|
+
"name": "ParameterBuilderTemplate",
|
|
8801
|
+
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
8802
|
+
}
|
|
8803
|
+
],
|
|
8804
|
+
"exports": [
|
|
8805
|
+
{
|
|
8806
|
+
"kind": "js",
|
|
8807
|
+
"name": "ParameterBuilderTemplate",
|
|
8808
|
+
"declaration": {
|
|
8809
|
+
"name": "ParameterBuilderTemplate",
|
|
8810
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
8811
|
+
}
|
|
8812
|
+
}
|
|
8813
|
+
]
|
|
8814
|
+
},
|
|
8815
|
+
{
|
|
8816
|
+
"kind": "javascript-module",
|
|
8817
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
8818
|
+
"declarations": [
|
|
8819
|
+
{
|
|
8820
|
+
"kind": "class",
|
|
8821
|
+
"description": "Parameter builder for notification templates.",
|
|
8822
|
+
"name": "ParameterBuilder",
|
|
8823
|
+
"members": [
|
|
8824
|
+
{
|
|
8825
|
+
"kind": "field",
|
|
8826
|
+
"name": "parameter",
|
|
8827
|
+
"type": {
|
|
8828
|
+
"text": "ParameterBuilderEntity"
|
|
8829
|
+
}
|
|
8830
|
+
},
|
|
8831
|
+
{
|
|
8832
|
+
"kind": "field",
|
|
8833
|
+
"name": "name",
|
|
8834
|
+
"type": {
|
|
8835
|
+
"text": "string"
|
|
8836
|
+
}
|
|
8837
|
+
},
|
|
8838
|
+
{
|
|
8839
|
+
"kind": "field",
|
|
8840
|
+
"name": "label",
|
|
8841
|
+
"type": {
|
|
8842
|
+
"text": "string"
|
|
8843
|
+
}
|
|
8844
|
+
},
|
|
8845
|
+
{
|
|
8846
|
+
"kind": "field",
|
|
8847
|
+
"name": "type",
|
|
8848
|
+
"type": {
|
|
8849
|
+
"text": "string"
|
|
8850
|
+
}
|
|
8851
|
+
},
|
|
8852
|
+
{
|
|
8853
|
+
"kind": "field",
|
|
8854
|
+
"name": "sourceType",
|
|
8855
|
+
"type": {
|
|
8856
|
+
"text": "string"
|
|
8857
|
+
}
|
|
8858
|
+
},
|
|
8859
|
+
{
|
|
8860
|
+
"kind": "field",
|
|
8861
|
+
"name": "sourceSelected",
|
|
8862
|
+
"type": {
|
|
8863
|
+
"text": "string"
|
|
8864
|
+
}
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"kind": "field",
|
|
8868
|
+
"name": "sourceTyped",
|
|
8869
|
+
"type": {
|
|
8870
|
+
"text": "string"
|
|
8871
|
+
}
|
|
8872
|
+
},
|
|
8873
|
+
{
|
|
8874
|
+
"kind": "field",
|
|
8875
|
+
"name": "sourceTextField",
|
|
8876
|
+
"type": {
|
|
8877
|
+
"text": "TextField"
|
|
8878
|
+
}
|
|
8879
|
+
},
|
|
8880
|
+
{
|
|
8881
|
+
"kind": "field",
|
|
8882
|
+
"name": "sourceSelect",
|
|
8883
|
+
"type": {
|
|
8884
|
+
"text": "Select"
|
|
8885
|
+
}
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"kind": "field",
|
|
8889
|
+
"name": "reqRepItems",
|
|
8890
|
+
"type": {
|
|
8891
|
+
"text": "array"
|
|
8892
|
+
},
|
|
8893
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
8894
|
+
},
|
|
8895
|
+
{
|
|
8896
|
+
"kind": "method",
|
|
8897
|
+
"name": "deleteParameter"
|
|
8898
|
+
},
|
|
8899
|
+
{
|
|
8900
|
+
"kind": "method",
|
|
8901
|
+
"name": "parameterChanged"
|
|
8902
|
+
},
|
|
8903
|
+
{
|
|
8904
|
+
"kind": "method",
|
|
8905
|
+
"name": "nameChanged"
|
|
8906
|
+
},
|
|
8907
|
+
{
|
|
8908
|
+
"kind": "method",
|
|
8909
|
+
"name": "labelChanged"
|
|
8910
|
+
},
|
|
8911
|
+
{
|
|
8912
|
+
"kind": "method",
|
|
8913
|
+
"name": "typeChanged"
|
|
8914
|
+
},
|
|
8915
|
+
{
|
|
8916
|
+
"kind": "method",
|
|
8917
|
+
"name": "sourceTypeChanged"
|
|
8918
|
+
},
|
|
8919
|
+
{
|
|
8920
|
+
"kind": "method",
|
|
8921
|
+
"name": "sourceSelectedChanged"
|
|
8922
|
+
},
|
|
8923
|
+
{
|
|
8924
|
+
"kind": "method",
|
|
8925
|
+
"name": "sourceTypedChanged"
|
|
8926
|
+
},
|
|
8927
|
+
{
|
|
8928
|
+
"kind": "method",
|
|
8929
|
+
"name": "genericChanged",
|
|
8930
|
+
"privacy": "private",
|
|
8722
8931
|
"parameters": [
|
|
8723
8932
|
{
|
|
8724
|
-
"name": "
|
|
8725
|
-
|
|
8726
|
-
|
|
8727
|
-
|
|
8933
|
+
"name": "parameterAttribute"
|
|
8934
|
+
},
|
|
8935
|
+
{
|
|
8936
|
+
"name": "value"
|
|
8728
8937
|
}
|
|
8729
8938
|
]
|
|
8730
|
-
},
|
|
8731
|
-
{
|
|
8732
|
-
"kind": "method",
|
|
8733
|
-
"name": "deleteSelf"
|
|
8734
8939
|
}
|
|
8735
8940
|
],
|
|
8736
8941
|
"events": [
|
|
8737
8942
|
{
|
|
8738
|
-
"description": "Fired when
|
|
8943
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
8739
8944
|
"name": "delete"
|
|
8740
8945
|
},
|
|
8741
8946
|
{
|
|
8742
|
-
"description": "Fired when
|
|
8947
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
8743
8948
|
"name": "edit"
|
|
8744
8949
|
}
|
|
8745
8950
|
],
|
|
8951
|
+
"attributes": [
|
|
8952
|
+
{
|
|
8953
|
+
"name": "parameter",
|
|
8954
|
+
"type": {
|
|
8955
|
+
"text": "ParameterBuilderEntity"
|
|
8956
|
+
},
|
|
8957
|
+
"fieldName": "parameter"
|
|
8958
|
+
}
|
|
8959
|
+
],
|
|
8746
8960
|
"superclass": {
|
|
8747
8961
|
"name": "GenesisElement",
|
|
8748
8962
|
"package": "@genesislcap/web-core"
|
|
8749
8963
|
},
|
|
8750
|
-
"tagName": "
|
|
8964
|
+
"tagName": "parameter-builder",
|
|
8751
8965
|
"customElement": true
|
|
8752
8966
|
}
|
|
8753
8967
|
],
|
|
8754
8968
|
"exports": [
|
|
8755
8969
|
{
|
|
8756
8970
|
"kind": "js",
|
|
8757
|
-
"name": "
|
|
8971
|
+
"name": "ParameterBuilder",
|
|
8758
8972
|
"declaration": {
|
|
8759
|
-
"name": "
|
|
8760
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
8973
|
+
"name": "ParameterBuilder",
|
|
8974
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8761
8975
|
}
|
|
8762
8976
|
},
|
|
8763
8977
|
{
|
|
8764
8978
|
"kind": "custom-element-definition",
|
|
8765
|
-
"name": "
|
|
8979
|
+
"name": "parameter-builder",
|
|
8766
8980
|
"declaration": {
|
|
8767
|
-
"name": "
|
|
8768
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
8981
|
+
"name": "ParameterBuilder",
|
|
8982
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
8769
8983
|
}
|
|
8770
8984
|
}
|
|
8771
8985
|
]
|
|
@@ -9062,220 +9276,6 @@
|
|
|
9062
9276
|
}
|
|
9063
9277
|
]
|
|
9064
9278
|
},
|
|
9065
|
-
{
|
|
9066
|
-
"kind": "javascript-module",
|
|
9067
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
9068
|
-
"declarations": [
|
|
9069
|
-
{
|
|
9070
|
-
"kind": "variable",
|
|
9071
|
-
"name": "ParameterBuilderStyles",
|
|
9072
|
-
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
9073
|
-
}
|
|
9074
|
-
],
|
|
9075
|
-
"exports": [
|
|
9076
|
-
{
|
|
9077
|
-
"kind": "js",
|
|
9078
|
-
"name": "ParameterBuilderStyles",
|
|
9079
|
-
"declaration": {
|
|
9080
|
-
"name": "ParameterBuilderStyles",
|
|
9081
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
9082
|
-
}
|
|
9083
|
-
}
|
|
9084
|
-
]
|
|
9085
|
-
},
|
|
9086
|
-
{
|
|
9087
|
-
"kind": "javascript-module",
|
|
9088
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
9089
|
-
"declarations": [
|
|
9090
|
-
{
|
|
9091
|
-
"kind": "variable",
|
|
9092
|
-
"name": "ParameterBuilderTemplate",
|
|
9093
|
-
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
9094
|
-
}
|
|
9095
|
-
],
|
|
9096
|
-
"exports": [
|
|
9097
|
-
{
|
|
9098
|
-
"kind": "js",
|
|
9099
|
-
"name": "ParameterBuilderTemplate",
|
|
9100
|
-
"declaration": {
|
|
9101
|
-
"name": "ParameterBuilderTemplate",
|
|
9102
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
9103
|
-
}
|
|
9104
|
-
}
|
|
9105
|
-
]
|
|
9106
|
-
},
|
|
9107
|
-
{
|
|
9108
|
-
"kind": "javascript-module",
|
|
9109
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
9110
|
-
"declarations": [
|
|
9111
|
-
{
|
|
9112
|
-
"kind": "class",
|
|
9113
|
-
"description": "Parameter builder for notification templates.",
|
|
9114
|
-
"name": "ParameterBuilder",
|
|
9115
|
-
"members": [
|
|
9116
|
-
{
|
|
9117
|
-
"kind": "field",
|
|
9118
|
-
"name": "parameter",
|
|
9119
|
-
"type": {
|
|
9120
|
-
"text": "ParameterBuilderEntity"
|
|
9121
|
-
}
|
|
9122
|
-
},
|
|
9123
|
-
{
|
|
9124
|
-
"kind": "field",
|
|
9125
|
-
"name": "name",
|
|
9126
|
-
"type": {
|
|
9127
|
-
"text": "string"
|
|
9128
|
-
}
|
|
9129
|
-
},
|
|
9130
|
-
{
|
|
9131
|
-
"kind": "field",
|
|
9132
|
-
"name": "label",
|
|
9133
|
-
"type": {
|
|
9134
|
-
"text": "string"
|
|
9135
|
-
}
|
|
9136
|
-
},
|
|
9137
|
-
{
|
|
9138
|
-
"kind": "field",
|
|
9139
|
-
"name": "type",
|
|
9140
|
-
"type": {
|
|
9141
|
-
"text": "string"
|
|
9142
|
-
}
|
|
9143
|
-
},
|
|
9144
|
-
{
|
|
9145
|
-
"kind": "field",
|
|
9146
|
-
"name": "sourceType",
|
|
9147
|
-
"type": {
|
|
9148
|
-
"text": "string"
|
|
9149
|
-
}
|
|
9150
|
-
},
|
|
9151
|
-
{
|
|
9152
|
-
"kind": "field",
|
|
9153
|
-
"name": "sourceSelected",
|
|
9154
|
-
"type": {
|
|
9155
|
-
"text": "string"
|
|
9156
|
-
}
|
|
9157
|
-
},
|
|
9158
|
-
{
|
|
9159
|
-
"kind": "field",
|
|
9160
|
-
"name": "sourceTyped",
|
|
9161
|
-
"type": {
|
|
9162
|
-
"text": "string"
|
|
9163
|
-
}
|
|
9164
|
-
},
|
|
9165
|
-
{
|
|
9166
|
-
"kind": "field",
|
|
9167
|
-
"name": "sourceTextField",
|
|
9168
|
-
"type": {
|
|
9169
|
-
"text": "TextField"
|
|
9170
|
-
}
|
|
9171
|
-
},
|
|
9172
|
-
{
|
|
9173
|
-
"kind": "field",
|
|
9174
|
-
"name": "sourceSelect",
|
|
9175
|
-
"type": {
|
|
9176
|
-
"text": "Select"
|
|
9177
|
-
}
|
|
9178
|
-
},
|
|
9179
|
-
{
|
|
9180
|
-
"kind": "field",
|
|
9181
|
-
"name": "reqRepItems",
|
|
9182
|
-
"type": {
|
|
9183
|
-
"text": "array"
|
|
9184
|
-
},
|
|
9185
|
-
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
9186
|
-
},
|
|
9187
|
-
{
|
|
9188
|
-
"kind": "method",
|
|
9189
|
-
"name": "deleteParameter"
|
|
9190
|
-
},
|
|
9191
|
-
{
|
|
9192
|
-
"kind": "method",
|
|
9193
|
-
"name": "parameterChanged"
|
|
9194
|
-
},
|
|
9195
|
-
{
|
|
9196
|
-
"kind": "method",
|
|
9197
|
-
"name": "nameChanged"
|
|
9198
|
-
},
|
|
9199
|
-
{
|
|
9200
|
-
"kind": "method",
|
|
9201
|
-
"name": "labelChanged"
|
|
9202
|
-
},
|
|
9203
|
-
{
|
|
9204
|
-
"kind": "method",
|
|
9205
|
-
"name": "typeChanged"
|
|
9206
|
-
},
|
|
9207
|
-
{
|
|
9208
|
-
"kind": "method",
|
|
9209
|
-
"name": "sourceTypeChanged"
|
|
9210
|
-
},
|
|
9211
|
-
{
|
|
9212
|
-
"kind": "method",
|
|
9213
|
-
"name": "sourceSelectedChanged"
|
|
9214
|
-
},
|
|
9215
|
-
{
|
|
9216
|
-
"kind": "method",
|
|
9217
|
-
"name": "sourceTypedChanged"
|
|
9218
|
-
},
|
|
9219
|
-
{
|
|
9220
|
-
"kind": "method",
|
|
9221
|
-
"name": "genericChanged",
|
|
9222
|
-
"privacy": "private",
|
|
9223
|
-
"parameters": [
|
|
9224
|
-
{
|
|
9225
|
-
"name": "parameterAttribute"
|
|
9226
|
-
},
|
|
9227
|
-
{
|
|
9228
|
-
"name": "value"
|
|
9229
|
-
}
|
|
9230
|
-
]
|
|
9231
|
-
}
|
|
9232
|
-
],
|
|
9233
|
-
"events": [
|
|
9234
|
-
{
|
|
9235
|
-
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
9236
|
-
"name": "delete"
|
|
9237
|
-
},
|
|
9238
|
-
{
|
|
9239
|
-
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
9240
|
-
"name": "edit"
|
|
9241
|
-
}
|
|
9242
|
-
],
|
|
9243
|
-
"attributes": [
|
|
9244
|
-
{
|
|
9245
|
-
"name": "parameter",
|
|
9246
|
-
"type": {
|
|
9247
|
-
"text": "ParameterBuilderEntity"
|
|
9248
|
-
},
|
|
9249
|
-
"fieldName": "parameter"
|
|
9250
|
-
}
|
|
9251
|
-
],
|
|
9252
|
-
"superclass": {
|
|
9253
|
-
"name": "GenesisElement",
|
|
9254
|
-
"package": "@genesislcap/web-core"
|
|
9255
|
-
},
|
|
9256
|
-
"tagName": "parameter-builder",
|
|
9257
|
-
"customElement": true
|
|
9258
|
-
}
|
|
9259
|
-
],
|
|
9260
|
-
"exports": [
|
|
9261
|
-
{
|
|
9262
|
-
"kind": "js",
|
|
9263
|
-
"name": "ParameterBuilder",
|
|
9264
|
-
"declaration": {
|
|
9265
|
-
"name": "ParameterBuilder",
|
|
9266
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9267
|
-
}
|
|
9268
|
-
},
|
|
9269
|
-
{
|
|
9270
|
-
"kind": "custom-element-definition",
|
|
9271
|
-
"name": "parameter-builder",
|
|
9272
|
-
"declaration": {
|
|
9273
|
-
"name": "ParameterBuilder",
|
|
9274
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
9275
|
-
}
|
|
9276
|
-
}
|
|
9277
|
-
]
|
|
9278
|
-
},
|
|
9279
9279
|
{
|
|
9280
9280
|
"kind": "javascript-module",
|
|
9281
9281
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|