@shwfed/config 2.12.17 → 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 (121) 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.form/config.d.vue.ts +2 -2
  4. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -2
  5. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -4
  6. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -4
  7. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +1 -1
  8. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
  9. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
  10. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
  11. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
  12. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +35 -35
  13. package/dist/runtime/components/config/footer.vue +14 -8
  14. package/dist/runtime/components/config/index.d.vue.ts +3 -2
  15. package/dist/runtime/components/config/index.vue +30 -2
  16. package/dist/runtime/components/config/index.vue.d.ts +3 -2
  17. package/dist/runtime/components/config/use-editor.d.ts +12 -1
  18. package/dist/runtime/components/config/use-editor.js +47 -24
  19. package/dist/runtime/components/config/use-unsaved-guard.d.ts +1 -0
  20. package/dist/runtime/components/config/use-unsaved-guard.js +8 -0
  21. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  22. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  23. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  24. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  25. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  26. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  27. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  28. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  29. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +2 -2
  30. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +2 -2
  31. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  32. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  33. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  34. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  35. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  36. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  37. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  38. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  39. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  40. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  41. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  44. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  45. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  46. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  47. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  48. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  49. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  50. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  51. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +18 -18
  52. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +18 -18
  53. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.d.vue.ts +2 -2
  54. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.multi/config.vue.d.ts +2 -2
  55. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.d.vue.ts +2 -2
  56. package/dist/runtime/components/form/fields/2026-06-14/com.shwfed.form.field.combobox.single/config.vue.d.ts +2 -2
  57. package/dist/runtime/components/form/index.d.vue.ts +2 -0
  58. package/dist/runtime/components/form/index.vue +21 -13
  59. package/dist/runtime/components/form/index.vue.d.ts +2 -0
  60. package/dist/runtime/components/form/schema.d.ts +2 -2
  61. package/dist/runtime/components/modal.d.vue.ts +8 -8
  62. package/dist/runtime/components/modal.vue +9 -1
  63. package/dist/runtime/components/modal.vue.d.ts +8 -8
  64. package/dist/runtime/components/sidebar/footer.vue +13 -7
  65. package/dist/runtime/components/sidebar/index.d.vue.ts +1 -0
  66. package/dist/runtime/components/sidebar/index.vue +30 -2
  67. package/dist/runtime/components/sidebar/index.vue.d.ts +1 -0
  68. package/dist/runtime/components/sidebar/use-editor.d.ts +11 -1
  69. package/dist/runtime/components/sidebar/use-editor.js +38 -17
  70. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  71. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  72. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  73. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  74. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -4
  75. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -4
  76. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  77. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  78. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  79. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  80. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -4
  81. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -4
  82. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +6 -6
  83. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +6 -6
  84. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +22 -22
  85. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +22 -22
  86. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +6 -6
  87. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +6 -6
  88. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +22 -22
  89. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +22 -22
  90. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
  91. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
  92. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -4
  93. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -4
  94. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +8 -8
  95. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +8 -8
  96. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +8 -8
  97. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +8 -8
  98. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
  99. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
  100. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -4
  101. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -4
  102. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +8 -8
  103. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +8 -8
  104. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +8 -8
  105. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +8 -8
  106. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +4 -4
  107. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +4 -4
  108. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +4 -4
  109. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +4 -4
  110. package/dist/runtime/components/table/index.vue +2 -14
  111. package/dist/runtime/components/table/schema.d.ts +69 -69
  112. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  113. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  114. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  115. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  116. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
  117. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
  118. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  119. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  120. package/dist/runtime/components/ui/expression-editor/ExpressionEditor.vue +4 -1
  121. package/package.json +1 -1
@@ -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
  }
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-20";
27
+ readonly grow?: boolean | undefined;
27
28
  readonly items: readonly {
28
29
  readonly label: readonly [{
29
30
  readonly locale: "zh";
@@ -57,7 +58,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
57
58
  readonly message: string;
58
59
  }[]] | undefined;
59
60
  readonly readonly?: string | undefined;
60
- readonly grow?: boolean | undefined;
61
61
  readonly binding: string;
62
62
  readonly derived?: {
63
63
  readonly mode: "formula" | "prefill";
@@ -88,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly message: string;
89
89
  }[]] | undefined;
90
90
  readonly compatibilityDate: "2026-05-20";
91
+ readonly grow?: boolean | undefined;
91
92
  readonly items: readonly {
92
93
  readonly label: readonly [{
93
94
  readonly locale: "zh";
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly message: string;
122
123
  }[]] | undefined;
123
124
  readonly readonly?: string | undefined;
124
- readonly grow?: boolean | undefined;
125
125
  readonly binding: string;
126
126
  readonly derived?: {
127
127
  readonly mode: "formula" | "prefill";
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-20";
27
+ readonly grow?: boolean | undefined;
27
28
  readonly items: readonly {
28
29
  readonly label: readonly [{
29
30
  readonly locale: "zh";
@@ -57,7 +58,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
57
58
  readonly message: string;
58
59
  }[]] | undefined;
59
60
  readonly readonly?: string | undefined;
60
- readonly grow?: boolean | undefined;
61
61
  readonly binding: string;
62
62
  readonly derived?: {
63
63
  readonly mode: "formula" | "prefill";
@@ -88,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly message: string;
89
89
  }[]] | undefined;
90
90
  readonly compatibilityDate: "2026-05-20";
91
+ readonly grow?: boolean | undefined;
91
92
  readonly items: readonly {
92
93
  readonly label: readonly [{
93
94
  readonly locale: "zh";
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly message: string;
122
123
  }[]] | undefined;
123
124
  readonly readonly?: string | undefined;
124
- readonly grow?: boolean | undefined;
125
125
  readonly binding: string;
126
126
  readonly derived?: {
127
127
  readonly mode: "formula" | "prefill";
@@ -24,7 +24,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly locale: "en" | "ja" | "ko";
25
25
  readonly message: string;
26
26
  }[]] | undefined;
27
+ readonly options: string;
27
28
  readonly compatibilityDate: "2026-05-24";
29
+ readonly grow?: boolean | undefined;
28
30
  readonly triggers?: readonly {
29
31
  readonly id?: string | undefined;
30
32
  readonly params?: unknown;
@@ -33,7 +35,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
35
  readonly operation: string;
34
36
  }[] | undefined;
35
37
  readonly groupId?: string | undefined;
36
- readonly options: string;
37
38
  readonly placeholder?: readonly [{
38
39
  readonly locale: "zh";
39
40
  readonly message: string;
@@ -42,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
43
  readonly message: string;
43
44
  }[]] | undefined;
44
45
  readonly readonly?: string | undefined;
45
- readonly grow?: boolean | undefined;
46
46
  readonly request: string;
47
47
  readonly enableSorting?: boolean | undefined;
48
48
  readonly optionValue: string;
@@ -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: {
@@ -79,7 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly locale: "en" | "ja" | "ko";
80
80
  readonly message: string;
81
81
  }[]] | undefined;
82
+ readonly options: string;
82
83
  readonly compatibilityDate: "2026-05-24";
84
+ readonly grow?: boolean | undefined;
83
85
  readonly triggers?: readonly {
84
86
  readonly id?: string | undefined;
85
87
  readonly params?: unknown;
@@ -88,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
90
  readonly operation: string;
89
91
  }[] | undefined;
90
92
  readonly groupId?: string | undefined;
91
- readonly options: string;
92
93
  readonly placeholder?: readonly [{
93
94
  readonly locale: "zh";
94
95
  readonly message: string;
@@ -97,7 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
98
  readonly message: string;
98
99
  }[]] | undefined;
99
100
  readonly readonly?: string | undefined;
100
- readonly grow?: boolean | undefined;
101
101
  readonly request: string;
102
102
  readonly enableSorting?: boolean | undefined;
103
103
  readonly optionValue: string;
@@ -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;
@@ -24,7 +24,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly locale: "en" | "ja" | "ko";
25
25
  readonly message: string;
26
26
  }[]] | undefined;
27
+ readonly options: string;
27
28
  readonly compatibilityDate: "2026-05-24";
29
+ readonly grow?: boolean | undefined;
28
30
  readonly triggers?: readonly {
29
31
  readonly id?: string | undefined;
30
32
  readonly params?: unknown;
@@ -33,7 +35,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
35
  readonly operation: string;
34
36
  }[] | undefined;
35
37
  readonly groupId?: string | undefined;
36
- readonly options: string;
37
38
  readonly placeholder?: readonly [{
38
39
  readonly locale: "zh";
39
40
  readonly message: string;
@@ -42,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
43
  readonly message: string;
43
44
  }[]] | undefined;
44
45
  readonly readonly?: string | undefined;
45
- readonly grow?: boolean | undefined;
46
46
  readonly request: string;
47
47
  readonly enableSorting?: boolean | undefined;
48
48
  readonly optionValue: string;
@@ -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: {
@@ -79,7 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly locale: "en" | "ja" | "ko";
80
80
  readonly message: string;
81
81
  }[]] | undefined;
82
+ readonly options: string;
82
83
  readonly compatibilityDate: "2026-05-24";
84
+ readonly grow?: boolean | undefined;
83
85
  readonly triggers?: readonly {
84
86
  readonly id?: string | undefined;
85
87
  readonly params?: unknown;
@@ -88,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
90
  readonly operation: string;
89
91
  }[] | undefined;
90
92
  readonly groupId?: string | undefined;
91
- readonly options: string;
92
93
  readonly placeholder?: readonly [{
93
94
  readonly locale: "zh";
94
95
  readonly message: string;
@@ -97,7 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
98
  readonly message: string;
98
99
  }[]] | undefined;
99
100
  readonly readonly?: string | undefined;
100
- readonly grow?: boolean | undefined;
101
101
  readonly request: string;
102
102
  readonly enableSorting?: boolean | undefined;
103
103
  readonly optionValue: string;
@@ -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;
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
25
25
  readonly message: string;
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-24";
28
+ readonly grow?: boolean | undefined;
28
29
  readonly items: readonly {
29
30
  readonly label: readonly [{
30
31
  readonly locale: "zh";
@@ -65,11 +66,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
66
  readonly message: string;
66
67
  }[]] | undefined;
67
68
  readonly readonly?: string | undefined;
68
- readonly grow?: boolean | 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: {
@@ -94,6 +94,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
94
94
  readonly message: string;
95
95
  }[]] | undefined;
96
96
  readonly compatibilityDate: "2026-05-24";
97
+ readonly grow?: boolean | undefined;
97
98
  readonly items: readonly {
98
99
  readonly label: readonly [{
99
100
  readonly locale: "zh";
@@ -134,11 +135,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
134
135
  readonly message: string;
135
136
  }[]] | undefined;
136
137
  readonly readonly?: string | undefined;
137
- readonly grow?: boolean | 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;
@@ -25,6 +25,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
25
25
  readonly message: string;
26
26
  }[]] | undefined;
27
27
  readonly compatibilityDate: "2026-05-24";
28
+ readonly grow?: boolean | undefined;
28
29
  readonly items: readonly {
29
30
  readonly label: readonly [{
30
31
  readonly locale: "zh";
@@ -65,11 +66,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
65
66
  readonly message: string;
66
67
  }[]] | undefined;
67
68
  readonly readonly?: string | undefined;
68
- readonly grow?: boolean | 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: {
@@ -94,6 +94,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
94
94
  readonly message: string;
95
95
  }[]] | undefined;
96
96
  readonly compatibilityDate: "2026-05-24";
97
+ readonly grow?: boolean | undefined;
97
98
  readonly items: readonly {
98
99
  readonly label: readonly [{
99
100
  readonly locale: "zh";
@@ -134,11 +135,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
134
135
  readonly message: string;
135
136
  }[]] | undefined;
136
137
  readonly readonly?: string | undefined;
137
- readonly grow?: boolean | 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;
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-25";
27
+ readonly grow?: boolean | undefined;
27
28
  readonly items: readonly {
28
29
  readonly label: readonly [{
29
30
  readonly locale: "zh";
@@ -57,7 +58,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
57
58
  readonly message: string;
58
59
  }[]] | undefined;
59
60
  readonly readonly?: string | undefined;
60
- readonly grow?: boolean | undefined;
61
61
  readonly binding: string;
62
62
  readonly derived?: {
63
63
  readonly mode: "formula" | "prefill";
@@ -88,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly message: string;
89
89
  }[]] | undefined;
90
90
  readonly compatibilityDate: "2026-05-25";
91
+ readonly grow?: boolean | undefined;
91
92
  readonly items: readonly {
92
93
  readonly label: readonly [{
93
94
  readonly locale: "zh";
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly message: string;
122
123
  }[]] | undefined;
123
124
  readonly readonly?: string | undefined;
124
- readonly grow?: boolean | undefined;
125
125
  readonly binding: string;
126
126
  readonly derived?: {
127
127
  readonly mode: "formula" | "prefill";
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly message: string;
25
25
  }[]] | undefined;
26
26
  readonly compatibilityDate: "2026-05-25";
27
+ readonly grow?: boolean | undefined;
27
28
  readonly items: readonly {
28
29
  readonly label: readonly [{
29
30
  readonly locale: "zh";
@@ -57,7 +58,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
57
58
  readonly message: string;
58
59
  }[]] | undefined;
59
60
  readonly readonly?: string | undefined;
60
- readonly grow?: boolean | undefined;
61
61
  readonly binding: string;
62
62
  readonly derived?: {
63
63
  readonly mode: "formula" | "prefill";
@@ -88,6 +88,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
88
  readonly message: string;
89
89
  }[]] | undefined;
90
90
  readonly compatibilityDate: "2026-05-25";
91
+ readonly grow?: boolean | undefined;
91
92
  readonly items: readonly {
92
93
  readonly label: readonly [{
93
94
  readonly locale: "zh";
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
121
122
  readonly message: string;
122
123
  }[]] | undefined;
123
124
  readonly readonly?: string | undefined;
124
- readonly grow?: boolean | undefined;
125
125
  readonly binding: string;
126
126
  readonly derived?: {
127
127
  readonly mode: "formula" | "prefill";
@@ -24,7 +24,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
24
24
  readonly locale: "en" | "ja" | "ko";
25
25
  readonly message: string;
26
26
  }[]] | undefined;
27
+ readonly options: string;
27
28
  readonly compatibilityDate: "2026-05-25";
29
+ readonly grow?: boolean | undefined;
28
30
  readonly triggers?: readonly {
29
31
  readonly id?: string | undefined;
30
32
  readonly params?: unknown;
@@ -33,7 +35,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
33
35
  readonly operation: string;
34
36
  }[] | undefined;
35
37
  readonly groupId?: string | undefined;
36
- readonly options: string;
37
38
  readonly placeholder?: readonly [{
38
39
  readonly locale: "zh";
39
40
  readonly message: string;
@@ -42,7 +43,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
43
  readonly message: string;
43
44
  }[]] | undefined;
44
45
  readonly readonly?: string | undefined;
45
- readonly grow?: boolean | undefined;
46
46
  readonly request: string;
47
47
  readonly enableSorting?: boolean | undefined;
48
48
  readonly optionValue: string;
@@ -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: {
@@ -79,7 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
79
79
  readonly locale: "en" | "ja" | "ko";
80
80
  readonly message: string;
81
81
  }[]] | undefined;
82
+ readonly options: string;
82
83
  readonly compatibilityDate: "2026-05-25";
84
+ readonly grow?: boolean | undefined;
83
85
  readonly triggers?: readonly {
84
86
  readonly id?: string | undefined;
85
87
  readonly params?: unknown;
@@ -88,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
88
90
  readonly operation: string;
89
91
  }[] | undefined;
90
92
  readonly groupId?: string | undefined;
91
- readonly options: string;
92
93
  readonly placeholder?: readonly [{
93
94
  readonly locale: "zh";
94
95
  readonly message: string;
@@ -97,7 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
97
98
  readonly message: string;
98
99
  }[]] | undefined;
99
100
  readonly readonly?: string | undefined;
100
- readonly grow?: boolean | undefined;
101
101
  readonly request: string;
102
102
  readonly enableSorting?: boolean | undefined;
103
103
  readonly optionValue: string;
@@ -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;