Browse Source
Merge pull request #356 from Budibase/unauth-pages
embed component, rename main and login to public and private
pull/357/head
Martin McKeaveney
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
27 additions and
2 deletions
-
packages/builder/src/components/userInterface/PagesList.svelte
-
packages/builder/src/components/userInterface/temporaryPanelStructure.js
-
packages/standard-components/components.json
-
packages/standard-components/src/Embed.svelte
-
packages/standard-components/src/index.js
|
|
|
@ -9,11 +9,11 @@ |
|
|
|
|
|
|
|
const pages = [ |
|
|
|
{ |
|
|
|
title: "Main", |
|
|
|
title: "Private", |
|
|
|
id: "main", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "Login", |
|
|
|
title: "Public", |
|
|
|
id: "unauthenticated", |
|
|
|
}, |
|
|
|
] |
|
|
|
|
|
|
|
@ -11,6 +11,18 @@ export default { |
|
|
|
name: "Basic", |
|
|
|
isCategory: true, |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
_component: "@budibase/standard-components/embed", |
|
|
|
icon: "ri-code-line", |
|
|
|
name: "Embed", |
|
|
|
description: "Embed content from 3rd party sources", |
|
|
|
properties: { |
|
|
|
design: { |
|
|
|
...all, |
|
|
|
}, |
|
|
|
settings: [{ label: "Embed", key: "embed", control: Input }], |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
_component: "@budibase/standard-components/container", |
|
|
|
name: "Container", |
|
|
|
|
|
|
|
@ -6,6 +6,13 @@ |
|
|
|
"component": "button" |
|
|
|
} |
|
|
|
}, |
|
|
|
"embed": { |
|
|
|
"name": "Embed", |
|
|
|
"description": "Embed stuff", |
|
|
|
"props": { |
|
|
|
"embed": "string" |
|
|
|
} |
|
|
|
}, |
|
|
|
"Navigation": { |
|
|
|
"name": "Navigation", |
|
|
|
"description": "A basic header navigation component", |
|
|
|
|
|
|
|
@ -0,0 +1,5 @@ |
|
|
|
<script> |
|
|
|
export let embed |
|
|
|
</script> |
|
|
|
|
|
|
|
{@html embed} |
|
|
|
@ -21,3 +21,4 @@ export { default as datalist } from "./DataList.svelte" |
|
|
|
export { default as list } from "./List.svelte" |
|
|
|
export { default as datasearch } from "./DataSearch.svelte" |
|
|
|
export { default as datamap } from "./DataMap.svelte" |
|
|
|
export { default as embed } from "./Embed.svelte" |
|
|
|
|