This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns crudis.client | |
(:require | |
["react-dom" :as rdom] | |
["react-dom/client" :refer [createRoot]] | |
["react-router-dom" :refer [DataBrowserRouter Route]] | |
[crudis.util.helix :refer [defnc]] | |
[crudis.ui.root :as root] | |
[crudis.ui.routes.countries :as countries] | |
[helix.core :refer [$]] | |
[helix.dom :as d] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns crudis.ui.root | |
(:require | |
["@tanstack/react-virtual" :refer [useVirtualizer]] | |
["react" :as React] | |
[goog.object :as gobj] | |
[helix.core :as hx :refer [defnc $ <> fnc]] | |
[helix.dom :as d :refer [div a button]] | |
[helix.hooks :as hooks :refer [use-state]] | |
[paqueta.fetch :as fetch] ;; lambdaisland fetch | |
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns jsx-to-helix.core | |
(:require | |
[clojure.data.xml :as xml] | |
[clojure.edn :as edn] | |
[clojure.java.io :as io] | |
[clojure.pprint :refer [pprint]] | |
[clojure.walk :as walk] | |
[superstring.core :as str] | |
) | |
(:import [clojure.data.xml.node Element])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns stitches.componentes.heading | |
(:require | |
["lodash.merge" :as js-merge] | |
["react" :as React] | |
[applied-science.js-interop :as j] | |
[crudis.util.helix :refer [defnc]] | |
[helix.core :refer [$]] | |
[stitches.componentes.text :refer [Text]] | |
)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns app.helix_autocomplete | |
(:require | |
["@material-ui/lab/Autocomplete" :default Autocomplete] | |
["@material-ui/core/TextField" :default TextField] | |
["react" :as r] | |
[goog.object :as gobj] | |
)) | |
(defnc AutocompleteHelix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns app.ui.contratualizacao.regra | |
(:require | |
["@material-ui/lab/Autocomplete" :default Autocomplete] | |
["@material-ui/core/TextField" :default TextField] | |
["react" :as r] | |
[goog.object :as gobj] | |
)) | |
($ ^:native | |
Autocomplete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns app.util.hooks | |
(:require | |
["react" :refer [useState]] | |
)) | |
(defn use-state | |
"A simple wrapper around React/useState. Returns a cljs vector for easy destructuring" | |
[initial-value] | |
(into-array (useState initial-value))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff build.clj ~/projetos/api/src/main/excel_templates/build.clj | |
6c6 | |
< [org.apache.poi.ss.usermodel Cell Row DateUtil WorkbookFactory] | |
--- | |
> [org.apache.poi.ss.usermodel Cell Row Row$MissingCellPolicy DateUtil WorkbookFactory CellType] | |
50c50 | |
< (= (.getCellType cell) Cell/CELL_TYPE_FORMULA)) | |
--- | |
> (= (.getCellType cell) CellType/FORMULA)) | |
63c63 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns app.renderer.core | |
(:require | |
["@material-ui/core" :refer [AppBar Toolbar Badge Hidden IconButton]] | |
["@material-ui/core/Button" :default Button] | |
["@material-ui/core/styles" :refer [createMuiTheme makeStyles ThemeProvider]] | |
["react-dom" :as rdom] | |
[app.renderer.myhelix :refer [defnc]] | |
[helix.core :as hx :refer [$ <>]] | |
[helix.dom :as d] | |
)) |