buli
2023-04-20 f0bccccbb88d93ac05010c17d4b2e0cb22a2ce9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
    <template if:true={showPopover}>
        <section
            style="position: absolute; left: -50%; bottom: 150%"
            aria-describedby="dialog-body-id-5"
            aria-labelledby="dialog-heading-id-2"
            class="slds-popover slds-popover_error slds-nubbin_bottom-left"
            role="dialog"
        >
            <div class="slds-float_right slds-popover__close">
                <lightning-button-icon
                    variant="bare"
                    icon-class="slds-button_icon-inverse"
                    size="small"
                    icon-name="utility:close"
                    alternative-text="Close dialog"
                    onclick={handleCloseButtonIconClick}
                ></lightning-button-icon>
            </div>
            <header class="slds-popover__header">
                <div
                    class="slds-media slds-media_center slds-has-flexi-truncate"
                >
                    <lightning-icon
                        variant="inverse"
                        class="slds-var-m-right_x-small"
                        size="x-small"
                        icon-name="utility:error"
                        alternative-text="Error"
                    ></lightning-icon>
                    <h2
                        class="slds-truncate slds-text-heading_medium"
                        id="dialog-heading-id-2"
                        title="Resolve error"
                    >
                        Resolve error
                    </h2>
                </div>
            </header>
            <div class="slds-popover__body" id="dialog-body-id-5">{errors}</div>
        </section>
    </template>
</template>