mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 21:27:46 +02:00
UBERF-5603 (#4754)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
-->
|
||||
<script lang="ts">
|
||||
import type { Asset, IntlString } from '@hcengineering/platform'
|
||||
import { onMount, ComponentType, createEventDispatcher } from 'svelte'
|
||||
import { ComponentType, onMount } from 'svelte'
|
||||
import { checkAdaptiveMatching, deviceOptionsStore as deviceInfo } from '..'
|
||||
import { registerFocus } from '../focus'
|
||||
import { tooltip } from '../tooltips'
|
||||
import type {
|
||||
@@ -22,11 +23,10 @@
|
||||
ButtonKind,
|
||||
ButtonShape,
|
||||
ButtonSize,
|
||||
LabelAndProps,
|
||||
IconProps,
|
||||
LabelAndProps,
|
||||
WidthType
|
||||
} from '../types'
|
||||
import { checkAdaptiveMatching, deviceOptionsStore as deviceInfo } from '..'
|
||||
import Icon from './Icon.svelte'
|
||||
import Label from './Label.svelte'
|
||||
import Spinner from './Spinner.svelte'
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
|
||||
export let contentPanel: HTMLElement
|
||||
export let kind: 'default' | 'modern' = 'default'
|
||||
export let embedded: boolean = false
|
||||
export let readonly: boolean = false
|
||||
|
||||
let modalHTML: HTMLElement
|
||||
let componentInstance: any
|
||||
@@ -164,6 +166,8 @@
|
||||
rightSection={props.rightSection}
|
||||
position={props.element}
|
||||
{kind}
|
||||
{readonly}
|
||||
{embedded}
|
||||
bind:popupOptions={options}
|
||||
on:open={_open}
|
||||
on:close={_close}
|
||||
|
||||
Reference in New Issue
Block a user