@ -1,12 +1,15 @@ |
|||
<script> |
|||
import ButtonGroup from "../common/ButtonGroup.svelte" |
|||
import Button from "../common/Button.svelte" |
|||
import ActionButton from "../common/ActionButton.svelte" |
|||
import { store, backendUiStore } from "../builderStore" |
|||
import { generateFullPermissions, getNewAccessLevel } from "../common/core" |
|||
import getIcon from "../common/icon" |
|||
import ButtonGroup from "components/common/ButtonGroup.svelte" |
|||
import Button from "components/common/Button.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import { store, backendUiStore } from "builderStore" |
|||
import { |
|||
generateFullPermissions, |
|||
getNewAccessLevel, |
|||
} from "components/common/core" |
|||
import getIcon from "components/common/icon" |
|||
import AccessLevelView from "./AccessLevelView.svelte" |
|||
import Modal from "../common/Modal.svelte" |
|||
import Modal from "components/common/Modal.svelte" |
|||
|
|||
let editingLevel = null |
|||
let editingLevelIsNew = false |
|||
@ -1,12 +1,12 @@ |
|||
<script> |
|||
import Textbox from "../common/Textbox.svelte" |
|||
import Button from "../common/Button.svelte" |
|||
import ActionButton from "../common/ActionButton.svelte" |
|||
import ButtonGroup from "../common/ButtonGroup.svelte" |
|||
import Textbox from "components/common/Textbox.svelte" |
|||
import Button from "components/common/Button.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import ButtonGroup from "components/common/ButtonGroup.svelte" |
|||
import { cloneDeep, filter, keys, map, isUndefined } from "lodash/fp" |
|||
import ErrorsBox from "../common/ErrorsBox.svelte" |
|||
import { validateActions, pipe } from "../common/core" |
|||
import getIcon from "../common/icon" |
|||
import ErrorsBox from "components/common/ErrorsBox.svelte" |
|||
import { validateActions, pipe } from "components/common/core" |
|||
import getIcon from "components/common/icon" |
|||
|
|||
export let action |
|||
export let onFinished = action => {} |
|||
@ -1,11 +1,11 @@ |
|||
<script> |
|||
import getIcon from "../common/icon" |
|||
import { store } from "../builderStore" |
|||
import Button from "../common/Button.svelte" |
|||
import ButtonGroup from "../common/ButtonGroup.svelte" |
|||
import getIcon from "components/common/icon" |
|||
import { store } from "builderStore" |
|||
import Button from "components/common/Button.svelte" |
|||
import ButtonGroup from "components/common/ButtonGroup.svelte" |
|||
import ActionView from "./ActionView.svelte" |
|||
import Modal from "../common/Modal.svelte" |
|||
import { pipe } from "../common/core" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import { pipe } from "components/common/core" |
|||
import { keys, map, join } from "lodash/fp" |
|||
|
|||
export let editingActionIsNew = false |
|||
@ -1,8 +1,8 @@ |
|||
<script> |
|||
import { store } from "../builderStore" |
|||
import getIcon from "../common/icon" |
|||
import Button from "../common/Button.svelte" |
|||
import Modal from "../common/Modal.svelte" |
|||
import { store } from "builderStore" |
|||
import getIcon from "components/common/icon" |
|||
import Button from "components/common/Button.svelte" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import TriggerView from "./TriggerView.svelte" |
|||
|
|||
export let editingTrigger = null |
|||
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 213 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 254 B After Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 250 B After Width: | Height: | Size: 250 B |
|
Before Width: | Height: | Size: 251 B After Width: | Height: | Size: 251 B |
|
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
|
Before Width: | Height: | Size: 379 B After Width: | Height: | Size: 379 B |
|
Before Width: | Height: | Size: 228 B After Width: | Height: | Size: 228 B |
|
Before Width: | Height: | Size: 388 B After Width: | Height: | Size: 388 B |
|
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 430 B |
|
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 448 B After Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 447 B After Width: | Height: | Size: 447 B |
|
Before Width: | Height: | Size: 362 B After Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 263 B |
|
Before Width: | Height: | Size: 387 B After Width: | Height: | Size: 387 B |
|
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 372 B |
|
Before Width: | Height: | Size: 320 B After Width: | Height: | Size: 320 B |
@ -1,7 +1,7 @@ |
|||
import { eventHandlers } from "../../../client/src/state/eventHandlers" |
|||
import { eventHandlers } from "../../../../client/src/state/eventHandlers" |
|||
import { writable } from "svelte/store" |
|||
export { EVENT_TYPE_MEMBER_NAME } from "../../../client/src/state/eventHandlers" |
|||
import { createCoreApi } from "../../../client/src/core" |
|||
export { EVENT_TYPE_MEMBER_NAME } from "../../../../client/src/state/eventHandlers" |
|||
import { createCoreApi } from "../../../../client/src/core" |
|||
|
|||
export const allHandlers = (appDefinition, user) => { |
|||
const coreApi = createCoreApi(appDefinition, user) |
|||
@ -1,13 +1,16 @@ |
|||
<script> |
|||
import Textbox from "../common/Textbox.svelte" |
|||
import CodeArea from "../common/CodeArea.svelte" |
|||
import Button from "../common/Button.svelte" |
|||
import Dropdown from "../common/Dropdown.svelte" |
|||
import { store } from "../builderStore" |
|||
import Textbox from "components/common/Textbox.svelte" |
|||
import CodeArea from "components/common/CodeArea.svelte" |
|||
import Button from "components/common/Button.svelte" |
|||
import Dropdown from "components/common/Dropdown.svelte" |
|||
import { store } from "builderStore" |
|||
import { filter, some, map, compose } from "lodash/fp" |
|||
import { hierarchy as hierarchyFunctions, common } from "../../../core/src" |
|||
import ErrorsBox from "../common/ErrorsBox.svelte" |
|||
import ActionButton from "../common/ActionButton.svelte" |
|||
import { |
|||
hierarchy as hierarchyFunctions, |
|||
common, |
|||
} from "../../../../core/src/" |
|||
import ErrorsBox from "components/common/ErrorsBox.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
|
|||
const SNIPPET_EDITORS = { |
|||
MAP: "Map", |
|||
@ -1,5 +1,5 @@ |
|||
<script> |
|||
import { backendUiStore } from "../../builderStore" |
|||
import { backendUiStore } from "builderStore" |
|||
|
|||
export let data |
|||
export let currentPage |
|||
@ -1,5 +1,5 @@ |
|||
import api from "../../builderStore/api" |
|||
import { getNewRecord, getNewInstance } from "../../common/core" |
|||
import api from "builderStore/api" |
|||
import { getNewRecord, getNewInstance } from "components/common/core" |
|||
|
|||
export async function createUser(password, user, { appname, instanceId }) { |
|||
const CREATE_USER_URL = `/_builder/instance/${appname}/${instanceId}/api/createUser` |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import Modal from "../../../common/Modal.svelte" |
|||
import { store } from "../../../builderStore" |
|||
import ActionButton from "../../../common/ActionButton.svelte" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import { store } from "builderStore" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import * as api from "../api" |
|||
|
|||
export let onClosed |
|||
@ -0,0 +1,11 @@ |
|||
<script> |
|||
import Modal from "components/common/Modal.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import { backendUiStore } from "builderStore" |
|||
import ModelView from "../../ModelView.svelte" |
|||
import * as api from "../api" |
|||
</script> |
|||
|
|||
<section> |
|||
<ModelView /> |
|||
</section> |
|||
@ -1,18 +1,18 @@ |
|||
<script> |
|||
import { onMount } from "svelte" |
|||
import { store, backendUiStore } from "../../../builderStore" |
|||
import { store, backendUiStore } from "builderStore" |
|||
import { compose, map, get, flatten } from "lodash/fp" |
|||
import Modal from "../../../common/Modal.svelte" |
|||
import ActionButton from "../../../common/ActionButton.svelte" |
|||
import Select from "../../../common/Select.svelte" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import Select from "components/common/Select.svelte" |
|||
import { |
|||
getNewRecord, |
|||
joinKey, |
|||
getExactNodeForKey, |
|||
} from "../../../common/core" |
|||
} from "components/common/core" |
|||
import RecordFieldControl from "./RecordFieldControl.svelte" |
|||
import * as api from "../api" |
|||
import ErrorsBox from "../../../common/ErrorsBox.svelte" |
|||
import ErrorsBox from "components/common/ErrorsBox.svelte" |
|||
|
|||
export let record |
|||
export let onClosed |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import Modal from "../../../common/Modal.svelte" |
|||
import { store, backendUiStore } from "../../../builderStore" |
|||
import ActionButton from "../../../common/ActionButton.svelte" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import { store, backendUiStore } from "builderStore" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import * as api from "../api" |
|||
|
|||
export let onClosed |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import Modal from "../../../common/Modal.svelte" |
|||
import ActionButton from "../../../common/ActionButton.svelte" |
|||
import { store, backendUiStore } from "../../../builderStore" |
|||
import Modal from "components/common/Modal.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import { store, backendUiStore } from "builderStore" |
|||
import * as api from "../api" |
|||
|
|||
export let record |
|||
@ -1,6 +1,6 @@ |
|||
<script> |
|||
import getIcon from "../common/icon" |
|||
import { backendUiStore } from "../builderStore" |
|||
import { backendUiStore } from "builderStore" |
|||
|
|||
export let name = "" |
|||
export let label = "" |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import { onMount } from "svelte" |
|||
import { store, backendUiStore } from "../builderStore" |
|||
import api from "../builderStore/api" |
|||
import { store, backendUiStore } from "builderStore" |
|||
import api from "builderStore/api" |
|||
import getIcon from "../common/icon" |
|||
import { CheckIcon } from "../common/Icons" |
|||
|
|||
@ -1,8 +1,8 @@ |
|||
<script> |
|||
import { store } from "../builderStore" |
|||
import { store } from "builderStore" |
|||
import UIkit from "uikit" |
|||
import ActionButton from "../common/ActionButton.svelte" |
|||
import ButtonGroup from "../common/ButtonGroup.svelte" |
|||
import ActionButton from "components/common/ActionButton.svelte" |
|||
import ButtonGroup from "components/common/ButtonGroup.svelte" |
|||
import CodeMirror from "codemirror" |
|||
import "codemirror/mode/javascript/javascript.js" |
|||
|
|||
@ -1,15 +1,15 @@ |
|||
<script> |
|||
import PropsView from "./PropsView.svelte" |
|||
import StateBindingControl from "./StateBindingControl.svelte" |
|||
import { store } from "../builderStore" |
|||
import IconButton from "../common/IconButton.svelte" |
|||
import { store } from "builderStore" |
|||
import IconButton from "components/common/IconButton.svelte" |
|||
import { |
|||
LayoutIcon, |
|||
PaintIcon, |
|||
TerminalIcon, |
|||
CircleIndicator, |
|||
EventsIcon, |
|||
} from "../common/Icons/" |
|||
} from "components/common/Icons/" |
|||
import CodeEditor from "./CodeEditor.svelte" |
|||
import LayoutEditor from "./LayoutEditor.svelte" |
|||
import EventsEditor from "./EventsEditor" |
|||