sveltekit-ui 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/TableAdvanced/SortByInput/index.svelte.js +1 -0
- package/dist/Components/TableAdvanced/index.svelte.js +1 -1
- package/package.json +1 -1
- package/src/lib/Components/TableAdvanced/SortByInput/index.svelte.js +1 -0
- package/src/lib/Components/TableAdvanced/index.svelte.js +1 -1
- package/src/routes/[component]/Showcase/TableAdvanced/index.svelte +6 -1
|
@@ -76,6 +76,7 @@ export function create_sort_by_input_manager(config) {
|
|
|
76
76
|
popover_manager = create_popover_manager({
|
|
77
77
|
header: "Sort By",
|
|
78
78
|
type: "dropdown",
|
|
79
|
+
target_height: 300,
|
|
79
80
|
anchor_id: () =>
|
|
80
81
|
is_show_popover_toggle_button ? `button_${popover_toggle_button_manager?.id}` : popover_anchor_id,
|
|
81
82
|
})
|
|
@@ -748,7 +748,7 @@ export function create_table_advanced_manager(config) {
|
|
|
748
748
|
table_id = config?.table_id
|
|
749
749
|
table_name = config?.table_name
|
|
750
750
|
table_description = config?.table_description
|
|
751
|
-
sort_by = config?.
|
|
751
|
+
sort_by = config?.sort_by
|
|
752
752
|
rows_data_from_variable_path = config?.rows_data_from_variable_path
|
|
753
753
|
row_iter_identifier = config?.row_iter_identifier ?? "row_i"
|
|
754
754
|
definition_stack = config?.definition_stack
|
package/package.json
CHANGED
|
@@ -76,6 +76,7 @@ export function create_sort_by_input_manager(config) {
|
|
|
76
76
|
popover_manager = create_popover_manager({
|
|
77
77
|
header: "Sort By",
|
|
78
78
|
type: "dropdown",
|
|
79
|
+
target_height: 300,
|
|
79
80
|
anchor_id: () =>
|
|
80
81
|
is_show_popover_toggle_button ? `button_${popover_toggle_button_manager?.id}` : popover_anchor_id,
|
|
81
82
|
})
|
|
@@ -748,7 +748,7 @@ export function create_table_advanced_manager(config) {
|
|
|
748
748
|
table_id = config?.table_id
|
|
749
749
|
table_name = config?.table_name
|
|
750
750
|
table_description = config?.table_description
|
|
751
|
-
sort_by = config?.
|
|
751
|
+
sort_by = config?.sort_by
|
|
752
752
|
rows_data_from_variable_path = config?.rows_data_from_variable_path
|
|
753
753
|
row_iter_identifier = config?.row_iter_identifier ?? "row_i"
|
|
754
754
|
definition_stack = config?.definition_stack
|
|
@@ -451,7 +451,12 @@
|
|
|
451
451
|
row_input_content: data?.row_input_content,
|
|
452
452
|
// storage_items: null,
|
|
453
453
|
// storage_default_folder_path: null,
|
|
454
|
-
|
|
454
|
+
sort_by: [
|
|
455
|
+
{
|
|
456
|
+
is_ascending: true,
|
|
457
|
+
variable_path: ["first_name"],
|
|
458
|
+
},
|
|
459
|
+
],
|
|
455
460
|
is_data_editable: true,
|
|
456
461
|
is_paginate: true,
|
|
457
462
|
nav_items: [
|