@shwfed/config 2.10.4 → 2.10.5
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 +1574 -1315
- package/dist/module.json +1 -1
- package/dist/preview/assets/{FieldGroup.vue_vue_type_script_setup_true_lang-DIjsktfi.js → FieldGroup.vue_vue_type_script_setup_true_lang-D-COryaS.js} +1 -1
- package/dist/preview/assets/{badge-Cr6_n00S.js → badge-Sb01O_E2.js} +1 -1
- package/dist/preview/assets/{config-B2rtOFE1.js → config-99L3dMcP.js} +1 -1
- package/dist/preview/assets/{config-DF4u2WzQ.js → config-BgJWNJ-L.js} +1 -1
- package/dist/preview/assets/{config-CwbWyadd.js → config-BjSI3yTw.js} +1 -1
- package/dist/preview/assets/{config-Bu-ffrDi.js → config-BzMW9qCl.js} +1 -1
- package/dist/preview/assets/{config-BjUIO7Ps.js → config-CEM0BCax.js} +1 -1
- package/dist/preview/assets/{config-CSauYxAG.js → config-CtKXZjQl.js} +1 -1
- package/dist/preview/assets/{config-CNY70agP.js → config-CyRpAiSg.js} +1 -1
- package/dist/preview/assets/{config-CrA5lAMB.js → config-Cz3VQcLY.js} +1 -1
- package/dist/preview/assets/{config-hXHOfKvD.js → config-D6BiWm3q.js} +1 -1
- package/dist/preview/assets/{config-DpcMlGoM.js → config-DA1Knc1V.js} +1 -1
- package/dist/preview/assets/{config-Dx9AeOjb.js → config-DGBuMIqU.js} +1 -1
- package/dist/preview/assets/{config-1VGYa1Zb.js → config-DK0wxXG_.js} +1 -1
- package/dist/preview/assets/{config-BemROLz0.js → config-Du8kzY9H.js} +1 -1
- package/dist/preview/assets/{config-DTDFg08z.js → config-n4AGAnL-.js} +1 -1
- package/dist/preview/assets/{definition.vue_vue_type_script_setup_true_lang-v2AaUd8i.js → definition.vue_vue_type_script_setup_true_lang-BtOF0dda.js} +1 -1
- package/dist/preview/assets/{index-BzWZj-hV.js → index-BOnw60vg.js} +1 -1
- package/dist/preview/assets/index-BZlqSG2R.js +763 -0
- package/dist/preview/assets/index-D3Az3yzR.css +1 -0
- package/dist/preview/assets/index-Rj5bF6fM.js +1 -0
- package/dist/preview/assets/{item-B_QcL62I.js → item-D7avZRKo.js} +1 -1
- package/dist/preview/assets/{runtime-BbiAwZZ9.js → runtime-BWlX7BAG.js} +1 -1
- package/dist/preview/assets/{runtime-DUMSbsqb.js → runtime-Bek88ifk.js} +1 -1
- package/dist/preview/assets/{runtime-hClBh8tp.js → runtime-C9kOkTYc.js} +1 -1
- package/dist/preview/assets/{runtime-BRg0jxiK.js → runtime-CSrgcLuC.js} +1 -1
- package/dist/preview/assets/{runtime-CKoLdM68.js → runtime-CWTz9Iy4.js} +1 -1
- package/dist/preview/assets/{runtime-Cfup01hl.js → runtime-D-HZWcV-.js} +1 -1
- package/dist/preview/assets/{runtime-D-MaRCSg.js → runtime-DMsPs0Pz.js} +1 -1
- package/dist/preview/assets/{runtime-Cu_C4Joj.js → runtime-DOqVHcvv.js} +1 -1
- package/dist/preview/assets/{runtime-CZ6uHCIE.js → runtime-Dhl0NpTL.js} +1 -1
- package/dist/preview/assets/{runtime-Cd79TXff.js → runtime-Dxb1-gUN.js} +1 -1
- package/dist/preview/assets/{schema-meta-BACRMkVo.js → schema-meta-DXS0vi6v.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.js +5 -1
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +223 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue +496 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +223 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.d.vue.ts +10 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.vue +25 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/node-actions.vue.d.ts +10 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +228 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue +355 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +228 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.d.ts +227 -0
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/schema.js +130 -0
- package/dist/runtime/components/config/utils/resolve.d.ts +16 -0
- 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-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/schema.js +2 -1
- 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-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/schema.js +2 -1
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.select/runtime.vue +3 -3
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.text/runtime.vue +54 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- 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-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- 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-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.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 +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -4
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/schema.js +2 -1
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.d.vue.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +543 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue.d.ts +10 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.d.vue.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +110 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue.d.ts +9 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +76 -0
- package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +89 -0
- 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/dist/runtime/components/ui/tree/Tree.d.vue.ts +13 -0
- package/dist/runtime/components/ui/tree/Tree.vue +8 -1
- package/dist/runtime/components/ui/tree/Tree.vue.d.ts +13 -0
- package/dist/runtime/components/ui/tree/TreeNode.d.vue.ts +2 -0
- package/dist/runtime/components/ui/tree/TreeNode.vue +5 -2
- package/dist/runtime/components/ui/tree/TreeNode.vue.d.ts +2 -0
- package/dist/runtime/share/slot-renderer.d.vue.ts +5 -0
- package/dist/runtime/share/slot-renderer.vue +43 -28
- package/dist/runtime/share/slot-renderer.vue.d.ts +5 -0
- package/dist/runtime/share/tree-node-var.d.ts +25 -0
- package/dist/runtime/share/tree-node-var.js +10 -0
- package/dist/runtime/vendor/cel-js/CLAUDE.md +1 -1
- package/dist/runtime/vendor/cel-js/PROMPT.md +6 -0
- package/dist/runtime/vendor/cel-js/lib/http-builtins.d.ts +0 -14
- package/dist/runtime/vendor/cel-js/lib/http-builtins.js +17 -0
- package/package.json +1 -1
- package/dist/preview/assets/index-BDbNnENM.js +0 -1
- package/dist/preview/assets/index-ButPJaOR.css +0 -1
- package/dist/preview/assets/index-E3_P6Fhz.js +0 -761
|
@@ -0,0 +1,223 @@
|
|
|
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 filter?: {
|
|
8
|
+
readonly label?: readonly [{
|
|
9
|
+
readonly locale: "zh";
|
|
10
|
+
readonly message: string;
|
|
11
|
+
}, ...{
|
|
12
|
+
readonly locale: "en" | "ja" | "ko";
|
|
13
|
+
readonly message: string;
|
|
14
|
+
}[]] | undefined;
|
|
15
|
+
readonly enabled: boolean;
|
|
16
|
+
readonly keywords?: string | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
readonly type: "com.shwfed.block.tree.single";
|
|
19
|
+
readonly style?: string | undefined;
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly compatibilityDate: "2026-06-17";
|
|
22
|
+
readonly dataSource: {
|
|
23
|
+
readonly data: string;
|
|
24
|
+
readonly request?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
readonly nodeKey: string;
|
|
27
|
+
readonly nodeChildren: string;
|
|
28
|
+
readonly nodeLabel: readonly [{
|
|
29
|
+
readonly locale: "zh";
|
|
30
|
+
readonly message: string;
|
|
31
|
+
}, ...{
|
|
32
|
+
readonly locale: "en" | "ja" | "ko";
|
|
33
|
+
readonly message: string;
|
|
34
|
+
}[]];
|
|
35
|
+
readonly nodeTooltip?: readonly [{
|
|
36
|
+
readonly locale: "zh";
|
|
37
|
+
readonly message: string;
|
|
38
|
+
}, ...{
|
|
39
|
+
readonly locale: "en" | "ja" | "ko";
|
|
40
|
+
readonly message: string;
|
|
41
|
+
}[]] | undefined;
|
|
42
|
+
readonly nodeSelectable?: string | undefined;
|
|
43
|
+
readonly expandAll: boolean;
|
|
44
|
+
readonly nodeActions: {
|
|
45
|
+
readonly size: "default" | "sm" | "xs";
|
|
46
|
+
readonly style?: string | undefined;
|
|
47
|
+
readonly gap: number;
|
|
48
|
+
readonly kind: "shwfed.component.action";
|
|
49
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
50
|
+
readonly disabled?: string | undefined;
|
|
51
|
+
readonly id: string;
|
|
52
|
+
readonly title: readonly [{
|
|
53
|
+
readonly locale: "zh";
|
|
54
|
+
readonly message: string;
|
|
55
|
+
}, ...{
|
|
56
|
+
readonly locale: "en" | "ja" | "ko";
|
|
57
|
+
readonly message: string;
|
|
58
|
+
}[]];
|
|
59
|
+
readonly icon?: string | undefined;
|
|
60
|
+
readonly hidden?: string | undefined;
|
|
61
|
+
readonly tooltip?: readonly [{
|
|
62
|
+
readonly locale: "zh";
|
|
63
|
+
readonly message: string;
|
|
64
|
+
}, ...{
|
|
65
|
+
readonly locale: "en" | "ja" | "ko";
|
|
66
|
+
readonly message: string;
|
|
67
|
+
}[]] | undefined;
|
|
68
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
69
|
+
readonly action?: any;
|
|
70
|
+
readonly groupId: string;
|
|
71
|
+
readonly hideTitle?: boolean | undefined;
|
|
72
|
+
} | {
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly title: readonly [{
|
|
75
|
+
readonly locale: "zh";
|
|
76
|
+
readonly message: string;
|
|
77
|
+
}, ...{
|
|
78
|
+
readonly locale: "en" | "ja" | "ko";
|
|
79
|
+
readonly message: string;
|
|
80
|
+
}[]];
|
|
81
|
+
readonly icon?: string | undefined;
|
|
82
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
83
|
+
readonly disabled?: string | undefined;
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly title: readonly [{
|
|
86
|
+
readonly locale: "zh";
|
|
87
|
+
readonly message: string;
|
|
88
|
+
}, ...{
|
|
89
|
+
readonly locale: "en" | "ja" | "ko";
|
|
90
|
+
readonly message: string;
|
|
91
|
+
}[]];
|
|
92
|
+
readonly icon?: string | undefined;
|
|
93
|
+
readonly hidden?: string | undefined;
|
|
94
|
+
readonly tooltip?: readonly [{
|
|
95
|
+
readonly locale: "zh";
|
|
96
|
+
readonly message: string;
|
|
97
|
+
}, ...{
|
|
98
|
+
readonly locale: "en" | "ja" | "ko";
|
|
99
|
+
readonly message: string;
|
|
100
|
+
}[]] | undefined;
|
|
101
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
102
|
+
readonly action?: any;
|
|
103
|
+
})[];
|
|
104
|
+
readonly groupId: string;
|
|
105
|
+
readonly hideTitle?: boolean | undefined;
|
|
106
|
+
})[];
|
|
107
|
+
readonly groups: readonly {
|
|
108
|
+
readonly id: string;
|
|
109
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
110
|
+
}[];
|
|
111
|
+
};
|
|
112
|
+
}) => any;
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
114
|
+
"onUpdate:modelValue"?: ((value: {
|
|
115
|
+
readonly filter?: {
|
|
116
|
+
readonly label?: readonly [{
|
|
117
|
+
readonly locale: "zh";
|
|
118
|
+
readonly message: string;
|
|
119
|
+
}, ...{
|
|
120
|
+
readonly locale: "en" | "ja" | "ko";
|
|
121
|
+
readonly message: string;
|
|
122
|
+
}[]] | undefined;
|
|
123
|
+
readonly enabled: boolean;
|
|
124
|
+
readonly keywords?: string | undefined;
|
|
125
|
+
} | undefined;
|
|
126
|
+
readonly type: "com.shwfed.block.tree.single";
|
|
127
|
+
readonly style?: string | undefined;
|
|
128
|
+
readonly id: string;
|
|
129
|
+
readonly compatibilityDate: "2026-06-17";
|
|
130
|
+
readonly dataSource: {
|
|
131
|
+
readonly data: string;
|
|
132
|
+
readonly request?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
readonly nodeKey: string;
|
|
135
|
+
readonly nodeChildren: string;
|
|
136
|
+
readonly nodeLabel: readonly [{
|
|
137
|
+
readonly locale: "zh";
|
|
138
|
+
readonly message: string;
|
|
139
|
+
}, ...{
|
|
140
|
+
readonly locale: "en" | "ja" | "ko";
|
|
141
|
+
readonly message: string;
|
|
142
|
+
}[]];
|
|
143
|
+
readonly nodeTooltip?: readonly [{
|
|
144
|
+
readonly locale: "zh";
|
|
145
|
+
readonly message: string;
|
|
146
|
+
}, ...{
|
|
147
|
+
readonly locale: "en" | "ja" | "ko";
|
|
148
|
+
readonly message: string;
|
|
149
|
+
}[]] | undefined;
|
|
150
|
+
readonly nodeSelectable?: string | undefined;
|
|
151
|
+
readonly expandAll: boolean;
|
|
152
|
+
readonly nodeActions: {
|
|
153
|
+
readonly size: "default" | "sm" | "xs";
|
|
154
|
+
readonly style?: string | undefined;
|
|
155
|
+
readonly gap: number;
|
|
156
|
+
readonly kind: "shwfed.component.action";
|
|
157
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
158
|
+
readonly disabled?: string | undefined;
|
|
159
|
+
readonly id: string;
|
|
160
|
+
readonly title: readonly [{
|
|
161
|
+
readonly locale: "zh";
|
|
162
|
+
readonly message: string;
|
|
163
|
+
}, ...{
|
|
164
|
+
readonly locale: "en" | "ja" | "ko";
|
|
165
|
+
readonly message: string;
|
|
166
|
+
}[]];
|
|
167
|
+
readonly icon?: string | undefined;
|
|
168
|
+
readonly hidden?: string | undefined;
|
|
169
|
+
readonly tooltip?: readonly [{
|
|
170
|
+
readonly locale: "zh";
|
|
171
|
+
readonly message: string;
|
|
172
|
+
}, ...{
|
|
173
|
+
readonly locale: "en" | "ja" | "ko";
|
|
174
|
+
readonly message: string;
|
|
175
|
+
}[]] | undefined;
|
|
176
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
177
|
+
readonly action?: any;
|
|
178
|
+
readonly groupId: string;
|
|
179
|
+
readonly hideTitle?: boolean | undefined;
|
|
180
|
+
} | {
|
|
181
|
+
readonly id: string;
|
|
182
|
+
readonly title: readonly [{
|
|
183
|
+
readonly locale: "zh";
|
|
184
|
+
readonly message: string;
|
|
185
|
+
}, ...{
|
|
186
|
+
readonly locale: "en" | "ja" | "ko";
|
|
187
|
+
readonly message: string;
|
|
188
|
+
}[]];
|
|
189
|
+
readonly icon?: string | undefined;
|
|
190
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
191
|
+
readonly disabled?: string | undefined;
|
|
192
|
+
readonly id: string;
|
|
193
|
+
readonly title: readonly [{
|
|
194
|
+
readonly locale: "zh";
|
|
195
|
+
readonly message: string;
|
|
196
|
+
}, ...{
|
|
197
|
+
readonly locale: "en" | "ja" | "ko";
|
|
198
|
+
readonly message: string;
|
|
199
|
+
}[]];
|
|
200
|
+
readonly icon?: string | undefined;
|
|
201
|
+
readonly hidden?: string | undefined;
|
|
202
|
+
readonly tooltip?: readonly [{
|
|
203
|
+
readonly locale: "zh";
|
|
204
|
+
readonly message: string;
|
|
205
|
+
}, ...{
|
|
206
|
+
readonly locale: "en" | "ja" | "ko";
|
|
207
|
+
readonly message: string;
|
|
208
|
+
}[]] | undefined;
|
|
209
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
210
|
+
readonly action?: any;
|
|
211
|
+
})[];
|
|
212
|
+
readonly groupId: string;
|
|
213
|
+
readonly hideTitle?: boolean | undefined;
|
|
214
|
+
})[];
|
|
215
|
+
readonly groups: readonly {
|
|
216
|
+
readonly id: string;
|
|
217
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
218
|
+
}[];
|
|
219
|
+
};
|
|
220
|
+
}) => any) | undefined;
|
|
221
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
222
|
+
declare const _default: typeof __VLS_export;
|
|
223
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ActionsConfigValue } from '../../../../actions/schema.js';
|
|
2
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
node: unknown;
|
|
5
|
+
config: ActionsConfigValue;
|
|
6
|
+
configure?: (env: Environment) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import ShwfedActions from "../../../../actions/components/group.vue";
|
|
3
|
+
import { provideCELContext } from "../../../../../utils/cel-context";
|
|
4
|
+
defineOptions({ name: "ShwfedBlockTreeSingleNodeActions" });
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
node: { type: null, required: true },
|
|
7
|
+
config: { type: null, required: true },
|
|
8
|
+
configure: { type: Function, required: false }
|
|
9
|
+
});
|
|
10
|
+
provideCELContext({
|
|
11
|
+
node: {
|
|
12
|
+
type: "dyn",
|
|
13
|
+
label: "\u5F53\u524D\u8282\u70B9",
|
|
14
|
+
description: "\u5F53\u524D\u6811\u8282\u70B9\u7684\u5B8C\u6574\u6570\u636E\u3002",
|
|
15
|
+
value: () => props.node
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<ShwfedActions
|
|
22
|
+
:config="config"
|
|
23
|
+
:configure="configure"
|
|
24
|
+
/>
|
|
25
|
+
</template>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ActionsConfigValue } from '../../../../actions/schema.js';
|
|
2
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
node: unknown;
|
|
5
|
+
config: ActionsConfigValue;
|
|
6
|
+
configure?: (env: Environment) => void;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: typeof __VLS_export;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import type { Environment } from '../../../../../vendor/cel-js/lib/index.js';
|
|
2
|
+
import type { Value } from './schema.js';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
configure?: (env: Environment) => void;
|
|
5
|
+
};
|
|
6
|
+
type __VLS_ModelProps = {
|
|
7
|
+
'block': Value;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
"update:block": (value: {
|
|
12
|
+
readonly filter?: {
|
|
13
|
+
readonly label?: readonly [{
|
|
14
|
+
readonly locale: "zh";
|
|
15
|
+
readonly message: string;
|
|
16
|
+
}, ...{
|
|
17
|
+
readonly locale: "en" | "ja" | "ko";
|
|
18
|
+
readonly message: string;
|
|
19
|
+
}[]] | undefined;
|
|
20
|
+
readonly enabled: boolean;
|
|
21
|
+
readonly keywords?: string | undefined;
|
|
22
|
+
} | undefined;
|
|
23
|
+
readonly type: "com.shwfed.block.tree.single";
|
|
24
|
+
readonly style?: string | undefined;
|
|
25
|
+
readonly id: string;
|
|
26
|
+
readonly compatibilityDate: "2026-06-17";
|
|
27
|
+
readonly dataSource: {
|
|
28
|
+
readonly data: string;
|
|
29
|
+
readonly request?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
readonly nodeKey: string;
|
|
32
|
+
readonly nodeChildren: string;
|
|
33
|
+
readonly nodeLabel: readonly [{
|
|
34
|
+
readonly locale: "zh";
|
|
35
|
+
readonly message: string;
|
|
36
|
+
}, ...{
|
|
37
|
+
readonly locale: "en" | "ja" | "ko";
|
|
38
|
+
readonly message: string;
|
|
39
|
+
}[]];
|
|
40
|
+
readonly nodeTooltip?: readonly [{
|
|
41
|
+
readonly locale: "zh";
|
|
42
|
+
readonly message: string;
|
|
43
|
+
}, ...{
|
|
44
|
+
readonly locale: "en" | "ja" | "ko";
|
|
45
|
+
readonly message: string;
|
|
46
|
+
}[]] | undefined;
|
|
47
|
+
readonly nodeSelectable?: string | undefined;
|
|
48
|
+
readonly expandAll: boolean;
|
|
49
|
+
readonly nodeActions: {
|
|
50
|
+
readonly size: "default" | "sm" | "xs";
|
|
51
|
+
readonly style?: string | undefined;
|
|
52
|
+
readonly gap: number;
|
|
53
|
+
readonly kind: "shwfed.component.action";
|
|
54
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
55
|
+
readonly disabled?: string | undefined;
|
|
56
|
+
readonly id: string;
|
|
57
|
+
readonly title: readonly [{
|
|
58
|
+
readonly locale: "zh";
|
|
59
|
+
readonly message: string;
|
|
60
|
+
}, ...{
|
|
61
|
+
readonly locale: "en" | "ja" | "ko";
|
|
62
|
+
readonly message: string;
|
|
63
|
+
}[]];
|
|
64
|
+
readonly icon?: string | undefined;
|
|
65
|
+
readonly hidden?: string | undefined;
|
|
66
|
+
readonly tooltip?: readonly [{
|
|
67
|
+
readonly locale: "zh";
|
|
68
|
+
readonly message: string;
|
|
69
|
+
}, ...{
|
|
70
|
+
readonly locale: "en" | "ja" | "ko";
|
|
71
|
+
readonly message: string;
|
|
72
|
+
}[]] | undefined;
|
|
73
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
74
|
+
readonly action?: any;
|
|
75
|
+
readonly groupId: string;
|
|
76
|
+
readonly hideTitle?: boolean | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
readonly id: string;
|
|
79
|
+
readonly title: readonly [{
|
|
80
|
+
readonly locale: "zh";
|
|
81
|
+
readonly message: string;
|
|
82
|
+
}, ...{
|
|
83
|
+
readonly locale: "en" | "ja" | "ko";
|
|
84
|
+
readonly message: string;
|
|
85
|
+
}[]];
|
|
86
|
+
readonly icon?: string | undefined;
|
|
87
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
88
|
+
readonly disabled?: string | undefined;
|
|
89
|
+
readonly id: string;
|
|
90
|
+
readonly title: readonly [{
|
|
91
|
+
readonly locale: "zh";
|
|
92
|
+
readonly message: string;
|
|
93
|
+
}, ...{
|
|
94
|
+
readonly locale: "en" | "ja" | "ko";
|
|
95
|
+
readonly message: string;
|
|
96
|
+
}[]];
|
|
97
|
+
readonly icon?: string | undefined;
|
|
98
|
+
readonly hidden?: string | undefined;
|
|
99
|
+
readonly tooltip?: readonly [{
|
|
100
|
+
readonly locale: "zh";
|
|
101
|
+
readonly message: string;
|
|
102
|
+
}, ...{
|
|
103
|
+
readonly locale: "en" | "ja" | "ko";
|
|
104
|
+
readonly message: string;
|
|
105
|
+
}[]] | undefined;
|
|
106
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
107
|
+
readonly action?: any;
|
|
108
|
+
})[];
|
|
109
|
+
readonly groupId: string;
|
|
110
|
+
readonly hideTitle?: boolean | undefined;
|
|
111
|
+
})[];
|
|
112
|
+
readonly groups: readonly {
|
|
113
|
+
readonly id: string;
|
|
114
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
115
|
+
}[];
|
|
116
|
+
};
|
|
117
|
+
}) => any;
|
|
118
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
119
|
+
"onUpdate:block"?: ((value: {
|
|
120
|
+
readonly filter?: {
|
|
121
|
+
readonly label?: readonly [{
|
|
122
|
+
readonly locale: "zh";
|
|
123
|
+
readonly message: string;
|
|
124
|
+
}, ...{
|
|
125
|
+
readonly locale: "en" | "ja" | "ko";
|
|
126
|
+
readonly message: string;
|
|
127
|
+
}[]] | undefined;
|
|
128
|
+
readonly enabled: boolean;
|
|
129
|
+
readonly keywords?: string | undefined;
|
|
130
|
+
} | undefined;
|
|
131
|
+
readonly type: "com.shwfed.block.tree.single";
|
|
132
|
+
readonly style?: string | undefined;
|
|
133
|
+
readonly id: string;
|
|
134
|
+
readonly compatibilityDate: "2026-06-17";
|
|
135
|
+
readonly dataSource: {
|
|
136
|
+
readonly data: string;
|
|
137
|
+
readonly request?: string | undefined;
|
|
138
|
+
};
|
|
139
|
+
readonly nodeKey: string;
|
|
140
|
+
readonly nodeChildren: string;
|
|
141
|
+
readonly nodeLabel: readonly [{
|
|
142
|
+
readonly locale: "zh";
|
|
143
|
+
readonly message: string;
|
|
144
|
+
}, ...{
|
|
145
|
+
readonly locale: "en" | "ja" | "ko";
|
|
146
|
+
readonly message: string;
|
|
147
|
+
}[]];
|
|
148
|
+
readonly nodeTooltip?: readonly [{
|
|
149
|
+
readonly locale: "zh";
|
|
150
|
+
readonly message: string;
|
|
151
|
+
}, ...{
|
|
152
|
+
readonly locale: "en" | "ja" | "ko";
|
|
153
|
+
readonly message: string;
|
|
154
|
+
}[]] | undefined;
|
|
155
|
+
readonly nodeSelectable?: string | undefined;
|
|
156
|
+
readonly expandAll: boolean;
|
|
157
|
+
readonly nodeActions: {
|
|
158
|
+
readonly size: "default" | "sm" | "xs";
|
|
159
|
+
readonly style?: string | undefined;
|
|
160
|
+
readonly gap: number;
|
|
161
|
+
readonly kind: "shwfed.component.action";
|
|
162
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistryItemValue | {
|
|
163
|
+
readonly disabled?: string | undefined;
|
|
164
|
+
readonly id: string;
|
|
165
|
+
readonly title: readonly [{
|
|
166
|
+
readonly locale: "zh";
|
|
167
|
+
readonly message: string;
|
|
168
|
+
}, ...{
|
|
169
|
+
readonly locale: "en" | "ja" | "ko";
|
|
170
|
+
readonly message: string;
|
|
171
|
+
}[]];
|
|
172
|
+
readonly icon?: string | undefined;
|
|
173
|
+
readonly hidden?: string | undefined;
|
|
174
|
+
readonly tooltip?: readonly [{
|
|
175
|
+
readonly locale: "zh";
|
|
176
|
+
readonly message: string;
|
|
177
|
+
}, ...{
|
|
178
|
+
readonly locale: "en" | "ja" | "ko";
|
|
179
|
+
readonly message: string;
|
|
180
|
+
}[]] | undefined;
|
|
181
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
182
|
+
readonly action?: any;
|
|
183
|
+
readonly groupId: string;
|
|
184
|
+
readonly hideTitle?: boolean | undefined;
|
|
185
|
+
} | {
|
|
186
|
+
readonly id: string;
|
|
187
|
+
readonly title: readonly [{
|
|
188
|
+
readonly locale: "zh";
|
|
189
|
+
readonly message: string;
|
|
190
|
+
}, ...{
|
|
191
|
+
readonly locale: "en" | "ja" | "ko";
|
|
192
|
+
readonly message: string;
|
|
193
|
+
}[]];
|
|
194
|
+
readonly icon?: string | undefined;
|
|
195
|
+
readonly items: readonly (import("../../../../actions/schema.js").RegistrySubItemValue | {
|
|
196
|
+
readonly disabled?: string | undefined;
|
|
197
|
+
readonly id: string;
|
|
198
|
+
readonly title: readonly [{
|
|
199
|
+
readonly locale: "zh";
|
|
200
|
+
readonly message: string;
|
|
201
|
+
}, ...{
|
|
202
|
+
readonly locale: "en" | "ja" | "ko";
|
|
203
|
+
readonly message: string;
|
|
204
|
+
}[]];
|
|
205
|
+
readonly icon?: string | undefined;
|
|
206
|
+
readonly hidden?: string | undefined;
|
|
207
|
+
readonly tooltip?: readonly [{
|
|
208
|
+
readonly locale: "zh";
|
|
209
|
+
readonly message: string;
|
|
210
|
+
}, ...{
|
|
211
|
+
readonly locale: "en" | "ja" | "ko";
|
|
212
|
+
readonly message: string;
|
|
213
|
+
}[]] | undefined;
|
|
214
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
215
|
+
readonly action?: any;
|
|
216
|
+
})[];
|
|
217
|
+
readonly groupId: string;
|
|
218
|
+
readonly hideTitle?: boolean | undefined;
|
|
219
|
+
})[];
|
|
220
|
+
readonly groups: readonly {
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly variant?: "default" | "link" | "destructive" | "primary" | "ghost" | undefined;
|
|
223
|
+
}[];
|
|
224
|
+
};
|
|
225
|
+
}) => any) | undefined;
|
|
226
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
227
|
+
declare const _default: typeof __VLS_export;
|
|
228
|
+
export default _default;
|