[Lint] Sort imports (#2104)

This commit is contained in:
Chenlei Hu
2024-12-30 17:26:37 -05:00
committed by GitHub
parent e88817ea36
commit d8f074fea0
254 changed files with 1226 additions and 943 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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')

View File

@@ -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')

View File

@@ -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 {

View File

@@ -1,5 +1,6 @@
// @ts-strict-ignore
import { useDialogStore } from '@/stores/dialogStore'
import { $el } from '../ui'
export class ComfyDialog<

View File

@@ -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', {

View File

@@ -1,4 +1,5 @@
import type { ComfyApp } from '@/scripts/app'
import { $el } from '../../ui'
import { ComfyButtonGroup } from '../components/buttonGroup'
import './menu.css'

View File

@@ -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