Saving changes that seem to be safe and working.
This commit is contained in:
@@ -28,6 +28,8 @@ import {
|
||||
delete_nested_ae_obj_v3
|
||||
} from '$lib/ae_api/api_post__crud_obj_v3';
|
||||
|
||||
import { get_data_store_v3 } from '$lib/ae_api/api_get__data_store_v3';
|
||||
|
||||
/**
|
||||
* Get a list of lookup objects (V2 Legacy)
|
||||
* Standardized lookup data like countries, timezones, and subdivisions.
|
||||
@@ -913,6 +915,7 @@ const obj = {
|
||||
delete_ae_obj_id_crud: delete_ae_obj_id_crud,
|
||||
download_hosted_file: download_hosted_file,
|
||||
delete_hosted_file: delete_hosted_file,
|
||||
get_data_store_v3: get_data_store_v3,
|
||||
get_data_store_obj_w_code: get_data_store_obj_w_code,
|
||||
get_ae_obj_li_for_lu: get_ae_obj_li_for_lu,
|
||||
send_email: send_email
|
||||
|
||||
@@ -445,11 +445,6 @@
|
||||
font-size: smaller;
|
||||
}
|
||||
|
||||
.file_size,
|
||||
.file_type {
|
||||
/* font-size: smaller; */
|
||||
}
|
||||
|
||||
.file_hash {
|
||||
font-family: 'Courier New', Courier, monospace;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
// This (ae) is only used for utilities
|
||||
// import { ae } from 'aether_npm_lib';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
|
||||
// These (slct_*) are only used internally for this component. Not needed???
|
||||
// import { slct_obj_id, slct_obj_li_type, slct_obj_type } from '../admin/stores_admin.js';
|
||||
|
||||
// Should these slct_* be exported???
|
||||
let slct_obj_id = $state(null);
|
||||
let slct_obj_li_type = null;
|
||||
@@ -37,31 +32,18 @@
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
/* BEGIN: Handle requests (archive, create, hide, remove, select, update, POST, PATCH, GET, DELETE) */
|
||||
/* END: Handle requests (archive, create, hide, remove, select, update, POST, PATCH, GET, DELETE) */
|
||||
|
||||
/* BEGIN: Handle other local actions (show/hide form, process data) */
|
||||
/* END: Handle other local actions (show/hide form, process data) */
|
||||
|
||||
/* BEGIN: Handle children events (archived, canceled, closed, created, deleted, hidden, updated) */
|
||||
/* END: Handle children events (archived, canceled, closed, created, deleted, hidden, updated) */
|
||||
</script>
|
||||
|
||||
<tr>
|
||||
{#if obj != null && typeof obj == 'object'}
|
||||
{#each Object.entries(obj) as [obj_prop_name, obj_prop_value]}
|
||||
<!-- NEED TO ADD A CHECK IF:
|
||||
NOTE:
|
||||
NOTE:
|
||||
NOTE and WARNING:
|
||||
|
||||
obj.id_random and obj.name then replace the ID field column with a link using obj.name
|
||||
obj.id_random and obj.name then replace the ID field column with a link using obj.name
|
||||
|
||||
This should probably go outside/before this tr loop.
|
||||
|
||||
NOTE:
|
||||
NOTE:
|
||||
-->
|
||||
This should probably go outside/before this tr loop.
|
||||
-->
|
||||
|
||||
{#if obj_prop_name.endsWith('_id_random') || obj_prop_name == 'for_type' || obj_prop_name == 'for_id'}
|
||||
{#if row_header}
|
||||
@@ -157,7 +139,6 @@
|
||||
{/if}
|
||||
</td>
|
||||
{/if}
|
||||
<!-- <td data-obj_type={primary_obj_li_type} data-obj_prop_name={obj_prop_name}>{obj_prop_value}</td> -->
|
||||
{/each}
|
||||
{:else}
|
||||
<!-- This should never happen -->
|
||||
|
||||
@@ -1,19 +1,11 @@
|
||||
<script lang="ts">
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
// *** Import Aether core variables and functions
|
||||
// *** Import Aether related
|
||||
import type { key_val } from '$lib/stores/ae_stores';
|
||||
// import { api, Element_obj_tbl_row } from 'aether_npm_lib';
|
||||
import Element_obj_tbl_row from '$lib/elements/element_obj_tbl_row.svelte';
|
||||
import { post_object } from '$lib/ae_api/api_post_object';
|
||||
|
||||
// *** Import Aether core components
|
||||
// import Element_obj_tbl_row from './element_obj_tbl_row.svelte';
|
||||
|
||||
// *** Import Aether module variables and functions
|
||||
|
||||
// *** Import Aether module components
|
||||
|
||||
interface Props {
|
||||
// *** Export/Exposed variables and functions for component
|
||||
api_cfg: any;
|
||||
|
||||
Reference in New Issue
Block a user