mirror of https://github.com/Budibase/budibase.git
114 changed files with 1454 additions and 920 deletions
@ -1,9 +1,8 @@ |
|||
<script> |
|||
import { getContext } from "svelte" |
|||
import { Heading, Icon } from "@budibase/bbui" |
|||
import { routeStore } from "../../client/src/store" |
|||
|
|||
const { styleable, linkable, builderStore } = getContext("sdk") |
|||
const { routeStore, styleable, linkable, builderStore } = getContext("sdk") |
|||
const component = getContext("component") |
|||
|
|||
export let title |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import { getContext, setContext, onMount } from "svelte" |
|||
import { dataSourceStore, createContextStore } from "../store" |
|||
import { ActionTypes } from "../constants" |
|||
import { dataSourceStore, createContextStore } from "stores" |
|||
import { ActionTypes } from "constants" |
|||
import { generate } from "shortid" |
|||
|
|||
export let data |
|||
@ -1,7 +1,7 @@ |
|||
<script> |
|||
import Provider from "./Provider.svelte" |
|||
import { authStore } from "../store" |
|||
import { ActionTypes, TableNames } from "../constants" |
|||
import { authStore } from "stores" |
|||
import { ActionTypes, TableNames } from "constants" |
|||
|
|||
// Register this as a refreshable datasource so that user changes cause |
|||
// the user object to be refreshed |
|||
@ -1,5 +1,5 @@ |
|||
<script> |
|||
import { confirmationStore } from "../store" |
|||
import { confirmationStore } from "stores" |
|||
import { Modal, ModalContent } from "@budibase/bbui" |
|||
</script> |
|||
|
|||
@ -1,5 +1,5 @@ |
|||
<script> |
|||
import { notificationStore } from "../store" |
|||
import { notificationStore } from "stores" |
|||
import { Notification } from "@budibase/bbui" |
|||
import { fly } from "svelte/transition" |
|||
</script> |
|||
@ -1,5 +1,5 @@ |
|||
import { writable, derived } from "svelte/store" |
|||
import Manifest from "@budibase/standard-components/manifest.json" |
|||
import Manifest from "manifest.json" |
|||
import { findComponentById, findComponentPathById } from "../utils/components" |
|||
|
|||
const dispatchEvent = (type, data = {}) => { |
|||
@ -1,12 +0,0 @@ |
|||
export const hashString = str => { |
|||
if (!str) { |
|||
return 0 |
|||
} |
|||
let hash = 0 |
|||
for (let i = 0; i < str.length; i++) { |
|||
let char = str.charCodeAt(i) |
|||
hash = (hash << 5) - hash + char |
|||
hash = hash & hash // Convert to 32bit integer
|
|||
} |
|||
return hash |
|||
} |
|||
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue