@shwfed/config 2.10.2 → 2.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +143 -89
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DX5M_WNF.js → FieldGroup.vue_vue_type_script_setup_true_lang-DIjsktfi.js} +1 -1
- package/dist/preview/assets/badge-Cr6_n00S.js +1 -0
- package/dist/preview/assets/config-1VGYa1Zb.js +1 -0
- package/dist/preview/assets/config-B2rtOFE1.js +1 -0
- package/dist/preview/assets/config-BemROLz0.js +1 -0
- package/dist/preview/assets/{config-DeDCNzY_.js → config-BjUIO7Ps.js} +1 -1
- package/dist/preview/assets/config-Bu-ffrDi.js +1 -0
- package/dist/preview/assets/config-CNY70agP.js +1 -0
- package/dist/preview/assets/{config-CSmHhOh2.js → config-CSauYxAG.js} +1 -1
- package/dist/preview/assets/{config-CTF5-TTQ.js → config-CrA5lAMB.js} +1 -1
- package/dist/preview/assets/{config-BiOW8fS2.js → config-CwbWyadd.js} +1 -1
- package/dist/preview/assets/{config-DBtEKoan.js → config-DF4u2WzQ.js} +1 -1
- package/dist/preview/assets/config-DTDFg08z.js +1 -0
- package/dist/preview/assets/config-DpcMlGoM.js +1 -0
- package/dist/preview/assets/config-Dx9AeOjb.js +1 -0
- package/dist/preview/assets/config-hXHOfKvD.js +1 -0
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-Cu0CEKYT.js → definition.vue_vue_type_script_setup_true_lang-v2AaUd8i.js} +1 -1
- package/dist/preview/assets/index-BDbNnENM.js +1 -0
- package/dist/preview/assets/index-ButPJaOR.css +1 -0
- package/dist/preview/assets/index-BzWZj-hV.js +1 -0
- package/dist/preview/assets/{index-DX9_iE4h.js → index-E3_P6Fhz.js} +207 -189
- package/dist/preview/assets/item-B_QcL62I.js +1 -0
- package/dist/preview/assets/runtime-BRg0jxiK.js +1 -0
- package/dist/preview/assets/runtime-BbiAwZZ9.js +1 -0
- package/dist/preview/assets/runtime-CKoLdM68.js +1 -0
- package/dist/preview/assets/{runtime-CFb1tHwr.js → runtime-CZ6uHCIE.js} +1 -1
- package/dist/preview/assets/runtime-Cd79TXff.js +1 -0
- package/dist/preview/assets/{runtime-BN-jMAt7.js → runtime-Cfup01hl.js} +1 -1
- package/dist/preview/assets/runtime-Cu_C4Joj.js +1 -0
- package/dist/preview/assets/{runtime-yfWYeUh4.js → runtime-D-MaRCSg.js} +1 -1
- package/dist/preview/assets/runtime-DUMSbsqb.js +1 -0
- package/dist/preview/assets/runtime-hClBh8tp.js +1 -0
- package/dist/preview/assets/{schema-meta-6ZPO8dHv.js → schema-meta-BACRMkVo.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +16 -10
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.js +68 -43
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +1 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.js +5 -1
- package/dist/runtime/components/block-layout-editor/index.vue +8 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.d.vue.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/runtime.vue.d.ts +4 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.form/schema.d.ts +1 -1
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +2 -2
- package/dist/runtime/components/config/index.vue +5 -1
- package/dist/runtime/components/config/schema.d.ts +10 -0
- package/dist/runtime/components/config/schema.js +23 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +134 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue +78 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +134 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/runtime.vue +24 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.d.ts +132 -0
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/schema.js +14 -1
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +140 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue +77 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +140 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/runtime.vue +24 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.d.ts +132 -0
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/schema.js +14 -1
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.switch/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/schema.d.ts +2 -2
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.d.vue.ts +31 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue +103 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/config.vue.d.ts +31 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/runtime.js +63 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.d.ts +21 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +63 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.d.vue.ts +17 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.vue +85 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.vue.d.ts +17 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.js +36 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts +14 -0
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +38 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/schema.d.ts +3 -3
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/package.json +1 -1
- package/dist/preview/assets/badge-DFZBH8N6.js +0 -1
- package/dist/preview/assets/config-BH2BmDoD.js +0 -1
- package/dist/preview/assets/config-Bg7a8Rid.js +0 -1
- package/dist/preview/assets/config-Bnp547Nm.js +0 -1
- package/dist/preview/assets/config-CqeWJt_H.js +0 -1
- package/dist/preview/assets/config-Dj3w2JkF.js +0 -1
- package/dist/preview/assets/config-XGJ9V32V.js +0 -1
- package/dist/preview/assets/config-uIHUHvNR.js +0 -1
- package/dist/preview/assets/index-CGChrBji.js +0 -1
- package/dist/preview/assets/index-CQA6q2ay.js +0 -1
- package/dist/preview/assets/index-pkoEF5dC.css +0 -1
- package/dist/preview/assets/item-C4VJfiq8.js +0 -1
- package/dist/preview/assets/runtime-6Zrje7Y1.js +0 -1
- package/dist/preview/assets/runtime-BQMnWueG.js +0 -1
- package/dist/preview/assets/runtime-CBz5XstF.js +0 -1
- package/dist/preview/assets/runtime-DQL6lCFp.js +0 -1
- package/dist/preview/assets/runtime-DcdmMgqL.js +0 -1
- package/dist/preview/assets/runtime-okYOTQd6.js +0 -1
- package/dist/preview/assets/runtime-qPyuMgsh.js +0 -1
package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/config.vue
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ExpressionEditor } from "../../../ui/expression-editor";
|
|
3
|
+
import { Field, FieldGroup, FieldLabel } from "../../../ui/field";
|
|
4
|
+
import {
|
|
5
|
+
Select,
|
|
6
|
+
SelectContent,
|
|
7
|
+
SelectItem,
|
|
8
|
+
SelectTrigger,
|
|
9
|
+
SelectValue
|
|
10
|
+
} from "../../../ui/select";
|
|
11
|
+
import { Markdown } from "../../../ui/markdown";
|
|
12
|
+
import { getStructFieldDescription, getStructFieldTitle } from "../../../../share/schema-meta";
|
|
13
|
+
import { schema } from "./schema";
|
|
14
|
+
defineOptions({ name: "ShwfedNavigationOperationConfig" });
|
|
15
|
+
const value = defineModel({ type: null, ...{ required: true } });
|
|
16
|
+
const opSchema = schema(() => {
|
|
17
|
+
});
|
|
18
|
+
const fieldTitle = (f) => getStructFieldTitle(opSchema, f) ?? f;
|
|
19
|
+
const fieldDescription = (f) => getStructFieldDescription(opSchema, f);
|
|
20
|
+
const MODE_OPTIONS = [
|
|
21
|
+
{ value: "_self", label: "\u5F53\u524D\u9875\u9762\u6253\u5F00" },
|
|
22
|
+
{ value: "_blank", label: "\u65B0\u9875\u9762\u6253\u5F00" }
|
|
23
|
+
];
|
|
24
|
+
</script>
|
|
25
|
+
|
|
26
|
+
<template>
|
|
27
|
+
<FieldGroup>
|
|
28
|
+
<Field orientation="vertical">
|
|
29
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
30
|
+
<template
|
|
31
|
+
v-if="fieldDescription('url')"
|
|
32
|
+
#tooltip
|
|
33
|
+
>
|
|
34
|
+
<Markdown
|
|
35
|
+
:source="fieldDescription('url')"
|
|
36
|
+
block
|
|
37
|
+
class="prose prose-sm prose-zinc"
|
|
38
|
+
/>
|
|
39
|
+
</template>
|
|
40
|
+
{{ fieldTitle("url") }}
|
|
41
|
+
</FieldLabel>
|
|
42
|
+
<ExpressionEditor
|
|
43
|
+
:model-value="value.url ?? ''"
|
|
44
|
+
placeholder="例:'/detail/' + string(row.id)"
|
|
45
|
+
result-type="string"
|
|
46
|
+
multiline
|
|
47
|
+
class="min-h-10"
|
|
48
|
+
@update:model-value="(v) => value = { ...value, url: v }"
|
|
49
|
+
/>
|
|
50
|
+
</Field>
|
|
51
|
+
|
|
52
|
+
<Field orientation="vertical">
|
|
53
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
54
|
+
<template
|
|
55
|
+
v-if="fieldDescription('mode')"
|
|
56
|
+
#tooltip
|
|
57
|
+
>
|
|
58
|
+
<Markdown
|
|
59
|
+
:source="fieldDescription('mode')"
|
|
60
|
+
block
|
|
61
|
+
class="prose prose-sm prose-zinc"
|
|
62
|
+
/>
|
|
63
|
+
</template>
|
|
64
|
+
{{ fieldTitle("mode") }}
|
|
65
|
+
</FieldLabel>
|
|
66
|
+
<Select
|
|
67
|
+
:model-value="value.mode ?? '_self'"
|
|
68
|
+
@update:model-value="(v) => value = { ...value, mode: v }"
|
|
69
|
+
>
|
|
70
|
+
<SelectTrigger class="w-full">
|
|
71
|
+
<SelectValue />
|
|
72
|
+
</SelectTrigger>
|
|
73
|
+
<SelectContent>
|
|
74
|
+
<SelectItem
|
|
75
|
+
v-for="opt in MODE_OPTIONS"
|
|
76
|
+
:key="opt.value"
|
|
77
|
+
:value="opt.value"
|
|
78
|
+
>
|
|
79
|
+
{{ opt.label }}
|
|
80
|
+
</SelectItem>
|
|
81
|
+
</SelectContent>
|
|
82
|
+
</Select>
|
|
83
|
+
</Field>
|
|
84
|
+
</FieldGroup>
|
|
85
|
+
</template>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Value } from './schema.js';
|
|
2
|
+
type __VLS_ModelProps = {
|
|
3
|
+
modelValue: Value;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: {
|
|
7
|
+
readonly mode: "_blank" | "_self";
|
|
8
|
+
readonly url: string;
|
|
9
|
+
}) => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
11
|
+
"onUpdate:modelValue"?: ((value: {
|
|
12
|
+
readonly mode: "_blank" | "_self";
|
|
13
|
+
readonly url: string;
|
|
14
|
+
}) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/runtime.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Effect } from "effect";
|
|
2
|
+
import { navigateTo, useRouter } from "#app";
|
|
3
|
+
function isExternal(url) {
|
|
4
|
+
try {
|
|
5
|
+
return new URL(url, window.location.href).origin !== window.location.origin;
|
|
6
|
+
} catch {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export const handler = (params, ctx) => {
|
|
11
|
+
const { url, mode } = params ?? {};
|
|
12
|
+
if (!url || url.trim().length === 0) return Effect.void;
|
|
13
|
+
const program = Effect.gen(function* () {
|
|
14
|
+
const steps = ctx.step?.outputs() ?? {};
|
|
15
|
+
const resolved = yield* ctx.cel(url, { steps });
|
|
16
|
+
const router = useRouter();
|
|
17
|
+
const external = isExternal(resolved);
|
|
18
|
+
yield* Effect.promise(async () => {
|
|
19
|
+
if (mode === "_blank") {
|
|
20
|
+
window.open(external ? resolved : router.resolve(resolved).href, "_blank");
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
await navigateTo(resolved, { external });
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
return program.pipe(
|
|
27
|
+
// Navigation does NOT halt the chain. What can fail here is CEL evaluation
|
|
28
|
+
// of the URL (a config bug) or the navigation itself — best-effort either
|
|
29
|
+
// way: dev-warn, then continue. Returning `Effect.void` (not `Effect.die`)
|
|
30
|
+
// keeps both the `void` error channel intact and the rest of the chain
|
|
31
|
+
// running, unlike the request/alert ops whose failures are deliberate halts.
|
|
32
|
+
Effect.catchAll((error) => Effect.sync(() => {
|
|
33
|
+
if (import.meta.dev) console.warn("[shwfed-operations] navigation op failed", error);
|
|
34
|
+
}))
|
|
35
|
+
);
|
|
36
|
+
};
|
package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
|
+
import type { Environment } from '../../../../vendor/cel-js/lib/index.js';
|
|
3
|
+
export declare const type: "com.shwfed.operation.navigation";
|
|
4
|
+
export declare const compatibilityDate: "2026-06-15";
|
|
5
|
+
export declare const metadata: {
|
|
6
|
+
readonly name: "导航";
|
|
7
|
+
readonly icon: "fluent:link-20-regular";
|
|
8
|
+
};
|
|
9
|
+
export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
|
|
10
|
+
url: Schema.Schema<string, string, never>;
|
|
11
|
+
mode: Schema.Literal<["_self", "_blank"]>;
|
|
12
|
+
}>;
|
|
13
|
+
export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
|
|
14
|
+
export declare function defaults(): Partial<Value>;
|
package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { Expression } from "../../../../share/expression.js";
|
|
3
|
+
import { md } from "../../../../share/markdown.js";
|
|
4
|
+
import { registerStepsVariableIfAbsent } from "../../utils/step-vars.js";
|
|
5
|
+
export const type = "com.shwfed.operation.navigation";
|
|
6
|
+
export const compatibilityDate = "2026-06-15";
|
|
7
|
+
export const metadata = {
|
|
8
|
+
name: "\u5BFC\u822A",
|
|
9
|
+
icon: "fluent:link-20-regular"
|
|
10
|
+
// NOTE: no `output` — navigation publishes nothing for later trigger rows
|
|
11
|
+
// (it ends in a page navigation, not a value the chain can read back).
|
|
12
|
+
};
|
|
13
|
+
export function schema(configure) {
|
|
14
|
+
const withSteps = (env) => {
|
|
15
|
+
configure(env);
|
|
16
|
+
registerStepsVariableIfAbsent(env);
|
|
17
|
+
};
|
|
18
|
+
const CelUrl = Expression({ configure: withSteps, resultType: "string" });
|
|
19
|
+
return Schema.Struct({
|
|
20
|
+
url: CelUrl.annotations({
|
|
21
|
+
title: "\u94FE\u63A5",
|
|
22
|
+
description: "\u70B9\u51FB\u540E\u5C06\u6253\u5F00\u7684\u94FE\u63A5\uFF0C\u8FD4\u56DE `string`"
|
|
23
|
+
}),
|
|
24
|
+
mode: Schema.Literal("_self", "_blank").annotations({
|
|
25
|
+
title: "\u6253\u5F00\u65B9\u5F0F",
|
|
26
|
+
description: "\u9009\u62E9\u5728\u5F53\u524D\u9875\u9762\u6216\u65B0\u9875\u9762\u6253\u5F00\u94FE\u63A5"
|
|
27
|
+
})
|
|
28
|
+
}).annotations({
|
|
29
|
+
title: "NavigationOperation",
|
|
30
|
+
description: md`
|
|
31
|
+
按所选方式打开一个链接。链接表达式可经 \`steps["<步骤标识>"]\` 引用前序步骤的输出,
|
|
32
|
+
因此可由先前请求的响应拼接目标地址。导航失败不中止本次触发链。
|
|
33
|
+
`
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
export function defaults() {
|
|
37
|
+
return { url: "", mode: "_self" };
|
|
38
|
+
}
|
|
@@ -45,8 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly grow?: boolean | undefined;
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly options: string;
|
|
48
|
-
readonly accessor: string;
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
48
|
readonly optionValue: string;
|
|
51
49
|
readonly optionLabel: readonly [{
|
|
52
50
|
readonly locale: "zh";
|
|
@@ -55,6 +53,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
53
|
readonly locale: "en" | "ja" | "ko";
|
|
56
54
|
readonly message: string;
|
|
57
55
|
}[]];
|
|
56
|
+
readonly accessor: string;
|
|
57
|
+
readonly sortKey?: string | undefined;
|
|
58
58
|
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -100,8 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly grow?: boolean | undefined;
|
|
101
101
|
readonly enableSorting?: boolean | undefined;
|
|
102
102
|
readonly options: string;
|
|
103
|
-
readonly accessor: string;
|
|
104
|
-
readonly sortKey?: string | undefined;
|
|
105
103
|
readonly optionValue: string;
|
|
106
104
|
readonly optionLabel: readonly [{
|
|
107
105
|
readonly locale: "zh";
|
|
@@ -110,6 +108,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
108
|
readonly locale: "en" | "ja" | "ko";
|
|
111
109
|
readonly message: string;
|
|
112
110
|
}[]];
|
|
111
|
+
readonly accessor: string;
|
|
112
|
+
readonly sortKey?: string | undefined;
|
|
113
113
|
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,8 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly grow?: boolean | undefined;
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly options: string;
|
|
48
|
-
readonly accessor: string;
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
48
|
readonly optionValue: string;
|
|
51
49
|
readonly optionLabel: readonly [{
|
|
52
50
|
readonly locale: "zh";
|
|
@@ -55,6 +53,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
53
|
readonly locale: "en" | "ja" | "ko";
|
|
56
54
|
readonly message: string;
|
|
57
55
|
}[]];
|
|
56
|
+
readonly accessor: string;
|
|
57
|
+
readonly sortKey?: string | undefined;
|
|
58
58
|
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -100,8 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly grow?: boolean | undefined;
|
|
101
101
|
readonly enableSorting?: boolean | undefined;
|
|
102
102
|
readonly options: string;
|
|
103
|
-
readonly accessor: string;
|
|
104
|
-
readonly sortKey?: string | undefined;
|
|
105
103
|
readonly optionValue: string;
|
|
106
104
|
readonly optionLabel: readonly [{
|
|
107
105
|
readonly locale: "zh";
|
|
@@ -110,6 +108,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
108
|
readonly locale: "en" | "ja" | "ko";
|
|
111
109
|
readonly message: string;
|
|
112
110
|
}[]];
|
|
111
|
+
readonly accessor: string;
|
|
112
|
+
readonly sortKey?: string | undefined;
|
|
113
113
|
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,8 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly grow?: boolean | undefined;
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly options: string;
|
|
48
|
-
readonly accessor: string;
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
48
|
readonly optionValue: string;
|
|
51
49
|
readonly optionLabel: readonly [{
|
|
52
50
|
readonly locale: "zh";
|
|
@@ -55,6 +53,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
53
|
readonly locale: "en" | "ja" | "ko";
|
|
56
54
|
readonly message: string;
|
|
57
55
|
}[]];
|
|
56
|
+
readonly accessor: string;
|
|
57
|
+
readonly sortKey?: string | undefined;
|
|
58
58
|
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -100,8 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly grow?: boolean | undefined;
|
|
101
101
|
readonly enableSorting?: boolean | undefined;
|
|
102
102
|
readonly options: string;
|
|
103
|
-
readonly accessor: string;
|
|
104
|
-
readonly sortKey?: string | undefined;
|
|
105
103
|
readonly optionValue: string;
|
|
106
104
|
readonly optionLabel: readonly [{
|
|
107
105
|
readonly locale: "zh";
|
|
@@ -110,6 +108,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
108
|
readonly locale: "en" | "ja" | "ko";
|
|
111
109
|
readonly message: string;
|
|
112
110
|
}[]];
|
|
111
|
+
readonly accessor: string;
|
|
112
|
+
readonly sortKey?: string | undefined;
|
|
113
113
|
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,8 +45,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
45
45
|
readonly grow?: boolean | undefined;
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly options: string;
|
|
48
|
-
readonly accessor: string;
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
48
|
readonly optionValue: string;
|
|
51
49
|
readonly optionLabel: readonly [{
|
|
52
50
|
readonly locale: "zh";
|
|
@@ -55,6 +53,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
55
53
|
readonly locale: "en" | "ja" | "ko";
|
|
56
54
|
readonly message: string;
|
|
57
55
|
}[]];
|
|
56
|
+
readonly accessor: string;
|
|
57
|
+
readonly sortKey?: string | undefined;
|
|
58
58
|
readonly successMessage?: string | undefined;
|
|
59
59
|
}) => any;
|
|
60
60
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
@@ -100,8 +100,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
100
100
|
readonly grow?: boolean | undefined;
|
|
101
101
|
readonly enableSorting?: boolean | undefined;
|
|
102
102
|
readonly options: string;
|
|
103
|
-
readonly accessor: string;
|
|
104
|
-
readonly sortKey?: string | undefined;
|
|
105
103
|
readonly optionValue: string;
|
|
106
104
|
readonly optionLabel: readonly [{
|
|
107
105
|
readonly locale: "zh";
|
|
@@ -110,6 +108,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
110
108
|
readonly locale: "en" | "ja" | "ko";
|
|
111
109
|
readonly message: string;
|
|
112
110
|
}[]];
|
|
111
|
+
readonly accessor: string;
|
|
112
|
+
readonly sortKey?: string | undefined;
|
|
113
113
|
readonly successMessage?: string | undefined;
|
|
114
114
|
}) => any) | undefined;
|
|
115
115
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -33,19 +33,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly readonly?: string | undefined;
|
|
36
|
-
readonly dataSource: {
|
|
37
|
-
readonly data: string;
|
|
38
|
-
readonly request?: string | undefined;
|
|
39
|
-
};
|
|
40
36
|
readonly grow?: boolean | undefined;
|
|
41
37
|
readonly binding: string;
|
|
42
38
|
readonly derived?: {
|
|
43
39
|
readonly mode: "formula" | "prefill";
|
|
44
40
|
readonly expression: string;
|
|
45
41
|
} | undefined;
|
|
42
|
+
readonly dataSource: {
|
|
43
|
+
readonly data: string;
|
|
44
|
+
readonly request?: string | undefined;
|
|
45
|
+
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -64,6 +63,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
66
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -96,19 +96,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
-
readonly dataSource: {
|
|
100
|
-
readonly data: string;
|
|
101
|
-
readonly request?: string | undefined;
|
|
102
|
-
};
|
|
103
99
|
readonly grow?: boolean | undefined;
|
|
104
100
|
readonly binding: string;
|
|
105
101
|
readonly derived?: {
|
|
106
102
|
readonly mode: "formula" | "prefill";
|
|
107
103
|
readonly expression: string;
|
|
108
104
|
} | undefined;
|
|
105
|
+
readonly dataSource: {
|
|
106
|
+
readonly data: string;
|
|
107
|
+
readonly request?: string | undefined;
|
|
108
|
+
};
|
|
109
109
|
readonly enableSorting?: boolean | undefined;
|
|
110
110
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
111
|
-
readonly sortKey?: string | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -127,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
126
|
}[]] | undefined;
|
|
128
127
|
readonly nodeSelectable?: string | undefined;
|
|
129
128
|
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -33,19 +33,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly readonly?: string | undefined;
|
|
36
|
-
readonly dataSource: {
|
|
37
|
-
readonly data: string;
|
|
38
|
-
readonly request?: string | undefined;
|
|
39
|
-
};
|
|
40
36
|
readonly grow?: boolean | undefined;
|
|
41
37
|
readonly binding: string;
|
|
42
38
|
readonly derived?: {
|
|
43
39
|
readonly mode: "formula" | "prefill";
|
|
44
40
|
readonly expression: string;
|
|
45
41
|
} | undefined;
|
|
42
|
+
readonly dataSource: {
|
|
43
|
+
readonly data: string;
|
|
44
|
+
readonly request?: string | undefined;
|
|
45
|
+
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
47
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
48
|
-
readonly sortKey?: string | undefined;
|
|
49
48
|
readonly nodeKey: string;
|
|
50
49
|
readonly nodeChildren: string;
|
|
51
50
|
readonly nodeLabel: readonly [{
|
|
@@ -64,6 +63,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
64
63
|
}[]] | undefined;
|
|
65
64
|
readonly nodeSelectable?: string | undefined;
|
|
66
65
|
readonly expandAll: boolean;
|
|
66
|
+
readonly sortKey?: string | undefined;
|
|
67
67
|
}) => any;
|
|
68
68
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
69
69
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -96,19 +96,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
96
96
|
readonly message: string;
|
|
97
97
|
}[]] | undefined;
|
|
98
98
|
readonly readonly?: string | undefined;
|
|
99
|
-
readonly dataSource: {
|
|
100
|
-
readonly data: string;
|
|
101
|
-
readonly request?: string | undefined;
|
|
102
|
-
};
|
|
103
99
|
readonly grow?: boolean | undefined;
|
|
104
100
|
readonly binding: string;
|
|
105
101
|
readonly derived?: {
|
|
106
102
|
readonly mode: "formula" | "prefill";
|
|
107
103
|
readonly expression: string;
|
|
108
104
|
} | undefined;
|
|
105
|
+
readonly dataSource: {
|
|
106
|
+
readonly data: string;
|
|
107
|
+
readonly request?: string | undefined;
|
|
108
|
+
};
|
|
109
109
|
readonly enableSorting?: boolean | undefined;
|
|
110
110
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
111
|
-
readonly sortKey?: string | undefined;
|
|
112
111
|
readonly nodeKey: string;
|
|
113
112
|
readonly nodeChildren: string;
|
|
114
113
|
readonly nodeLabel: readonly [{
|
|
@@ -127,6 +126,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
127
126
|
}[]] | undefined;
|
|
128
127
|
readonly nodeSelectable?: string | undefined;
|
|
129
128
|
readonly expandAll: boolean;
|
|
129
|
+
readonly sortKey?: string | undefined;
|
|
130
130
|
}) => any) | undefined;
|
|
131
131
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
132
132
|
declare const _default: typeof __VLS_export;
|
|
@@ -33,18 +33,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly readonly?: string | undefined;
|
|
36
|
-
readonly dataSource: {
|
|
37
|
-
readonly data: string;
|
|
38
|
-
readonly request?: string | undefined;
|
|
39
|
-
};
|
|
40
36
|
readonly grow?: boolean | undefined;
|
|
41
37
|
readonly binding: string;
|
|
42
38
|
readonly derived?: {
|
|
43
39
|
readonly mode: "formula" | "prefill";
|
|
44
40
|
readonly expression: string;
|
|
45
41
|
} | undefined;
|
|
42
|
+
readonly dataSource: {
|
|
43
|
+
readonly data: string;
|
|
44
|
+
readonly request?: string | undefined;
|
|
45
|
+
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
|
-
readonly sortKey?: string | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -63,6 +62,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
63
62
|
}[]] | undefined;
|
|
64
63
|
readonly nodeSelectable?: string | undefined;
|
|
65
64
|
readonly expandAll: boolean;
|
|
65
|
+
readonly sortKey?: string | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
68
68
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -95,18 +95,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
readonly message: string;
|
|
96
96
|
}[]] | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
-
readonly dataSource: {
|
|
99
|
-
readonly data: string;
|
|
100
|
-
readonly request?: string | undefined;
|
|
101
|
-
};
|
|
102
98
|
readonly grow?: boolean | undefined;
|
|
103
99
|
readonly binding: string;
|
|
104
100
|
readonly derived?: {
|
|
105
101
|
readonly mode: "formula" | "prefill";
|
|
106
102
|
readonly expression: string;
|
|
107
103
|
} | undefined;
|
|
104
|
+
readonly dataSource: {
|
|
105
|
+
readonly data: string;
|
|
106
|
+
readonly request?: string | undefined;
|
|
107
|
+
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
|
-
readonly sortKey?: string | undefined;
|
|
110
109
|
readonly nodeKey: string;
|
|
111
110
|
readonly nodeChildren: string;
|
|
112
111
|
readonly nodeLabel: readonly [{
|
|
@@ -125,6 +124,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
124
|
}[]] | undefined;
|
|
126
125
|
readonly nodeSelectable?: string | undefined;
|
|
127
126
|
readonly expandAll: boolean;
|
|
127
|
+
readonly sortKey?: string | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
130
130
|
declare const _default: typeof __VLS_export;
|
|
@@ -33,18 +33,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly message: string;
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly readonly?: string | undefined;
|
|
36
|
-
readonly dataSource: {
|
|
37
|
-
readonly data: string;
|
|
38
|
-
readonly request?: string | undefined;
|
|
39
|
-
};
|
|
40
36
|
readonly grow?: boolean | undefined;
|
|
41
37
|
readonly binding: string;
|
|
42
38
|
readonly derived?: {
|
|
43
39
|
readonly mode: "formula" | "prefill";
|
|
44
40
|
readonly expression: string;
|
|
45
41
|
} | undefined;
|
|
42
|
+
readonly dataSource: {
|
|
43
|
+
readonly data: string;
|
|
44
|
+
readonly request?: string | undefined;
|
|
45
|
+
};
|
|
46
46
|
readonly enableSorting?: boolean | undefined;
|
|
47
|
-
readonly sortKey?: string | undefined;
|
|
48
47
|
readonly nodeKey: string;
|
|
49
48
|
readonly nodeChildren: string;
|
|
50
49
|
readonly nodeLabel: readonly [{
|
|
@@ -63,6 +62,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
63
62
|
}[]] | undefined;
|
|
64
63
|
readonly nodeSelectable?: string | undefined;
|
|
65
64
|
readonly expandAll: boolean;
|
|
65
|
+
readonly sortKey?: string | undefined;
|
|
66
66
|
}) => any;
|
|
67
67
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
68
68
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -95,18 +95,17 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
readonly message: string;
|
|
96
96
|
}[]] | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
-
readonly dataSource: {
|
|
99
|
-
readonly data: string;
|
|
100
|
-
readonly request?: string | undefined;
|
|
101
|
-
};
|
|
102
98
|
readonly grow?: boolean | undefined;
|
|
103
99
|
readonly binding: string;
|
|
104
100
|
readonly derived?: {
|
|
105
101
|
readonly mode: "formula" | "prefill";
|
|
106
102
|
readonly expression: string;
|
|
107
103
|
} | undefined;
|
|
104
|
+
readonly dataSource: {
|
|
105
|
+
readonly data: string;
|
|
106
|
+
readonly request?: string | undefined;
|
|
107
|
+
};
|
|
108
108
|
readonly enableSorting?: boolean | undefined;
|
|
109
|
-
readonly sortKey?: string | undefined;
|
|
110
109
|
readonly nodeKey: string;
|
|
111
110
|
readonly nodeChildren: string;
|
|
112
111
|
readonly nodeLabel: readonly [{
|
|
@@ -125,6 +124,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
125
124
|
}[]] | undefined;
|
|
126
125
|
readonly nodeSelectable?: string | undefined;
|
|
127
126
|
readonly expandAll: boolean;
|
|
127
|
+
readonly sortKey?: string | undefined;
|
|
128
128
|
}) => any) | undefined;
|
|
129
129
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
130
130
|
declare const _default: typeof __VLS_export;
|
|
@@ -34,19 +34,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
}[]] | undefined;
|
|
35
35
|
readonly keywords?: string | undefined;
|
|
36
36
|
readonly readonly?: string | undefined;
|
|
37
|
-
readonly dataSource: {
|
|
38
|
-
readonly data: string;
|
|
39
|
-
readonly request?: string | undefined;
|
|
40
|
-
};
|
|
41
37
|
readonly grow?: boolean | undefined;
|
|
42
38
|
readonly binding: string;
|
|
43
39
|
readonly derived?: {
|
|
44
40
|
readonly mode: "formula" | "prefill";
|
|
45
41
|
readonly expression: string;
|
|
46
42
|
} | undefined;
|
|
43
|
+
readonly dataSource: {
|
|
44
|
+
readonly data: string;
|
|
45
|
+
readonly request?: string | undefined;
|
|
46
|
+
};
|
|
47
47
|
readonly enableSorting?: boolean | undefined;
|
|
48
48
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
49
|
-
readonly sortKey?: string | undefined;
|
|
50
49
|
readonly nodeKey: string;
|
|
51
50
|
readonly nodeChildren: string;
|
|
52
51
|
readonly nodeLabel: readonly [{
|
|
@@ -65,6 +64,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
65
64
|
}[]] | undefined;
|
|
66
65
|
readonly nodeSelectable?: string | undefined;
|
|
67
66
|
readonly expandAll: boolean;
|
|
67
|
+
readonly sortKey?: string | undefined;
|
|
68
68
|
}) => any;
|
|
69
69
|
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
70
70
|
"onUpdate:modelValue"?: ((value: {
|
|
@@ -98,19 +98,18 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
-
readonly dataSource: {
|
|
102
|
-
readonly data: string;
|
|
103
|
-
readonly request?: string | undefined;
|
|
104
|
-
};
|
|
105
101
|
readonly grow?: boolean | undefined;
|
|
106
102
|
readonly binding: string;
|
|
107
103
|
readonly derived?: {
|
|
108
104
|
readonly mode: "formula" | "prefill";
|
|
109
105
|
readonly expression: string;
|
|
110
106
|
} | undefined;
|
|
107
|
+
readonly dataSource: {
|
|
108
|
+
readonly data: string;
|
|
109
|
+
readonly request?: string | undefined;
|
|
110
|
+
};
|
|
111
111
|
readonly enableSorting?: boolean | undefined;
|
|
112
112
|
readonly cascade: "independent" | "cascade-down" | "cascade-both";
|
|
113
|
-
readonly sortKey?: string | undefined;
|
|
114
113
|
readonly nodeKey: string;
|
|
115
114
|
readonly nodeChildren: string;
|
|
116
115
|
readonly nodeLabel: readonly [{
|
|
@@ -129,6 +128,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
129
128
|
}[]] | undefined;
|
|
130
129
|
readonly nodeSelectable?: string | undefined;
|
|
131
130
|
readonly expandAll: boolean;
|
|
131
|
+
readonly sortKey?: string | undefined;
|
|
132
132
|
}) => any) | undefined;
|
|
133
133
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
134
134
|
declare const _default: typeof __VLS_export;
|