@shwfed/config 2.12.8 → 2.12.10

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 (67) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +68 -68
  3. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +68 -68
  4. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +68 -68
  5. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +68 -68
  6. package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +34 -34
  7. package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue +20 -2
  8. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  9. package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  10. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  11. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  12. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  13. package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  14. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +18 -18
  15. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +18 -18
  16. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +18 -18
  17. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +18 -18
  18. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +18 -18
  19. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +18 -18
  20. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +18 -18
  21. package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +18 -18
  22. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/config.d.vue.ts +15 -0
  23. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/config.vue +47 -0
  24. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/config.vue.d.ts +15 -0
  25. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.d.ts +12 -0
  26. package/dist/runtime/components/operations/2026-07-06/com.shwfed.operation.table.add-row/schema.js +28 -0
  27. package/dist/runtime/components/operations/utils/resolve.d.ts +7 -1
  28. package/dist/runtime/components/operations/utils/resolve.js +14 -6
  29. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  30. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  31. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  32. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  33. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  34. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  35. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  36. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  37. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  38. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  39. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  40. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  41. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  42. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  43. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  44. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  45. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  46. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  47. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  48. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  49. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  50. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  51. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  53. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  54. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  55. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  56. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  57. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  58. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  59. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  60. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  61. package/dist/runtime/components/table/config.vue +93 -4
  62. package/dist/runtime/components/table/index.vue +50 -2
  63. package/dist/runtime/components/table/schema.d.ts +70 -69
  64. package/dist/runtime/components/table/schema.js +13 -1
  65. package/dist/runtime/share/clipboard.d.ts +1 -1
  66. package/dist/runtime/share/clipboard.js +1 -1
  67. package/package.json +1 -1
@@ -53,6 +53,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
+ readonly nodeTooltip?: readonly [{
57
+ readonly locale: "zh";
58
+ readonly message: string;
59
+ }, ...{
60
+ readonly locale: "en" | "ja" | "ko";
61
+ readonly message: string;
62
+ }[]] | undefined;
63
+ readonly nodeSelectable?: string | undefined;
64
+ readonly expandAll: boolean;
56
65
  readonly validations?: readonly {
57
66
  readonly message: readonly [{
58
67
  readonly locale: "zh";
@@ -64,15 +73,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
73
  readonly warning?: boolean | undefined;
65
74
  readonly when: string;
66
75
  }[] | undefined;
67
- readonly nodeTooltip?: readonly [{
68
- readonly locale: "zh";
69
- readonly message: string;
70
- }, ...{
71
- readonly locale: "en" | "ja" | "ko";
72
- readonly message: string;
73
- }[]] | undefined;
74
- readonly nodeSelectable?: string | undefined;
75
- readonly expandAll: boolean;
76
76
  }) => any;
77
77
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
78
78
  "onUpdate:modelValue"?: ((value: {
@@ -125,6 +125,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
125
125
  readonly locale: "en" | "ja" | "ko";
126
126
  readonly message: string;
127
127
  }[]];
128
+ readonly nodeTooltip?: readonly [{
129
+ readonly locale: "zh";
130
+ readonly message: string;
131
+ }, ...{
132
+ readonly locale: "en" | "ja" | "ko";
133
+ readonly message: string;
134
+ }[]] | undefined;
135
+ readonly nodeSelectable?: string | undefined;
136
+ readonly expandAll: boolean;
128
137
  readonly validations?: readonly {
129
138
  readonly message: readonly [{
130
139
  readonly locale: "zh";
@@ -136,15 +145,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
145
  readonly warning?: boolean | undefined;
137
146
  readonly when: string;
138
147
  }[] | undefined;
139
- readonly nodeTooltip?: readonly [{
140
- readonly locale: "zh";
141
- readonly message: string;
142
- }, ...{
143
- readonly locale: "en" | "ja" | "ko";
144
- readonly message: string;
145
- }[]] | undefined;
146
- readonly nodeSelectable?: string | undefined;
147
- readonly expandAll: boolean;
148
148
  }) => any) | undefined;
149
149
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
150
150
  declare const _default: typeof __VLS_export;
@@ -53,6 +53,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
+ readonly nodeTooltip?: readonly [{
57
+ readonly locale: "zh";
58
+ readonly message: string;
59
+ }, ...{
60
+ readonly locale: "en" | "ja" | "ko";
61
+ readonly message: string;
62
+ }[]] | undefined;
63
+ readonly nodeSelectable?: string | undefined;
64
+ readonly expandAll: boolean;
56
65
  readonly validations?: readonly {
57
66
  readonly message: readonly [{
58
67
  readonly locale: "zh";
@@ -64,15 +73,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
64
73
  readonly warning?: boolean | undefined;
65
74
  readonly when: string;
66
75
  }[] | undefined;
67
- readonly nodeTooltip?: readonly [{
68
- readonly locale: "zh";
69
- readonly message: string;
70
- }, ...{
71
- readonly locale: "en" | "ja" | "ko";
72
- readonly message: string;
73
- }[]] | undefined;
74
- readonly nodeSelectable?: string | undefined;
75
- readonly expandAll: boolean;
76
76
  }) => any;
77
77
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
78
78
  "onUpdate:modelValue"?: ((value: {
@@ -125,6 +125,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
125
125
  readonly locale: "en" | "ja" | "ko";
126
126
  readonly message: string;
127
127
  }[]];
128
+ readonly nodeTooltip?: readonly [{
129
+ readonly locale: "zh";
130
+ readonly message: string;
131
+ }, ...{
132
+ readonly locale: "en" | "ja" | "ko";
133
+ readonly message: string;
134
+ }[]] | undefined;
135
+ readonly nodeSelectable?: string | undefined;
136
+ readonly expandAll: boolean;
128
137
  readonly validations?: readonly {
129
138
  readonly message: readonly [{
130
139
  readonly locale: "zh";
@@ -136,15 +145,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
145
  readonly warning?: boolean | undefined;
137
146
  readonly when: string;
138
147
  }[] | undefined;
139
- readonly nodeTooltip?: readonly [{
140
- readonly locale: "zh";
141
- readonly message: string;
142
- }, ...{
143
- readonly locale: "en" | "ja" | "ko";
144
- readonly message: string;
145
- }[]] | undefined;
146
- readonly nodeSelectable?: string | undefined;
147
- readonly expandAll: boolean;
148
148
  }) => any) | undefined;
149
149
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
150
150
  declare const _default: typeof __VLS_export;
@@ -56,6 +56,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
56
56
  readonly message: string;
57
57
  }[]];
58
58
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
59
+ readonly nodeTooltip?: readonly [{
60
+ readonly locale: "zh";
61
+ readonly message: string;
62
+ }, ...{
63
+ readonly locale: "en" | "ja" | "ko";
64
+ readonly message: string;
65
+ }[]] | undefined;
66
+ readonly nodeSelectable?: string | undefined;
67
+ readonly expandAll: boolean;
59
68
  readonly validations?: readonly {
60
69
  readonly message: readonly [{
61
70
  readonly locale: "zh";
@@ -67,15 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
76
  readonly warning?: boolean | undefined;
68
77
  readonly when: string;
69
78
  }[] | undefined;
70
- readonly nodeTooltip?: readonly [{
71
- readonly locale: "zh";
72
- readonly message: string;
73
- }, ...{
74
- readonly locale: "en" | "ja" | "ko";
75
- readonly message: string;
76
- }[]] | undefined;
77
- readonly nodeSelectable?: string | undefined;
78
- readonly expandAll: boolean;
79
79
  }) => any;
80
80
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
81
81
  "onUpdate:modelValue"?: ((value: {
@@ -131,6 +131,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
131
131
  readonly message: string;
132
132
  }[]];
133
133
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
134
+ readonly nodeTooltip?: readonly [{
135
+ readonly locale: "zh";
136
+ readonly message: string;
137
+ }, ...{
138
+ readonly locale: "en" | "ja" | "ko";
139
+ readonly message: string;
140
+ }[]] | undefined;
141
+ readonly nodeSelectable?: string | undefined;
142
+ readonly expandAll: boolean;
134
143
  readonly validations?: readonly {
135
144
  readonly message: readonly [{
136
145
  readonly locale: "zh";
@@ -142,15 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
142
151
  readonly warning?: boolean | undefined;
143
152
  readonly when: string;
144
153
  }[] | undefined;
145
- readonly nodeTooltip?: readonly [{
146
- readonly locale: "zh";
147
- readonly message: string;
148
- }, ...{
149
- readonly locale: "en" | "ja" | "ko";
150
- readonly message: string;
151
- }[]] | undefined;
152
- readonly nodeSelectable?: string | undefined;
153
- readonly expandAll: boolean;
154
154
  }) => any) | undefined;
155
155
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
156
156
  declare const _default: typeof __VLS_export;
@@ -56,6 +56,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
56
56
  readonly message: string;
57
57
  }[]];
58
58
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
59
+ readonly nodeTooltip?: readonly [{
60
+ readonly locale: "zh";
61
+ readonly message: string;
62
+ }, ...{
63
+ readonly locale: "en" | "ja" | "ko";
64
+ readonly message: string;
65
+ }[]] | undefined;
66
+ readonly nodeSelectable?: string | undefined;
67
+ readonly expandAll: boolean;
59
68
  readonly validations?: readonly {
60
69
  readonly message: readonly [{
61
70
  readonly locale: "zh";
@@ -67,15 +76,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
76
  readonly warning?: boolean | undefined;
68
77
  readonly when: string;
69
78
  }[] | undefined;
70
- readonly nodeTooltip?: readonly [{
71
- readonly locale: "zh";
72
- readonly message: string;
73
- }, ...{
74
- readonly locale: "en" | "ja" | "ko";
75
- readonly message: string;
76
- }[]] | undefined;
77
- readonly nodeSelectable?: string | undefined;
78
- readonly expandAll: boolean;
79
79
  }) => any;
80
80
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
81
81
  "onUpdate:modelValue"?: ((value: {
@@ -131,6 +131,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
131
131
  readonly message: string;
132
132
  }[]];
133
133
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
134
+ readonly nodeTooltip?: readonly [{
135
+ readonly locale: "zh";
136
+ readonly message: string;
137
+ }, ...{
138
+ readonly locale: "en" | "ja" | "ko";
139
+ readonly message: string;
140
+ }[]] | undefined;
141
+ readonly nodeSelectable?: string | undefined;
142
+ readonly expandAll: boolean;
134
143
  readonly validations?: readonly {
135
144
  readonly message: readonly [{
136
145
  readonly locale: "zh";
@@ -142,15 +151,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
142
151
  readonly warning?: boolean | undefined;
143
152
  readonly when: string;
144
153
  }[] | undefined;
145
- readonly nodeTooltip?: readonly [{
146
- readonly locale: "zh";
147
- readonly message: string;
148
- }, ...{
149
- readonly locale: "en" | "ja" | "ko";
150
- readonly message: string;
151
- }[]] | undefined;
152
- readonly nodeSelectable?: string | undefined;
153
- readonly expandAll: boolean;
154
154
  }) => any) | undefined;
155
155
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
156
156
  declare const _default: typeof __VLS_export;
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
55
55
  readonly locale: "en" | "ja" | "ko";
56
56
  readonly message: string;
57
57
  }[]];
58
+ readonly nodeTooltip?: readonly [{
59
+ readonly locale: "zh";
60
+ readonly message: string;
61
+ }, ...{
62
+ readonly locale: "en" | "ja" | "ko";
63
+ readonly message: string;
64
+ }[]] | undefined;
65
+ readonly nodeSelectable?: string | undefined;
66
+ readonly expandAll: boolean;
58
67
  readonly validations?: readonly {
59
68
  readonly message: readonly [{
60
69
  readonly locale: "zh";
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
66
75
  readonly warning?: boolean | undefined;
67
76
  readonly when: string;
68
77
  }[] | undefined;
69
- readonly nodeTooltip?: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]] | undefined;
76
- readonly nodeSelectable?: string | undefined;
77
- readonly expandAll: boolean;
78
78
  }) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
80
80
  "onUpdate:modelValue"?: ((value: {
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
129
129
  readonly locale: "en" | "ja" | "ko";
130
130
  readonly message: string;
131
131
  }[]];
132
+ readonly nodeTooltip?: readonly [{
133
+ readonly locale: "zh";
134
+ readonly message: string;
135
+ }, ...{
136
+ readonly locale: "en" | "ja" | "ko";
137
+ readonly message: string;
138
+ }[]] | undefined;
139
+ readonly nodeSelectable?: string | undefined;
140
+ readonly expandAll: boolean;
132
141
  readonly validations?: readonly {
133
142
  readonly message: readonly [{
134
143
  readonly locale: "zh";
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
149
  readonly warning?: boolean | undefined;
141
150
  readonly when: string;
142
151
  }[] | undefined;
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
152
  }) => any) | undefined;
153
153
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
154
154
  declare const _default: typeof __VLS_export;
@@ -55,6 +55,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
55
55
  readonly locale: "en" | "ja" | "ko";
56
56
  readonly message: string;
57
57
  }[]];
58
+ readonly nodeTooltip?: readonly [{
59
+ readonly locale: "zh";
60
+ readonly message: string;
61
+ }, ...{
62
+ readonly locale: "en" | "ja" | "ko";
63
+ readonly message: string;
64
+ }[]] | undefined;
65
+ readonly nodeSelectable?: string | undefined;
66
+ readonly expandAll: boolean;
58
67
  readonly validations?: readonly {
59
68
  readonly message: readonly [{
60
69
  readonly locale: "zh";
@@ -66,15 +75,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
66
75
  readonly warning?: boolean | undefined;
67
76
  readonly when: string;
68
77
  }[] | undefined;
69
- readonly nodeTooltip?: readonly [{
70
- readonly locale: "zh";
71
- readonly message: string;
72
- }, ...{
73
- readonly locale: "en" | "ja" | "ko";
74
- readonly message: string;
75
- }[]] | undefined;
76
- readonly nodeSelectable?: string | undefined;
77
- readonly expandAll: boolean;
78
78
  }) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
80
80
  "onUpdate:modelValue"?: ((value: {
@@ -129,6 +129,15 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
129
129
  readonly locale: "en" | "ja" | "ko";
130
130
  readonly message: string;
131
131
  }[]];
132
+ readonly nodeTooltip?: readonly [{
133
+ readonly locale: "zh";
134
+ readonly message: string;
135
+ }, ...{
136
+ readonly locale: "en" | "ja" | "ko";
137
+ readonly message: string;
138
+ }[]] | undefined;
139
+ readonly nodeSelectable?: string | undefined;
140
+ readonly expandAll: boolean;
132
141
  readonly validations?: readonly {
133
142
  readonly message: readonly [{
134
143
  readonly locale: "zh";
@@ -140,15 +149,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
140
149
  readonly warning?: boolean | undefined;
141
150
  readonly when: string;
142
151
  }[] | undefined;
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
152
  }) => any) | undefined;
153
153
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
154
154
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,15 @@
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 newRow?: string | undefined;
8
+ }) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: {
11
+ readonly newRow?: string | undefined;
12
+ }) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,47 @@
1
+ <script setup>
2
+ import { ExpressionEditor } from "../../../ui/expression-editor";
3
+ import { Field, FieldGroup, FieldLabel } from "../../../ui/field";
4
+ import { Markdown } from "../../../ui/markdown";
5
+ import { getStructFieldDescription, getStructFieldTitle } from "../../../../share/schema-meta";
6
+ import { schema } from "./schema";
7
+ defineOptions({ name: "ShwfedTableAddRowOperationConfig" });
8
+ const value = defineModel({ type: null, ...{ required: true } });
9
+ const opSchema = schema(() => {
10
+ });
11
+ const fieldTitle = (f) => getStructFieldTitle(opSchema, f) ?? f;
12
+ const fieldDescription = (f) => getStructFieldDescription(opSchema, f);
13
+ function patchNewRow(v) {
14
+ const next = { ...value.value };
15
+ if (v.length === 0) Reflect.deleteProperty(next, "newRow");
16
+ else next.newRow = v;
17
+ value.value = next;
18
+ }
19
+ </script>
20
+
21
+ <template>
22
+ <FieldGroup>
23
+ <Field orientation="vertical">
24
+ <FieldLabel class="text-xs text-zinc-500">
25
+ <template
26
+ v-if="fieldDescription('newRow')"
27
+ #tooltip
28
+ >
29
+ <Markdown
30
+ :source="fieldDescription('newRow')"
31
+ block
32
+ class="prose prose-sm prose-zinc"
33
+ />
34
+ </template>
35
+ {{ fieldTitle("newRow") }}
36
+ </FieldLabel>
37
+ <ExpressionEditor
38
+ :model-value="value.newRow ?? ''"
39
+ multiline
40
+ placeholder="例:{'status': 'active', 'qty': 1}"
41
+ result-type="map"
42
+ class="min-h-16"
43
+ @update:model-value="(v) => patchNewRow(v)"
44
+ />
45
+ </Field>
46
+ </FieldGroup>
47
+ </template>
@@ -0,0 +1,15 @@
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 newRow?: string | undefined;
8
+ }) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
10
+ "onUpdate:modelValue"?: ((value: {
11
+ readonly newRow?: string | undefined;
12
+ }) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { Schema } from 'effect';
2
+ import type { Environment } from '../../../../vendor/cel-js/lib/index.js';
3
+ export declare const type: "com.shwfed.operation.table.add-row";
4
+ export declare const compatibilityDate: "2026-07-06";
5
+ export declare const metadata: {
6
+ readonly name: "新增一行";
7
+ readonly icon: "fluent:add-20-regular";
8
+ };
9
+ export declare function schema(configure: (env: Environment) => void): Schema.Struct<{
10
+ newRow: Schema.optional<Schema.Schema<string, string, never>>;
11
+ }>;
12
+ export type Value = Schema.Schema.Type<ReturnType<typeof schema>>;
@@ -0,0 +1,28 @@
1
+ import { Schema } from "effect";
2
+ import { Expression } from "../../../../share/expression.js";
3
+ import { md } from "../../../../share/markdown.js";
4
+ export const type = "com.shwfed.operation.table.add-row";
5
+ export const compatibilityDate = "2026-07-06";
6
+ export const metadata = {
7
+ name: "\u65B0\u589E\u4E00\u884C",
8
+ icon: "fluent:add-20-regular"
9
+ };
10
+ export function schema(configure) {
11
+ const CelRow = Expression({ configure, resultType: "map" });
12
+ return Schema.Struct({
13
+ newRow: Schema.optional(CelRow.annotations({
14
+ title: "\u9ED8\u8BA4\u503C",
15
+ description: md`
16
+ 点击时求值,结果作为新行的初始字段值(须为对象/映射,如
17
+ \`{'status': 'active', 'qty': 1}\`)。可引用点击处作用域的变量
18
+ (例如行内操作按钮的 \`row\`)。留空则新增一个空行。
19
+ `
20
+ }))
21
+ }).annotations({
22
+ title: "TableAddRowOperation",
23
+ description: md`
24
+ 向目标表格追加一行。可选「默认值」表达式为新行提供初始字段值;
25
+ 留空则追加一个空行(与无参数时行为一致)。
26
+ `
27
+ });
28
+ }
@@ -44,7 +44,13 @@ export type OperationEntry = Readonly<{
44
44
  schema: SchemaFactory;
45
45
  defaults?: () => Record<string, unknown>;
46
46
  config: Component;
47
- handler: OperationHandler;
47
+ /**
48
+ * The generic behaviour, when the op ships a `runtime.ts`. Absent for
49
+ * host-coupled ops (no `runtime.ts`): those act on a specific host's private
50
+ * state, so the host hand-wires the handler into its own `provideEventTarget`
51
+ * rather than exposing it through `operationHandlers`.
52
+ */
53
+ handler?: OperationHandler;
48
54
  }>;
49
55
  export declare const OPERATIONS: ReadonlyArray<OperationEntry>;
50
56
  export declare function findOperation(type: string, compatibilityDate: string): OperationEntry | undefined;
@@ -18,7 +18,7 @@ const configModules = Object.fromEntries(
18
18
  ])
19
19
  );
20
20
  const PATH_RE = /\/([^/]+)\/([^/]+)\/schema\.(?:ts|js)$/;
21
- function findSibling(map, date, type, file) {
21
+ function findSiblingOptional(map, date, type, file) {
22
22
  const candidates = file.endsWith(".ts") ? [file, `${file.slice(0, -3)}.js`] : [file];
23
23
  for (const candidate of candidates) {
24
24
  const suffix = `/${date}/${type}/${candidate}`;
@@ -26,7 +26,14 @@ function findSibling(map, date, type, file) {
26
26
  if (key.endsWith(suffix)) return value;
27
27
  }
28
28
  }
29
- throw new Error(`[shwfed-operations] missing ${file} for ${type}@${date}`);
29
+ return void 0;
30
+ }
31
+ function findSibling(map, date, type, file) {
32
+ const found = findSiblingOptional(map, date, type, file);
33
+ if (found === void 0) {
34
+ throw new Error(`[shwfed-operations] missing ${file} for ${type}@${date}`);
35
+ }
36
+ return found;
30
37
  }
31
38
  let cached = null;
32
39
  function compute() {
@@ -43,7 +50,7 @@ function compute() {
43
50
  if (mod.compatibilityDate !== date) {
44
51
  throw new Error(`[shwfed-operations] compatibilityDate "${mod.compatibilityDate}" does not match folder "${date}"`);
45
52
  }
46
- const runtime = findSibling(runtimeModules, date, type, "runtime.ts");
53
+ const runtime = findSiblingOptional(runtimeModules, date, type, "runtime.ts");
47
54
  entries.push({
48
55
  type: mod.type,
49
56
  compatibilityDate: mod.compatibilityDate,
@@ -51,7 +58,7 @@ function compute() {
51
58
  schema: mod.schema,
52
59
  defaults: mod.defaults,
53
60
  config: findSibling(configModules, date, type, "config.vue"),
54
- handler: runtime.handler
61
+ handler: runtime?.handler
55
62
  });
56
63
  }
57
64
  cached = entries;
@@ -69,8 +76,9 @@ export function operationHandlers(exposed, ctx) {
69
76
  const handlers = {};
70
77
  for (const { type, compatibilityDate } of exposed) {
71
78
  const entry = findOperation(type, compatibilityDate);
72
- if (!entry) continue;
73
- handlers[type] = (params, cel, step) => entry.handler(params, { ...ctx, ...cel && { cel }, ...step && { step } });
79
+ if (!entry?.handler) continue;
80
+ const handler = entry.handler;
81
+ handlers[type] = (params, cel, step) => handler(params, { ...ctx, ...cel && { cel }, ...step && { step } });
74
82
  }
75
83
  return handlers;
76
84
  }
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
+ readonly successMessage?: string | undefined;
56
57
  readonly accessor?: string | undefined;
57
58
  readonly sortKey?: string | undefined;
58
- readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
+ readonly successMessage?: string | undefined;
111
112
  readonly accessor?: string | undefined;
112
113
  readonly sortKey?: string | undefined;
113
- readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
+ readonly successMessage?: string | undefined;
56
57
  readonly accessor?: string | undefined;
57
58
  readonly sortKey?: string | undefined;
58
- readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
+ readonly successMessage?: string | undefined;
111
112
  readonly accessor?: string | undefined;
112
113
  readonly sortKey?: string | undefined;
113
- readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
+ readonly successMessage?: string | undefined;
70
71
  readonly accessor?: string | undefined;
71
72
  readonly sortKey?: string | undefined;
72
- readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
+ readonly successMessage?: string | undefined;
139
140
  readonly accessor?: string | undefined;
140
141
  readonly sortKey?: string | undefined;
141
- readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -67,9 +67,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
67
67
  }[]] | undefined;
68
68
  readonly readonly?: string | undefined;
69
69
  readonly enableSorting?: boolean | undefined;
70
+ readonly successMessage?: string | undefined;
70
71
  readonly accessor?: string | undefined;
71
72
  readonly sortKey?: string | undefined;
72
- readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -136,9 +136,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
136
136
  }[]] | undefined;
137
137
  readonly readonly?: string | undefined;
138
138
  readonly enableSorting?: boolean | undefined;
139
+ readonly successMessage?: string | undefined;
139
140
  readonly accessor?: string | undefined;
140
141
  readonly sortKey?: string | undefined;
141
- readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;