mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-04 15:10:06 +00:00
[Lint] Sort imports (#2104)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// @ts-strict-ignore
|
||||
import { ComfyDialog } from '../dialog'
|
||||
import { $el } from '../../ui'
|
||||
import { ComfyDialog } from '../dialog'
|
||||
|
||||
export class ComfyAsyncDialog extends ComfyDialog<HTMLDialogElement> {
|
||||
#resolve: (value: any) => void
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
// @ts-strict-ignore
|
||||
import { $el } from '../../ui'
|
||||
import { applyClasses, ClassList, toggleElement } from '../utils'
|
||||
import { prop } from '../../utils'
|
||||
import type { ComfyPopup } from './popup'
|
||||
import type { ComfyComponent } from '.'
|
||||
import type { ComfyApp } from '@/scripts/app'
|
||||
import { Settings } from '@/types/apiTypes'
|
||||
|
||||
import type { ComfyComponent } from '.'
|
||||
import { $el } from '../../ui'
|
||||
import { prop } from '../../utils'
|
||||
import { ClassList, applyClasses, toggleElement } from '../utils'
|
||||
import type { ComfyPopup } from './popup'
|
||||
|
||||
type ComfyButtonProps = {
|
||||
icon?: string
|
||||
overIcon?: string
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @ts-strict-ignore
|
||||
import { $el } from '../../ui'
|
||||
import { ComfyButton } from './button'
|
||||
import { prop } from '../../utils'
|
||||
import { ComfyButton } from './button'
|
||||
|
||||
export class ComfyButtonGroup {
|
||||
element = $el('div.comfyui-button-group')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// @ts-strict-ignore
|
||||
import { prop } from '../../utils'
|
||||
import { $el } from '../../ui'
|
||||
import { applyClasses, ClassList } from '../utils'
|
||||
import { prop } from '../../utils'
|
||||
import { ClassList, applyClasses } from '../utils'
|
||||
|
||||
export class ComfyPopup extends EventTarget {
|
||||
element = $el('div.comfyui-popup')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { $el } from '../../ui'
|
||||
import { ComfyButton } from './button'
|
||||
import { prop } from '../../utils'
|
||||
import { ComfyButton } from './button'
|
||||
import { ComfyPopup } from './popup'
|
||||
|
||||
export class ComfySplitButton {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
// @ts-strict-ignore
|
||||
import { useDialogStore } from '@/stores/dialogStore'
|
||||
|
||||
import { $el } from '../ui'
|
||||
|
||||
export class ComfyDialog<
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
|
||||
import { $el } from '../ui'
|
||||
|
||||
$el('style', {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import type { ComfyApp } from '@/scripts/app'
|
||||
|
||||
import { $el } from '../../ui'
|
||||
import { ComfyButtonGroup } from '../components/buttonGroup'
|
||||
import './menu.css'
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import type { ComfyApp } from '@/scripts/app'
|
||||
import { ComfyDialog } from './dialog'
|
||||
import type { SettingParams } from '@/types/settingTypes'
|
||||
import type { Settings } from '@/types/apiTypes'
|
||||
import { useSettingStore } from '@/stores/settingStore'
|
||||
import { useToastStore } from '@/stores/toastStore'
|
||||
import type { Settings } from '@/types/apiTypes'
|
||||
import type { SettingParams } from '@/types/settingTypes'
|
||||
|
||||
import { ComfyDialog } from './dialog'
|
||||
|
||||
export class ComfySettingsDialog extends ComfyDialog<HTMLDialogElement> {
|
||||
app: ComfyApp
|
||||
|
||||
Reference in New Issue
Block a user