@shwfed/config 2.12.18 → 3.0.0

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.
Files changed (59) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue +17 -11
  3. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
  4. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
  5. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
  6. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
  7. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +34 -34
  8. package/dist/runtime/components/config/footer.vue +14 -8
  9. package/dist/runtime/components/config/index.d.vue.ts +1 -0
  10. package/dist/runtime/components/config/index.vue +30 -2
  11. package/dist/runtime/components/config/index.vue.d.ts +1 -0
  12. package/dist/runtime/components/config/use-editor.d.ts +12 -1
  13. package/dist/runtime/components/config/use-editor.js +47 -24
  14. package/dist/runtime/components/config/use-unsaved-guard.d.ts +1 -0
  15. package/dist/runtime/components/config/use-unsaved-guard.js +8 -0
  16. package/dist/runtime/components/modal.d.vue.ts +8 -8
  17. package/dist/runtime/components/modal.vue +9 -1
  18. package/dist/runtime/components/modal.vue.d.ts +8 -8
  19. package/dist/runtime/components/sidebar/footer.vue +13 -7
  20. package/dist/runtime/components/sidebar/index.d.vue.ts +1 -0
  21. package/dist/runtime/components/sidebar/index.vue +30 -2
  22. package/dist/runtime/components/sidebar/index.vue.d.ts +1 -0
  23. package/dist/runtime/components/sidebar/use-editor.d.ts +11 -1
  24. package/dist/runtime/components/sidebar/use-editor.js +38 -17
  25. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  26. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  27. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  28. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  29. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  30. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  31. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  32. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  33. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  34. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  35. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  36. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  37. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  38. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  39. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  40. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  41. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  42. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  43. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  44. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  45. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  46. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  47. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  48. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  49. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  50. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  51. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  52. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  53. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  54. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  55. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  56. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  57. package/dist/runtime/components/table/schema.d.ts +68 -68
  58. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +4 -1
  59. package/package.json +1 -1
@@ -7,15 +7,12 @@ const props = defineProps({
7
7
  });
8
8
  const emit = defineEmits(["close"]);
9
9
  function onDismiss() {
10
+ if (props.state.saving.value) return;
10
11
  props.state.dismiss();
11
12
  emit("close");
12
13
  }
13
- function onConfirm() {
14
- const errorBefore = props.state.validationError.value;
15
- props.state.confirm();
16
- const errorAfter = props.state.validationError.value;
17
- if (errorAfter && errorAfter !== errorBefore) return;
18
- if (!errorAfter) emit("close");
14
+ async function onConfirm() {
15
+ if (await props.state.confirm()) emit("close");
19
16
  }
20
17
  </script>
21
18
 
@@ -26,11 +23,16 @@ function onConfirm() {
26
23
  v-if="props.state.validationError.value"
27
24
  class="text-red-500 break-all"
28
25
  >{{ props.state.validationError.value }}</span>
26
+ <span
27
+ v-if="props.state.saveError.value"
28
+ class="text-red-500 break-all"
29
+ >{{ props.state.saveError.value }}</span>
29
30
  </div>
30
31
  <Button
31
32
  type="button"
32
33
  variant="default"
33
34
  size="sm"
35
+ :disabled="props.state.saving.value"
34
36
  @click="onDismiss"
35
37
  >
36
38
  <Icon icon="fluent:dismiss-20-regular" />
@@ -40,9 +42,13 @@ function onConfirm() {
40
42
  type="button"
41
43
  variant="primary"
42
44
  size="sm"
45
+ :disabled="props.state.saving.value"
43
46
  @click="onConfirm"
44
47
  >
45
- <Icon icon="fluent:checkmark-20-regular" />
48
+ <Icon
49
+ :icon="props.state.saving.value ? 'fluent:arrow-sync-20-regular' : 'fluent:checkmark-20-regular'"
50
+ :class="props.state.saving.value ? 'animate-spin' : ''"
51
+ />
46
52
  确认
47
53
  </Button>
48
54
  </div>
@@ -3,6 +3,7 @@ import { type SidebarConfigValue } from './schema.js';
3
3
  type __VLS_Props = {
4
4
  configure?: (env: Environment) => void;
5
5
  editable?: boolean;
6
+ save?: (config: SidebarConfigValue) => void | Promise<void>;
6
7
  storageKey?: string;
7
8
  collapsible?: 'offcanvas' | 'icon' | 'none';
8
9
  width?: string;
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { computed, ref, watch } from "vue";
3
+ import { Icon } from "@iconify/vue";
3
4
  import { useLocalStorage } from "@vueuse/core";
4
5
  import { useRuntimeConfig } from "#app";
5
6
  import { injectCELContext } from "../../utils/cel-context";
@@ -9,6 +10,7 @@ import SidebarTree from "./tree.vue";
9
10
  import EditorBody from "./config.vue";
10
11
  import EditorFooter from "./footer.vue";
11
12
  import { useSidebarEditor } from "./use-editor";
13
+ import { useUnsavedChangesGuard } from "../config/use-unsaved-guard";
12
14
  import { createSidebarConfig } from "./schema";
13
15
  defineOptions({ name: "ShwfedSidebar" });
14
16
  const configModel = defineModel("config", { type: null });
@@ -21,6 +23,7 @@ const config = computed({
21
23
  const props = defineProps({
22
24
  configure: { type: Function, required: false },
23
25
  editable: { type: Boolean, required: false },
26
+ save: { type: Function, required: false },
24
27
  storageKey: { type: String, required: false },
25
28
  collapsible: { type: String, required: false, default: "none" },
26
29
  width: { type: String, required: false, default: "13rem" }
@@ -83,10 +86,16 @@ const mergedConfigure = (env) => {
83
86
  const editorOpen = ref(false);
84
87
  const editorState = useSidebarEditor(config, {
85
88
  configure: mergedConfigure,
89
+ // Presence decided once at setup; the wrapper reads the current prop per
90
+ // call so a rebound handler identity stays honored (mirrors config/index.vue).
91
+ save: props.save ? (cfg) => props.save(cfg) : void 0,
86
92
  onClose: () => {
87
93
  editorOpen.value = false;
88
94
  }
89
95
  });
96
+ useUnsavedChangesGuard(
97
+ () => props.editable === true && (editorState.isDirty.value || editorState.saving.value)
98
+ );
90
99
  watch(editorOpen, (open, prev) => {
91
100
  if (open && !prev) editorState.reset();
92
101
  });
@@ -137,11 +146,16 @@ function onRootClick(event) {
137
146
  </SidebarProvider>
138
147
  </div>
139
148
 
149
+ <!-- While the draft is dirty (or a save is in flight) the modal refuses
150
+ casual dismissal — Esc, outside-click, and the × button all drop the
151
+ session on the reopen re-anchor above. The explicit footer exits
152
+ (取消 discards, 确认 saves) remain the only ways out of a dirty
153
+ session. Mirrors `config/index.vue`. -->
140
154
  <ShwfedModal
141
155
  v-if="editable"
142
156
  v-model:open="editorOpen"
143
157
  content-width="min(52rem, 92vw)"
144
- :dismissible="true"
158
+ :dismissible="!editorState.isDirty.value && !editorState.saving.value"
145
159
  >
146
160
  <template #title>
147
161
  导航侧栏
@@ -149,7 +163,21 @@ function onRootClick(event) {
149
163
  <template #description>
150
164
  <span class="sr-only">编辑导航侧栏配置</span>
151
165
  </template>
152
- <EditorBody :state="editorState" />
166
+ <!-- The overlay freezes the form while the host save runs: an edit
167
+ landing mid-save would be silently clobbered by the post-commit
168
+ draft re-anchor. -->
169
+ <div class="relative">
170
+ <EditorBody :state="editorState" />
171
+ <div
172
+ v-if="editorState.saving.value"
173
+ class="absolute inset-0 z-20 flex items-center justify-center bg-white/60"
174
+ >
175
+ <Icon
176
+ icon="fluent:arrow-sync-20-regular"
177
+ class="animate-spin text-2xl text-zinc-500"
178
+ />
179
+ </div>
180
+ </div>
153
181
  <template #footer>
154
182
  <EditorFooter
155
183
  :state="editorState"
@@ -3,6 +3,7 @@ import { type SidebarConfigValue } from './schema.js';
3
3
  type __VLS_Props = {
4
4
  configure?: (env: Environment) => void;
5
5
  editable?: boolean;
6
+ save?: (config: SidebarConfigValue) => void | Promise<void>;
6
7
  storageKey?: string;
7
8
  collapsible?: 'offcanvas' | 'icon' | 'none';
8
9
  width?: string;
@@ -4,14 +4,24 @@ import { type SidebarConfigValue } from './schema.js';
4
4
  export interface SidebarEditorState {
5
5
  draft: Ref<SidebarConfigValue>;
6
6
  validationError: Ref<string | null>;
7
+ saveError: Ref<string | null>;
8
+ saving: Ref<boolean>;
7
9
  isDirty: ComputedRef<boolean>;
8
10
  configure: (env: Environment) => void;
9
- confirm: () => void;
11
+ confirm: () => Promise<boolean>;
10
12
  dismiss: () => void;
11
13
  reset: () => void;
12
14
  }
13
15
  export interface UseSidebarEditorOptions {
14
16
  configure?: (env: Environment) => void;
17
+ /**
18
+ * Delegated persistence. When provided, a successful 确认 first awaits this
19
+ * with the validated config; only after it resolves does the draft commit
20
+ * to the outer model and the editor close. A rejection keeps the editor
21
+ * open with the draft intact and surfaces the failure via `saveError` (see
22
+ * config/use-editor.ts — same contract).
23
+ */
24
+ save?: (config: SidebarConfigValue) => void | Promise<void>;
15
25
  /** Called after a successful 确认 commits the draft to the outer model. */
16
26
  onClose?: () => void;
17
27
  }
@@ -16,41 +16,62 @@ export function useSidebarEditor(model, options = {}) {
16
16
  () => JSON.stringify(draft.value) !== JSON.stringify(baseline.value)
17
17
  );
18
18
  const validationError = ref(null);
19
+ const saveError = ref(null);
20
+ const saving = ref(false);
19
21
  const validityRegistry = createExpressionValidityRegistry();
20
22
  provideExpressionValidity(validityRegistry);
21
- function confirm() {
23
+ async function confirm() {
24
+ if (saving.value) return false;
22
25
  const schema = SidebarConfig(configure);
26
+ let decoded;
23
27
  try {
24
- const decoded = Schema.decodeUnknownSync(schema)(draft.value);
25
- if (!validityRegistry.allValid()) {
26
- validationError.value = "\u5B58\u5728\u65E0\u6548\u7684\u8DE8\u5C42\u4F5C\u7528\u57DF\u5F15\u7528\uFF0C\u8BF7\u4FEE\u6B63\u6807\u7EA2\u7684\u8868\u8FBE\u5F0F\u540E\u518D\u4FDD\u5B58";
27
- return;
28
- }
29
- const dangling = findDanglingLinkages(decoded);
30
- if (dangling.length > 0) {
31
- validationError.value = formatDanglingLinkages(dangling, decoded, () => void 0);
32
- return;
33
- }
34
- validationError.value = null;
35
- model.value = decoded;
36
- baseline.value = deepClone(decoded);
37
- draft.value = deepClone(decoded);
38
- options.onClose?.();
28
+ decoded = Schema.decodeUnknownSync(schema)(draft.value);
39
29
  } catch (err) {
40
30
  validationError.value = formatValidationError(err, () => void 0, draft.value);
31
+ return false;
32
+ }
33
+ if (!validityRegistry.allValid()) {
34
+ validationError.value = "\u5B58\u5728\u65E0\u6548\u7684\u8DE8\u5C42\u4F5C\u7528\u57DF\u5F15\u7528\uFF0C\u8BF7\u4FEE\u6B63\u6807\u7EA2\u7684\u8868\u8FBE\u5F0F\u540E\u518D\u4FDD\u5B58";
35
+ return false;
36
+ }
37
+ const dangling = findDanglingLinkages(decoded);
38
+ if (dangling.length > 0) {
39
+ validationError.value = formatDanglingLinkages(dangling, decoded, () => void 0);
40
+ return false;
41
41
  }
42
+ validationError.value = null;
43
+ if (options.save) {
44
+ saving.value = true;
45
+ saveError.value = null;
46
+ try {
47
+ await options.save(deepClone(decoded));
48
+ } catch (err) {
49
+ saveError.value = `\u4FDD\u5B58\u5931\u8D25\uFF1A${err instanceof Error ? err.message : String(err)}`;
50
+ return false;
51
+ } finally {
52
+ saving.value = false;
53
+ }
54
+ }
55
+ model.value = decoded;
56
+ baseline.value = deepClone(decoded);
57
+ draft.value = deepClone(decoded);
58
+ options.onClose?.();
59
+ return true;
42
60
  }
43
61
  function reset() {
44
62
  baseline.value = deepClone(model.value);
45
63
  draft.value = deepClone(model.value);
46
64
  validationError.value = null;
65
+ saveError.value = null;
47
66
  }
48
67
  function dismiss() {
68
+ if (saving.value) return;
49
69
  reset();
50
70
  options.onClose?.();
51
71
  }
52
72
  watch(draft, () => {
53
73
  if (validationError.value) validationError.value = null;
74
+ if (saveError.value) saveError.value = null;
54
75
  }, { deep: true });
55
- return { draft, validationError, isDirty, configure, confirm, dismiss, reset };
76
+ return { draft, validationError, saveError, saving, isDirty, configure, confirm, dismiss, reset };
56
77
  }
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
- readonly successMessage?: string | undefined;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
- readonly successMessage?: string | undefined;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly readonly?: string | undefined;
84
84
  readonly enableSorting?: boolean | undefined;
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  }[]] | undefined;
167
167
  readonly readonly?: string | undefined;
168
168
  readonly enableSorting?: boolean | undefined;
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly readonly?: string | undefined;
84
84
  readonly enableSorting?: boolean | undefined;
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  }[]] | undefined;
167
167
  readonly readonly?: string | undefined;
168
168
  readonly enableSorting?: boolean | undefined;
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly readonly?: string | undefined;
84
84
  readonly enableSorting?: boolean | undefined;
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  }[]] | undefined;
167
167
  readonly readonly?: string | undefined;
168
168
  readonly enableSorting?: boolean | undefined;
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  }[]] | undefined;
83
83
  readonly readonly?: string | undefined;
84
84
  readonly enableSorting?: boolean | undefined;
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  }[]] | undefined;
167
167
  readonly readonly?: string | undefined;
168
168
  readonly enableSorting?: boolean | undefined;
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -43,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly data: string;
44
44
  readonly request?: string | undefined;
45
45
  };
46
- readonly enableSorting?: boolean | undefined;
47
46
  readonly nodeKey: string;
48
47
  readonly nodeChildren: string;
49
48
  readonly nodeLabel: readonly [{
@@ -53,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
52
  readonly locale: "en" | "ja" | "ko";
54
53
  readonly message: string;
55
54
  }[]];
55
+ readonly enableSorting?: boolean | undefined;
56
56
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
@@ -106,7 +106,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly data: string;
107
107
  readonly request?: string | undefined;
108
108
  };
109
- readonly enableSorting?: boolean | undefined;
110
109
  readonly nodeKey: string;
111
110
  readonly nodeChildren: string;
112
111
  readonly nodeLabel: readonly [{
@@ -116,6 +115,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
115
  readonly locale: "en" | "ja" | "ko";
117
116
  readonly message: string;
118
117
  }[]];
118
+ readonly enableSorting?: boolean | undefined;
119
119
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
@@ -43,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly data: string;
44
44
  readonly request?: string | undefined;
45
45
  };
46
- readonly enableSorting?: boolean | undefined;
47
46
  readonly nodeKey: string;
48
47
  readonly nodeChildren: string;
49
48
  readonly nodeLabel: readonly [{
@@ -53,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
52
  readonly locale: "en" | "ja" | "ko";
54
53
  readonly message: string;
55
54
  }[]];
55
+ readonly enableSorting?: boolean | undefined;
56
56
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
@@ -106,7 +106,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly data: string;
107
107
  readonly request?: string | undefined;
108
108
  };
109
- readonly enableSorting?: boolean | undefined;
110
109
  readonly nodeKey: string;
111
110
  readonly nodeChildren: string;
112
111
  readonly nodeLabel: readonly [{
@@ -116,6 +115,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
115
  readonly locale: "en" | "ja" | "ko";
117
116
  readonly message: string;
118
117
  }[]];
118
+ readonly enableSorting?: boolean | undefined;
119
119
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
@@ -43,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly data: string;
44
44
  readonly request?: string | undefined;
45
45
  };
46
- readonly enableSorting?: boolean | undefined;
47
46
  readonly nodeKey: string;
48
47
  readonly nodeChildren: string;
49
48
  readonly nodeLabel: readonly [{
@@ -53,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
52
  readonly locale: "en" | "ja" | "ko";
54
53
  readonly message: string;
55
54
  }[]];
55
+ readonly enableSorting?: boolean | undefined;
56
56
  readonly nodeTooltip?: readonly [{
57
57
  readonly locale: "zh";
58
58
  readonly message: string;
@@ -105,7 +105,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly data: string;
106
106
  readonly request?: string | undefined;
107
107
  };
108
- readonly enableSorting?: boolean | undefined;
109
108
  readonly nodeKey: string;
110
109
  readonly nodeChildren: string;
111
110
  readonly nodeLabel: readonly [{
@@ -115,6 +114,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
115
114
  readonly locale: "en" | "ja" | "ko";
116
115
  readonly message: string;
117
116
  }[]];
117
+ readonly enableSorting?: boolean | undefined;
118
118
  readonly nodeTooltip?: readonly [{
119
119
  readonly locale: "zh";
120
120
  readonly message: string;
@@ -43,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly data: string;
44
44
  readonly request?: string | undefined;
45
45
  };
46
- readonly enableSorting?: boolean | undefined;
47
46
  readonly nodeKey: string;
48
47
  readonly nodeChildren: string;
49
48
  readonly nodeLabel: readonly [{
@@ -53,6 +52,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
52
  readonly locale: "en" | "ja" | "ko";
54
53
  readonly message: string;
55
54
  }[]];
55
+ readonly enableSorting?: boolean | undefined;
56
56
  readonly nodeTooltip?: readonly [{
57
57
  readonly locale: "zh";
58
58
  readonly message: string;
@@ -105,7 +105,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly data: string;
106
106
  readonly request?: string | undefined;
107
107
  };
108
- readonly enableSorting?: boolean | undefined;
109
108
  readonly nodeKey: string;
110
109
  readonly nodeChildren: string;
111
110
  readonly nodeLabel: readonly [{
@@ -115,6 +114,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
115
114
  readonly locale: "en" | "ja" | "ko";
116
115
  readonly message: string;
117
116
  }[]];
117
+ readonly enableSorting?: boolean | undefined;
118
118
  readonly nodeTooltip?: readonly [{
119
119
  readonly locale: "zh";
120
120
  readonly message: string;