@shwfed/config 2.12.5 → 2.12.6

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 (105) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +5 -0
  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/index.vue +23 -3
  9. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
  10. package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
  11. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  12. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  13. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +16 -16
  14. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +16 -16
  15. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +18 -18
  16. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +18 -18
  17. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +16 -16
  18. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +16 -16
  19. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +18 -18
  20. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +18 -18
  21. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +28 -28
  22. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +28 -28
  23. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
  24. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
  25. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
  26. package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
  27. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  28. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  29. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
  30. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
  31. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +16 -16
  32. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +16 -16
  33. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +18 -18
  34. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +18 -18
  35. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  36. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  37. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
  38. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
  39. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
  40. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
  41. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +10 -10
  42. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +10 -10
  43. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +10 -10
  44. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +10 -10
  45. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +10 -10
  46. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +10 -10
  47. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +10 -10
  48. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +10 -10
  49. package/dist/runtime/components/sidebar/index.d.vue.ts +22 -3
  50. package/dist/runtime/components/sidebar/index.vue +66 -5
  51. package/dist/runtime/components/sidebar/index.vue.d.ts +22 -3
  52. package/dist/runtime/components/sidebar/node.d.vue.ts +1 -1
  53. package/dist/runtime/components/sidebar/node.vue +33 -13
  54. package/dist/runtime/components/sidebar/node.vue.d.ts +1 -1
  55. package/dist/runtime/components/sidebar/tree.vue +113 -83
  56. package/dist/runtime/components/sidebar/types.d.ts +8 -0
  57. package/dist/runtime/components/sidebar/types.js +1 -0
  58. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +6 -6
  61. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +6 -6
  62. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  63. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  64. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +6 -6
  65. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +6 -6
  66. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  67. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  68. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  69. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  70. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +12 -12
  71. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +12 -12
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +12 -12
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +12 -12
  74. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +12 -12
  75. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +12 -12
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +12 -12
  77. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +12 -12
  78. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +12 -12
  79. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +12 -12
  80. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +12 -12
  81. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +12 -12
  82. package/dist/runtime/components/table/schema.d.ts +68 -68
  83. package/dist/runtime/components/table/utils/row-reorder.d.ts +3 -2
  84. package/dist/runtime/components/table/utils/row-reorder.js +1 -12
  85. package/dist/runtime/components/tabs/index.d.vue.ts +9 -0
  86. package/dist/runtime/components/tabs/index.vue +92 -0
  87. package/dist/runtime/components/tabs/index.vue.d.ts +9 -0
  88. package/dist/runtime/components/tabs/tab.d.vue.ts +22 -0
  89. package/dist/runtime/components/tabs/tab.vue +85 -0
  90. package/dist/runtime/components/tabs/tab.vue.d.ts +22 -0
  91. package/dist/runtime/components/tabs/types.d.ts +19 -0
  92. package/dist/runtime/components/tabs/types.js +0 -0
  93. package/dist/runtime/components/tabs/use-reorder.d.ts +10 -0
  94. package/dist/runtime/components/tabs/use-reorder.js +90 -0
  95. package/dist/runtime/components/tabs/use-tabs.d.ts +46 -0
  96. package/dist/runtime/components/tabs/use-tabs.js +101 -0
  97. package/dist/runtime/components/ui/sidebar/SidebarMenuAction.vue +1 -1
  98. package/dist/runtime/components/ui/sidebar/index.js +2 -2
  99. package/dist/runtime/share/reorder.d.ts +2 -0
  100. package/dist/runtime/share/reorder.js +12 -0
  101. package/dist/runtime/utils/nav-registry.d.ts +19 -0
  102. package/dist/runtime/utils/nav-registry.js +14 -0
  103. package/dist/runtime/utils/page-title-registry.d.ts +3 -0
  104. package/dist/runtime/utils/page-title-registry.js +11 -0
  105. package/package.json +1 -1
@@ -29,40 +29,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
29
29
  readonly message: string;
30
30
  }[]] | undefined;
31
31
  }[];
32
- readonly query?: {
33
- readonly style?: string | undefined;
34
- readonly id?: string | undefined;
35
- readonly initial?: {
36
- readonly data: string;
37
- readonly request?: string | undefined;
38
- } | undefined;
39
- readonly displayName?: string | undefined;
40
- readonly kind: "shwfed.component.form";
41
- readonly fields: readonly any[];
42
- readonly layouts: readonly {
43
- readonly name: string;
44
- readonly layout: {
45
- readonly style?: string | undefined;
46
- readonly columns: number;
47
- readonly gap?: number | undefined;
48
- readonly rows?: number | undefined;
49
- readonly placements: {
50
- readonly [x: string]: {
51
- readonly area: readonly [readonly [number, number], readonly [number, number]];
52
- readonly v?: "stretch" | "center" | "end" | "start" | undefined;
53
- readonly h?: "stretch" | "center" | "end" | "start" | undefined;
54
- };
55
- };
56
- };
57
- readonly media?: string | undefined;
58
- }[];
59
- readonly readonly?: string | undefined;
60
- } | undefined;
61
- readonly dataSource?: {
62
- readonly data: string;
63
- readonly total?: string | undefined;
64
- readonly request?: string | undefined;
65
- } | undefined;
66
32
  readonly actions?: {
67
33
  readonly size: "default" | "sm" | "xs";
68
34
  readonly style?: string | undefined;
@@ -130,6 +96,40 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
130
96
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
131
97
  }[];
132
98
  } | undefined;
99
+ readonly query?: {
100
+ readonly style?: string | undefined;
101
+ readonly id?: string | undefined;
102
+ readonly initial?: {
103
+ readonly data: string;
104
+ readonly request?: string | undefined;
105
+ } | undefined;
106
+ readonly displayName?: string | undefined;
107
+ readonly kind: "shwfed.component.form";
108
+ readonly fields: readonly any[];
109
+ readonly layouts: readonly {
110
+ readonly name: string;
111
+ readonly layout: {
112
+ readonly style?: string | undefined;
113
+ readonly columns: number;
114
+ readonly gap?: number | undefined;
115
+ readonly rows?: number | undefined;
116
+ readonly placements: {
117
+ readonly [x: string]: {
118
+ readonly area: readonly [readonly [number, number], readonly [number, number]];
119
+ readonly v?: "stretch" | "center" | "end" | "start" | undefined;
120
+ readonly h?: "stretch" | "center" | "end" | "start" | undefined;
121
+ };
122
+ };
123
+ };
124
+ readonly media?: string | undefined;
125
+ }[];
126
+ readonly readonly?: string | undefined;
127
+ } | undefined;
128
+ readonly dataSource?: {
129
+ readonly data: string;
130
+ readonly total?: string | undefined;
131
+ readonly request?: string | undefined;
132
+ } | undefined;
133
133
  readonly bottomActions?: {
134
134
  readonly size: "default" | "sm" | "xs";
135
135
  readonly style?: string | undefined;
@@ -277,40 +277,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
277
277
  readonly message: string;
278
278
  }[]] | undefined;
279
279
  }[];
280
- readonly query?: {
281
- readonly style?: string | undefined;
282
- readonly id?: string | undefined;
283
- readonly initial?: {
284
- readonly data: string;
285
- readonly request?: string | undefined;
286
- } | undefined;
287
- readonly displayName?: string | undefined;
288
- readonly kind: "shwfed.component.form";
289
- readonly fields: readonly any[];
290
- readonly layouts: readonly {
291
- readonly name: string;
292
- readonly layout: {
293
- readonly style?: string | undefined;
294
- readonly columns: number;
295
- readonly gap?: number | undefined;
296
- readonly rows?: number | undefined;
297
- readonly placements: {
298
- readonly [x: string]: {
299
- readonly area: readonly [readonly [number, number], readonly [number, number]];
300
- readonly v?: "stretch" | "center" | "end" | "start" | undefined;
301
- readonly h?: "stretch" | "center" | "end" | "start" | undefined;
302
- };
303
- };
304
- };
305
- readonly media?: string | undefined;
306
- }[];
307
- readonly readonly?: string | undefined;
308
- } | undefined;
309
- readonly dataSource?: {
310
- readonly data: string;
311
- readonly total?: string | undefined;
312
- readonly request?: string | undefined;
313
- } | undefined;
314
280
  readonly actions?: {
315
281
  readonly size: "default" | "sm" | "xs";
316
282
  readonly style?: string | undefined;
@@ -378,6 +344,40 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
378
344
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
379
345
  }[];
380
346
  } | undefined;
347
+ readonly query?: {
348
+ readonly style?: string | undefined;
349
+ readonly id?: string | undefined;
350
+ readonly initial?: {
351
+ readonly data: string;
352
+ readonly request?: string | undefined;
353
+ } | undefined;
354
+ readonly displayName?: string | undefined;
355
+ readonly kind: "shwfed.component.form";
356
+ readonly fields: readonly any[];
357
+ readonly layouts: readonly {
358
+ readonly name: string;
359
+ readonly layout: {
360
+ readonly style?: string | undefined;
361
+ readonly columns: number;
362
+ readonly gap?: number | undefined;
363
+ readonly rows?: number | undefined;
364
+ readonly placements: {
365
+ readonly [x: string]: {
366
+ readonly area: readonly [readonly [number, number], readonly [number, number]];
367
+ readonly v?: "stretch" | "center" | "end" | "start" | undefined;
368
+ readonly h?: "stretch" | "center" | "end" | "start" | undefined;
369
+ };
370
+ };
371
+ };
372
+ readonly media?: string | undefined;
373
+ }[];
374
+ readonly readonly?: string | undefined;
375
+ } | undefined;
376
+ readonly dataSource?: {
377
+ readonly data: string;
378
+ readonly total?: string | undefined;
379
+ readonly request?: string | undefined;
380
+ } | undefined;
381
381
  readonly bottomActions?: {
382
382
  readonly size: "default" | "sm" | "xs";
383
383
  readonly style?: string | undefined;
@@ -47,40 +47,6 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
47
47
  readonly message: string;
48
48
  }[]] | undefined;
49
49
  }[];
50
- readonly query?: {
51
- readonly style?: string | undefined;
52
- readonly id?: string | undefined;
53
- readonly initial?: {
54
- readonly data: string;
55
- readonly request?: string | undefined;
56
- } | undefined;
57
- readonly displayName?: string | undefined;
58
- readonly kind: "shwfed.component.form";
59
- readonly fields: readonly any[];
60
- readonly layouts: readonly {
61
- readonly name: string;
62
- readonly layout: {
63
- readonly style?: string | undefined;
64
- readonly columns: number;
65
- readonly gap?: number | undefined;
66
- readonly rows?: number | undefined;
67
- readonly placements: {
68
- readonly [x: string]: {
69
- readonly area: readonly [readonly [number, number], readonly [number, number]];
70
- readonly v?: "stretch" | "center" | "end" | "start" | undefined;
71
- readonly h?: "stretch" | "center" | "end" | "start" | undefined;
72
- };
73
- };
74
- };
75
- readonly media?: string | undefined;
76
- }[];
77
- readonly readonly?: string | undefined;
78
- } | undefined;
79
- readonly dataSource?: {
80
- readonly data: string;
81
- readonly total?: string | undefined;
82
- readonly request?: string | undefined;
83
- } | undefined;
84
50
  readonly actions?: {
85
51
  readonly size: "default" | "sm" | "xs";
86
52
  readonly style?: string | undefined;
@@ -148,6 +114,40 @@ export declare function schema(configure: (env: Environment) => void, _blockRef:
148
114
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
149
115
  }[];
150
116
  } | undefined;
117
+ readonly query?: {
118
+ readonly style?: string | undefined;
119
+ readonly id?: string | undefined;
120
+ readonly initial?: {
121
+ readonly data: string;
122
+ readonly request?: string | undefined;
123
+ } | undefined;
124
+ readonly displayName?: string | undefined;
125
+ readonly kind: "shwfed.component.form";
126
+ readonly fields: readonly any[];
127
+ readonly layouts: readonly {
128
+ readonly name: string;
129
+ readonly layout: {
130
+ readonly style?: string | undefined;
131
+ readonly columns: number;
132
+ readonly gap?: number | undefined;
133
+ readonly rows?: number | undefined;
134
+ readonly placements: {
135
+ readonly [x: string]: {
136
+ readonly area: readonly [readonly [number, number], readonly [number, number]];
137
+ readonly v?: "stretch" | "center" | "end" | "start" | undefined;
138
+ readonly h?: "stretch" | "center" | "end" | "start" | undefined;
139
+ };
140
+ };
141
+ };
142
+ readonly media?: string | undefined;
143
+ }[];
144
+ readonly readonly?: string | undefined;
145
+ } | undefined;
146
+ readonly dataSource?: {
147
+ readonly data: string;
148
+ readonly total?: string | undefined;
149
+ readonly request?: string | undefined;
150
+ } | undefined;
151
151
  readonly bottomActions?: {
152
152
  readonly size: "default" | "sm" | "xs";
153
153
  readonly style?: string | undefined;
@@ -1,9 +1,9 @@
1
1
  <script setup>
2
- import { computed, ref, watch } from "vue";
2
+ import { computed, onBeforeUnmount, ref, watch, watchEffect } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { Effect } from "effect";
5
5
  import { useI18n } from "vue-i18n";
6
- import { useHead } from "#app";
6
+ import { navigateTo, useHead, useRoute } from "#app";
7
7
  import { getLocalizedText } from "../../share/locale";
8
8
  import { cel } from "../../utils/cel";
9
9
  import { celBindings, injectCELContext, provideCELContext, SELECTIONS_VAR } from "../../utils/cel-context";
@@ -22,6 +22,8 @@ import * as navigationOperation from "../operations/2026-06-15/com.shwfed.operat
22
22
  import { PAGE_TARGET_ID, createPageConfig } from "./schema";
23
23
  import { useConfigEditor } from "./use-editor";
24
24
  import { findBlock } from "./utils/resolve";
25
+ import { useTabStore } from "../tabs/use-tabs";
26
+ import { publishPageTitle } from "../../utils/page-title-registry";
25
27
  defineOptions({ name: "ShwfedConfig" });
26
28
  const configModel = defineModel("config", { type: null });
27
29
  const config = computed({
@@ -66,10 +68,18 @@ class PageClosed {
66
68
  _tag = "PageClosed";
67
69
  }
68
70
  const { locale } = useI18n({ useScope: "global", inheritLocale: true });
71
+ const route = useRoute();
69
72
  const $cel = (expression, context) => cel(expression, { ...celBindings(inheritedCEL), ...context });
70
73
  provideEventTarget(PAGE_TARGET_ID, {
71
74
  close: () => Effect.gen(function* () {
72
- window.close();
75
+ const store = useTabStore();
76
+ const path = route.path;
77
+ if (store.hasTab(path)) {
78
+ const dest = store.close(path);
79
+ if (dest) void navigateTo(dest);
80
+ } else {
81
+ window.close();
82
+ }
73
83
  return yield* Effect.die(new PageClosed());
74
84
  }),
75
85
  ...operationHandlers(
@@ -122,6 +132,16 @@ useHead(() => {
122
132
  const title = getLocalizedText(config.value.title, locale.value);
123
133
  return title ? { title } : {};
124
134
  });
135
+ let publishedPath = null;
136
+ watchEffect(() => {
137
+ const path = route.path;
138
+ if (publishedPath !== null && publishedPath !== path) publishPageTitle(publishedPath, void 0);
139
+ publishedPath = path;
140
+ publishPageTitle(path, config.value.title);
141
+ });
142
+ onBeforeUnmount(() => {
143
+ if (publishedPath !== null) publishPageTitle(publishedPath, void 0);
144
+ });
125
145
  const isMac = computed(
126
146
  () => typeof navigator !== "undefined" && /Mac/i.test(navigator.platform)
127
147
  );
@@ -39,6 +39,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
39
39
  readonly mode: "formula" | "prefill";
40
40
  readonly expression: string;
41
41
  } | undefined;
42
+ readonly validations?: readonly {
43
+ readonly message: readonly [{
44
+ readonly locale: "zh";
45
+ readonly message: string;
46
+ }, ...{
47
+ readonly locale: "en" | "ja" | "ko";
48
+ readonly message: string;
49
+ }[]];
50
+ readonly warning?: boolean | undefined;
51
+ readonly when: string;
52
+ }[] | undefined;
42
53
  readonly addon?: {
43
54
  readonly size: "default" | "sm" | "xs";
44
55
  readonly style?: string | undefined;
@@ -106,17 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
117
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
107
118
  }[];
108
119
  } | undefined;
109
- readonly validations?: readonly {
110
- readonly message: readonly [{
111
- readonly locale: "zh";
112
- readonly message: string;
113
- }, ...{
114
- readonly locale: "en" | "ja" | "ko";
115
- readonly message: string;
116
- }[]];
117
- readonly warning?: boolean | undefined;
118
- readonly when: string;
119
- }[] | undefined;
120
120
  }) => any;
121
121
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
122
122
  "onUpdate:modelValue"?: ((value: {
@@ -155,6 +155,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
155
155
  readonly mode: "formula" | "prefill";
156
156
  readonly expression: string;
157
157
  } | undefined;
158
+ readonly validations?: readonly {
159
+ readonly message: readonly [{
160
+ readonly locale: "zh";
161
+ readonly message: string;
162
+ }, ...{
163
+ readonly locale: "en" | "ja" | "ko";
164
+ readonly message: string;
165
+ }[]];
166
+ readonly warning?: boolean | undefined;
167
+ readonly when: string;
168
+ }[] | undefined;
158
169
  readonly addon?: {
159
170
  readonly size: "default" | "sm" | "xs";
160
171
  readonly style?: string | undefined;
@@ -222,17 +233,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
222
233
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
223
234
  }[];
224
235
  } | undefined;
225
- readonly validations?: readonly {
226
- readonly message: readonly [{
227
- readonly locale: "zh";
228
- readonly message: string;
229
- }, ...{
230
- readonly locale: "en" | "ja" | "ko";
231
- readonly message: string;
232
- }[]];
233
- readonly warning?: boolean | undefined;
234
- readonly when: string;
235
- }[] | undefined;
236
236
  }) => any) | undefined;
237
237
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
238
238
  declare const _default: typeof __VLS_export;
@@ -39,6 +39,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
39
39
  readonly mode: "formula" | "prefill";
40
40
  readonly expression: string;
41
41
  } | undefined;
42
+ readonly validations?: readonly {
43
+ readonly message: readonly [{
44
+ readonly locale: "zh";
45
+ readonly message: string;
46
+ }, ...{
47
+ readonly locale: "en" | "ja" | "ko";
48
+ readonly message: string;
49
+ }[]];
50
+ readonly warning?: boolean | undefined;
51
+ readonly when: string;
52
+ }[] | undefined;
42
53
  readonly addon?: {
43
54
  readonly size: "default" | "sm" | "xs";
44
55
  readonly style?: string | undefined;
@@ -106,17 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
117
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
107
118
  }[];
108
119
  } | undefined;
109
- readonly validations?: readonly {
110
- readonly message: readonly [{
111
- readonly locale: "zh";
112
- readonly message: string;
113
- }, ...{
114
- readonly locale: "en" | "ja" | "ko";
115
- readonly message: string;
116
- }[]];
117
- readonly warning?: boolean | undefined;
118
- readonly when: string;
119
- }[] | undefined;
120
120
  }) => any;
121
121
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
122
122
  "onUpdate:modelValue"?: ((value: {
@@ -155,6 +155,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
155
155
  readonly mode: "formula" | "prefill";
156
156
  readonly expression: string;
157
157
  } | undefined;
158
+ readonly validations?: readonly {
159
+ readonly message: readonly [{
160
+ readonly locale: "zh";
161
+ readonly message: string;
162
+ }, ...{
163
+ readonly locale: "en" | "ja" | "ko";
164
+ readonly message: string;
165
+ }[]];
166
+ readonly warning?: boolean | undefined;
167
+ readonly when: string;
168
+ }[] | undefined;
158
169
  readonly addon?: {
159
170
  readonly size: "default" | "sm" | "xs";
160
171
  readonly style?: string | undefined;
@@ -222,17 +233,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
222
233
  readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
223
234
  }[];
224
235
  } | undefined;
225
- readonly validations?: readonly {
226
- readonly message: readonly [{
227
- readonly locale: "zh";
228
- readonly message: string;
229
- }, ...{
230
- readonly locale: "en" | "ja" | "ko";
231
- readonly message: string;
232
- }[]];
233
- readonly warning?: boolean | undefined;
234
- readonly when: string;
235
- }[] | undefined;
236
236
  }) => any) | undefined;
237
237
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
238
238
  declare const _default: typeof __VLS_export;
@@ -40,14 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
40
  readonly mode: "formula" | "prefill";
41
41
  readonly expression: string;
42
42
  } | undefined;
43
- readonly optionValue: string;
44
- readonly optionLabel: readonly [{
45
- readonly locale: "zh";
46
- readonly message: string;
47
- }, ...{
48
- readonly locale: "en" | "ja" | "ko";
49
- readonly message: string;
50
- }[]];
51
43
  readonly validations?: readonly {
52
44
  readonly message: readonly [{
53
45
  readonly locale: "zh";
@@ -59,6 +51,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
51
  readonly warning?: boolean | undefined;
60
52
  readonly when: string;
61
53
  }[] | undefined;
54
+ readonly optionValue: string;
55
+ readonly optionLabel: readonly [{
56
+ readonly locale: "zh";
57
+ readonly message: string;
58
+ }, ...{
59
+ readonly locale: "en" | "ja" | "ko";
60
+ readonly message: string;
61
+ }[]];
62
62
  }) => any;
63
63
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
64
64
  "onUpdate:modelValue"?: ((value: {
@@ -98,14 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
98
98
  readonly mode: "formula" | "prefill";
99
99
  readonly expression: string;
100
100
  } | undefined;
101
- readonly optionValue: string;
102
- readonly optionLabel: readonly [{
103
- readonly locale: "zh";
104
- readonly message: string;
105
- }, ...{
106
- readonly locale: "en" | "ja" | "ko";
107
- readonly message: string;
108
- }[]];
109
101
  readonly validations?: readonly {
110
102
  readonly message: readonly [{
111
103
  readonly locale: "zh";
@@ -117,6 +109,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
117
109
  readonly warning?: boolean | undefined;
118
110
  readonly when: string;
119
111
  }[] | undefined;
112
+ readonly optionValue: string;
113
+ readonly optionLabel: readonly [{
114
+ readonly locale: "zh";
115
+ readonly message: string;
116
+ }, ...{
117
+ readonly locale: "en" | "ja" | "ko";
118
+ readonly message: string;
119
+ }[]];
120
120
  }) => any) | undefined;
121
121
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
122
122
  declare const _default: typeof __VLS_export;
@@ -40,14 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
40
40
  readonly mode: "formula" | "prefill";
41
41
  readonly expression: string;
42
42
  } | undefined;
43
- readonly optionValue: string;
44
- readonly optionLabel: readonly [{
45
- readonly locale: "zh";
46
- readonly message: string;
47
- }, ...{
48
- readonly locale: "en" | "ja" | "ko";
49
- readonly message: string;
50
- }[]];
51
43
  readonly validations?: readonly {
52
44
  readonly message: readonly [{
53
45
  readonly locale: "zh";
@@ -59,6 +51,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
59
51
  readonly warning?: boolean | undefined;
60
52
  readonly when: string;
61
53
  }[] | undefined;
54
+ readonly optionValue: string;
55
+ readonly optionLabel: readonly [{
56
+ readonly locale: "zh";
57
+ readonly message: string;
58
+ }, ...{
59
+ readonly locale: "en" | "ja" | "ko";
60
+ readonly message: string;
61
+ }[]];
62
62
  }) => any;
63
63
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
64
64
  "onUpdate:modelValue"?: ((value: {
@@ -98,14 +98,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
98
98
  readonly mode: "formula" | "prefill";
99
99
  readonly expression: string;
100
100
  } | undefined;
101
- readonly optionValue: string;
102
- readonly optionLabel: readonly [{
103
- readonly locale: "zh";
104
- readonly message: string;
105
- }, ...{
106
- readonly locale: "en" | "ja" | "ko";
107
- readonly message: string;
108
- }[]];
109
101
  readonly validations?: readonly {
110
102
  readonly message: readonly [{
111
103
  readonly locale: "zh";
@@ -117,6 +109,14 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
117
109
  readonly warning?: boolean | undefined;
118
110
  readonly when: string;
119
111
  }[] | undefined;
112
+ readonly optionValue: string;
113
+ readonly optionLabel: readonly [{
114
+ readonly locale: "zh";
115
+ readonly message: string;
116
+ }, ...{
117
+ readonly locale: "en" | "ja" | "ko";
118
+ readonly message: string;
119
+ }[]];
120
120
  }) => any) | undefined;
121
121
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
122
122
  declare const _default: typeof __VLS_export;
@@ -42,27 +42,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
42
42
  readonly format?: string | undefined;
43
43
  readonly valueFormat?: string | undefined;
44
44
  readonly disabledDate?: string | undefined;
45
- readonly presets?: readonly {
46
- readonly label: readonly [{
45
+ readonly validations?: readonly {
46
+ readonly message: readonly [{
47
47
  readonly locale: "zh";
48
48
  readonly message: string;
49
49
  }, ...{
50
50
  readonly locale: "en" | "ja" | "ko";
51
51
  readonly message: string;
52
52
  }[]];
53
- readonly id: string;
54
- readonly value: string;
53
+ readonly warning?: boolean | undefined;
54
+ readonly when: string;
55
55
  }[] | undefined;
56
- readonly validations?: readonly {
57
- readonly message: readonly [{
56
+ readonly presets?: readonly {
57
+ readonly label: readonly [{
58
58
  readonly locale: "zh";
59
59
  readonly message: string;
60
60
  }, ...{
61
61
  readonly locale: "en" | "ja" | "ko";
62
62
  readonly message: string;
63
63
  }[]];
64
- readonly warning?: boolean | undefined;
65
- readonly when: string;
64
+ readonly id: string;
65
+ readonly value: string;
66
66
  }[] | undefined;
67
67
  }) => any;
68
68
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -105,27 +105,27 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly format?: string | undefined;
106
106
  readonly valueFormat?: string | undefined;
107
107
  readonly disabledDate?: string | undefined;
108
- readonly presets?: readonly {
109
- readonly label: readonly [{
108
+ readonly validations?: readonly {
109
+ readonly message: readonly [{
110
110
  readonly locale: "zh";
111
111
  readonly message: string;
112
112
  }, ...{
113
113
  readonly locale: "en" | "ja" | "ko";
114
114
  readonly message: string;
115
115
  }[]];
116
- readonly id: string;
117
- readonly value: string;
116
+ readonly warning?: boolean | undefined;
117
+ readonly when: string;
118
118
  }[] | undefined;
119
- readonly validations?: readonly {
120
- readonly message: readonly [{
119
+ readonly presets?: readonly {
120
+ readonly label: readonly [{
121
121
  readonly locale: "zh";
122
122
  readonly message: string;
123
123
  }, ...{
124
124
  readonly locale: "en" | "ja" | "ko";
125
125
  readonly message: string;
126
126
  }[]];
127
- readonly warning?: boolean | undefined;
128
- readonly when: string;
127
+ readonly id: string;
128
+ readonly value: string;
129
129
  }[] | undefined;
130
130
  }) => any) | undefined;
131
131
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;