@genesislcap/pbc-notify-ui 15.84.1 → 15.84.2-GENC-1737.2
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 +1530 -1530
- package/dist/dts/react.d.ts +26 -26
- package/dist/react.cjs +16 -16
- package/dist/react.mjs +13 -13
- package/package.json +22 -22
|
@@ -2906,19 +2906,54 @@
|
|
|
2906
2906
|
},
|
|
2907
2907
|
{
|
|
2908
2908
|
"kind": "javascript-module",
|
|
2909
|
-
"path": "src/components/foundation-
|
|
2909
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts",
|
|
2910
2910
|
"declarations": [
|
|
2911
2911
|
{
|
|
2912
2912
|
"kind": "variable",
|
|
2913
|
-
"name": "
|
|
2914
|
-
"default": "
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2913
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2914
|
+
"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 width: auto !important;\n margin-top: calc(var(--design-unit) * 1px);\n z-index: 10000;\n max-height: min(240px, 40vh);\n overflow: hidden auto;\n box-shadow: 0 4px 16px rgb(0 0 0 / 24%);\n }\n\n .match-mode-select[open][position='above']::part(listbox),\n .rule-select[open][position='above']::part(listbox) {\n 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`"
|
|
2915
|
+
}
|
|
2916
|
+
],
|
|
2917
|
+
"exports": [
|
|
2918
2918
|
{
|
|
2919
|
-
"kind": "
|
|
2920
|
-
"
|
|
2921
|
-
"
|
|
2919
|
+
"kind": "js",
|
|
2920
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2921
|
+
"declaration": {
|
|
2922
|
+
"name": "FoundationSoundsPanelStyles",
|
|
2923
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.styles.ts"
|
|
2924
|
+
}
|
|
2925
|
+
}
|
|
2926
|
+
]
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"kind": "javascript-module",
|
|
2930
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.template.ts",
|
|
2931
|
+
"declarations": [
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "variable",
|
|
2934
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2935
|
+
"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`"
|
|
2936
|
+
}
|
|
2937
|
+
],
|
|
2938
|
+
"exports": [
|
|
2939
|
+
{
|
|
2940
|
+
"kind": "js",
|
|
2941
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2942
|
+
"declaration": {
|
|
2943
|
+
"name": "FoundationSoundsPanelTemplate",
|
|
2944
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.template.ts"
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
]
|
|
2948
|
+
},
|
|
2949
|
+
{
|
|
2950
|
+
"kind": "javascript-module",
|
|
2951
|
+
"path": "src/components/foundation-sounds/foundation-sounds-panel.ts",
|
|
2952
|
+
"declarations": [
|
|
2953
|
+
{
|
|
2954
|
+
"kind": "class",
|
|
2955
|
+
"description": "Configures alert sound rules in the inbox Sounds tab. Persists via the shared\nAlertSoundPlayer; playback is handled by layout-mounted\nFoundationSounds.",
|
|
2956
|
+
"name": "FoundationSoundsPanel",
|
|
2922
2957
|
"members": [
|
|
2923
2958
|
{
|
|
2924
2959
|
"kind": "field",
|
|
@@ -2929,56 +2964,21 @@
|
|
|
2929
2964
|
},
|
|
2930
2965
|
{
|
|
2931
2966
|
"kind": "field",
|
|
2932
|
-
"name": "
|
|
2933
|
-
"type": {
|
|
2934
|
-
"text": "boolean"
|
|
2935
|
-
},
|
|
2936
|
-
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
2937
|
-
"readonly": true
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
"kind": "field",
|
|
2941
|
-
"name": "alertSoundEntityId",
|
|
2942
|
-
"type": {
|
|
2943
|
-
"text": "string | null"
|
|
2944
|
-
},
|
|
2945
|
-
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
2946
|
-
"readonly": true
|
|
2947
|
-
},
|
|
2948
|
-
{
|
|
2949
|
-
"kind": "field",
|
|
2950
|
-
"name": "alertSoundCacheSyncMode",
|
|
2951
|
-
"type": {
|
|
2952
|
-
"text": "'entity' | 'all'"
|
|
2953
|
-
},
|
|
2954
|
-
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
2955
|
-
"readonly": true
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"kind": "field",
|
|
2959
|
-
"name": "alertSoundFileName",
|
|
2960
|
-
"type": {
|
|
2961
|
-
"text": "string"
|
|
2962
|
-
},
|
|
2963
|
-
"default": "''",
|
|
2964
|
-
"description": "Display name of the attached / pending alert sound file."
|
|
2965
|
-
},
|
|
2966
|
-
{
|
|
2967
|
-
"kind": "field",
|
|
2968
|
-
"name": "alertSoundMimeType",
|
|
2967
|
+
"name": "volumePercent",
|
|
2969
2968
|
"type": {
|
|
2970
|
-
"text": "
|
|
2969
|
+
"text": "number"
|
|
2971
2970
|
},
|
|
2972
|
-
"default": "
|
|
2971
|
+
"default": "100",
|
|
2972
|
+
"description": "Global playback volume 0–100. @internal"
|
|
2973
2973
|
},
|
|
2974
2974
|
{
|
|
2975
2975
|
"kind": "field",
|
|
2976
|
-
"name": "
|
|
2976
|
+
"name": "selectableRules",
|
|
2977
2977
|
"type": {
|
|
2978
|
-
"text": "
|
|
2978
|
+
"text": "AlertSoundSelectableRule[]"
|
|
2979
2979
|
},
|
|
2980
|
-
"default": "
|
|
2981
|
-
"description": "
|
|
2980
|
+
"default": "[]",
|
|
2981
|
+
"description": "Notification rules from REQ_NOTIFICATION_RULE. @internal"
|
|
2982
2982
|
},
|
|
2983
2983
|
{
|
|
2984
2984
|
"kind": "field",
|
|
@@ -2989,58 +2989,98 @@
|
|
|
2989
2989
|
},
|
|
2990
2990
|
{
|
|
2991
2991
|
"kind": "field",
|
|
2992
|
-
"name": "
|
|
2992
|
+
"name": "pendingRuleIndex",
|
|
2993
2993
|
"type": {
|
|
2994
|
-
"text": "
|
|
2994
|
+
"text": "number | null"
|
|
2995
2995
|
},
|
|
2996
|
+
"privacy": "private",
|
|
2996
2997
|
"default": "null"
|
|
2997
2998
|
},
|
|
2998
2999
|
{
|
|
2999
3000
|
"kind": "field",
|
|
3000
|
-
"name": "
|
|
3001
|
-
"
|
|
3002
|
-
|
|
3003
|
-
},
|
|
3004
|
-
"default": "false",
|
|
3005
|
-
"description": "True when the user picked a new file this session (needs upload)."
|
|
3001
|
+
"name": "player",
|
|
3002
|
+
"privacy": "private",
|
|
3003
|
+
"readonly": true
|
|
3006
3004
|
},
|
|
3007
3005
|
{
|
|
3008
3006
|
"kind": "field",
|
|
3009
|
-
"name": "
|
|
3007
|
+
"name": "unsubscribePlayer",
|
|
3010
3008
|
"type": {
|
|
3011
|
-
"text": "
|
|
3009
|
+
"text": "(() => void) | undefined"
|
|
3012
3010
|
},
|
|
3013
|
-
"
|
|
3011
|
+
"privacy": "private"
|
|
3014
3012
|
},
|
|
3015
3013
|
{
|
|
3016
3014
|
"kind": "field",
|
|
3017
|
-
"name": "
|
|
3015
|
+
"name": "ignoreSelectChanges",
|
|
3018
3016
|
"type": {
|
|
3019
|
-
"text": "
|
|
3017
|
+
"text": "boolean"
|
|
3020
3018
|
},
|
|
3021
|
-
"
|
|
3022
|
-
"
|
|
3019
|
+
"privacy": "private",
|
|
3020
|
+
"default": "false",
|
|
3021
|
+
"description": "Suppresses select change events while options are rebuilt."
|
|
3023
3022
|
},
|
|
3024
3023
|
{
|
|
3025
3024
|
"kind": "method",
|
|
3026
|
-
"name": "
|
|
3025
|
+
"name": "onMatchModeChange",
|
|
3026
|
+
"return": {
|
|
3027
|
+
"type": {
|
|
3028
|
+
"text": "boolean"
|
|
3029
|
+
}
|
|
3030
|
+
},
|
|
3027
3031
|
"parameters": [
|
|
3028
3032
|
{
|
|
3029
|
-
"name": "
|
|
3033
|
+
"name": "index",
|
|
3030
3034
|
"type": {
|
|
3031
|
-
"text": "
|
|
3035
|
+
"text": "number"
|
|
3036
|
+
}
|
|
3037
|
+
},
|
|
3038
|
+
{
|
|
3039
|
+
"name": "event",
|
|
3040
|
+
"type": {
|
|
3041
|
+
"text": "Event"
|
|
3032
3042
|
}
|
|
3033
3043
|
}
|
|
3034
3044
|
]
|
|
3035
3045
|
},
|
|
3036
3046
|
{
|
|
3037
3047
|
"kind": "method",
|
|
3038
|
-
"name": "
|
|
3048
|
+
"name": "onPatternInput",
|
|
3049
|
+
"return": {
|
|
3050
|
+
"type": {
|
|
3051
|
+
"text": "boolean"
|
|
3052
|
+
}
|
|
3053
|
+
},
|
|
3054
|
+
"parameters": [
|
|
3055
|
+
{
|
|
3056
|
+
"name": "index",
|
|
3057
|
+
"type": {
|
|
3058
|
+
"text": "number"
|
|
3059
|
+
}
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"name": "event",
|
|
3063
|
+
"type": {
|
|
3064
|
+
"text": "Event"
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
]
|
|
3039
3068
|
},
|
|
3040
3069
|
{
|
|
3041
3070
|
"kind": "method",
|
|
3042
|
-
"name": "
|
|
3071
|
+
"name": "onRuleChange",
|
|
3072
|
+
"return": {
|
|
3073
|
+
"type": {
|
|
3074
|
+
"text": "boolean"
|
|
3075
|
+
}
|
|
3076
|
+
},
|
|
3043
3077
|
"parameters": [
|
|
3078
|
+
{
|
|
3079
|
+
"name": "index",
|
|
3080
|
+
"type": {
|
|
3081
|
+
"text": "number"
|
|
3082
|
+
}
|
|
3083
|
+
},
|
|
3044
3084
|
{
|
|
3045
3085
|
"name": "event",
|
|
3046
3086
|
"type": {
|
|
@@ -3051,829 +3091,944 @@
|
|
|
3051
3091
|
},
|
|
3052
3092
|
{
|
|
3053
3093
|
"kind": "method",
|
|
3054
|
-
"name": "
|
|
3094
|
+
"name": "openFilePicker",
|
|
3095
|
+
"return": {
|
|
3096
|
+
"type": {
|
|
3097
|
+
"text": "boolean"
|
|
3098
|
+
}
|
|
3099
|
+
},
|
|
3100
|
+
"parameters": [
|
|
3101
|
+
{
|
|
3102
|
+
"name": "index",
|
|
3103
|
+
"type": {
|
|
3104
|
+
"text": "number"
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
]
|
|
3055
3108
|
},
|
|
3056
3109
|
{
|
|
3057
3110
|
"kind": "method",
|
|
3058
|
-
"name": "
|
|
3111
|
+
"name": "onFileSelected",
|
|
3112
|
+
"return": {
|
|
3113
|
+
"type": {
|
|
3114
|
+
"text": "boolean"
|
|
3115
|
+
}
|
|
3116
|
+
},
|
|
3117
|
+
"parameters": [
|
|
3118
|
+
{
|
|
3119
|
+
"name": "event",
|
|
3120
|
+
"type": {
|
|
3121
|
+
"text": "Event"
|
|
3122
|
+
}
|
|
3123
|
+
}
|
|
3124
|
+
]
|
|
3059
3125
|
},
|
|
3060
3126
|
{
|
|
3061
3127
|
"kind": "method",
|
|
3062
|
-
"name": "
|
|
3128
|
+
"name": "clearSound",
|
|
3129
|
+
"return": {
|
|
3130
|
+
"type": {
|
|
3131
|
+
"text": "boolean"
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
"parameters": [
|
|
3135
|
+
{
|
|
3136
|
+
"name": "index",
|
|
3137
|
+
"type": {
|
|
3138
|
+
"text": "number"
|
|
3139
|
+
}
|
|
3140
|
+
}
|
|
3141
|
+
]
|
|
3063
3142
|
},
|
|
3064
3143
|
{
|
|
3065
3144
|
"kind": "method",
|
|
3066
|
-
"name": "
|
|
3145
|
+
"name": "testSound",
|
|
3146
|
+
"return": {
|
|
3147
|
+
"type": {
|
|
3148
|
+
"text": "boolean"
|
|
3149
|
+
}
|
|
3150
|
+
},
|
|
3151
|
+
"parameters": [
|
|
3152
|
+
{
|
|
3153
|
+
"name": "index",
|
|
3154
|
+
"type": {
|
|
3155
|
+
"text": "number"
|
|
3156
|
+
}
|
|
3157
|
+
}
|
|
3158
|
+
]
|
|
3067
3159
|
},
|
|
3068
3160
|
{
|
|
3069
3161
|
"kind": "method",
|
|
3070
|
-
"name": "
|
|
3162
|
+
"name": "toggleRuleMute",
|
|
3071
3163
|
"return": {
|
|
3072
3164
|
"type": {
|
|
3073
|
-
"text": "
|
|
3165
|
+
"text": "boolean"
|
|
3074
3166
|
}
|
|
3075
3167
|
},
|
|
3076
3168
|
"parameters": [
|
|
3077
3169
|
{
|
|
3078
|
-
"name": "
|
|
3170
|
+
"name": "index",
|
|
3079
3171
|
"type": {
|
|
3080
|
-
"text": "
|
|
3172
|
+
"text": "number"
|
|
3081
3173
|
}
|
|
3082
3174
|
}
|
|
3083
|
-
]
|
|
3084
|
-
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3175
|
+
]
|
|
3085
3176
|
},
|
|
3086
3177
|
{
|
|
3087
3178
|
"kind": "method",
|
|
3088
|
-
"name": "
|
|
3089
|
-
"
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3179
|
+
"name": "onVolumeChange",
|
|
3180
|
+
"return": {
|
|
3181
|
+
"type": {
|
|
3182
|
+
"text": "boolean"
|
|
3183
|
+
}
|
|
3184
|
+
},
|
|
3185
|
+
"parameters": [
|
|
3186
|
+
{
|
|
3187
|
+
"name": "event",
|
|
3188
|
+
"type": {
|
|
3189
|
+
"text": "Event"
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
]
|
|
3193
|
+
},
|
|
3093
3194
|
{
|
|
3094
|
-
"
|
|
3095
|
-
"
|
|
3096
|
-
|
|
3195
|
+
"kind": "method",
|
|
3196
|
+
"name": "toggleMute",
|
|
3197
|
+
"return": {
|
|
3198
|
+
"type": {
|
|
3199
|
+
"text": "boolean"
|
|
3200
|
+
}
|
|
3201
|
+
}
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"kind": "method",
|
|
3205
|
+
"name": "addRule",
|
|
3206
|
+
"return": {
|
|
3207
|
+
"type": {
|
|
3208
|
+
"text": "boolean"
|
|
3209
|
+
}
|
|
3210
|
+
}
|
|
3211
|
+
},
|
|
3212
|
+
{
|
|
3213
|
+
"kind": "method",
|
|
3214
|
+
"name": "removeRule",
|
|
3215
|
+
"return": {
|
|
3216
|
+
"type": {
|
|
3217
|
+
"text": "boolean"
|
|
3218
|
+
}
|
|
3219
|
+
},
|
|
3220
|
+
"parameters": [
|
|
3221
|
+
{
|
|
3222
|
+
"name": "index",
|
|
3223
|
+
"type": {
|
|
3224
|
+
"text": "number"
|
|
3225
|
+
}
|
|
3226
|
+
}
|
|
3227
|
+
]
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"kind": "method",
|
|
3231
|
+
"name": "reloadRules",
|
|
3232
|
+
"return": {
|
|
3233
|
+
"type": {
|
|
3234
|
+
"text": "Promise<void>"
|
|
3235
|
+
}
|
|
3236
|
+
},
|
|
3237
|
+
"description": "Reloads the notification-rule picker (e.g. when the Sounds tab is opened)."
|
|
3238
|
+
},
|
|
3239
|
+
{
|
|
3240
|
+
"kind": "method",
|
|
3241
|
+
"name": "loadRules",
|
|
3242
|
+
"privacy": "private",
|
|
3243
|
+
"return": {
|
|
3244
|
+
"type": {
|
|
3245
|
+
"text": "Promise<void>"
|
|
3246
|
+
}
|
|
3097
3247
|
}
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
"kind": "method",
|
|
3251
|
+
"name": "settleRuleOptions",
|
|
3252
|
+
"privacy": "private",
|
|
3253
|
+
"return": {
|
|
3254
|
+
"type": {
|
|
3255
|
+
"text": "Promise<void>"
|
|
3256
|
+
}
|
|
3257
|
+
},
|
|
3258
|
+
"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."
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
"kind": "method",
|
|
3262
|
+
"name": "applyRuleSelectValues",
|
|
3263
|
+
"privacy": "private",
|
|
3264
|
+
"return": {
|
|
3265
|
+
"type": {
|
|
3266
|
+
"text": "void"
|
|
3267
|
+
}
|
|
3268
|
+
},
|
|
3269
|
+
"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...\"."
|
|
3270
|
+
},
|
|
3271
|
+
{
|
|
3272
|
+
"kind": "method",
|
|
3273
|
+
"name": "mapRules",
|
|
3274
|
+
"privacy": "private",
|
|
3275
|
+
"return": {
|
|
3276
|
+
"type": {
|
|
3277
|
+
"text": "AlertSoundSelectableRule[]"
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
"parameters": [
|
|
3281
|
+
{
|
|
3282
|
+
"name": "ruleList",
|
|
3283
|
+
"type": {
|
|
3284
|
+
"text": "NamedRuleRow[]"
|
|
3285
|
+
}
|
|
3286
|
+
}
|
|
3287
|
+
]
|
|
3288
|
+
},
|
|
3289
|
+
{
|
|
3290
|
+
"kind": "method",
|
|
3291
|
+
"name": "ruleMatchId",
|
|
3292
|
+
"privacy": "private",
|
|
3293
|
+
"return": {
|
|
3294
|
+
"type": {
|
|
3295
|
+
"text": "string"
|
|
3296
|
+
}
|
|
3297
|
+
},
|
|
3298
|
+
"parameters": [
|
|
3299
|
+
{
|
|
3300
|
+
"name": "rule",
|
|
3301
|
+
"type": {
|
|
3302
|
+
"text": "NamedRuleRow | undefined"
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
]
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"kind": "method",
|
|
3309
|
+
"name": "syncSoundState",
|
|
3310
|
+
"privacy": "private"
|
|
3098
3311
|
}
|
|
3099
3312
|
],
|
|
3100
|
-
"
|
|
3313
|
+
"superclass": {
|
|
3314
|
+
"name": "GenesisElement",
|
|
3315
|
+
"package": "@genesislcap/web-core"
|
|
3316
|
+
},
|
|
3317
|
+
"tagName": "foundation-sounds-panel",
|
|
3318
|
+
"customElement": true
|
|
3101
3319
|
}
|
|
3102
3320
|
],
|
|
3103
3321
|
"exports": [
|
|
3104
3322
|
{
|
|
3105
3323
|
"kind": "js",
|
|
3106
|
-
"name": "
|
|
3324
|
+
"name": "FoundationSoundsPanel",
|
|
3107
3325
|
"declaration": {
|
|
3108
|
-
"name": "
|
|
3109
|
-
"module": "src/components/foundation-
|
|
3326
|
+
"name": "FoundationSoundsPanel",
|
|
3327
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3110
3328
|
}
|
|
3111
3329
|
},
|
|
3112
3330
|
{
|
|
3113
|
-
"kind": "
|
|
3114
|
-
"name": "
|
|
3115
|
-
"declaration": {
|
|
3116
|
-
"name": "AlertSoundAttachmentMixin",
|
|
3117
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3118
|
-
}
|
|
3119
|
-
}
|
|
3120
|
-
]
|
|
3121
|
-
},
|
|
3122
|
-
{
|
|
3123
|
-
"kind": "javascript-module",
|
|
3124
|
-
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
3125
|
-
"declarations": [],
|
|
3126
|
-
"exports": [
|
|
3127
|
-
{
|
|
3128
|
-
"kind": "js",
|
|
3129
|
-
"name": "*",
|
|
3331
|
+
"kind": "custom-element-definition",
|
|
3332
|
+
"name": "foundation-sounds-panel",
|
|
3130
3333
|
"declaration": {
|
|
3131
|
-
"name": "
|
|
3132
|
-
"
|
|
3334
|
+
"name": "FoundationSoundsPanel",
|
|
3335
|
+
"module": "src/components/foundation-sounds/foundation-sounds-panel.ts"
|
|
3133
3336
|
}
|
|
3134
3337
|
}
|
|
3135
3338
|
]
|
|
3136
3339
|
},
|
|
3137
3340
|
{
|
|
3138
3341
|
"kind": "javascript-module",
|
|
3139
|
-
"path": "src/components/foundation-
|
|
3342
|
+
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
3140
3343
|
"declarations": [
|
|
3141
3344
|
{
|
|
3142
3345
|
"kind": "variable",
|
|
3143
|
-
"name": "
|
|
3144
|
-
"default": "css`\n
|
|
3145
|
-
"
|
|
3346
|
+
"name": "FoundationSoundsStyles",
|
|
3347
|
+
"default": "css`\n :host {\n display: none;\n }\n`",
|
|
3348
|
+
"description": "Headless layout listener — take no space in the layout chrome."
|
|
3146
3349
|
}
|
|
3147
3350
|
],
|
|
3148
3351
|
"exports": [
|
|
3149
3352
|
{
|
|
3150
3353
|
"kind": "js",
|
|
3151
|
-
"name": "
|
|
3354
|
+
"name": "FoundationSoundsStyles",
|
|
3152
3355
|
"declaration": {
|
|
3153
|
-
"name": "
|
|
3154
|
-
"module": "src/components/foundation-
|
|
3356
|
+
"name": "FoundationSoundsStyles",
|
|
3357
|
+
"module": "src/components/foundation-sounds/foundation-sounds.styles.ts"
|
|
3155
3358
|
}
|
|
3156
3359
|
}
|
|
3157
3360
|
]
|
|
3158
3361
|
},
|
|
3159
3362
|
{
|
|
3160
3363
|
"kind": "javascript-module",
|
|
3161
|
-
"path": "src/components/foundation-
|
|
3364
|
+
"path": "src/components/foundation-sounds/foundation-sounds.ts",
|
|
3162
3365
|
"declarations": [
|
|
3163
3366
|
{
|
|
3164
3367
|
"kind": "class",
|
|
3165
|
-
"description": "",
|
|
3166
|
-
"name": "
|
|
3368
|
+
"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.",
|
|
3369
|
+
"name": "FoundationSounds",
|
|
3167
3370
|
"members": [
|
|
3168
3371
|
{
|
|
3169
3372
|
"kind": "field",
|
|
3170
|
-
"name": "
|
|
3373
|
+
"name": "connect",
|
|
3171
3374
|
"type": {
|
|
3172
|
-
"text": "
|
|
3375
|
+
"text": "Connect"
|
|
3173
3376
|
}
|
|
3174
3377
|
},
|
|
3175
3378
|
{
|
|
3176
3379
|
"kind": "field",
|
|
3177
|
-
"name": "
|
|
3380
|
+
"name": "inboxService",
|
|
3178
3381
|
"type": {
|
|
3179
|
-
"text": "
|
|
3382
|
+
"text": "FoundationInboxService"
|
|
3180
3383
|
}
|
|
3181
3384
|
},
|
|
3182
3385
|
{
|
|
3183
3386
|
"kind": "field",
|
|
3184
|
-
"name": "
|
|
3387
|
+
"name": "ruleService",
|
|
3185
3388
|
"type": {
|
|
3186
|
-
"text": "
|
|
3389
|
+
"text": "RuleService"
|
|
3187
3390
|
}
|
|
3188
3391
|
},
|
|
3189
3392
|
{
|
|
3190
3393
|
"kind": "field",
|
|
3191
|
-
"name": "
|
|
3394
|
+
"name": "soundEnabled",
|
|
3192
3395
|
"type": {
|
|
3193
|
-
"text": "
|
|
3396
|
+
"text": "boolean"
|
|
3397
|
+
},
|
|
3398
|
+
"default": "true",
|
|
3399
|
+
"description": "When false, new audible alerts are tracked but do not play."
|
|
3400
|
+
},
|
|
3401
|
+
{
|
|
3402
|
+
"kind": "field",
|
|
3403
|
+
"name": "connectionSub",
|
|
3404
|
+
"type": {
|
|
3405
|
+
"text": "Subscription | undefined"
|
|
3406
|
+
},
|
|
3407
|
+
"privacy": "private"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"kind": "field",
|
|
3411
|
+
"name": "player",
|
|
3412
|
+
"privacy": "private",
|
|
3413
|
+
"readonly": true
|
|
3414
|
+
},
|
|
3415
|
+
{
|
|
3416
|
+
"kind": "field",
|
|
3417
|
+
"name": "knownAlertIds",
|
|
3418
|
+
"privacy": "private",
|
|
3419
|
+
"default": "new Set<string>()"
|
|
3420
|
+
},
|
|
3421
|
+
{
|
|
3422
|
+
"kind": "field",
|
|
3423
|
+
"name": "serverSoundFetches",
|
|
3424
|
+
"privacy": "private",
|
|
3425
|
+
"readonly": true,
|
|
3426
|
+
"default": "new Map<string, Promise<boolean>>()",
|
|
3427
|
+
"description": "In-flight server sound fetches keyed by DYNAMIC_RULE_ID."
|
|
3428
|
+
},
|
|
3429
|
+
{
|
|
3430
|
+
"kind": "method",
|
|
3431
|
+
"name": "subscribeToAlerts",
|
|
3432
|
+
"privacy": "private",
|
|
3433
|
+
"return": {
|
|
3434
|
+
"type": {
|
|
3435
|
+
"text": "void"
|
|
3436
|
+
}
|
|
3194
3437
|
}
|
|
3195
|
-
}
|
|
3196
|
-
]
|
|
3197
|
-
},
|
|
3198
|
-
{
|
|
3199
|
-
"kind": "variable",
|
|
3200
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3201
|
-
"type": {
|
|
3202
|
-
"text": "NotificationDashboardTab[]"
|
|
3203
|
-
},
|
|
3204
|
-
"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]"
|
|
3205
|
-
}
|
|
3206
|
-
],
|
|
3207
|
-
"exports": [
|
|
3208
|
-
{
|
|
3209
|
-
"kind": "js",
|
|
3210
|
-
"name": "NotificationDashboardTab",
|
|
3211
|
-
"declaration": {
|
|
3212
|
-
"name": "NotificationDashboardTab",
|
|
3213
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3214
|
-
}
|
|
3215
|
-
},
|
|
3216
|
-
{
|
|
3217
|
-
"kind": "js",
|
|
3218
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3219
|
-
"declaration": {
|
|
3220
|
-
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3221
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3222
|
-
}
|
|
3223
|
-
}
|
|
3224
|
-
]
|
|
3225
|
-
},
|
|
3226
|
-
{
|
|
3227
|
-
"kind": "javascript-module",
|
|
3228
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
3229
|
-
"declarations": [
|
|
3230
|
-
{
|
|
3231
|
-
"kind": "variable",
|
|
3232
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
3233
|
-
"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`"
|
|
3234
|
-
}
|
|
3235
|
-
],
|
|
3236
|
-
"exports": [
|
|
3237
|
-
{
|
|
3238
|
-
"kind": "js",
|
|
3239
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
3240
|
-
"declaration": {
|
|
3241
|
-
"name": "FoundationNotificationDashboardTemplate",
|
|
3242
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
3243
|
-
}
|
|
3244
|
-
}
|
|
3245
|
-
]
|
|
3246
|
-
},
|
|
3247
|
-
{
|
|
3248
|
-
"kind": "javascript-module",
|
|
3249
|
-
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
3250
|
-
"declarations": [
|
|
3251
|
-
{
|
|
3252
|
-
"kind": "class",
|
|
3253
|
-
"description": "",
|
|
3254
|
-
"name": "FoundationNotificationDashboard",
|
|
3255
|
-
"members": [
|
|
3438
|
+
},
|
|
3256
3439
|
{
|
|
3257
3440
|
"kind": "field",
|
|
3258
|
-
"name": "
|
|
3259
|
-
"
|
|
3260
|
-
"text": "Auth"
|
|
3261
|
-
}
|
|
3441
|
+
"name": "subscriptionHandler",
|
|
3442
|
+
"privacy": "private"
|
|
3262
3443
|
},
|
|
3263
3444
|
{
|
|
3264
|
-
"kind": "
|
|
3265
|
-
"name": "
|
|
3266
|
-
"
|
|
3267
|
-
|
|
3445
|
+
"kind": "method",
|
|
3446
|
+
"name": "playForNewAlerts",
|
|
3447
|
+
"privacy": "private",
|
|
3448
|
+
"return": {
|
|
3449
|
+
"type": {
|
|
3450
|
+
"text": "Promise<void>"
|
|
3451
|
+
}
|
|
3268
3452
|
},
|
|
3269
|
-
"
|
|
3453
|
+
"parameters": [
|
|
3454
|
+
{
|
|
3455
|
+
"name": "rows",
|
|
3456
|
+
"type": {
|
|
3457
|
+
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
]
|
|
3270
3461
|
},
|
|
3271
3462
|
{
|
|
3272
|
-
"kind": "
|
|
3273
|
-
"name": "
|
|
3463
|
+
"kind": "method",
|
|
3464
|
+
"name": "tryPlayServerSound",
|
|
3465
|
+
"privacy": "private",
|
|
3466
|
+
"return": {
|
|
3467
|
+
"type": {
|
|
3468
|
+
"text": "Promise<boolean>"
|
|
3469
|
+
}
|
|
3470
|
+
},
|
|
3471
|
+
"parameters": [
|
|
3472
|
+
{
|
|
3473
|
+
"name": "dynamicRuleId",
|
|
3474
|
+
"type": {
|
|
3475
|
+
"text": "string"
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
]
|
|
3479
|
+
},
|
|
3480
|
+
{
|
|
3481
|
+
"kind": "method",
|
|
3482
|
+
"name": "fetchAndCacheServerSound",
|
|
3483
|
+
"privacy": "private",
|
|
3484
|
+
"return": {
|
|
3485
|
+
"type": {
|
|
3486
|
+
"text": "Promise<boolean>"
|
|
3487
|
+
}
|
|
3488
|
+
},
|
|
3489
|
+
"parameters": [
|
|
3490
|
+
{
|
|
3491
|
+
"name": "dynamicRuleId",
|
|
3492
|
+
"type": {
|
|
3493
|
+
"text": "string"
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
]
|
|
3497
|
+
}
|
|
3498
|
+
],
|
|
3499
|
+
"attributes": [
|
|
3500
|
+
{
|
|
3501
|
+
"name": "sound-enabled",
|
|
3274
3502
|
"type": {
|
|
3275
3503
|
"text": "boolean"
|
|
3276
3504
|
},
|
|
3277
|
-
"default": "true"
|
|
3505
|
+
"default": "true",
|
|
3506
|
+
"description": "When false, new audible alerts are tracked but do not play.",
|
|
3507
|
+
"fieldName": "soundEnabled"
|
|
3278
3508
|
}
|
|
3279
3509
|
],
|
|
3280
3510
|
"superclass": {
|
|
3281
3511
|
"name": "GenesisElement",
|
|
3282
3512
|
"package": "@genesislcap/web-core"
|
|
3283
3513
|
},
|
|
3284
|
-
"tagName": "foundation-
|
|
3514
|
+
"tagName": "foundation-sounds",
|
|
3285
3515
|
"customElement": true
|
|
3286
3516
|
}
|
|
3287
3517
|
],
|
|
3288
3518
|
"exports": [
|
|
3289
3519
|
{
|
|
3290
3520
|
"kind": "js",
|
|
3291
|
-
"name": "
|
|
3521
|
+
"name": "FoundationSounds",
|
|
3292
3522
|
"declaration": {
|
|
3293
|
-
"name": "
|
|
3294
|
-
"module": "src/components/foundation-
|
|
3523
|
+
"name": "FoundationSounds",
|
|
3524
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
3295
3525
|
}
|
|
3296
3526
|
},
|
|
3297
3527
|
{
|
|
3298
3528
|
"kind": "custom-element-definition",
|
|
3299
|
-
"name": "foundation-
|
|
3529
|
+
"name": "foundation-sounds",
|
|
3300
3530
|
"declaration": {
|
|
3301
|
-
"name": "
|
|
3302
|
-
"module": "src/components/foundation-
|
|
3531
|
+
"name": "FoundationSounds",
|
|
3532
|
+
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
3303
3533
|
}
|
|
3304
3534
|
}
|
|
3305
3535
|
]
|
|
3306
3536
|
},
|
|
3307
3537
|
{
|
|
3308
3538
|
"kind": "javascript-module",
|
|
3309
|
-
"path": "src/components/foundation-notification-dashboard/
|
|
3539
|
+
"path": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts",
|
|
3310
3540
|
"declarations": [
|
|
3311
3541
|
{
|
|
3312
|
-
"kind": "
|
|
3313
|
-
"
|
|
3314
|
-
"name": "
|
|
3542
|
+
"kind": "variable",
|
|
3543
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3544
|
+
"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`",
|
|
3545
|
+
"description": "Shared Attach/Replace/Test/Clear UI for rule and template dialogs.",
|
|
3546
|
+
"privacy": "public"
|
|
3547
|
+
},
|
|
3548
|
+
{
|
|
3549
|
+
"kind": "mixin",
|
|
3550
|
+
"description": "Mixin: pick / test / clear / load server sound + apply fields to submit payload.\n\nSubclasses must provide ruleService, isAlertSoundEditMode,\nalertSoundEntityId, and alertSoundCacheSyncMode.",
|
|
3551
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3315
3552
|
"members": [
|
|
3316
3553
|
{
|
|
3317
3554
|
"kind": "field",
|
|
3318
|
-
"name": "
|
|
3555
|
+
"name": "ruleService",
|
|
3319
3556
|
"type": {
|
|
3320
|
-
"text": "
|
|
3321
|
-
}
|
|
3322
|
-
"privacy": "private",
|
|
3323
|
-
"static": true
|
|
3557
|
+
"text": "RuleService"
|
|
3558
|
+
}
|
|
3324
3559
|
},
|
|
3325
3560
|
{
|
|
3326
3561
|
"kind": "field",
|
|
3327
|
-
"name": "
|
|
3328
|
-
"
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
"name": "isEmpty",
|
|
3335
|
-
"parameters": [
|
|
3562
|
+
"name": "isAlertSoundEditMode",
|
|
3563
|
+
"type": {
|
|
3564
|
+
"text": "boolean"
|
|
3565
|
+
},
|
|
3566
|
+
"description": "True when editing an existing entity (clear should set CLEAR_ALERT_SOUND).",
|
|
3567
|
+
"readonly": true
|
|
3568
|
+
},
|
|
3336
3569
|
{
|
|
3337
|
-
"
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
"members": [
|
|
3570
|
+
"kind": "field",
|
|
3571
|
+
"name": "alertSoundEntityId",
|
|
3572
|
+
"type": {
|
|
3573
|
+
"text": "string | null"
|
|
3574
|
+
},
|
|
3575
|
+
"description": "DYNAMIC_RULE_ID of the entity being edited (null on create).\nUsed when alertSoundCacheSyncMode is `'entity'`.",
|
|
3576
|
+
"readonly": true
|
|
3577
|
+
},
|
|
3346
3578
|
{
|
|
3347
3579
|
"kind": "field",
|
|
3348
|
-
"name": "
|
|
3349
|
-
"
|
|
3580
|
+
"name": "alertSoundCacheSyncMode",
|
|
3581
|
+
"type": {
|
|
3582
|
+
"text": "'entity' | 'all'"
|
|
3583
|
+
},
|
|
3584
|
+
"description": "`'entity'` — update/clear cache for alertSoundEntityId (rules).\n`'all'` — drop every cached server sound (templates; instance ids unknown).",
|
|
3585
|
+
"readonly": true
|
|
3350
3586
|
},
|
|
3351
3587
|
{
|
|
3352
3588
|
"kind": "field",
|
|
3353
|
-
"name": "
|
|
3354
|
-
"
|
|
3589
|
+
"name": "alertSoundFileName",
|
|
3590
|
+
"type": {
|
|
3591
|
+
"text": "string"
|
|
3592
|
+
},
|
|
3593
|
+
"default": "''",
|
|
3594
|
+
"description": "Display name of the attached / pending alert sound file."
|
|
3355
3595
|
},
|
|
3356
3596
|
{
|
|
3357
3597
|
"kind": "field",
|
|
3358
|
-
"name": "
|
|
3359
|
-
"
|
|
3598
|
+
"name": "alertSoundMimeType",
|
|
3599
|
+
"type": {
|
|
3600
|
+
"text": "string"
|
|
3601
|
+
},
|
|
3602
|
+
"default": "''"
|
|
3360
3603
|
},
|
|
3361
3604
|
{
|
|
3362
3605
|
"kind": "field",
|
|
3363
|
-
"name": "
|
|
3364
|
-
"
|
|
3606
|
+
"name": "hasAlertSound",
|
|
3607
|
+
"type": {
|
|
3608
|
+
"text": "boolean"
|
|
3609
|
+
},
|
|
3610
|
+
"default": "false",
|
|
3611
|
+
"description": "True when edit loaded an existing server sound (or user attached one)."
|
|
3365
3612
|
},
|
|
3366
3613
|
{
|
|
3367
3614
|
"kind": "field",
|
|
3368
|
-
"name": "
|
|
3369
|
-
"
|
|
3615
|
+
"name": "fileInput",
|
|
3616
|
+
"type": {
|
|
3617
|
+
"text": "HTMLInputElement"
|
|
3618
|
+
}
|
|
3370
3619
|
},
|
|
3371
3620
|
{
|
|
3372
3621
|
"kind": "field",
|
|
3373
|
-
"name": "
|
|
3374
|
-
"
|
|
3622
|
+
"name": "pendingAlertSoundData",
|
|
3623
|
+
"type": {
|
|
3624
|
+
"text": "string | null"
|
|
3625
|
+
},
|
|
3626
|
+
"default": "null"
|
|
3375
3627
|
},
|
|
3376
3628
|
{
|
|
3377
|
-
"kind": "
|
|
3378
|
-
"name": "
|
|
3379
|
-
"
|
|
3380
|
-
|
|
3381
|
-
"type": {
|
|
3382
|
-
"text": "any"
|
|
3383
|
-
}
|
|
3629
|
+
"kind": "field",
|
|
3630
|
+
"name": "alertSoundDirty",
|
|
3631
|
+
"type": {
|
|
3632
|
+
"text": "boolean"
|
|
3384
3633
|
},
|
|
3385
|
-
"
|
|
3386
|
-
|
|
3387
|
-
"name": "conditions",
|
|
3388
|
-
"type": {
|
|
3389
|
-
"text": "ConditionNode[]"
|
|
3390
|
-
}
|
|
3391
|
-
},
|
|
3392
|
-
{
|
|
3393
|
-
"name": "parameters",
|
|
3394
|
-
"optional": true
|
|
3395
|
-
}
|
|
3396
|
-
]
|
|
3634
|
+
"default": "false",
|
|
3635
|
+
"description": "True when the user picked a new file this session (needs upload)."
|
|
3397
3636
|
},
|
|
3398
3637
|
{
|
|
3399
|
-
"kind": "
|
|
3400
|
-
"name": "
|
|
3401
|
-
"
|
|
3402
|
-
|
|
3403
|
-
"type": {
|
|
3404
|
-
"text": "boolean"
|
|
3405
|
-
}
|
|
3638
|
+
"kind": "field",
|
|
3639
|
+
"name": "clearAlertSound",
|
|
3640
|
+
"type": {
|
|
3641
|
+
"text": "boolean"
|
|
3406
3642
|
},
|
|
3407
|
-
"
|
|
3408
|
-
{
|
|
3409
|
-
"name": "conditions",
|
|
3410
|
-
"type": {
|
|
3411
|
-
"text": "ConditionNode[]"
|
|
3412
|
-
}
|
|
3413
|
-
}
|
|
3414
|
-
]
|
|
3643
|
+
"default": "false"
|
|
3415
3644
|
},
|
|
3416
3645
|
{
|
|
3417
|
-
"kind": "
|
|
3418
|
-
"name": "
|
|
3419
|
-
"
|
|
3420
|
-
|
|
3421
|
-
"type": {
|
|
3422
|
-
"text": "boolean"
|
|
3423
|
-
}
|
|
3646
|
+
"kind": "field",
|
|
3647
|
+
"name": "testAudio",
|
|
3648
|
+
"type": {
|
|
3649
|
+
"text": "HTMLAudioElement | null"
|
|
3424
3650
|
},
|
|
3425
|
-
"
|
|
3426
|
-
|
|
3427
|
-
"name": "conditions",
|
|
3428
|
-
"type": {
|
|
3429
|
-
"text": "ConditionNode[]"
|
|
3430
|
-
}
|
|
3431
|
-
}
|
|
3432
|
-
]
|
|
3651
|
+
"default": "null",
|
|
3652
|
+
"description": "In-progress Test playback; not private — mixin return type is exported."
|
|
3433
3653
|
},
|
|
3434
3654
|
{
|
|
3435
3655
|
"kind": "method",
|
|
3436
|
-
"name": "
|
|
3437
|
-
"static": true,
|
|
3438
|
-
"return": {
|
|
3439
|
-
"type": {
|
|
3440
|
-
"text": "boolean"
|
|
3441
|
-
}
|
|
3442
|
-
},
|
|
3656
|
+
"name": "loadExistingAlertSound",
|
|
3443
3657
|
"parameters": [
|
|
3444
3658
|
{
|
|
3445
|
-
"name": "
|
|
3659
|
+
"name": "dynamicRuleId",
|
|
3446
3660
|
"type": {
|
|
3447
|
-
"text": "
|
|
3661
|
+
"text": "string"
|
|
3448
3662
|
}
|
|
3449
3663
|
}
|
|
3450
3664
|
]
|
|
3451
3665
|
},
|
|
3452
3666
|
{
|
|
3453
3667
|
"kind": "method",
|
|
3454
|
-
"name": "
|
|
3455
|
-
"static": true,
|
|
3456
|
-
"return": {
|
|
3457
|
-
"type": {
|
|
3458
|
-
"text": "boolean"
|
|
3459
|
-
}
|
|
3460
|
-
},
|
|
3461
|
-
"parameters": [
|
|
3462
|
-
{
|
|
3463
|
-
"name": "conditions",
|
|
3464
|
-
"type": {
|
|
3465
|
-
"text": "ConditionNode[]"
|
|
3466
|
-
}
|
|
3467
|
-
}
|
|
3468
|
-
]
|
|
3668
|
+
"name": "openAlertSoundPicker"
|
|
3469
3669
|
},
|
|
3470
3670
|
{
|
|
3471
3671
|
"kind": "method",
|
|
3472
|
-
"name": "
|
|
3473
|
-
"static": true,
|
|
3474
|
-
"return": {
|
|
3475
|
-
"type": {
|
|
3476
|
-
"text": "boolean"
|
|
3477
|
-
}
|
|
3478
|
-
},
|
|
3672
|
+
"name": "onAlertSoundSelected",
|
|
3479
3673
|
"parameters": [
|
|
3480
3674
|
{
|
|
3481
|
-
"name": "
|
|
3675
|
+
"name": "event",
|
|
3482
3676
|
"type": {
|
|
3483
|
-
"text": "
|
|
3677
|
+
"text": "Event"
|
|
3484
3678
|
}
|
|
3485
3679
|
}
|
|
3486
3680
|
]
|
|
3487
3681
|
},
|
|
3488
3682
|
{
|
|
3489
3683
|
"kind": "method",
|
|
3490
|
-
"name": "
|
|
3491
|
-
"static": true,
|
|
3492
|
-
"return": {
|
|
3493
|
-
"type": {
|
|
3494
|
-
"text": "ConditionBuilderEntity[]"
|
|
3495
|
-
}
|
|
3496
|
-
},
|
|
3497
|
-
"parameters": [
|
|
3498
|
-
{
|
|
3499
|
-
"name": "conditions",
|
|
3500
|
-
"type": {
|
|
3501
|
-
"text": "ConditionNode[]"
|
|
3502
|
-
}
|
|
3503
|
-
}
|
|
3504
|
-
]
|
|
3684
|
+
"name": "clearAttachedAlertSound"
|
|
3505
3685
|
},
|
|
3506
3686
|
{
|
|
3507
3687
|
"kind": "method",
|
|
3508
|
-
"name": "
|
|
3509
|
-
"static": true,
|
|
3510
|
-
"return": {
|
|
3511
|
-
"type": {
|
|
3512
|
-
"text": "ConditionNode[]"
|
|
3513
|
-
}
|
|
3514
|
-
},
|
|
3515
|
-
"parameters": [
|
|
3516
|
-
{
|
|
3517
|
-
"name": "conditions",
|
|
3518
|
-
"type": {
|
|
3519
|
-
"text": "ConditionNode[]"
|
|
3520
|
-
}
|
|
3521
|
-
},
|
|
3522
|
-
{
|
|
3523
|
-
"name": "fields",
|
|
3524
|
-
"type": {
|
|
3525
|
-
"text": "any[]"
|
|
3526
|
-
}
|
|
3527
|
-
}
|
|
3528
|
-
]
|
|
3688
|
+
"name": "testAttachedAlertSound"
|
|
3529
3689
|
},
|
|
3530
3690
|
{
|
|
3531
|
-
"kind": "
|
|
3532
|
-
"name": "
|
|
3533
|
-
"static": true
|
|
3691
|
+
"kind": "method",
|
|
3692
|
+
"name": "stopTestSound"
|
|
3534
3693
|
},
|
|
3535
3694
|
{
|
|
3536
3695
|
"kind": "method",
|
|
3537
|
-
"name": "
|
|
3538
|
-
"static": true,
|
|
3539
|
-
"return": {
|
|
3540
|
-
"type": {
|
|
3541
|
-
"text": "string"
|
|
3542
|
-
}
|
|
3543
|
-
},
|
|
3544
|
-
"parameters": [
|
|
3545
|
-
{
|
|
3546
|
-
"name": "conditions",
|
|
3547
|
-
"type": {
|
|
3548
|
-
"text": "ConditionNode[]"
|
|
3549
|
-
}
|
|
3550
|
-
}
|
|
3551
|
-
]
|
|
3696
|
+
"name": "resetAlertSoundState"
|
|
3552
3697
|
},
|
|
3553
3698
|
{
|
|
3554
3699
|
"kind": "method",
|
|
3555
|
-
"name": "
|
|
3556
|
-
"static": true,
|
|
3700
|
+
"name": "applyAlertSoundToPayload",
|
|
3557
3701
|
"return": {
|
|
3558
3702
|
"type": {
|
|
3559
|
-
"text": "
|
|
3703
|
+
"text": "T"
|
|
3560
3704
|
}
|
|
3561
3705
|
},
|
|
3562
3706
|
"parameters": [
|
|
3563
3707
|
{
|
|
3564
|
-
"name": "
|
|
3708
|
+
"name": "target",
|
|
3565
3709
|
"type": {
|
|
3566
|
-
"text": "
|
|
3710
|
+
"text": "T"
|
|
3567
3711
|
}
|
|
3568
3712
|
}
|
|
3569
|
-
]
|
|
3713
|
+
],
|
|
3714
|
+
"description": "Merges pending sound / clear flag onto a create/update DETAILS object."
|
|
3715
|
+
},
|
|
3716
|
+
{
|
|
3717
|
+
"kind": "method",
|
|
3718
|
+
"name": "syncAlertSoundCacheAfterSave",
|
|
3719
|
+
"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."
|
|
3570
3720
|
}
|
|
3571
|
-
]
|
|
3721
|
+
],
|
|
3722
|
+
"parameters": [
|
|
3723
|
+
{
|
|
3724
|
+
"name": "Base",
|
|
3725
|
+
"type": {
|
|
3726
|
+
"text": "TBase"
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
],
|
|
3730
|
+
"privacy": "public"
|
|
3731
|
+
}
|
|
3732
|
+
],
|
|
3733
|
+
"exports": [
|
|
3734
|
+
{
|
|
3735
|
+
"kind": "js",
|
|
3736
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3737
|
+
"declaration": {
|
|
3738
|
+
"name": "alertSoundAttachmentTemplate",
|
|
3739
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3740
|
+
}
|
|
3572
3741
|
},
|
|
3742
|
+
{
|
|
3743
|
+
"kind": "js",
|
|
3744
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3745
|
+
"declaration": {
|
|
3746
|
+
"name": "AlertSoundAttachmentMixin",
|
|
3747
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
3748
|
+
}
|
|
3749
|
+
}
|
|
3750
|
+
]
|
|
3751
|
+
},
|
|
3752
|
+
{
|
|
3753
|
+
"kind": "javascript-module",
|
|
3754
|
+
"path": "src/components/foundation-notification-dashboard/index.ts",
|
|
3755
|
+
"declarations": [],
|
|
3756
|
+
"exports": [
|
|
3757
|
+
{
|
|
3758
|
+
"kind": "js",
|
|
3759
|
+
"name": "*",
|
|
3760
|
+
"declaration": {
|
|
3761
|
+
"name": "*",
|
|
3762
|
+
"package": "./notification-dashboard"
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
]
|
|
3766
|
+
},
|
|
3767
|
+
{
|
|
3768
|
+
"kind": "javascript-module",
|
|
3769
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts",
|
|
3770
|
+
"declarations": [
|
|
3771
|
+
{
|
|
3772
|
+
"kind": "variable",
|
|
3773
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3774
|
+
"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`",
|
|
3775
|
+
"privacy": "public"
|
|
3776
|
+
}
|
|
3777
|
+
],
|
|
3778
|
+
"exports": [
|
|
3779
|
+
{
|
|
3780
|
+
"kind": "js",
|
|
3781
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3782
|
+
"declaration": {
|
|
3783
|
+
"name": "FoundationNotificationDashboardStyles",
|
|
3784
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.styles.ts"
|
|
3785
|
+
}
|
|
3786
|
+
}
|
|
3787
|
+
]
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"kind": "javascript-module",
|
|
3791
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts",
|
|
3792
|
+
"declarations": [
|
|
3573
3793
|
{
|
|
3574
3794
|
"kind": "class",
|
|
3575
3795
|
"description": "",
|
|
3576
|
-
"name": "
|
|
3796
|
+
"name": "NotificationDashboardTab",
|
|
3577
3797
|
"members": [
|
|
3578
3798
|
{
|
|
3579
3799
|
"kind": "field",
|
|
3580
|
-
"name": "
|
|
3581
|
-
"
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
"kind": "method",
|
|
3585
|
-
"name": "getParameters",
|
|
3586
|
-
"static": true,
|
|
3587
|
-
"parameters": [
|
|
3588
|
-
{
|
|
3589
|
-
"name": "parameters"
|
|
3590
|
-
}
|
|
3591
|
-
]
|
|
3800
|
+
"name": "id",
|
|
3801
|
+
"type": {
|
|
3802
|
+
"text": "string"
|
|
3803
|
+
}
|
|
3592
3804
|
},
|
|
3593
3805
|
{
|
|
3594
|
-
"kind": "
|
|
3595
|
-
"name": "
|
|
3596
|
-
"
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
{
|
|
3600
|
-
"name": "logicalOperator",
|
|
3601
|
-
"type": {
|
|
3602
|
-
"text": "LogicalOperator"
|
|
3603
|
-
}
|
|
3604
|
-
},
|
|
3605
|
-
{
|
|
3606
|
-
"name": "condition"
|
|
3607
|
-
},
|
|
3608
|
-
{
|
|
3609
|
-
"name": "parameters",
|
|
3610
|
-
"optional": true
|
|
3611
|
-
}
|
|
3612
|
-
]
|
|
3613
|
-
},
|
|
3614
|
-
{
|
|
3615
|
-
"kind": "method",
|
|
3616
|
-
"name": "getConditions",
|
|
3617
|
-
"static": true,
|
|
3618
|
-
"parameters": [
|
|
3619
|
-
{
|
|
3620
|
-
"name": "conditions"
|
|
3621
|
-
},
|
|
3622
|
-
{
|
|
3623
|
-
"name": "parameters",
|
|
3624
|
-
"optional": true
|
|
3625
|
-
}
|
|
3626
|
-
]
|
|
3806
|
+
"kind": "field",
|
|
3807
|
+
"name": "name",
|
|
3808
|
+
"type": {
|
|
3809
|
+
"text": "string"
|
|
3810
|
+
}
|
|
3627
3811
|
},
|
|
3628
3812
|
{
|
|
3629
|
-
"kind": "
|
|
3630
|
-
"name": "
|
|
3631
|
-
"
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
"name": "parameters"
|
|
3635
|
-
}
|
|
3636
|
-
]
|
|
3637
|
-
}
|
|
3638
|
-
]
|
|
3639
|
-
},
|
|
3640
|
-
{
|
|
3641
|
-
"kind": "class",
|
|
3642
|
-
"description": "",
|
|
3643
|
-
"name": "RuleUtils",
|
|
3644
|
-
"members": [
|
|
3645
|
-
{
|
|
3646
|
-
"kind": "method",
|
|
3647
|
-
"name": "buildRightValue",
|
|
3648
|
-
"privacy": "private",
|
|
3649
|
-
"static": true,
|
|
3650
|
-
"parameters": [
|
|
3651
|
-
{
|
|
3652
|
-
"name": "logicalOperator",
|
|
3653
|
-
"type": {
|
|
3654
|
-
"text": "LogicalOperator"
|
|
3655
|
-
}
|
|
3656
|
-
},
|
|
3657
|
-
{
|
|
3658
|
-
"name": "condition"
|
|
3659
|
-
}
|
|
3660
|
-
]
|
|
3813
|
+
"kind": "field",
|
|
3814
|
+
"name": "component",
|
|
3815
|
+
"type": {
|
|
3816
|
+
"text": "string"
|
|
3817
|
+
}
|
|
3661
3818
|
},
|
|
3662
3819
|
{
|
|
3663
|
-
"kind": "
|
|
3664
|
-
"name": "
|
|
3665
|
-
"
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
"name": "conditions"
|
|
3669
|
-
}
|
|
3670
|
-
]
|
|
3820
|
+
"kind": "field",
|
|
3821
|
+
"name": "right",
|
|
3822
|
+
"type": {
|
|
3823
|
+
"text": "string"
|
|
3824
|
+
}
|
|
3671
3825
|
}
|
|
3672
3826
|
]
|
|
3673
3827
|
},
|
|
3674
3828
|
{
|
|
3675
|
-
"kind": "
|
|
3676
|
-
"name": "
|
|
3677
|
-
"
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
]
|
|
3829
|
+
"kind": "variable",
|
|
3830
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3831
|
+
"type": {
|
|
3832
|
+
"text": "NotificationDashboardTab[]"
|
|
3833
|
+
},
|
|
3834
|
+
"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]"
|
|
3682
3835
|
}
|
|
3683
3836
|
],
|
|
3684
3837
|
"exports": [
|
|
3685
3838
|
{
|
|
3686
3839
|
"kind": "js",
|
|
3687
|
-
"name": "
|
|
3688
|
-
"declaration": {
|
|
3689
|
-
"name": "UUIDGenerator",
|
|
3690
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3691
|
-
}
|
|
3692
|
-
},
|
|
3693
|
-
{
|
|
3694
|
-
"kind": "js",
|
|
3695
|
-
"name": "isEmpty",
|
|
3696
|
-
"declaration": {
|
|
3697
|
-
"name": "isEmpty",
|
|
3698
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3699
|
-
}
|
|
3700
|
-
},
|
|
3701
|
-
{
|
|
3702
|
-
"kind": "js",
|
|
3703
|
-
"name": "DynamicRuleUtils",
|
|
3704
|
-
"declaration": {
|
|
3705
|
-
"name": "DynamicRuleUtils",
|
|
3706
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3707
|
-
}
|
|
3708
|
-
},
|
|
3709
|
-
{
|
|
3710
|
-
"kind": "js",
|
|
3711
|
-
"name": "TemplateUtils",
|
|
3712
|
-
"declaration": {
|
|
3713
|
-
"name": "TemplateUtils",
|
|
3714
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
3715
|
-
}
|
|
3716
|
-
},
|
|
3717
|
-
{
|
|
3718
|
-
"kind": "js",
|
|
3719
|
-
"name": "RuleUtils",
|
|
3840
|
+
"name": "NotificationDashboardTab",
|
|
3720
3841
|
"declaration": {
|
|
3721
|
-
"name": "
|
|
3722
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.
|
|
3842
|
+
"name": "NotificationDashboardTab",
|
|
3843
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3723
3844
|
}
|
|
3724
3845
|
},
|
|
3725
3846
|
{
|
|
3726
3847
|
"kind": "js",
|
|
3727
|
-
"name": "
|
|
3848
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3728
3849
|
"declaration": {
|
|
3729
|
-
"name": "
|
|
3730
|
-
"module": "src/components/foundation-notification-dashboard/notification-dashboard.
|
|
3850
|
+
"name": "NOTIFICATION_DASHBOARD_TABS",
|
|
3851
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.tabs.ts"
|
|
3731
3852
|
}
|
|
3732
3853
|
}
|
|
3733
3854
|
]
|
|
3734
3855
|
},
|
|
3735
3856
|
{
|
|
3736
3857
|
"kind": "javascript-module",
|
|
3737
|
-
"path": "src/components/foundation-
|
|
3858
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts",
|
|
3738
3859
|
"declarations": [
|
|
3739
3860
|
{
|
|
3740
3861
|
"kind": "variable",
|
|
3741
|
-
"name": "
|
|
3742
|
-
"default": "
|
|
3862
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3863
|
+
"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`"
|
|
3743
3864
|
}
|
|
3744
3865
|
],
|
|
3745
3866
|
"exports": [
|
|
3746
3867
|
{
|
|
3747
3868
|
"kind": "js",
|
|
3748
|
-
"name": "
|
|
3869
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3749
3870
|
"declaration": {
|
|
3750
|
-
"name": "
|
|
3751
|
-
"module": "src/components/foundation-
|
|
3871
|
+
"name": "FoundationNotificationDashboardTemplate",
|
|
3872
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.template.ts"
|
|
3752
3873
|
}
|
|
3753
3874
|
}
|
|
3754
3875
|
]
|
|
3755
3876
|
},
|
|
3756
3877
|
{
|
|
3757
3878
|
"kind": "javascript-module",
|
|
3758
|
-
"path": "src/components/foundation-
|
|
3879
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.ts",
|
|
3759
3880
|
"declarations": [
|
|
3760
3881
|
{
|
|
3761
|
-
"kind": "
|
|
3762
|
-
"
|
|
3763
|
-
"
|
|
3882
|
+
"kind": "class",
|
|
3883
|
+
"description": "",
|
|
3884
|
+
"name": "FoundationNotificationDashboard",
|
|
3885
|
+
"members": [
|
|
3886
|
+
{
|
|
3887
|
+
"kind": "field",
|
|
3888
|
+
"name": "auth",
|
|
3889
|
+
"type": {
|
|
3890
|
+
"text": "Auth"
|
|
3891
|
+
}
|
|
3892
|
+
},
|
|
3893
|
+
{
|
|
3894
|
+
"kind": "field",
|
|
3895
|
+
"name": "ready",
|
|
3896
|
+
"type": {
|
|
3897
|
+
"text": "boolean"
|
|
3898
|
+
},
|
|
3899
|
+
"default": "false"
|
|
3900
|
+
},
|
|
3901
|
+
{
|
|
3902
|
+
"kind": "field",
|
|
3903
|
+
"name": "hasPermissions",
|
|
3904
|
+
"type": {
|
|
3905
|
+
"text": "boolean"
|
|
3906
|
+
},
|
|
3907
|
+
"default": "true"
|
|
3908
|
+
}
|
|
3909
|
+
],
|
|
3910
|
+
"superclass": {
|
|
3911
|
+
"name": "GenesisElement",
|
|
3912
|
+
"package": "@genesislcap/web-core"
|
|
3913
|
+
},
|
|
3914
|
+
"tagName": "foundation-notification-dashboard",
|
|
3915
|
+
"customElement": true
|
|
3764
3916
|
}
|
|
3765
3917
|
],
|
|
3766
3918
|
"exports": [
|
|
3767
3919
|
{
|
|
3768
3920
|
"kind": "js",
|
|
3769
|
-
"name": "
|
|
3921
|
+
"name": "FoundationNotificationDashboard",
|
|
3770
3922
|
"declaration": {
|
|
3771
|
-
"name": "
|
|
3772
|
-
"module": "src/components/foundation-
|
|
3923
|
+
"name": "FoundationNotificationDashboard",
|
|
3924
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3925
|
+
}
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
"kind": "custom-element-definition",
|
|
3929
|
+
"name": "foundation-notification-dashboard",
|
|
3930
|
+
"declaration": {
|
|
3931
|
+
"name": "FoundationNotificationDashboard",
|
|
3932
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.ts"
|
|
3773
3933
|
}
|
|
3774
3934
|
}
|
|
3775
3935
|
]
|
|
3776
3936
|
},
|
|
3777
3937
|
{
|
|
3778
3938
|
"kind": "javascript-module",
|
|
3779
|
-
"path": "src/components/foundation-
|
|
3939
|
+
"path": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts",
|
|
3780
3940
|
"declarations": [
|
|
3781
3941
|
{
|
|
3782
3942
|
"kind": "class",
|
|
3783
|
-
"description": "
|
|
3784
|
-
"name": "
|
|
3943
|
+
"description": "",
|
|
3944
|
+
"name": "UUIDGenerator",
|
|
3785
3945
|
"members": [
|
|
3786
3946
|
{
|
|
3787
3947
|
"kind": "field",
|
|
3788
|
-
"name": "
|
|
3948
|
+
"name": "uuid",
|
|
3789
3949
|
"type": {
|
|
3790
|
-
"text": "
|
|
3791
|
-
}
|
|
3950
|
+
"text": "UUID"
|
|
3951
|
+
},
|
|
3952
|
+
"privacy": "private",
|
|
3953
|
+
"static": true
|
|
3792
3954
|
},
|
|
3793
3955
|
{
|
|
3794
3956
|
"kind": "field",
|
|
3795
|
-
"name": "
|
|
3796
|
-
"
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3957
|
+
"name": "createUUID",
|
|
3958
|
+
"static": true
|
|
3959
|
+
}
|
|
3960
|
+
]
|
|
3961
|
+
},
|
|
3962
|
+
{
|
|
3963
|
+
"kind": "function",
|
|
3964
|
+
"name": "isEmpty",
|
|
3965
|
+
"parameters": [
|
|
3966
|
+
{
|
|
3967
|
+
"name": "value"
|
|
3968
|
+
}
|
|
3969
|
+
]
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"kind": "class",
|
|
3973
|
+
"description": "",
|
|
3974
|
+
"name": "DynamicRuleUtils",
|
|
3975
|
+
"members": [
|
|
3976
|
+
{
|
|
3977
|
+
"kind": "field",
|
|
3978
|
+
"name": "createEmptyCondition",
|
|
3979
|
+
"static": true
|
|
3801
3980
|
},
|
|
3802
3981
|
{
|
|
3803
3982
|
"kind": "field",
|
|
3804
|
-
"name": "
|
|
3805
|
-
"
|
|
3806
|
-
"text": "AlertSoundSelectableRule[]"
|
|
3807
|
-
},
|
|
3808
|
-
"default": "[]",
|
|
3809
|
-
"description": "Notification rules from REQ_NOTIFICATION_RULE. @internal"
|
|
3810
|
-
},
|
|
3811
|
-
{
|
|
3812
|
-
"kind": "field",
|
|
3813
|
-
"name": "fileInput",
|
|
3814
|
-
"type": {
|
|
3815
|
-
"text": "HTMLInputElement"
|
|
3816
|
-
}
|
|
3983
|
+
"name": "createAssignment",
|
|
3984
|
+
"static": true
|
|
3817
3985
|
},
|
|
3818
3986
|
{
|
|
3819
3987
|
"kind": "field",
|
|
3820
|
-
"name": "
|
|
3821
|
-
"
|
|
3822
|
-
"text": "number | null"
|
|
3823
|
-
},
|
|
3824
|
-
"privacy": "private",
|
|
3825
|
-
"default": "null"
|
|
3988
|
+
"name": "createPlaceholderAssignment",
|
|
3989
|
+
"static": true
|
|
3826
3990
|
},
|
|
3827
3991
|
{
|
|
3828
3992
|
"kind": "field",
|
|
3829
|
-
"name": "
|
|
3830
|
-
"
|
|
3831
|
-
"readonly": true
|
|
3993
|
+
"name": "createTextAssignment",
|
|
3994
|
+
"static": true
|
|
3832
3995
|
},
|
|
3833
3996
|
{
|
|
3834
3997
|
"kind": "field",
|
|
3835
|
-
"name": "
|
|
3836
|
-
"
|
|
3837
|
-
"text": "(() => void) | undefined"
|
|
3838
|
-
},
|
|
3839
|
-
"privacy": "private"
|
|
3998
|
+
"name": "getAssignmentValue",
|
|
3999
|
+
"static": true
|
|
3840
4000
|
},
|
|
3841
4001
|
{
|
|
3842
4002
|
"kind": "field",
|
|
3843
|
-
"name": "
|
|
3844
|
-
"
|
|
3845
|
-
"text": "boolean"
|
|
3846
|
-
},
|
|
3847
|
-
"privacy": "private",
|
|
3848
|
-
"default": "false",
|
|
3849
|
-
"description": "Suppresses select change events while options are rebuilt."
|
|
4003
|
+
"name": "getAssignmentText",
|
|
4004
|
+
"static": true
|
|
3850
4005
|
},
|
|
3851
4006
|
{
|
|
3852
4007
|
"kind": "method",
|
|
3853
|
-
"name": "
|
|
4008
|
+
"name": "createConditions",
|
|
4009
|
+
"static": true,
|
|
3854
4010
|
"return": {
|
|
3855
4011
|
"type": {
|
|
3856
|
-
"text": "
|
|
4012
|
+
"text": "any"
|
|
3857
4013
|
}
|
|
3858
4014
|
},
|
|
3859
4015
|
"parameters": [
|
|
3860
4016
|
{
|
|
3861
|
-
"name": "
|
|
4017
|
+
"name": "conditions",
|
|
3862
4018
|
"type": {
|
|
3863
|
-
"text": "
|
|
4019
|
+
"text": "ConditionNode[]"
|
|
3864
4020
|
}
|
|
3865
4021
|
},
|
|
3866
4022
|
{
|
|
3867
|
-
"name": "
|
|
3868
|
-
"
|
|
3869
|
-
"text": "Event"
|
|
3870
|
-
}
|
|
4023
|
+
"name": "parameters",
|
|
4024
|
+
"optional": true
|
|
3871
4025
|
}
|
|
3872
4026
|
]
|
|
3873
4027
|
},
|
|
3874
4028
|
{
|
|
3875
4029
|
"kind": "method",
|
|
3876
|
-
"name": "
|
|
4030
|
+
"name": "hasMultiValueCondition",
|
|
4031
|
+
"static": true,
|
|
3877
4032
|
"return": {
|
|
3878
4033
|
"type": {
|
|
3879
4034
|
"text": "boolean"
|
|
@@ -3881,22 +4036,17 @@
|
|
|
3881
4036
|
},
|
|
3882
4037
|
"parameters": [
|
|
3883
4038
|
{
|
|
3884
|
-
"name": "
|
|
3885
|
-
"type": {
|
|
3886
|
-
"text": "number"
|
|
3887
|
-
}
|
|
3888
|
-
},
|
|
3889
|
-
{
|
|
3890
|
-
"name": "event",
|
|
4039
|
+
"name": "conditions",
|
|
3891
4040
|
"type": {
|
|
3892
|
-
"text": "
|
|
4041
|
+
"text": "ConditionNode[]"
|
|
3893
4042
|
}
|
|
3894
4043
|
}
|
|
3895
4044
|
]
|
|
3896
4045
|
},
|
|
3897
4046
|
{
|
|
3898
4047
|
"kind": "method",
|
|
3899
|
-
"name": "
|
|
4048
|
+
"name": "hasOrJoin",
|
|
4049
|
+
"static": true,
|
|
3900
4050
|
"return": {
|
|
3901
4051
|
"type": {
|
|
3902
4052
|
"text": "boolean"
|
|
@@ -3904,22 +4054,17 @@
|
|
|
3904
4054
|
},
|
|
3905
4055
|
"parameters": [
|
|
3906
4056
|
{
|
|
3907
|
-
"name": "
|
|
3908
|
-
"type": {
|
|
3909
|
-
"text": "number"
|
|
3910
|
-
}
|
|
3911
|
-
},
|
|
3912
|
-
{
|
|
3913
|
-
"name": "event",
|
|
4057
|
+
"name": "conditions",
|
|
3914
4058
|
"type": {
|
|
3915
|
-
"text": "
|
|
4059
|
+
"text": "ConditionNode[]"
|
|
3916
4060
|
}
|
|
3917
4061
|
}
|
|
3918
4062
|
]
|
|
3919
4063
|
},
|
|
3920
4064
|
{
|
|
3921
4065
|
"kind": "method",
|
|
3922
|
-
"name": "
|
|
4066
|
+
"name": "hasGroup",
|
|
4067
|
+
"static": true,
|
|
3923
4068
|
"return": {
|
|
3924
4069
|
"type": {
|
|
3925
4070
|
"text": "boolean"
|
|
@@ -3927,16 +4072,17 @@
|
|
|
3927
4072
|
},
|
|
3928
4073
|
"parameters": [
|
|
3929
4074
|
{
|
|
3930
|
-
"name": "
|
|
4075
|
+
"name": "conditions",
|
|
3931
4076
|
"type": {
|
|
3932
|
-
"text": "
|
|
4077
|
+
"text": "ConditionNode[]"
|
|
3933
4078
|
}
|
|
3934
4079
|
}
|
|
3935
4080
|
]
|
|
3936
4081
|
},
|
|
3937
4082
|
{
|
|
3938
4083
|
"kind": "method",
|
|
3939
|
-
"name": "
|
|
4084
|
+
"name": "hasUnsupportedOperator",
|
|
4085
|
+
"static": true,
|
|
3940
4086
|
"return": {
|
|
3941
4087
|
"type": {
|
|
3942
4088
|
"text": "boolean"
|
|
@@ -3944,16 +4090,17 @@
|
|
|
3944
4090
|
},
|
|
3945
4091
|
"parameters": [
|
|
3946
4092
|
{
|
|
3947
|
-
"name": "
|
|
4093
|
+
"name": "conditions",
|
|
3948
4094
|
"type": {
|
|
3949
|
-
"text": "
|
|
4095
|
+
"text": "ConditionNode[]"
|
|
3950
4096
|
}
|
|
3951
4097
|
}
|
|
3952
4098
|
]
|
|
3953
4099
|
},
|
|
3954
4100
|
{
|
|
3955
4101
|
"kind": "method",
|
|
3956
|
-
"name": "
|
|
4102
|
+
"name": "hasCurrentUser",
|
|
4103
|
+
"static": true,
|
|
3957
4104
|
"return": {
|
|
3958
4105
|
"type": {
|
|
3959
4106
|
"text": "boolean"
|
|
@@ -3961,513 +4108,366 @@
|
|
|
3961
4108
|
},
|
|
3962
4109
|
"parameters": [
|
|
3963
4110
|
{
|
|
3964
|
-
"name": "
|
|
4111
|
+
"name": "conditions",
|
|
3965
4112
|
"type": {
|
|
3966
|
-
"text": "
|
|
4113
|
+
"text": "ConditionNode[]"
|
|
3967
4114
|
}
|
|
3968
4115
|
}
|
|
3969
4116
|
]
|
|
3970
4117
|
},
|
|
3971
4118
|
{
|
|
3972
4119
|
"kind": "method",
|
|
3973
|
-
"name": "
|
|
4120
|
+
"name": "flattenConditions",
|
|
4121
|
+
"static": true,
|
|
3974
4122
|
"return": {
|
|
3975
4123
|
"type": {
|
|
3976
|
-
"text": "
|
|
4124
|
+
"text": "ConditionBuilderEntity[]"
|
|
3977
4125
|
}
|
|
3978
4126
|
},
|
|
3979
4127
|
"parameters": [
|
|
3980
4128
|
{
|
|
3981
|
-
"name": "
|
|
4129
|
+
"name": "conditions",
|
|
3982
4130
|
"type": {
|
|
3983
|
-
"text": "
|
|
4131
|
+
"text": "ConditionNode[]"
|
|
3984
4132
|
}
|
|
3985
4133
|
}
|
|
3986
4134
|
]
|
|
3987
4135
|
},
|
|
3988
4136
|
{
|
|
3989
4137
|
"kind": "method",
|
|
3990
|
-
"name": "
|
|
4138
|
+
"name": "resolveLeftValues",
|
|
4139
|
+
"static": true,
|
|
3991
4140
|
"return": {
|
|
3992
4141
|
"type": {
|
|
3993
|
-
"text": "
|
|
4142
|
+
"text": "ConditionNode[]"
|
|
3994
4143
|
}
|
|
3995
4144
|
},
|
|
3996
4145
|
"parameters": [
|
|
3997
4146
|
{
|
|
3998
|
-
"name": "
|
|
4147
|
+
"name": "conditions",
|
|
3999
4148
|
"type": {
|
|
4000
|
-
"text": "
|
|
4149
|
+
"text": "ConditionNode[]"
|
|
4001
4150
|
}
|
|
4002
|
-
}
|
|
4003
|
-
]
|
|
4004
|
-
},
|
|
4005
|
-
{
|
|
4006
|
-
"kind": "method",
|
|
4007
|
-
"name": "onVolumeChange",
|
|
4008
|
-
"return": {
|
|
4009
|
-
"type": {
|
|
4010
|
-
"text": "boolean"
|
|
4011
|
-
}
|
|
4012
|
-
},
|
|
4013
|
-
"parameters": [
|
|
4151
|
+
},
|
|
4014
4152
|
{
|
|
4015
|
-
"name": "
|
|
4153
|
+
"name": "fields",
|
|
4016
4154
|
"type": {
|
|
4017
|
-
"text": "
|
|
4155
|
+
"text": "any[]"
|
|
4018
4156
|
}
|
|
4019
4157
|
}
|
|
4020
4158
|
]
|
|
4021
4159
|
},
|
|
4022
4160
|
{
|
|
4023
|
-
"kind": "
|
|
4024
|
-
"name": "
|
|
4025
|
-
"
|
|
4026
|
-
"type": {
|
|
4027
|
-
"text": "boolean"
|
|
4028
|
-
}
|
|
4029
|
-
}
|
|
4030
|
-
},
|
|
4031
|
-
{
|
|
4032
|
-
"kind": "method",
|
|
4033
|
-
"name": "addRule",
|
|
4034
|
-
"return": {
|
|
4035
|
-
"type": {
|
|
4036
|
-
"text": "boolean"
|
|
4037
|
-
}
|
|
4038
|
-
}
|
|
4161
|
+
"kind": "field",
|
|
4162
|
+
"name": "createEmptyGroup",
|
|
4163
|
+
"static": true
|
|
4039
4164
|
},
|
|
4040
4165
|
{
|
|
4041
4166
|
"kind": "method",
|
|
4042
|
-
"name": "
|
|
4167
|
+
"name": "buildRawExpression",
|
|
4168
|
+
"static": true,
|
|
4043
4169
|
"return": {
|
|
4044
4170
|
"type": {
|
|
4045
|
-
"text": "
|
|
4171
|
+
"text": "string"
|
|
4046
4172
|
}
|
|
4047
4173
|
},
|
|
4048
4174
|
"parameters": [
|
|
4049
4175
|
{
|
|
4050
|
-
"name": "
|
|
4176
|
+
"name": "conditions",
|
|
4051
4177
|
"type": {
|
|
4052
|
-
"text": "
|
|
4178
|
+
"text": "ConditionNode[]"
|
|
4053
4179
|
}
|
|
4054
4180
|
}
|
|
4055
4181
|
]
|
|
4056
4182
|
},
|
|
4057
4183
|
{
|
|
4058
4184
|
"kind": "method",
|
|
4059
|
-
"name": "
|
|
4185
|
+
"name": "parseRawExpression",
|
|
4186
|
+
"static": true,
|
|
4060
4187
|
"return": {
|
|
4061
4188
|
"type": {
|
|
4062
|
-
"text": "
|
|
4189
|
+
"text": "ConditionNode[] | null"
|
|
4063
4190
|
}
|
|
4064
4191
|
},
|
|
4065
|
-
"
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
"return": {
|
|
4072
|
-
"type": {
|
|
4073
|
-
"text": "Promise<void>"
|
|
4074
|
-
}
|
|
4075
|
-
}
|
|
4076
|
-
},
|
|
4077
|
-
{
|
|
4078
|
-
"kind": "method",
|
|
4079
|
-
"name": "settleRuleOptions",
|
|
4080
|
-
"privacy": "private",
|
|
4081
|
-
"return": {
|
|
4082
|
-
"type": {
|
|
4083
|
-
"text": "Promise<void>"
|
|
4192
|
+
"parameters": [
|
|
4193
|
+
{
|
|
4194
|
+
"name": "rawExpression",
|
|
4195
|
+
"type": {
|
|
4196
|
+
"text": "string"
|
|
4197
|
+
}
|
|
4084
4198
|
}
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4199
|
+
]
|
|
4200
|
+
}
|
|
4201
|
+
]
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"kind": "class",
|
|
4205
|
+
"description": "",
|
|
4206
|
+
"name": "TemplateUtils",
|
|
4207
|
+
"members": [
|
|
4088
4208
|
{
|
|
4089
|
-
"kind": "
|
|
4090
|
-
"name": "
|
|
4091
|
-
"
|
|
4092
|
-
"return": {
|
|
4093
|
-
"type": {
|
|
4094
|
-
"text": "void"
|
|
4095
|
-
}
|
|
4096
|
-
},
|
|
4097
|
-
"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...\"."
|
|
4209
|
+
"kind": "field",
|
|
4210
|
+
"name": "createEmptyParameter",
|
|
4211
|
+
"static": true
|
|
4098
4212
|
},
|
|
4099
4213
|
{
|
|
4100
4214
|
"kind": "method",
|
|
4101
|
-
"name": "
|
|
4102
|
-
"
|
|
4103
|
-
"return": {
|
|
4104
|
-
"type": {
|
|
4105
|
-
"text": "AlertSoundSelectableRule[]"
|
|
4106
|
-
}
|
|
4107
|
-
},
|
|
4215
|
+
"name": "getParameters",
|
|
4216
|
+
"static": true,
|
|
4108
4217
|
"parameters": [
|
|
4109
4218
|
{
|
|
4110
|
-
"name": "
|
|
4111
|
-
"type": {
|
|
4112
|
-
"text": "NamedRuleRow[]"
|
|
4113
|
-
}
|
|
4219
|
+
"name": "parameters"
|
|
4114
4220
|
}
|
|
4115
4221
|
]
|
|
4116
4222
|
},
|
|
4117
4223
|
{
|
|
4118
4224
|
"kind": "method",
|
|
4119
|
-
"name": "
|
|
4225
|
+
"name": "buildRightValue",
|
|
4120
4226
|
"privacy": "private",
|
|
4121
|
-
"
|
|
4122
|
-
"type": {
|
|
4123
|
-
"text": "string"
|
|
4124
|
-
}
|
|
4125
|
-
},
|
|
4227
|
+
"static": true,
|
|
4126
4228
|
"parameters": [
|
|
4127
4229
|
{
|
|
4128
|
-
"name": "
|
|
4230
|
+
"name": "logicalOperator",
|
|
4129
4231
|
"type": {
|
|
4130
|
-
"text": "
|
|
4232
|
+
"text": "LogicalOperator"
|
|
4131
4233
|
}
|
|
4234
|
+
},
|
|
4235
|
+
{
|
|
4236
|
+
"name": "condition"
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"name": "parameters",
|
|
4240
|
+
"optional": true
|
|
4132
4241
|
}
|
|
4133
4242
|
]
|
|
4134
4243
|
},
|
|
4135
4244
|
{
|
|
4136
4245
|
"kind": "method",
|
|
4137
|
-
"name": "
|
|
4138
|
-
"
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4246
|
+
"name": "getConditions",
|
|
4247
|
+
"static": true,
|
|
4248
|
+
"parameters": [
|
|
4249
|
+
{
|
|
4250
|
+
"name": "conditions"
|
|
4251
|
+
},
|
|
4252
|
+
{
|
|
4253
|
+
"name": "parameters",
|
|
4254
|
+
"optional": true
|
|
4255
|
+
}
|
|
4256
|
+
]
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
"kind": "method",
|
|
4260
|
+
"name": "createParameterDetails",
|
|
4261
|
+
"static": true,
|
|
4262
|
+
"parameters": [
|
|
4263
|
+
{
|
|
4264
|
+
"name": "parameters"
|
|
4265
|
+
}
|
|
4266
|
+
]
|
|
4267
|
+
}
|
|
4268
|
+
]
|
|
4269
|
+
},
|
|
4270
|
+
{
|
|
4271
|
+
"kind": "class",
|
|
4272
|
+
"description": "",
|
|
4273
|
+
"name": "RuleUtils",
|
|
4274
|
+
"members": [
|
|
4275
|
+
{
|
|
4276
|
+
"kind": "method",
|
|
4277
|
+
"name": "buildRightValue",
|
|
4278
|
+
"privacy": "private",
|
|
4279
|
+
"static": true,
|
|
4280
|
+
"parameters": [
|
|
4281
|
+
{
|
|
4282
|
+
"name": "logicalOperator",
|
|
4283
|
+
"type": {
|
|
4284
|
+
"text": "LogicalOperator"
|
|
4285
|
+
}
|
|
4286
|
+
},
|
|
4287
|
+
{
|
|
4288
|
+
"name": "condition"
|
|
4289
|
+
}
|
|
4290
|
+
]
|
|
4291
|
+
},
|
|
4292
|
+
{
|
|
4293
|
+
"kind": "method",
|
|
4294
|
+
"name": "getConditions",
|
|
4295
|
+
"static": true,
|
|
4296
|
+
"parameters": [
|
|
4297
|
+
{
|
|
4298
|
+
"name": "conditions"
|
|
4299
|
+
}
|
|
4300
|
+
]
|
|
4301
|
+
}
|
|
4302
|
+
]
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"kind": "function",
|
|
4306
|
+
"name": "showNotificationError",
|
|
4307
|
+
"parameters": [
|
|
4308
|
+
{
|
|
4309
|
+
"name": "error"
|
|
4310
|
+
}
|
|
4311
|
+
]
|
|
4147
4312
|
}
|
|
4148
4313
|
],
|
|
4149
4314
|
"exports": [
|
|
4150
4315
|
{
|
|
4151
4316
|
"kind": "js",
|
|
4152
|
-
"name": "
|
|
4317
|
+
"name": "UUIDGenerator",
|
|
4153
4318
|
"declaration": {
|
|
4154
|
-
"name": "
|
|
4155
|
-
"module": "src/components/foundation-
|
|
4319
|
+
"name": "UUIDGenerator",
|
|
4320
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4156
4321
|
}
|
|
4157
4322
|
},
|
|
4158
4323
|
{
|
|
4159
|
-
"kind": "
|
|
4160
|
-
"name": "
|
|
4324
|
+
"kind": "js",
|
|
4325
|
+
"name": "isEmpty",
|
|
4161
4326
|
"declaration": {
|
|
4162
|
-
"name": "
|
|
4163
|
-
"module": "src/components/foundation-
|
|
4327
|
+
"name": "isEmpty",
|
|
4328
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4164
4329
|
}
|
|
4165
|
-
}
|
|
4166
|
-
]
|
|
4167
|
-
},
|
|
4168
|
-
{
|
|
4169
|
-
"kind": "javascript-module",
|
|
4170
|
-
"path": "src/components/foundation-sounds/foundation-sounds.styles.ts",
|
|
4171
|
-
"declarations": [
|
|
4330
|
+
},
|
|
4172
4331
|
{
|
|
4173
|
-
"kind": "
|
|
4174
|
-
"name": "
|
|
4175
|
-
"
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4332
|
+
"kind": "js",
|
|
4333
|
+
"name": "DynamicRuleUtils",
|
|
4334
|
+
"declaration": {
|
|
4335
|
+
"name": "DynamicRuleUtils",
|
|
4336
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4337
|
+
}
|
|
4338
|
+
},
|
|
4180
4339
|
{
|
|
4181
4340
|
"kind": "js",
|
|
4182
|
-
"name": "
|
|
4341
|
+
"name": "TemplateUtils",
|
|
4183
4342
|
"declaration": {
|
|
4184
|
-
"name": "
|
|
4185
|
-
"module": "src/components/foundation-
|
|
4343
|
+
"name": "TemplateUtils",
|
|
4344
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4345
|
+
}
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"kind": "js",
|
|
4349
|
+
"name": "RuleUtils",
|
|
4350
|
+
"declaration": {
|
|
4351
|
+
"name": "RuleUtils",
|
|
4352
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4353
|
+
}
|
|
4354
|
+
},
|
|
4355
|
+
{
|
|
4356
|
+
"kind": "js",
|
|
4357
|
+
"name": "showNotificationError",
|
|
4358
|
+
"declaration": {
|
|
4359
|
+
"name": "showNotificationError",
|
|
4360
|
+
"module": "src/components/foundation-notification-dashboard/notification-dashboard.utils.ts"
|
|
4186
4361
|
}
|
|
4187
4362
|
}
|
|
4188
4363
|
]
|
|
4189
4364
|
},
|
|
4190
4365
|
{
|
|
4191
4366
|
"kind": "javascript-module",
|
|
4192
|
-
"path": "src/components/foundation-
|
|
4367
|
+
"path": "src/components/foundation-inbox/inbox-base/inbox-base.ts",
|
|
4193
4368
|
"declarations": [
|
|
4194
4369
|
{
|
|
4195
4370
|
"kind": "class",
|
|
4196
|
-
"description": "
|
|
4197
|
-
"name": "
|
|
4371
|
+
"description": "",
|
|
4372
|
+
"name": "FoundationInboxBase",
|
|
4198
4373
|
"members": [
|
|
4199
4374
|
{
|
|
4200
4375
|
"kind": "field",
|
|
4201
|
-
"name": "
|
|
4376
|
+
"name": "auth",
|
|
4202
4377
|
"type": {
|
|
4203
|
-
"text": "
|
|
4378
|
+
"text": "Auth"
|
|
4204
4379
|
}
|
|
4205
4380
|
},
|
|
4206
4381
|
{
|
|
4207
4382
|
"kind": "field",
|
|
4208
|
-
"name": "
|
|
4383
|
+
"name": "connect",
|
|
4209
4384
|
"type": {
|
|
4210
|
-
"text": "
|
|
4385
|
+
"text": "Connect"
|
|
4211
4386
|
}
|
|
4212
4387
|
},
|
|
4213
4388
|
{
|
|
4214
4389
|
"kind": "field",
|
|
4215
|
-
"name": "
|
|
4390
|
+
"name": "alertService",
|
|
4216
4391
|
"type": {
|
|
4217
|
-
"text": "
|
|
4392
|
+
"text": "AlertService"
|
|
4218
4393
|
}
|
|
4219
4394
|
},
|
|
4220
4395
|
{
|
|
4221
4396
|
"kind": "field",
|
|
4222
|
-
"name": "
|
|
4397
|
+
"name": "inboxService",
|
|
4223
4398
|
"type": {
|
|
4224
|
-
"text": "
|
|
4225
|
-
}
|
|
4226
|
-
"default": "true",
|
|
4227
|
-
"description": "When false, new audible alerts are tracked but do not play."
|
|
4399
|
+
"text": "FoundationInboxService"
|
|
4400
|
+
}
|
|
4228
4401
|
},
|
|
4229
4402
|
{
|
|
4230
4403
|
"kind": "field",
|
|
4231
4404
|
"name": "connectionSub",
|
|
4232
4405
|
"type": {
|
|
4233
|
-
"text": "Subscription
|
|
4406
|
+
"text": "Subscription"
|
|
4234
4407
|
},
|
|
4235
4408
|
"privacy": "private"
|
|
4236
4409
|
},
|
|
4237
4410
|
{
|
|
4238
4411
|
"kind": "field",
|
|
4239
|
-
"name": "
|
|
4412
|
+
"name": "alerts",
|
|
4413
|
+
"type": {
|
|
4414
|
+
"text": "Alert[]"
|
|
4415
|
+
},
|
|
4240
4416
|
"privacy": "private",
|
|
4241
|
-
"
|
|
4417
|
+
"default": "[]"
|
|
4242
4418
|
},
|
|
4243
4419
|
{
|
|
4244
4420
|
"kind": "field",
|
|
4245
|
-
"name": "
|
|
4246
|
-
"
|
|
4247
|
-
|
|
4421
|
+
"name": "alertsFilter",
|
|
4422
|
+
"type": {
|
|
4423
|
+
"text": "Alert[]"
|
|
4424
|
+
},
|
|
4425
|
+
"default": "[]"
|
|
4248
4426
|
},
|
|
4249
4427
|
{
|
|
4250
4428
|
"kind": "field",
|
|
4251
|
-
"name": "
|
|
4252
|
-
"
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
"
|
|
4429
|
+
"name": "moreAlerts",
|
|
4430
|
+
"type": {
|
|
4431
|
+
"text": "boolean"
|
|
4432
|
+
},
|
|
4433
|
+
"default": "false"
|
|
4256
4434
|
},
|
|
4257
4435
|
{
|
|
4258
|
-
"kind": "
|
|
4259
|
-
"name": "
|
|
4260
|
-
"
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4436
|
+
"kind": "field",
|
|
4437
|
+
"name": "renderAlert",
|
|
4438
|
+
"type": {
|
|
4439
|
+
"text": "ViewTemplate<Alert, FoundationInbox> | undefined"
|
|
4440
|
+
},
|
|
4441
|
+
"default": "undefined",
|
|
4442
|
+
"description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
|
|
4443
|
+
"privacy": "public"
|
|
4266
4444
|
},
|
|
4267
4445
|
{
|
|
4268
4446
|
"kind": "field",
|
|
4269
|
-
"name": "
|
|
4270
|
-
"
|
|
4447
|
+
"name": "hideSeverityFilter",
|
|
4448
|
+
"type": {
|
|
4449
|
+
"text": "boolean"
|
|
4450
|
+
},
|
|
4451
|
+
"default": "false",
|
|
4452
|
+
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public"
|
|
4271
4453
|
},
|
|
4272
4454
|
{
|
|
4273
|
-
"kind": "
|
|
4274
|
-
"name": "
|
|
4275
|
-
"
|
|
4276
|
-
|
|
4277
|
-
"type": {
|
|
4278
|
-
"text": "Promise<void>"
|
|
4279
|
-
}
|
|
4455
|
+
"kind": "field",
|
|
4456
|
+
"name": "hideDateRange",
|
|
4457
|
+
"type": {
|
|
4458
|
+
"text": "boolean"
|
|
4280
4459
|
},
|
|
4281
|
-
"
|
|
4282
|
-
|
|
4283
|
-
"name": "rows",
|
|
4284
|
-
"type": {
|
|
4285
|
-
"text": "Array<{\n id: string;\n message?: string;\n header?: string;\n dynamicRuleId?: string;\n }>"
|
|
4286
|
-
}
|
|
4287
|
-
}
|
|
4288
|
-
]
|
|
4460
|
+
"default": "false",
|
|
4461
|
+
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public"
|
|
4289
4462
|
},
|
|
4290
4463
|
{
|
|
4291
|
-
"kind": "
|
|
4292
|
-
"name": "
|
|
4293
|
-
"
|
|
4294
|
-
|
|
4295
|
-
"type": {
|
|
4296
|
-
"text": "Promise<boolean>"
|
|
4297
|
-
}
|
|
4464
|
+
"kind": "field",
|
|
4465
|
+
"name": "hideTitleSearch",
|
|
4466
|
+
"type": {
|
|
4467
|
+
"text": "boolean"
|
|
4298
4468
|
},
|
|
4299
|
-
"
|
|
4300
|
-
|
|
4301
|
-
"name": "dynamicRuleId",
|
|
4302
|
-
"type": {
|
|
4303
|
-
"text": "string"
|
|
4304
|
-
}
|
|
4305
|
-
}
|
|
4306
|
-
]
|
|
4307
|
-
},
|
|
4308
|
-
{
|
|
4309
|
-
"kind": "method",
|
|
4310
|
-
"name": "fetchAndCacheServerSound",
|
|
4311
|
-
"privacy": "private",
|
|
4312
|
-
"return": {
|
|
4313
|
-
"type": {
|
|
4314
|
-
"text": "Promise<boolean>"
|
|
4315
|
-
}
|
|
4316
|
-
},
|
|
4317
|
-
"parameters": [
|
|
4318
|
-
{
|
|
4319
|
-
"name": "dynamicRuleId",
|
|
4320
|
-
"type": {
|
|
4321
|
-
"text": "string"
|
|
4322
|
-
}
|
|
4323
|
-
}
|
|
4324
|
-
]
|
|
4325
|
-
}
|
|
4326
|
-
],
|
|
4327
|
-
"attributes": [
|
|
4328
|
-
{
|
|
4329
|
-
"name": "sound-enabled",
|
|
4330
|
-
"type": {
|
|
4331
|
-
"text": "boolean"
|
|
4332
|
-
},
|
|
4333
|
-
"default": "true",
|
|
4334
|
-
"description": "When false, new audible alerts are tracked but do not play.",
|
|
4335
|
-
"fieldName": "soundEnabled"
|
|
4336
|
-
}
|
|
4337
|
-
],
|
|
4338
|
-
"superclass": {
|
|
4339
|
-
"name": "GenesisElement",
|
|
4340
|
-
"package": "@genesislcap/web-core"
|
|
4341
|
-
},
|
|
4342
|
-
"tagName": "foundation-sounds",
|
|
4343
|
-
"customElement": true
|
|
4344
|
-
}
|
|
4345
|
-
],
|
|
4346
|
-
"exports": [
|
|
4347
|
-
{
|
|
4348
|
-
"kind": "js",
|
|
4349
|
-
"name": "FoundationSounds",
|
|
4350
|
-
"declaration": {
|
|
4351
|
-
"name": "FoundationSounds",
|
|
4352
|
-
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
4353
|
-
}
|
|
4354
|
-
},
|
|
4355
|
-
{
|
|
4356
|
-
"kind": "custom-element-definition",
|
|
4357
|
-
"name": "foundation-sounds",
|
|
4358
|
-
"declaration": {
|
|
4359
|
-
"name": "FoundationSounds",
|
|
4360
|
-
"module": "src/components/foundation-sounds/foundation-sounds.ts"
|
|
4361
|
-
}
|
|
4362
|
-
}
|
|
4363
|
-
]
|
|
4364
|
-
},
|
|
4365
|
-
{
|
|
4366
|
-
"kind": "javascript-module",
|
|
4367
|
-
"path": "src/components/foundation-inbox/inbox-base/inbox-base.ts",
|
|
4368
|
-
"declarations": [
|
|
4369
|
-
{
|
|
4370
|
-
"kind": "class",
|
|
4371
|
-
"description": "",
|
|
4372
|
-
"name": "FoundationInboxBase",
|
|
4373
|
-
"members": [
|
|
4374
|
-
{
|
|
4375
|
-
"kind": "field",
|
|
4376
|
-
"name": "auth",
|
|
4377
|
-
"type": {
|
|
4378
|
-
"text": "Auth"
|
|
4379
|
-
}
|
|
4380
|
-
},
|
|
4381
|
-
{
|
|
4382
|
-
"kind": "field",
|
|
4383
|
-
"name": "connect",
|
|
4384
|
-
"type": {
|
|
4385
|
-
"text": "Connect"
|
|
4386
|
-
}
|
|
4387
|
-
},
|
|
4388
|
-
{
|
|
4389
|
-
"kind": "field",
|
|
4390
|
-
"name": "alertService",
|
|
4391
|
-
"type": {
|
|
4392
|
-
"text": "AlertService"
|
|
4393
|
-
}
|
|
4394
|
-
},
|
|
4395
|
-
{
|
|
4396
|
-
"kind": "field",
|
|
4397
|
-
"name": "inboxService",
|
|
4398
|
-
"type": {
|
|
4399
|
-
"text": "FoundationInboxService"
|
|
4400
|
-
}
|
|
4401
|
-
},
|
|
4402
|
-
{
|
|
4403
|
-
"kind": "field",
|
|
4404
|
-
"name": "connectionSub",
|
|
4405
|
-
"type": {
|
|
4406
|
-
"text": "Subscription"
|
|
4407
|
-
},
|
|
4408
|
-
"privacy": "private"
|
|
4409
|
-
},
|
|
4410
|
-
{
|
|
4411
|
-
"kind": "field",
|
|
4412
|
-
"name": "alerts",
|
|
4413
|
-
"type": {
|
|
4414
|
-
"text": "Alert[]"
|
|
4415
|
-
},
|
|
4416
|
-
"privacy": "private",
|
|
4417
|
-
"default": "[]"
|
|
4418
|
-
},
|
|
4419
|
-
{
|
|
4420
|
-
"kind": "field",
|
|
4421
|
-
"name": "alertsFilter",
|
|
4422
|
-
"type": {
|
|
4423
|
-
"text": "Alert[]"
|
|
4424
|
-
},
|
|
4425
|
-
"default": "[]"
|
|
4426
|
-
},
|
|
4427
|
-
{
|
|
4428
|
-
"kind": "field",
|
|
4429
|
-
"name": "moreAlerts",
|
|
4430
|
-
"type": {
|
|
4431
|
-
"text": "boolean"
|
|
4432
|
-
},
|
|
4433
|
-
"default": "false"
|
|
4434
|
-
},
|
|
4435
|
-
{
|
|
4436
|
-
"kind": "field",
|
|
4437
|
-
"name": "renderAlert",
|
|
4438
|
-
"type": {
|
|
4439
|
-
"text": "ViewTemplate<Alert, FoundationInbox> | undefined"
|
|
4440
|
-
},
|
|
4441
|
-
"default": "undefined",
|
|
4442
|
-
"description": "Optional per-row template for the Alerts / Alert History lists. When set, it replaces the\ndefault alert row (the `.toast` element) and is rendered with the alert as its source (`x`)\nand the inbox host as `c.parent`, mirroring the internal `html<Alert, FoundationInbox>` row.\nWhen unset, the built-in row is used, so existing consumers are unaffected.",
|
|
4443
|
-
"privacy": "public"
|
|
4444
|
-
},
|
|
4445
|
-
{
|
|
4446
|
-
"kind": "field",
|
|
4447
|
-
"name": "hideSeverityFilter",
|
|
4448
|
-
"type": {
|
|
4449
|
-
"text": "boolean"
|
|
4450
|
-
},
|
|
4451
|
-
"default": "false",
|
|
4452
|
-
"description": "Hide the Severity filter block in the search bar. Set via the `hide-severity-filter`\nattribute or property. @public"
|
|
4453
|
-
},
|
|
4454
|
-
{
|
|
4455
|
-
"kind": "field",
|
|
4456
|
-
"name": "hideDateRange",
|
|
4457
|
-
"type": {
|
|
4458
|
-
"text": "boolean"
|
|
4459
|
-
},
|
|
4460
|
-
"default": "false",
|
|
4461
|
-
"description": "Hide the Date Range filter block in the search bar. Set via the `hide-date-range`\nattribute or property. @public"
|
|
4462
|
-
},
|
|
4463
|
-
{
|
|
4464
|
-
"kind": "field",
|
|
4465
|
-
"name": "hideTitleSearch",
|
|
4466
|
-
"type": {
|
|
4467
|
-
"text": "boolean"
|
|
4468
|
-
},
|
|
4469
|
-
"default": "false",
|
|
4470
|
-
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public"
|
|
4469
|
+
"default": "false",
|
|
4470
|
+
"description": "Hide the Search-by-Title field in the search bar. Set via the `hide-title-search`\nattribute or property. @public"
|
|
4471
4471
|
},
|
|
4472
4472
|
{
|
|
4473
4473
|
"kind": "field",
|
|
@@ -9673,601 +9673,317 @@
|
|
|
9673
9673
|
"name": "editParameter",
|
|
9674
9674
|
"parameters": [
|
|
9675
9675
|
{
|
|
9676
|
-
"name": "editedParameter",
|
|
9677
|
-
"type": {
|
|
9678
|
-
"text": "ParameterBuilderEntity"
|
|
9679
|
-
}
|
|
9680
|
-
}
|
|
9681
|
-
]
|
|
9682
|
-
},
|
|
9683
|
-
{
|
|
9684
|
-
"kind": "method",
|
|
9685
|
-
"name": "deleteParameter",
|
|
9686
|
-
"parameters": [
|
|
9687
|
-
{
|
|
9688
|
-
"name": "deletedParameter",
|
|
9689
|
-
"type": {
|
|
9690
|
-
"text": "ParameterBuilderEntity"
|
|
9691
|
-
}
|
|
9692
|
-
}
|
|
9693
|
-
]
|
|
9694
|
-
},
|
|
9695
|
-
{
|
|
9696
|
-
"kind": "field",
|
|
9697
|
-
"name": "validateRequiredFields",
|
|
9698
|
-
"type": {
|
|
9699
|
-
"text": "boolean"
|
|
9700
|
-
},
|
|
9701
|
-
"privacy": "public",
|
|
9702
|
-
"readonly": true
|
|
9703
|
-
},
|
|
9704
|
-
{
|
|
9705
|
-
"kind": "field",
|
|
9706
|
-
"name": "rawExpressionRequired",
|
|
9707
|
-
"type": {
|
|
9708
|
-
"text": "boolean"
|
|
9709
|
-
},
|
|
9710
|
-
"privacy": "private",
|
|
9711
|
-
"readonly": true
|
|
9712
|
-
},
|
|
9713
|
-
{
|
|
9714
|
-
"kind": "field",
|
|
9715
|
-
"name": "missingTopic",
|
|
9716
|
-
"type": {
|
|
9717
|
-
"text": "boolean"
|
|
9718
|
-
},
|
|
9719
|
-
"privacy": "public",
|
|
9720
|
-
"readonly": true
|
|
9721
|
-
},
|
|
9722
|
-
{
|
|
9723
|
-
"kind": "field",
|
|
9724
|
-
"name": "alertSoundFileName",
|
|
9725
|
-
"type": {
|
|
9726
|
-
"text": "string"
|
|
9727
|
-
},
|
|
9728
|
-
"default": "''",
|
|
9729
|
-
"description": "Display name of the attached / pending alert sound file.",
|
|
9730
|
-
"inheritedFrom": {
|
|
9731
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9732
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9733
|
-
}
|
|
9734
|
-
},
|
|
9735
|
-
{
|
|
9736
|
-
"kind": "field",
|
|
9737
|
-
"name": "alertSoundMimeType",
|
|
9738
|
-
"type": {
|
|
9739
|
-
"text": "string"
|
|
9740
|
-
},
|
|
9741
|
-
"default": "''",
|
|
9742
|
-
"inheritedFrom": {
|
|
9743
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9744
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9745
|
-
}
|
|
9746
|
-
},
|
|
9747
|
-
{
|
|
9748
|
-
"kind": "field",
|
|
9749
|
-
"name": "hasAlertSound",
|
|
9750
|
-
"type": {
|
|
9751
|
-
"text": "boolean"
|
|
9752
|
-
},
|
|
9753
|
-
"default": "false",
|
|
9754
|
-
"description": "True when edit loaded an existing server sound (or user attached one).",
|
|
9755
|
-
"inheritedFrom": {
|
|
9756
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9757
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9758
|
-
}
|
|
9759
|
-
},
|
|
9760
|
-
{
|
|
9761
|
-
"kind": "field",
|
|
9762
|
-
"name": "fileInput",
|
|
9763
|
-
"type": {
|
|
9764
|
-
"text": "HTMLInputElement"
|
|
9765
|
-
},
|
|
9766
|
-
"inheritedFrom": {
|
|
9767
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9768
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9769
|
-
}
|
|
9770
|
-
},
|
|
9771
|
-
{
|
|
9772
|
-
"kind": "field",
|
|
9773
|
-
"name": "pendingAlertSoundData",
|
|
9774
|
-
"type": {
|
|
9775
|
-
"text": "string | null"
|
|
9776
|
-
},
|
|
9777
|
-
"default": "null",
|
|
9778
|
-
"inheritedFrom": {
|
|
9779
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9780
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9781
|
-
}
|
|
9782
|
-
},
|
|
9783
|
-
{
|
|
9784
|
-
"kind": "field",
|
|
9785
|
-
"name": "alertSoundDirty",
|
|
9786
|
-
"type": {
|
|
9787
|
-
"text": "boolean"
|
|
9788
|
-
},
|
|
9789
|
-
"default": "false",
|
|
9790
|
-
"description": "True when the user picked a new file this session (needs upload).",
|
|
9791
|
-
"inheritedFrom": {
|
|
9792
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9793
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9794
|
-
}
|
|
9795
|
-
},
|
|
9796
|
-
{
|
|
9797
|
-
"kind": "field",
|
|
9798
|
-
"name": "clearAlertSound",
|
|
9799
|
-
"type": {
|
|
9800
|
-
"text": "boolean"
|
|
9801
|
-
},
|
|
9802
|
-
"default": "false",
|
|
9803
|
-
"inheritedFrom": {
|
|
9804
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9805
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9806
|
-
}
|
|
9807
|
-
},
|
|
9808
|
-
{
|
|
9809
|
-
"kind": "field",
|
|
9810
|
-
"name": "testAudio",
|
|
9811
|
-
"type": {
|
|
9812
|
-
"text": "HTMLAudioElement | null"
|
|
9813
|
-
},
|
|
9814
|
-
"default": "null",
|
|
9815
|
-
"description": "In-progress Test playback; not private — mixin return type is exported.",
|
|
9816
|
-
"inheritedFrom": {
|
|
9817
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9818
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9819
|
-
}
|
|
9820
|
-
},
|
|
9821
|
-
{
|
|
9822
|
-
"kind": "method",
|
|
9823
|
-
"name": "loadExistingAlertSound",
|
|
9824
|
-
"parameters": [
|
|
9825
|
-
{
|
|
9826
|
-
"name": "dynamicRuleId",
|
|
9827
|
-
"type": {
|
|
9828
|
-
"text": "string"
|
|
9829
|
-
}
|
|
9830
|
-
}
|
|
9831
|
-
],
|
|
9832
|
-
"inheritedFrom": {
|
|
9833
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9834
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9835
|
-
}
|
|
9836
|
-
},
|
|
9837
|
-
{
|
|
9838
|
-
"kind": "method",
|
|
9839
|
-
"name": "openAlertSoundPicker",
|
|
9840
|
-
"inheritedFrom": {
|
|
9841
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9842
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9843
|
-
}
|
|
9844
|
-
},
|
|
9845
|
-
{
|
|
9846
|
-
"kind": "method",
|
|
9847
|
-
"name": "onAlertSoundSelected",
|
|
9848
|
-
"parameters": [
|
|
9849
|
-
{
|
|
9850
|
-
"name": "event",
|
|
9851
|
-
"type": {
|
|
9852
|
-
"text": "Event"
|
|
9853
|
-
}
|
|
9854
|
-
}
|
|
9855
|
-
],
|
|
9856
|
-
"inheritedFrom": {
|
|
9857
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9858
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9859
|
-
}
|
|
9860
|
-
},
|
|
9861
|
-
{
|
|
9862
|
-
"kind": "method",
|
|
9863
|
-
"name": "clearAttachedAlertSound",
|
|
9864
|
-
"inheritedFrom": {
|
|
9865
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9866
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9867
|
-
}
|
|
9868
|
-
},
|
|
9869
|
-
{
|
|
9870
|
-
"kind": "method",
|
|
9871
|
-
"name": "testAttachedAlertSound",
|
|
9872
|
-
"inheritedFrom": {
|
|
9873
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9874
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9875
|
-
}
|
|
9876
|
-
},
|
|
9877
|
-
{
|
|
9878
|
-
"kind": "method",
|
|
9879
|
-
"name": "stopTestSound",
|
|
9880
|
-
"inheritedFrom": {
|
|
9881
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9882
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9883
|
-
}
|
|
9884
|
-
},
|
|
9885
|
-
{
|
|
9886
|
-
"kind": "method",
|
|
9887
|
-
"name": "resetAlertSoundState",
|
|
9888
|
-
"inheritedFrom": {
|
|
9889
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9890
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9891
|
-
}
|
|
9892
|
-
},
|
|
9893
|
-
{
|
|
9894
|
-
"kind": "method",
|
|
9895
|
-
"name": "applyAlertSoundToPayload",
|
|
9896
|
-
"return": {
|
|
9897
|
-
"type": {
|
|
9898
|
-
"text": "T"
|
|
9899
|
-
}
|
|
9900
|
-
},
|
|
9901
|
-
"parameters": [
|
|
9902
|
-
{
|
|
9903
|
-
"name": "target",
|
|
9904
|
-
"type": {
|
|
9905
|
-
"text": "T"
|
|
9906
|
-
}
|
|
9907
|
-
}
|
|
9908
|
-
],
|
|
9909
|
-
"description": "Merges pending sound / clear flag onto a create/update DETAILS object.",
|
|
9910
|
-
"inheritedFrom": {
|
|
9911
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9912
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9913
|
-
}
|
|
9914
|
-
},
|
|
9915
|
-
{
|
|
9916
|
-
"kind": "method",
|
|
9917
|
-
"name": "syncAlertSoundCacheAfterSave",
|
|
9918
|
-
"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.",
|
|
9919
|
-
"inheritedFrom": {
|
|
9920
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9921
|
-
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9922
|
-
}
|
|
9923
|
-
}
|
|
9924
|
-
],
|
|
9925
|
-
"events": [
|
|
9926
|
-
{
|
|
9927
|
-
"description": "Fired when the dialog should close",
|
|
9928
|
-
"name": "close"
|
|
9929
|
-
}
|
|
9930
|
-
],
|
|
9931
|
-
"mixins": [
|
|
9932
|
-
{
|
|
9933
|
-
"name": "AlertSoundAttachmentMixin",
|
|
9934
|
-
"module": "/src/components/foundation-notification-dashboard/alert-sound-attachment"
|
|
9935
|
-
}
|
|
9936
|
-
],
|
|
9937
|
-
"superclass": {
|
|
9938
|
-
"name": "GenesisElement",
|
|
9939
|
-
"package": "@genesislcap/web-core"
|
|
9940
|
-
},
|
|
9941
|
-
"tagName": "template-dialog",
|
|
9942
|
-
"customElement": true
|
|
9943
|
-
}
|
|
9944
|
-
],
|
|
9945
|
-
"exports": [
|
|
9946
|
-
{
|
|
9947
|
-
"kind": "js",
|
|
9948
|
-
"name": "TemplateDialog",
|
|
9949
|
-
"declaration": {
|
|
9950
|
-
"name": "TemplateDialog",
|
|
9951
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
|
|
9952
|
-
}
|
|
9953
|
-
},
|
|
9954
|
-
{
|
|
9955
|
-
"kind": "custom-element-definition",
|
|
9956
|
-
"name": "template-dialog",
|
|
9957
|
-
"declaration": {
|
|
9958
|
-
"name": "TemplateDialog",
|
|
9959
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
|
|
9960
|
-
}
|
|
9961
|
-
}
|
|
9962
|
-
]
|
|
9963
|
-
},
|
|
9964
|
-
{
|
|
9965
|
-
"kind": "javascript-module",
|
|
9966
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts",
|
|
9967
|
-
"declarations": [
|
|
9968
|
-
{
|
|
9969
|
-
"kind": "variable",
|
|
9970
|
-
"name": "TemplateDialogMode",
|
|
9971
|
-
"type": {
|
|
9972
|
-
"text": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
|
|
9973
|
-
},
|
|
9974
|
-
"default": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
|
|
9975
|
-
}
|
|
9976
|
-
],
|
|
9977
|
-
"exports": [
|
|
9978
|
-
{
|
|
9979
|
-
"kind": "js",
|
|
9980
|
-
"name": "TemplateDialogMode",
|
|
9981
|
-
"declaration": {
|
|
9982
|
-
"name": "TemplateDialogMode",
|
|
9983
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"
|
|
9984
|
-
}
|
|
9985
|
-
}
|
|
9986
|
-
]
|
|
9987
|
-
},
|
|
9988
|
-
{
|
|
9989
|
-
"kind": "javascript-module",
|
|
9990
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
9991
|
-
"declarations": [
|
|
9992
|
-
{
|
|
9993
|
-
"kind": "variable",
|
|
9994
|
-
"name": "RuleConditionBuilderTemplate",
|
|
9995
|
-
"default": "html<RuleConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
9996
|
-
}
|
|
9997
|
-
],
|
|
9998
|
-
"exports": [
|
|
9999
|
-
{
|
|
10000
|
-
"kind": "js",
|
|
10001
|
-
"name": "RuleConditionBuilderTemplate",
|
|
10002
|
-
"declaration": {
|
|
10003
|
-
"name": "RuleConditionBuilderTemplate",
|
|
10004
|
-
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
|
|
10005
|
-
}
|
|
10006
|
-
}
|
|
10007
|
-
]
|
|
10008
|
-
},
|
|
10009
|
-
{
|
|
10010
|
-
"kind": "javascript-module",
|
|
10011
|
-
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
|
|
10012
|
-
"declarations": [
|
|
10013
|
-
{
|
|
10014
|
-
"kind": "class",
|
|
10015
|
-
"description": "Condition builder for notification rule criteria.",
|
|
10016
|
-
"name": "RuleConditionBuilder",
|
|
10017
|
-
"members": [
|
|
9676
|
+
"name": "editedParameter",
|
|
9677
|
+
"type": {
|
|
9678
|
+
"text": "ParameterBuilderEntity"
|
|
9679
|
+
}
|
|
9680
|
+
}
|
|
9681
|
+
]
|
|
9682
|
+
},
|
|
9683
|
+
{
|
|
9684
|
+
"kind": "method",
|
|
9685
|
+
"name": "deleteParameter",
|
|
9686
|
+
"parameters": [
|
|
9687
|
+
{
|
|
9688
|
+
"name": "deletedParameter",
|
|
9689
|
+
"type": {
|
|
9690
|
+
"text": "ParameterBuilderEntity"
|
|
9691
|
+
}
|
|
9692
|
+
}
|
|
9693
|
+
]
|
|
9694
|
+
},
|
|
10018
9695
|
{
|
|
10019
9696
|
"kind": "field",
|
|
10020
|
-
"name": "
|
|
9697
|
+
"name": "validateRequiredFields",
|
|
10021
9698
|
"type": {
|
|
10022
|
-
"text": "
|
|
10023
|
-
}
|
|
9699
|
+
"text": "boolean"
|
|
9700
|
+
},
|
|
9701
|
+
"privacy": "public",
|
|
9702
|
+
"readonly": true
|
|
10024
9703
|
},
|
|
10025
9704
|
{
|
|
10026
9705
|
"kind": "field",
|
|
10027
|
-
"name": "
|
|
9706
|
+
"name": "rawExpressionRequired",
|
|
10028
9707
|
"type": {
|
|
10029
|
-
"text": "
|
|
9708
|
+
"text": "boolean"
|
|
10030
9709
|
},
|
|
10031
|
-
"
|
|
9710
|
+
"privacy": "private",
|
|
9711
|
+
"readonly": true
|
|
10032
9712
|
},
|
|
10033
9713
|
{
|
|
10034
9714
|
"kind": "field",
|
|
10035
|
-
"name": "
|
|
9715
|
+
"name": "missingTopic",
|
|
10036
9716
|
"type": {
|
|
10037
9717
|
"text": "boolean"
|
|
10038
9718
|
},
|
|
10039
|
-
"
|
|
9719
|
+
"privacy": "public",
|
|
9720
|
+
"readonly": true
|
|
10040
9721
|
},
|
|
10041
9722
|
{
|
|
10042
9723
|
"kind": "field",
|
|
10043
|
-
"name": "
|
|
9724
|
+
"name": "alertSoundFileName",
|
|
10044
9725
|
"type": {
|
|
10045
9726
|
"text": "string"
|
|
9727
|
+
},
|
|
9728
|
+
"default": "''",
|
|
9729
|
+
"description": "Display name of the attached / pending alert sound file.",
|
|
9730
|
+
"inheritedFrom": {
|
|
9731
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9732
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
10046
9733
|
}
|
|
10047
9734
|
},
|
|
10048
9735
|
{
|
|
10049
9736
|
"kind": "field",
|
|
10050
|
-
"name": "
|
|
9737
|
+
"name": "alertSoundMimeType",
|
|
10051
9738
|
"type": {
|
|
10052
9739
|
"text": "string"
|
|
10053
9740
|
},
|
|
10054
|
-
"default": "
|
|
9741
|
+
"default": "''",
|
|
9742
|
+
"inheritedFrom": {
|
|
9743
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9744
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9745
|
+
}
|
|
10055
9746
|
},
|
|
10056
9747
|
{
|
|
10057
9748
|
"kind": "field",
|
|
10058
|
-
"name": "
|
|
9749
|
+
"name": "hasAlertSound",
|
|
10059
9750
|
"type": {
|
|
10060
|
-
"text": "
|
|
9751
|
+
"text": "boolean"
|
|
10061
9752
|
},
|
|
10062
|
-
"default": "
|
|
9753
|
+
"default": "false",
|
|
9754
|
+
"description": "True when edit loaded an existing server sound (or user attached one).",
|
|
9755
|
+
"inheritedFrom": {
|
|
9756
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9757
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9758
|
+
}
|
|
10063
9759
|
},
|
|
10064
9760
|
{
|
|
10065
9761
|
"kind": "field",
|
|
10066
|
-
"name": "
|
|
9762
|
+
"name": "fileInput",
|
|
10067
9763
|
"type": {
|
|
10068
|
-
"text": "
|
|
9764
|
+
"text": "HTMLInputElement"
|
|
10069
9765
|
},
|
|
10070
|
-
"
|
|
9766
|
+
"inheritedFrom": {
|
|
9767
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9768
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9769
|
+
}
|
|
10071
9770
|
},
|
|
10072
9771
|
{
|
|
10073
9772
|
"kind": "field",
|
|
10074
|
-
"name": "
|
|
9773
|
+
"name": "pendingAlertSoundData",
|
|
10075
9774
|
"type": {
|
|
10076
|
-
"text": "string"
|
|
9775
|
+
"text": "string | null"
|
|
9776
|
+
},
|
|
9777
|
+
"default": "null",
|
|
9778
|
+
"inheritedFrom": {
|
|
9779
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9780
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
10077
9781
|
}
|
|
10078
9782
|
},
|
|
10079
9783
|
{
|
|
10080
9784
|
"kind": "field",
|
|
10081
|
-
"name": "
|
|
9785
|
+
"name": "alertSoundDirty",
|
|
10082
9786
|
"type": {
|
|
10083
|
-
"text": "
|
|
9787
|
+
"text": "boolean"
|
|
10084
9788
|
},
|
|
10085
|
-
"default": "
|
|
9789
|
+
"default": "false",
|
|
9790
|
+
"description": "True when the user picked a new file this session (needs upload).",
|
|
9791
|
+
"inheritedFrom": {
|
|
9792
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9793
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9794
|
+
}
|
|
10086
9795
|
},
|
|
10087
9796
|
{
|
|
10088
9797
|
"kind": "field",
|
|
10089
|
-
"name": "
|
|
9798
|
+
"name": "clearAlertSound",
|
|
10090
9799
|
"type": {
|
|
10091
|
-
"text": "
|
|
9800
|
+
"text": "boolean"
|
|
10092
9801
|
},
|
|
10093
|
-
"default": "
|
|
9802
|
+
"default": "false",
|
|
9803
|
+
"inheritedFrom": {
|
|
9804
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9805
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9806
|
+
}
|
|
10094
9807
|
},
|
|
10095
9808
|
{
|
|
10096
9809
|
"kind": "field",
|
|
10097
|
-
"name": "
|
|
9810
|
+
"name": "testAudio",
|
|
10098
9811
|
"type": {
|
|
10099
|
-
"text": "
|
|
9812
|
+
"text": "HTMLAudioElement | null"
|
|
10100
9813
|
},
|
|
10101
|
-
"default": "
|
|
10102
|
-
|
|
10103
|
-
|
|
10104
|
-
|
|
10105
|
-
|
|
10106
|
-
},
|
|
10107
|
-
{
|
|
10108
|
-
"kind": "method",
|
|
10109
|
-
"name": "conditionChanged"
|
|
10110
|
-
},
|
|
10111
|
-
{
|
|
10112
|
-
"kind": "method",
|
|
10113
|
-
"name": "joinOperatorChanged"
|
|
10114
|
-
},
|
|
10115
|
-
{
|
|
10116
|
-
"kind": "method",
|
|
10117
|
-
"name": "fieldsChanged"
|
|
10118
|
-
},
|
|
10119
|
-
{
|
|
10120
|
-
"kind": "method",
|
|
10121
|
-
"name": "assignLeftValue",
|
|
10122
|
-
"privacy": "private"
|
|
10123
|
-
},
|
|
10124
|
-
{
|
|
10125
|
-
"kind": "method",
|
|
10126
|
-
"name": "assignRightValue"
|
|
10127
|
-
},
|
|
10128
|
-
{
|
|
10129
|
-
"kind": "method",
|
|
10130
|
-
"name": "getRightCriteria",
|
|
10131
|
-
"return": {
|
|
10132
|
-
"type": {
|
|
10133
|
-
"text": "Array<any>"
|
|
10134
|
-
}
|
|
9814
|
+
"default": "null",
|
|
9815
|
+
"description": "In-progress Test playback; not private — mixin return type is exported.",
|
|
9816
|
+
"inheritedFrom": {
|
|
9817
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9818
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
10135
9819
|
}
|
|
10136
9820
|
},
|
|
10137
9821
|
{
|
|
10138
9822
|
"kind": "method",
|
|
10139
|
-
"name": "
|
|
10140
|
-
"
|
|
10141
|
-
|
|
10142
|
-
"
|
|
9823
|
+
"name": "loadExistingAlertSound",
|
|
9824
|
+
"parameters": [
|
|
9825
|
+
{
|
|
9826
|
+
"name": "dynamicRuleId",
|
|
9827
|
+
"type": {
|
|
9828
|
+
"text": "string"
|
|
9829
|
+
}
|
|
10143
9830
|
}
|
|
9831
|
+
],
|
|
9832
|
+
"inheritedFrom": {
|
|
9833
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9834
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
10144
9835
|
}
|
|
10145
9836
|
},
|
|
10146
9837
|
{
|
|
10147
9838
|
"kind": "method",
|
|
10148
|
-
"name": "
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
},
|
|
10154
|
-
{
|
|
10155
|
-
"kind": "method",
|
|
10156
|
-
"name": "rightCriteriaChanged"
|
|
9839
|
+
"name": "openAlertSoundPicker",
|
|
9840
|
+
"inheritedFrom": {
|
|
9841
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9842
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9843
|
+
}
|
|
10157
9844
|
},
|
|
10158
9845
|
{
|
|
10159
9846
|
"kind": "method",
|
|
10160
|
-
"name": "
|
|
10161
|
-
"
|
|
9847
|
+
"name": "onAlertSoundSelected",
|
|
9848
|
+
"parameters": [
|
|
9849
|
+
{
|
|
9850
|
+
"name": "event",
|
|
9851
|
+
"type": {
|
|
9852
|
+
"text": "Event"
|
|
9853
|
+
}
|
|
9854
|
+
}
|
|
9855
|
+
],
|
|
9856
|
+
"inheritedFrom": {
|
|
9857
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9858
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9859
|
+
}
|
|
10162
9860
|
},
|
|
10163
9861
|
{
|
|
10164
9862
|
"kind": "method",
|
|
10165
|
-
"name": "
|
|
10166
|
-
"
|
|
9863
|
+
"name": "clearAttachedAlertSound",
|
|
9864
|
+
"inheritedFrom": {
|
|
9865
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9866
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9867
|
+
}
|
|
10167
9868
|
},
|
|
10168
9869
|
{
|
|
10169
9870
|
"kind": "method",
|
|
10170
|
-
"name": "
|
|
9871
|
+
"name": "testAttachedAlertSound",
|
|
9872
|
+
"inheritedFrom": {
|
|
9873
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9874
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9875
|
+
}
|
|
10171
9876
|
},
|
|
10172
9877
|
{
|
|
10173
9878
|
"kind": "method",
|
|
10174
|
-
"name": "
|
|
9879
|
+
"name": "stopTestSound",
|
|
9880
|
+
"inheritedFrom": {
|
|
9881
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9882
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9883
|
+
}
|
|
10175
9884
|
},
|
|
10176
9885
|
{
|
|
10177
9886
|
"kind": "method",
|
|
10178
|
-
"name": "
|
|
9887
|
+
"name": "resetAlertSoundState",
|
|
9888
|
+
"inheritedFrom": {
|
|
9889
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9890
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9891
|
+
}
|
|
10179
9892
|
},
|
|
10180
9893
|
{
|
|
10181
9894
|
"kind": "method",
|
|
10182
|
-
"name": "
|
|
9895
|
+
"name": "applyAlertSoundToPayload",
|
|
10183
9896
|
"return": {
|
|
10184
9897
|
"type": {
|
|
10185
|
-
"text": "
|
|
10186
|
-
}
|
|
10187
|
-
}
|
|
10188
|
-
},
|
|
10189
|
-
{
|
|
10190
|
-
"kind": "method",
|
|
10191
|
-
"name": "convertDateTime",
|
|
10192
|
-
"parameters": [
|
|
10193
|
-
{
|
|
10194
|
-
"name": "dateTimeStr",
|
|
10195
|
-
"type": {
|
|
10196
|
-
"text": "string"
|
|
10197
|
-
}
|
|
9898
|
+
"text": "T"
|
|
10198
9899
|
}
|
|
10199
|
-
|
|
10200
|
-
},
|
|
10201
|
-
{
|
|
10202
|
-
"kind": "method",
|
|
10203
|
-
"name": "convertLongForDatePicker",
|
|
9900
|
+
},
|
|
10204
9901
|
"parameters": [
|
|
10205
9902
|
{
|
|
10206
|
-
"name": "
|
|
10207
|
-
"type": {
|
|
10208
|
-
"text": "number"
|
|
10209
|
-
}
|
|
10210
|
-
},
|
|
10211
|
-
{
|
|
10212
|
-
"name": "time",
|
|
10213
|
-
"default": "false",
|
|
9903
|
+
"name": "target",
|
|
10214
9904
|
"type": {
|
|
10215
|
-
"text": "
|
|
9905
|
+
"text": "T"
|
|
10216
9906
|
}
|
|
10217
9907
|
}
|
|
10218
|
-
]
|
|
10219
|
-
|
|
10220
|
-
|
|
10221
|
-
|
|
10222
|
-
|
|
9908
|
+
],
|
|
9909
|
+
"description": "Merges pending sound / clear flag onto a create/update DETAILS object.",
|
|
9910
|
+
"inheritedFrom": {
|
|
9911
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9912
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9913
|
+
}
|
|
10223
9914
|
},
|
|
10224
9915
|
{
|
|
10225
9916
|
"kind": "method",
|
|
10226
|
-
"name": "
|
|
9917
|
+
"name": "syncAlertSoundCacheAfterSave",
|
|
9918
|
+
"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.",
|
|
9919
|
+
"inheritedFrom": {
|
|
9920
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9921
|
+
"module": "src/components/foundation-notification-dashboard/alert-sound-attachment.ts"
|
|
9922
|
+
}
|
|
10227
9923
|
}
|
|
10228
9924
|
],
|
|
10229
9925
|
"events": [
|
|
10230
9926
|
{
|
|
10231
|
-
"description": "Fired when
|
|
10232
|
-
"name": "
|
|
10233
|
-
}
|
|
9927
|
+
"description": "Fired when the dialog should close",
|
|
9928
|
+
"name": "close"
|
|
9929
|
+
}
|
|
9930
|
+
],
|
|
9931
|
+
"mixins": [
|
|
10234
9932
|
{
|
|
10235
|
-
"
|
|
10236
|
-
"
|
|
9933
|
+
"name": "AlertSoundAttachmentMixin",
|
|
9934
|
+
"module": "/src/components/foundation-notification-dashboard/alert-sound-attachment"
|
|
10237
9935
|
}
|
|
10238
9936
|
],
|
|
10239
9937
|
"superclass": {
|
|
10240
9938
|
"name": "GenesisElement",
|
|
10241
9939
|
"package": "@genesislcap/web-core"
|
|
10242
9940
|
},
|
|
10243
|
-
"tagName": "
|
|
9941
|
+
"tagName": "template-dialog",
|
|
10244
9942
|
"customElement": true
|
|
10245
9943
|
}
|
|
10246
9944
|
],
|
|
10247
9945
|
"exports": [
|
|
10248
9946
|
{
|
|
10249
9947
|
"kind": "js",
|
|
10250
|
-
"name": "
|
|
9948
|
+
"name": "TemplateDialog",
|
|
10251
9949
|
"declaration": {
|
|
10252
|
-
"name": "
|
|
10253
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
9950
|
+
"name": "TemplateDialog",
|
|
9951
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
|
|
10254
9952
|
}
|
|
10255
9953
|
},
|
|
10256
9954
|
{
|
|
10257
9955
|
"kind": "custom-element-definition",
|
|
10258
|
-
"name": "
|
|
9956
|
+
"name": "template-dialog",
|
|
10259
9957
|
"declaration": {
|
|
10260
|
-
"name": "
|
|
10261
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
9958
|
+
"name": "TemplateDialog",
|
|
9959
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.ts"
|
|
10262
9960
|
}
|
|
10263
9961
|
}
|
|
10264
9962
|
]
|
|
10265
9963
|
},
|
|
10266
9964
|
{
|
|
10267
9965
|
"kind": "javascript-module",
|
|
10268
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10269
|
-
"declarations": [
|
|
10270
|
-
|
|
9966
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts",
|
|
9967
|
+
"declarations": [
|
|
9968
|
+
{
|
|
9969
|
+
"kind": "variable",
|
|
9970
|
+
"name": "TemplateDialogMode",
|
|
9971
|
+
"type": {
|
|
9972
|
+
"text": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
|
|
9973
|
+
},
|
|
9974
|
+
"default": "{\n CREATE: 'create',\n EDIT: 'edit',\n}"
|
|
9975
|
+
}
|
|
9976
|
+
],
|
|
9977
|
+
"exports": [
|
|
9978
|
+
{
|
|
9979
|
+
"kind": "js",
|
|
9980
|
+
"name": "TemplateDialogMode",
|
|
9981
|
+
"declaration": {
|
|
9982
|
+
"name": "TemplateDialogMode",
|
|
9983
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-dialog.types.ts"
|
|
9984
|
+
}
|
|
9985
|
+
}
|
|
9986
|
+
]
|
|
10271
9987
|
},
|
|
10272
9988
|
{
|
|
10273
9989
|
"kind": "javascript-module",
|
|
@@ -10421,218 +10137,288 @@
|
|
|
10421
10137
|
},
|
|
10422
10138
|
{
|
|
10423
10139
|
"kind": "javascript-module",
|
|
10424
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10425
|
-
"declarations": [
|
|
10426
|
-
{
|
|
10427
|
-
"kind": "variable",
|
|
10428
|
-
"name": "ParameterBuilderStyles",
|
|
10429
|
-
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
10430
|
-
}
|
|
10431
|
-
],
|
|
10432
|
-
"exports": [
|
|
10433
|
-
{
|
|
10434
|
-
"kind": "js",
|
|
10435
|
-
"name": "ParameterBuilderStyles",
|
|
10436
|
-
"declaration": {
|
|
10437
|
-
"name": "ParameterBuilderStyles",
|
|
10438
|
-
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10439
|
-
}
|
|
10440
|
-
}
|
|
10441
|
-
]
|
|
10442
|
-
},
|
|
10443
|
-
{
|
|
10444
|
-
"kind": "javascript-module",
|
|
10445
|
-
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10140
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts",
|
|
10446
10141
|
"declarations": [
|
|
10447
10142
|
{
|
|
10448
10143
|
"kind": "variable",
|
|
10449
|
-
"name": "
|
|
10450
|
-
"default": "html<
|
|
10144
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10145
|
+
"default": "html<RuleConditionBuilder>`\n ${when(\n (x) => !x.isFirst,\n html`\n <div class=\"join-toggle-row\">\n <div class=\"join-toggle\">\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'AND'])}\"\n @click=${(x) => (x.joinOperator = 'AND')}\n >\n AND\n </span>\n <span\n class=\"join-text${(x) => classNames(['active', x.joinOperator === 'OR'])}\"\n @click=${(x) => (x.joinOperator = 'OR')}\n >\n OR\n </span>\n </div>\n </div>\n `,\n )}\n <div class=\"condition-builder\">\n <rapid-select\n :value=${sync((x) => x.leftValue)}\n :initialValue=${sync((x) => x.leftValue)}\n title=${(x) => (x.leftValue ? JSON.parse(x.leftValue).FIELD_NAME : '')}\n class=\"left-value\"\n >\n ${repeat(\n (x) => x.getAllFields(),\n html`\n <rapid-option value=${(x) => JSON.stringify(x)} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-select\n class=\"logical-operator${(x) =>\n classNames([\n '-null-and-blank',\n nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n ])}\"\n :value=${sync((x) => x.logicalOperator)}\n title=${(x) => x.logicalOperator}\n >\n ${repeat(\n (x) => x.getLogicalOperators(),\n html`\n <rapid-option value=${(x) => x.operator} title=${(x) => x}>\n ${(x) => x.label}\n </rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => !nullAndBlankLogicalOperatorValues.includes(LogicalOperator[x.logicalOperator]),\n html`\n <rapid-select\n class=\"right-criteria\"\n :value=${sync((x) => x.rightCriteria)}\n title=${(x) => x.rightCriteria}\n >\n ${repeat(\n (x) => x.getRightCriteria(),\n html`\n <rapid-option value=${(x) => x} title=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.rightCriteria === RightCriteria.VALUE,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.BOOLEAN,\n html`\n <rapid-select class=\"right-criteria-select\" :value=${sync((x) => x.rightValueText)}>\n <rapid-option value=\"true\">true</rapid-option>\n <rapid-option value=\"false\">false</rapid-option>\n </rapid-select>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === 'ENUM',\n html`\n <rapid-multiselect\n class=\"right-criteria-select\"\n :selectedOptions=${(x) => x.rightValueMultiSelect}\n @selectionChange=${(x, c) => {\n x.rightValueMultiSelect = (c.event as CustomEvent).detail;\n }}\n search=\"true\"\n all=\"false\"\n >\n <multiselect-datasource\n value-field=\"value\"\n label-field=\"value\"\n :data=${(x) => x.getEnumValues().map((value) => ({ value }))}\n ></multiselect-datasource>\n </rapid-multiselect>\n `,\n html`\n ${whenElse(\n (x) => JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATE,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"date\"\n ></rapid-text-field>\n `,\n html`\n ${whenElse(\n (x) =>\n JSON.parse(x.leftValue ?? '{}').FIELD_TYPE === FieldTypeEnum.DATETIME,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n type=\"datetime-local\"\n ></rapid-text-field>\n `,\n html`\n <rapid-text-field\n class=\"right-criteria-text\"\n :value=${sync((x) => x.rightValueText)}\n placeholder=\"Value (comma-separate for multiple)\"\n autocomplete=\"off\"\n ></rapid-text-field>\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n `,\n )}\n ${when(\n (x) => x.rightCriteria === RightCriteria.FIELD,\n html`\n <rapid-select\n class=\"right-criteria-select\"\n :value=${sync((x) => x.rightValueSelect)}\n title=${(x) => x.rightValueSelect}\n >\n ${repeat(\n (x) => x.getApplicableFields(),\n html`\n <rapid-option value=${(x) => x.FIELD_NAME} title=${(x) => x.FIELD_NAME}>\n ${(x) => x.FIELD_NAME}\n </rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n `,\n )}\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteCondition()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10451
10146
|
}
|
|
10452
10147
|
],
|
|
10453
10148
|
"exports": [
|
|
10454
10149
|
{
|
|
10455
10150
|
"kind": "js",
|
|
10456
|
-
"name": "
|
|
10151
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10457
10152
|
"declaration": {
|
|
10458
|
-
"name": "
|
|
10459
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10153
|
+
"name": "RuleConditionBuilderTemplate",
|
|
10154
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.template.ts"
|
|
10460
10155
|
}
|
|
10461
10156
|
}
|
|
10462
10157
|
]
|
|
10463
10158
|
},
|
|
10464
10159
|
{
|
|
10465
10160
|
"kind": "javascript-module",
|
|
10466
|
-
"path": "src/components/foundation-notification-dashboard/components/
|
|
10161
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts",
|
|
10467
10162
|
"declarations": [
|
|
10468
10163
|
{
|
|
10469
10164
|
"kind": "class",
|
|
10470
|
-
"description": "
|
|
10471
|
-
"name": "
|
|
10165
|
+
"description": "Condition builder for notification rule criteria.",
|
|
10166
|
+
"name": "RuleConditionBuilder",
|
|
10472
10167
|
"members": [
|
|
10473
10168
|
{
|
|
10474
10169
|
"kind": "field",
|
|
10475
|
-
"name": "
|
|
10170
|
+
"name": "condition",
|
|
10476
10171
|
"type": {
|
|
10477
|
-
"text": "
|
|
10172
|
+
"text": "ConditionBuilderEntity"
|
|
10478
10173
|
}
|
|
10479
10174
|
},
|
|
10480
10175
|
{
|
|
10481
10176
|
"kind": "field",
|
|
10482
|
-
"name": "
|
|
10177
|
+
"name": "fields",
|
|
10483
10178
|
"type": {
|
|
10484
|
-
"text": "
|
|
10485
|
-
}
|
|
10179
|
+
"text": "Field[]"
|
|
10180
|
+
},
|
|
10181
|
+
"default": "[]"
|
|
10486
10182
|
},
|
|
10487
10183
|
{
|
|
10488
10184
|
"kind": "field",
|
|
10489
|
-
"name": "
|
|
10185
|
+
"name": "isFirst",
|
|
10490
10186
|
"type": {
|
|
10491
|
-
"text": "
|
|
10492
|
-
}
|
|
10187
|
+
"text": "boolean"
|
|
10188
|
+
},
|
|
10189
|
+
"default": "false"
|
|
10493
10190
|
},
|
|
10494
10191
|
{
|
|
10495
10192
|
"kind": "field",
|
|
10496
|
-
"name": "
|
|
10193
|
+
"name": "joinOperator",
|
|
10497
10194
|
"type": {
|
|
10498
10195
|
"text": "string"
|
|
10499
10196
|
}
|
|
10500
10197
|
},
|
|
10501
10198
|
{
|
|
10502
10199
|
"kind": "field",
|
|
10503
|
-
"name": "
|
|
10200
|
+
"name": "leftValue",
|
|
10504
10201
|
"type": {
|
|
10505
10202
|
"text": "string"
|
|
10506
|
-
}
|
|
10203
|
+
},
|
|
10204
|
+
"default": "null"
|
|
10507
10205
|
},
|
|
10508
10206
|
{
|
|
10509
10207
|
"kind": "field",
|
|
10510
|
-
"name": "
|
|
10208
|
+
"name": "leftValueItems",
|
|
10209
|
+
"type": {
|
|
10210
|
+
"text": "Array<any>"
|
|
10211
|
+
},
|
|
10212
|
+
"default": "[]"
|
|
10213
|
+
},
|
|
10214
|
+
{
|
|
10215
|
+
"kind": "field",
|
|
10216
|
+
"name": "logicalOperator",
|
|
10511
10217
|
"type": {
|
|
10512
10218
|
"text": "string"
|
|
10513
|
-
}
|
|
10219
|
+
},
|
|
10220
|
+
"default": "null"
|
|
10514
10221
|
},
|
|
10515
10222
|
{
|
|
10516
10223
|
"kind": "field",
|
|
10517
|
-
"name": "
|
|
10224
|
+
"name": "rightCriteria",
|
|
10518
10225
|
"type": {
|
|
10519
10226
|
"text": "string"
|
|
10520
10227
|
}
|
|
10521
10228
|
},
|
|
10522
10229
|
{
|
|
10523
10230
|
"kind": "field",
|
|
10524
|
-
"name": "
|
|
10231
|
+
"name": "rightValueText",
|
|
10525
10232
|
"type": {
|
|
10526
|
-
"text": "
|
|
10527
|
-
}
|
|
10233
|
+
"text": "string"
|
|
10234
|
+
},
|
|
10235
|
+
"default": "null"
|
|
10528
10236
|
},
|
|
10529
10237
|
{
|
|
10530
10238
|
"kind": "field",
|
|
10531
|
-
"name": "
|
|
10239
|
+
"name": "rightValueSelect",
|
|
10532
10240
|
"type": {
|
|
10533
|
-
"text": "
|
|
10534
|
-
}
|
|
10241
|
+
"text": "string"
|
|
10242
|
+
},
|
|
10243
|
+
"default": "null"
|
|
10535
10244
|
},
|
|
10536
10245
|
{
|
|
10537
10246
|
"kind": "field",
|
|
10538
|
-
"name": "
|
|
10247
|
+
"name": "rightValueMultiSelect",
|
|
10539
10248
|
"type": {
|
|
10540
|
-
"text": "
|
|
10249
|
+
"text": "string[]"
|
|
10541
10250
|
},
|
|
10542
|
-
"default": "[
|
|
10251
|
+
"default": "[]"
|
|
10543
10252
|
},
|
|
10544
10253
|
{
|
|
10545
10254
|
"kind": "method",
|
|
10546
|
-
"name": "
|
|
10255
|
+
"name": "deleteCondition"
|
|
10547
10256
|
},
|
|
10548
10257
|
{
|
|
10549
10258
|
"kind": "method",
|
|
10550
|
-
"name": "
|
|
10259
|
+
"name": "conditionChanged"
|
|
10551
10260
|
},
|
|
10552
10261
|
{
|
|
10553
10262
|
"kind": "method",
|
|
10554
|
-
"name": "
|
|
10263
|
+
"name": "joinOperatorChanged"
|
|
10555
10264
|
},
|
|
10556
10265
|
{
|
|
10557
10266
|
"kind": "method",
|
|
10558
|
-
"name": "
|
|
10267
|
+
"name": "fieldsChanged"
|
|
10559
10268
|
},
|
|
10560
10269
|
{
|
|
10561
10270
|
"kind": "method",
|
|
10562
|
-
"name": "
|
|
10271
|
+
"name": "assignLeftValue",
|
|
10272
|
+
"privacy": "private"
|
|
10563
10273
|
},
|
|
10564
10274
|
{
|
|
10565
10275
|
"kind": "method",
|
|
10566
|
-
"name": "
|
|
10276
|
+
"name": "assignRightValue"
|
|
10567
10277
|
},
|
|
10568
10278
|
{
|
|
10569
10279
|
"kind": "method",
|
|
10570
|
-
"name": "
|
|
10280
|
+
"name": "getRightCriteria",
|
|
10281
|
+
"return": {
|
|
10282
|
+
"type": {
|
|
10283
|
+
"text": "Array<any>"
|
|
10284
|
+
}
|
|
10285
|
+
}
|
|
10571
10286
|
},
|
|
10572
10287
|
{
|
|
10573
10288
|
"kind": "method",
|
|
10574
|
-
"name": "
|
|
10289
|
+
"name": "getLogicalOperators",
|
|
10290
|
+
"return": {
|
|
10291
|
+
"type": {
|
|
10292
|
+
"text": "Array<any>"
|
|
10293
|
+
}
|
|
10294
|
+
}
|
|
10575
10295
|
},
|
|
10576
10296
|
{
|
|
10577
10297
|
"kind": "method",
|
|
10578
|
-
"name": "
|
|
10579
|
-
|
|
10298
|
+
"name": "leftValueChanged"
|
|
10299
|
+
},
|
|
10300
|
+
{
|
|
10301
|
+
"kind": "method",
|
|
10302
|
+
"name": "logicalOperatorChanged"
|
|
10303
|
+
},
|
|
10304
|
+
{
|
|
10305
|
+
"kind": "method",
|
|
10306
|
+
"name": "rightCriteriaChanged"
|
|
10307
|
+
},
|
|
10308
|
+
{
|
|
10309
|
+
"kind": "method",
|
|
10310
|
+
"name": "clearRightValueText",
|
|
10311
|
+
"privacy": "private"
|
|
10312
|
+
},
|
|
10313
|
+
{
|
|
10314
|
+
"kind": "method",
|
|
10315
|
+
"name": "clearRightValueSelect",
|
|
10316
|
+
"privacy": "private"
|
|
10317
|
+
},
|
|
10318
|
+
{
|
|
10319
|
+
"kind": "method",
|
|
10320
|
+
"name": "rightValueTextChanged"
|
|
10321
|
+
},
|
|
10322
|
+
{
|
|
10323
|
+
"kind": "method",
|
|
10324
|
+
"name": "rightValueSelectChanged"
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
"kind": "method",
|
|
10328
|
+
"name": "rightValueMultiSelectChanged"
|
|
10329
|
+
},
|
|
10330
|
+
{
|
|
10331
|
+
"kind": "method",
|
|
10332
|
+
"name": "getEnumValues",
|
|
10333
|
+
"return": {
|
|
10334
|
+
"type": {
|
|
10335
|
+
"text": "string[]"
|
|
10336
|
+
}
|
|
10337
|
+
}
|
|
10338
|
+
},
|
|
10339
|
+
{
|
|
10340
|
+
"kind": "method",
|
|
10341
|
+
"name": "convertDateTime",
|
|
10580
10342
|
"parameters": [
|
|
10581
10343
|
{
|
|
10582
|
-
"name": "
|
|
10344
|
+
"name": "dateTimeStr",
|
|
10345
|
+
"type": {
|
|
10346
|
+
"text": "string"
|
|
10347
|
+
}
|
|
10348
|
+
}
|
|
10349
|
+
]
|
|
10350
|
+
},
|
|
10351
|
+
{
|
|
10352
|
+
"kind": "method",
|
|
10353
|
+
"name": "convertLongForDatePicker",
|
|
10354
|
+
"parameters": [
|
|
10355
|
+
{
|
|
10356
|
+
"name": "value",
|
|
10357
|
+
"type": {
|
|
10358
|
+
"text": "number"
|
|
10359
|
+
}
|
|
10583
10360
|
},
|
|
10584
10361
|
{
|
|
10585
|
-
"name": "
|
|
10362
|
+
"name": "time",
|
|
10363
|
+
"default": "false",
|
|
10364
|
+
"type": {
|
|
10365
|
+
"text": "boolean"
|
|
10366
|
+
}
|
|
10586
10367
|
}
|
|
10587
10368
|
]
|
|
10369
|
+
},
|
|
10370
|
+
{
|
|
10371
|
+
"kind": "method",
|
|
10372
|
+
"name": "getAllFields"
|
|
10373
|
+
},
|
|
10374
|
+
{
|
|
10375
|
+
"kind": "method",
|
|
10376
|
+
"name": "getApplicableFields"
|
|
10588
10377
|
}
|
|
10589
10378
|
],
|
|
10590
10379
|
"events": [
|
|
10591
10380
|
{
|
|
10592
|
-
"description": "Fired when a
|
|
10381
|
+
"description": "Fired when a condition is deleted. detail: `ConditionBuilderEntity`",
|
|
10593
10382
|
"name": "delete"
|
|
10594
10383
|
},
|
|
10595
10384
|
{
|
|
10596
|
-
"description": "Fired when a
|
|
10385
|
+
"description": "Fired when a condition is edited. detail: `ConditionBuilderEntity`",
|
|
10597
10386
|
"name": "edit"
|
|
10598
10387
|
}
|
|
10599
10388
|
],
|
|
10600
|
-
"attributes": [
|
|
10601
|
-
{
|
|
10602
|
-
"name": "parameter",
|
|
10603
|
-
"type": {
|
|
10604
|
-
"text": "ParameterBuilderEntity"
|
|
10605
|
-
},
|
|
10606
|
-
"fieldName": "parameter"
|
|
10607
|
-
}
|
|
10608
|
-
],
|
|
10609
10389
|
"superclass": {
|
|
10610
10390
|
"name": "GenesisElement",
|
|
10611
10391
|
"package": "@genesislcap/web-core"
|
|
10612
10392
|
},
|
|
10613
|
-
"tagName": "
|
|
10393
|
+
"tagName": "rule-condition-builder",
|
|
10614
10394
|
"customElement": true
|
|
10615
10395
|
}
|
|
10616
10396
|
],
|
|
10617
10397
|
"exports": [
|
|
10618
10398
|
{
|
|
10619
10399
|
"kind": "js",
|
|
10620
|
-
"name": "
|
|
10400
|
+
"name": "RuleConditionBuilder",
|
|
10621
10401
|
"declaration": {
|
|
10622
|
-
"name": "
|
|
10623
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10402
|
+
"name": "RuleConditionBuilder",
|
|
10403
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10624
10404
|
}
|
|
10625
10405
|
},
|
|
10626
10406
|
{
|
|
10627
10407
|
"kind": "custom-element-definition",
|
|
10628
|
-
"name": "
|
|
10408
|
+
"name": "rule-condition-builder",
|
|
10629
10409
|
"declaration": {
|
|
10630
|
-
"name": "
|
|
10631
|
-
"module": "src/components/foundation-notification-dashboard/components/
|
|
10410
|
+
"name": "RuleConditionBuilder",
|
|
10411
|
+
"module": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.ts"
|
|
10632
10412
|
}
|
|
10633
10413
|
}
|
|
10634
10414
|
]
|
|
10635
10415
|
},
|
|
10416
|
+
{
|
|
10417
|
+
"kind": "javascript-module",
|
|
10418
|
+
"path": "src/components/foundation-notification-dashboard/components/rules/rule-dialog/rule-condition-builder/rule-condition-builder.types.ts",
|
|
10419
|
+
"declarations": [],
|
|
10420
|
+
"exports": []
|
|
10421
|
+
},
|
|
10636
10422
|
{
|
|
10637
10423
|
"kind": "javascript-module",
|
|
10638
10424
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-builder/template-condition-builder.template.ts",
|
|
@@ -10917,6 +10703,220 @@
|
|
|
10917
10703
|
}
|
|
10918
10704
|
]
|
|
10919
10705
|
},
|
|
10706
|
+
{
|
|
10707
|
+
"kind": "javascript-module",
|
|
10708
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts",
|
|
10709
|
+
"declarations": [
|
|
10710
|
+
{
|
|
10711
|
+
"kind": "variable",
|
|
10712
|
+
"name": "ParameterBuilderStyles",
|
|
10713
|
+
"default": "css`\n .parameter-builder {\n display: flex;\n gap: calc(var(--design-unit) * 2px);\n margin-bottom: calc(var(--design-unit) * 2px);\n }\n\n rapid-button {\n margin: 0;\n }\n\n .delete {\n margin: 0;\n display: flex;\n justify-content: center;\n height: calc(var(--design-unit) * 9px);\n }\n\n .delete:hover {\n background-color: color-mix(in srgb, var(--neutral-foreground-rest), transparent 89%);\n }\n\n rapid-text-field {\n width: 100%;\n margin-bottom: 0;\n }\n\n rapid-text-field::part(root) {\n height: calc(var(--design-unit) * 9px);\n }\n\n rapid-select {\n min-width: auto;\n }\n\n rapid-select.param-type::part(control) {\n width: 115px;\n }\n\n rapid-select.param-source-type::part(control) {\n width: 160px;\n }\n\n rapid-select.param-source::part(control) {\n width: ${PARAM_SOURCE_WIDTH}px;\n }\n\n rapid-text-field.param-source::part(root) {\n width: calc(${PARAM_SOURCE_WIDTH}px + 2px);\n }\n\n rapid-select::part(listbox) {\n max-height: 160px;\n }\n`"
|
|
10714
|
+
}
|
|
10715
|
+
],
|
|
10716
|
+
"exports": [
|
|
10717
|
+
{
|
|
10718
|
+
"kind": "js",
|
|
10719
|
+
"name": "ParameterBuilderStyles",
|
|
10720
|
+
"declaration": {
|
|
10721
|
+
"name": "ParameterBuilderStyles",
|
|
10722
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.styles.ts"
|
|
10723
|
+
}
|
|
10724
|
+
}
|
|
10725
|
+
]
|
|
10726
|
+
},
|
|
10727
|
+
{
|
|
10728
|
+
"kind": "javascript-module",
|
|
10729
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts",
|
|
10730
|
+
"declarations": [
|
|
10731
|
+
{
|
|
10732
|
+
"kind": "variable",
|
|
10733
|
+
"name": "ParameterBuilderTemplate",
|
|
10734
|
+
"default": "html<ParameterBuilder>`\n <div class=\"parameter-builder\">\n <rapid-text-field\n id=\"param-name\"\n placeholder=\"Name\"\n :value=${sync((x) => x.name)}\n ></rapid-text-field>\n\n <rapid-text-field\n id=\"param-label\"\n placeholder=\"Label\"\n :value=${sync((x) => x.label)}\n ></rapid-text-field>\n\n <rapid-select\n id=\"param-source-type\"\n :value=${sync((x) => x.sourceType)}\n class=\"param-source-type\"\n >\n ${repeat(\n (x) => ALL_PARAM_SOURCE_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_USER_TEXT,\n html<ParameterBuilder>`\n <rapid-text-field class=\"param-source\" disabled></rapid-text-field>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_REQ_REP,\n html<ParameterBuilder>`\n <rapid-select\n ${ref('sourceSelect')}\n id=\"param-source\"\n :value=${sync((x) => x.sourceSelected)}\n class=\"param-source\"\n ?disabled=${(x) => x.sourceType !== PARAM_SOURCE_TYPE_REQ_REP}\n >\n ${repeat(\n (x) => x.reqRepItems,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n `,\n )}\n ${when(\n (x) => x.sourceType === PARAM_SOURCE_TYPE_DEFINED_GROUP,\n html<ParameterBuilder>`\n <rapid-text-field\n ${ref('sourceTextField')}\n class=\"param-source\"\n placeholder=\"item1,item2,item3\"\n :value=${sync((x) => x.sourceTyped)}\n ></rapid-text-field>\n `,\n )}\n\n <rapid-select id=\"param-type\" :value=${sync((x) => x.type)} class=\"param-type\">\n ${repeat(\n (x) => ALL_PARAM_TYPES,\n html`\n <rapid-option value=${(x) => x}>${(x) => x}</rapid-option>\n `,\n )}\n </rapid-select>\n\n <rapid-button appearance=\"icon\" class=\"delete\" @click=${(x) => x.deleteParameter()}>\n <rapid-icon\n style=\"opacity: 0.5\"\n variant=\"regular\"\n name=\"trash-alt\"\n size=\"lg\"\n part=\"icon\"\n ></rapid-icon>\n </rapid-button>\n </div>\n`"
|
|
10735
|
+
}
|
|
10736
|
+
],
|
|
10737
|
+
"exports": [
|
|
10738
|
+
{
|
|
10739
|
+
"kind": "js",
|
|
10740
|
+
"name": "ParameterBuilderTemplate",
|
|
10741
|
+
"declaration": {
|
|
10742
|
+
"name": "ParameterBuilderTemplate",
|
|
10743
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.template.ts"
|
|
10744
|
+
}
|
|
10745
|
+
}
|
|
10746
|
+
]
|
|
10747
|
+
},
|
|
10748
|
+
{
|
|
10749
|
+
"kind": "javascript-module",
|
|
10750
|
+
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts",
|
|
10751
|
+
"declarations": [
|
|
10752
|
+
{
|
|
10753
|
+
"kind": "class",
|
|
10754
|
+
"description": "Parameter builder for notification templates.",
|
|
10755
|
+
"name": "ParameterBuilder",
|
|
10756
|
+
"members": [
|
|
10757
|
+
{
|
|
10758
|
+
"kind": "field",
|
|
10759
|
+
"name": "parameter",
|
|
10760
|
+
"type": {
|
|
10761
|
+
"text": "ParameterBuilderEntity"
|
|
10762
|
+
}
|
|
10763
|
+
},
|
|
10764
|
+
{
|
|
10765
|
+
"kind": "field",
|
|
10766
|
+
"name": "name",
|
|
10767
|
+
"type": {
|
|
10768
|
+
"text": "string"
|
|
10769
|
+
}
|
|
10770
|
+
},
|
|
10771
|
+
{
|
|
10772
|
+
"kind": "field",
|
|
10773
|
+
"name": "label",
|
|
10774
|
+
"type": {
|
|
10775
|
+
"text": "string"
|
|
10776
|
+
}
|
|
10777
|
+
},
|
|
10778
|
+
{
|
|
10779
|
+
"kind": "field",
|
|
10780
|
+
"name": "type",
|
|
10781
|
+
"type": {
|
|
10782
|
+
"text": "string"
|
|
10783
|
+
}
|
|
10784
|
+
},
|
|
10785
|
+
{
|
|
10786
|
+
"kind": "field",
|
|
10787
|
+
"name": "sourceType",
|
|
10788
|
+
"type": {
|
|
10789
|
+
"text": "string"
|
|
10790
|
+
}
|
|
10791
|
+
},
|
|
10792
|
+
{
|
|
10793
|
+
"kind": "field",
|
|
10794
|
+
"name": "sourceSelected",
|
|
10795
|
+
"type": {
|
|
10796
|
+
"text": "string"
|
|
10797
|
+
}
|
|
10798
|
+
},
|
|
10799
|
+
{
|
|
10800
|
+
"kind": "field",
|
|
10801
|
+
"name": "sourceTyped",
|
|
10802
|
+
"type": {
|
|
10803
|
+
"text": "string"
|
|
10804
|
+
}
|
|
10805
|
+
},
|
|
10806
|
+
{
|
|
10807
|
+
"kind": "field",
|
|
10808
|
+
"name": "sourceTextField",
|
|
10809
|
+
"type": {
|
|
10810
|
+
"text": "TextField"
|
|
10811
|
+
}
|
|
10812
|
+
},
|
|
10813
|
+
{
|
|
10814
|
+
"kind": "field",
|
|
10815
|
+
"name": "sourceSelect",
|
|
10816
|
+
"type": {
|
|
10817
|
+
"text": "Select"
|
|
10818
|
+
}
|
|
10819
|
+
},
|
|
10820
|
+
{
|
|
10821
|
+
"kind": "field",
|
|
10822
|
+
"name": "reqRepItems",
|
|
10823
|
+
"type": {
|
|
10824
|
+
"text": "array"
|
|
10825
|
+
},
|
|
10826
|
+
"default": "['REQUEST_1', 'REQUEST_2', 'REQUEST_3']"
|
|
10827
|
+
},
|
|
10828
|
+
{
|
|
10829
|
+
"kind": "method",
|
|
10830
|
+
"name": "deleteParameter"
|
|
10831
|
+
},
|
|
10832
|
+
{
|
|
10833
|
+
"kind": "method",
|
|
10834
|
+
"name": "parameterChanged"
|
|
10835
|
+
},
|
|
10836
|
+
{
|
|
10837
|
+
"kind": "method",
|
|
10838
|
+
"name": "nameChanged"
|
|
10839
|
+
},
|
|
10840
|
+
{
|
|
10841
|
+
"kind": "method",
|
|
10842
|
+
"name": "labelChanged"
|
|
10843
|
+
},
|
|
10844
|
+
{
|
|
10845
|
+
"kind": "method",
|
|
10846
|
+
"name": "typeChanged"
|
|
10847
|
+
},
|
|
10848
|
+
{
|
|
10849
|
+
"kind": "method",
|
|
10850
|
+
"name": "sourceTypeChanged"
|
|
10851
|
+
},
|
|
10852
|
+
{
|
|
10853
|
+
"kind": "method",
|
|
10854
|
+
"name": "sourceSelectedChanged"
|
|
10855
|
+
},
|
|
10856
|
+
{
|
|
10857
|
+
"kind": "method",
|
|
10858
|
+
"name": "sourceTypedChanged"
|
|
10859
|
+
},
|
|
10860
|
+
{
|
|
10861
|
+
"kind": "method",
|
|
10862
|
+
"name": "genericChanged",
|
|
10863
|
+
"privacy": "private",
|
|
10864
|
+
"parameters": [
|
|
10865
|
+
{
|
|
10866
|
+
"name": "parameterAttribute"
|
|
10867
|
+
},
|
|
10868
|
+
{
|
|
10869
|
+
"name": "value"
|
|
10870
|
+
}
|
|
10871
|
+
]
|
|
10872
|
+
}
|
|
10873
|
+
],
|
|
10874
|
+
"events": [
|
|
10875
|
+
{
|
|
10876
|
+
"description": "Fired when a parameter is deleted. detail: `ParameterBuilderEntity`",
|
|
10877
|
+
"name": "delete"
|
|
10878
|
+
},
|
|
10879
|
+
{
|
|
10880
|
+
"description": "Fired when a parameter is edited. detail: `ParameterBuilderEntity`",
|
|
10881
|
+
"name": "edit"
|
|
10882
|
+
}
|
|
10883
|
+
],
|
|
10884
|
+
"attributes": [
|
|
10885
|
+
{
|
|
10886
|
+
"name": "parameter",
|
|
10887
|
+
"type": {
|
|
10888
|
+
"text": "ParameterBuilderEntity"
|
|
10889
|
+
},
|
|
10890
|
+
"fieldName": "parameter"
|
|
10891
|
+
}
|
|
10892
|
+
],
|
|
10893
|
+
"superclass": {
|
|
10894
|
+
"name": "GenesisElement",
|
|
10895
|
+
"package": "@genesislcap/web-core"
|
|
10896
|
+
},
|
|
10897
|
+
"tagName": "parameter-builder",
|
|
10898
|
+
"customElement": true
|
|
10899
|
+
}
|
|
10900
|
+
],
|
|
10901
|
+
"exports": [
|
|
10902
|
+
{
|
|
10903
|
+
"kind": "js",
|
|
10904
|
+
"name": "ParameterBuilder",
|
|
10905
|
+
"declaration": {
|
|
10906
|
+
"name": "ParameterBuilder",
|
|
10907
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10908
|
+
}
|
|
10909
|
+
},
|
|
10910
|
+
{
|
|
10911
|
+
"kind": "custom-element-definition",
|
|
10912
|
+
"name": "parameter-builder",
|
|
10913
|
+
"declaration": {
|
|
10914
|
+
"name": "ParameterBuilder",
|
|
10915
|
+
"module": "src/components/foundation-notification-dashboard/components/templates/template-dialog/parameter-builder/parameter-builder.ts"
|
|
10916
|
+
}
|
|
10917
|
+
}
|
|
10918
|
+
]
|
|
10919
|
+
},
|
|
10920
10920
|
{
|
|
10921
10921
|
"kind": "javascript-module",
|
|
10922
10922
|
"path": "src/components/foundation-notification-dashboard/components/templates/template-dialog/template-condition-group/template-condition-group.template.ts",
|