Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c43c29eb14 | |||
| 0c00f76657 | |||
| 4165bfb95d | |||
| 570dbf747e | |||
| 14cbd0a845 | |||
| c99634bb46 |
Vendored
+1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
-1
File diff suppressed because one or more lines are too long
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"main.js": {
|
"main.js": {
|
||||||
"file": "assets/main-B-nfEWyS.js",
|
"file": "assets/main-BtcBvcC_.js",
|
||||||
"name": "main",
|
"name": "main",
|
||||||
"src": "main.js",
|
"src": "main.js",
|
||||||
"isEntry": true,
|
"isEntry": true,
|
||||||
"css": [
|
"css": [
|
||||||
"assets/main-CaexgiEy.css"
|
"assets/main-BWRwkaBb.css"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -4,10 +4,10 @@
|
|||||||
|
|
||||||
const channel = getContext("channel");
|
const channel = getContext("channel");
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
|
||||||
export let inModal;
|
export let inModal;
|
||||||
export let modalUrl;
|
export let modalUrl;
|
||||||
const url = new URL(modalUrl ?? window.location.href);
|
const url = new URL(modalUrl ?? window.location.href);
|
||||||
|
|
||||||
function removeFilter(k) {
|
function removeFilter(k) {
|
||||||
|
|
||||||
const url = new URL(modalUrl ?? window.location.href);
|
const url = new URL(modalUrl ?? window.location.href);
|
||||||
|
|||||||
@@ -135,13 +135,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{#if Object.entries(filter).length > 0}
|
<div class="applied-filters">
|
||||||
<div class="applied-filters">
|
<AppliedFilterNotLinked
|
||||||
<AppliedFilterNotLinked
|
{inModal}
|
||||||
{inModal}
|
{modalUrl}
|
||||||
{modalUrl}
|
on:refresh
|
||||||
on:refresh
|
></AppliedFilterNotLinked>
|
||||||
/>
|
{#if Object.entries(filter).length > 0}
|
||||||
{#each Object.entries(filter) as [k, v]}
|
{#each Object.entries(filter) as [k, v]}
|
||||||
<AppliedFilter
|
<AppliedFilter
|
||||||
{schema}
|
{schema}
|
||||||
@@ -154,6 +154,7 @@
|
|||||||
on:refresh
|
on:refresh
|
||||||
/>
|
/>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
{/if}
|
||||||
{/if}
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -100,9 +100,9 @@
|
|||||||
|
|
||||||
<DialogRecord bind:this={dialogRecord}>
|
<DialogRecord bind:this={dialogRecord}>
|
||||||
{#if inLineCreateRecord}
|
{#if inLineCreateRecord}
|
||||||
|
|
||||||
<InlineEdit
|
<InlineEdit
|
||||||
{...inLineCreateRecord}
|
{...inLineCreateRecord}
|
||||||
|
isCreateMode={true}
|
||||||
on:cancel={(e) => (inLineCreateRecord = null)}
|
on:cancel={(e) => (inLineCreateRecord = null)}
|
||||||
on:inlinesaved={save}
|
on:inlinesaved={save}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
margin: 6px 0;
|
margin: 6px 0;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
|
|
||||||
.button {
|
.button:not(.primary) {
|
||||||
background: var(--p30);
|
background: var(--p30);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
@@ -53,9 +53,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
dialog {
|
dialog {
|
||||||
.button {
|
.button:not(.primary) {
|
||||||
background: var(--p20);
|
background: var(--p20);
|
||||||
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: var(--p30);
|
background: var(--p30);
|
||||||
}
|
}
|
||||||
@@ -143,3 +144,4 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
background: var(--p20);
|
background: var(--p20);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 3px;
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-header {
|
.sidebar-header {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
@if(config("lucent.env") === "production")
|
@if(config("lucent.env") === "production")
|
||||||
<!-- if production -->
|
<!-- if production -->
|
||||||
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.css']["file"] }}"/>
|
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.js']["css"][0] }}"/>
|
||||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
||||||
@else
|
@else
|
||||||
<!-- if development -->
|
<!-- if development -->
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<title>@yield('title') - Lucent Data Platform</title>
|
<title>@yield('title') - Lucent Data Platform</title>
|
||||||
@if(config("lucent.env") == "production")
|
@if(config("lucent.env") == "production")
|
||||||
<!-- if production -->
|
<!-- if production -->
|
||||||
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.css']["file"] }}"/>
|
<link rel="stylesheet" href="/vendor/lucent/dist/{{ $manifest['main.js']["css"][0] }}"/>
|
||||||
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
<script type="module" src="/vendor/lucent/dist/{{ $manifest['main.js']["file"] }}"></script>
|
||||||
@else
|
@else
|
||||||
<!-- if development -->
|
<!-- if development -->
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ export default defineConfig({
|
|||||||
|
|
||||||
outDir: '../dist',
|
outDir: '../dist',
|
||||||
emptyOutDir: true,
|
emptyOutDir: true,
|
||||||
manifest: true,
|
manifest: "manifest.json",
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
// overwrite default .html entry
|
// overwrite default .html entry
|
||||||
input: path.resolve(__dirname, 'js/main.js')
|
input: path.resolve(__dirname, 'js/main.js')
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ return new class extends Migration {
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function down()
|
public function down
|
||||||
{
|
{
|
||||||
Schema::table('records', function (Blueprint $table) {
|
Schema::table('records', function (Blueprint $table) {
|
||||||
$table->dropColumn('search');
|
$table->dropColumn('search');
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class BuildController extends Controller
|
|||||||
unlink($buildLogFile);
|
unlink($buildLogFile);
|
||||||
}
|
}
|
||||||
|
|
||||||
exec("cd " . base_path() . " && php8.2 artisan {$this->channelService->channel->generateCommand} > " . $buildLogFile . " 2>&1 & echo $!", $op);
|
exec("cd " . base_path() . " && php8.3 artisan {$this->channelService->channel->generateCommand} > " . $buildLogFile . " 2>&1 & echo $!", $op);
|
||||||
$pid = (int)$op[0];
|
$pid = (int)$op[0];
|
||||||
return redirect($this->channelService->channel->lucentUrl . "/build-report");
|
return redirect($this->channelService->channel->lucentUrl . "/build-report");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -261,6 +261,12 @@ final class Query
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function onlyPublished(): Query
|
||||||
|
{
|
||||||
|
$this->options->status = ["published"];
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
public
|
public
|
||||||
function orderByQuery(Builder $query): Builder
|
function orderByQuery(Builder $query): Builder
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user