|
|
@@ -1,58 +1,52 @@
|
|
|
(ns frontend.components.block
|
|
|
(:refer-clojure :exclude [range])
|
|
|
- (:require [frontend.config :as config]
|
|
|
- [cljs.core.match :refer-macros [match]]
|
|
|
- [promesa.core :as p]
|
|
|
- [frontend.fs :as fs]
|
|
|
+ (:require ["/frontend/utils" :as utils]
|
|
|
+ [cljs-bean.core :as bean]
|
|
|
+ [cljs.core.match :refer [match]]
|
|
|
+ [cljs.reader :as reader]
|
|
|
[clojure.string :as string]
|
|
|
- [frontend.util :as util]
|
|
|
- [rum.core :as rum]
|
|
|
- [frontend.state :as state]
|
|
|
- [frontend.db :as db]
|
|
|
- [frontend.db.model :as model]
|
|
|
- [frontend.db.query-dsl :as query-dsl]
|
|
|
- [dommy.core :as d]
|
|
|
+ [clojure.walk :as walk]
|
|
|
[datascript.core :as dc]
|
|
|
- [goog.dom :as gdom]
|
|
|
- [frontend.components.svg :as svg]
|
|
|
+ [dommy.core :as d]
|
|
|
+ [frontend.commands :as commands]
|
|
|
[frontend.components.datetime :as datetime-comp]
|
|
|
- [frontend.ui :as ui]
|
|
|
- [frontend.handler.editor :as editor-handler]
|
|
|
- [frontend.handler.block :as block-handler]
|
|
|
- [frontend.handler.route :as route-handler]
|
|
|
- [frontend.handler.dnd :as dnd]
|
|
|
- [frontend.handler.ui :as ui-handler]
|
|
|
- [frontend.handler.repeated :as repeated]
|
|
|
- [goog.object :as gobj]
|
|
|
- [medley.core :as medley]
|
|
|
- [cljs.reader :as reader]
|
|
|
- [frontend.util :as util :refer-macros [profile]]
|
|
|
- [frontend.db-mixins :as db-mixins]
|
|
|
- [frontend.extensions.latex :as latex]
|
|
|
[frontend.components.lazy-editor :as lazy-editor]
|
|
|
+ [frontend.components.svg :as svg]
|
|
|
+ [frontend.config :as config]
|
|
|
+ [frontend.context.i18n :as i18n]
|
|
|
+ [frontend.date :as date]
|
|
|
+ [frontend.db :as db]
|
|
|
+ [frontend.db-mixins :as db-mixins]
|
|
|
+ [frontend.db.model :as model]
|
|
|
+ [frontend.db.query-dsl :as query-dsl]
|
|
|
[frontend.extensions.highlight :as highlight]
|
|
|
+ [frontend.extensions.latex :as latex]
|
|
|
[frontend.extensions.sci :as sci]
|
|
|
- ["/frontend/utils" :as utils]
|
|
|
[frontend.format.block :as block]
|
|
|
- [clojure.walk :as walk]
|
|
|
- [cljs-bean.core :as bean]
|
|
|
- [frontend.handler.image :as image-handler]
|
|
|
[frontend.format.mldoc :as mldoc]
|
|
|
+ [frontend.handler.block :as block-handler]
|
|
|
+ [frontend.handler.dnd :as dnd]
|
|
|
+ [frontend.handler.editor :as editor-handler]
|
|
|
+ [frontend.handler.repeated :as repeated]
|
|
|
+ [frontend.handler.route :as route-handler]
|
|
|
+ [frontend.handler.ui :as ui-handler]
|
|
|
+ [frontend.modules.outliner.tree :as tree]
|
|
|
+ [frontend.search :as search]
|
|
|
+ [frontend.security :as security]
|
|
|
+ [frontend.state :as state]
|
|
|
+ [frontend.template :as template]
|
|
|
[frontend.text :as text]
|
|
|
+ [frontend.ui :as ui]
|
|
|
+ [frontend.util :as util]
|
|
|
[frontend.util.property :as property]
|
|
|
- [frontend.utf8 :as utf8]
|
|
|
- [frontend.date :as date]
|
|
|
- [frontend.security :as security]
|
|
|
- [reitit.frontend.easy :as rfe]
|
|
|
- [frontend.commands :as commands]
|
|
|
+ [goog.dom :as gdom]
|
|
|
+ [goog.object :as gobj]
|
|
|
[lambdaisland.glogi :as log]
|
|
|
- [frontend.context.i18n :as i18n]
|
|
|
- [frontend.template :as template]
|
|
|
- [shadow.loader :as loader]
|
|
|
- [frontend.search :as search]
|
|
|
- [frontend.debug :as debug]
|
|
|
- [frontend.modules.outliner.tree :as tree]
|
|
|
- [clojure.walk :as walk]))
|
|
|
+ [medley.core :as medley]
|
|
|
+ [promesa.core :as p]
|
|
|
+ [reitit.frontend.easy :as rfe]
|
|
|
+ [rum.core :as rum]
|
|
|
+ [shadow.loader :as loader]))
|
|
|
|
|
|
;; TODO: remove rum/with-context because it'll make reactive queries not working
|
|
|
|