@shwfed/config 2.12.0 → 2.12.1

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 (90) 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/form/fields/2026-04-27/com.shwfed.form.field.date/config.d.vue.ts +2 -0
  8. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue +22 -0
  9. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/config.vue.d.ts +2 -0
  10. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/runtime.vue +5 -0
  11. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.d.ts +1 -0
  12. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.date/schema.js +12 -0
  13. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +2 -0
  14. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue +22 -0
  15. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +2 -0
  16. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/runtime.vue +5 -0
  17. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.d.ts +1 -0
  18. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/schema.js +12 -0
  19. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.d.vue.ts +2 -0
  20. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue +22 -0
  21. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/config.vue.d.ts +2 -0
  22. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/runtime.vue +5 -0
  23. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.d.ts +1 -0
  24. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetime/schema.js +12 -0
  25. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +2 -0
  26. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue +22 -0
  27. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +2 -0
  28. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/runtime.vue +5 -0
  29. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.d.ts +1 -0
  30. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/schema.js +12 -0
  31. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.d.vue.ts +2 -0
  32. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue +22 -0
  33. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/config.vue.d.ts +2 -0
  34. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/runtime.vue +5 -0
  35. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.d.ts +1 -0
  36. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.month/schema.js +12 -0
  37. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +2 -0
  38. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue +22 -0
  39. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +2 -0
  40. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/runtime.vue +5 -0
  41. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.d.ts +1 -0
  42. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/schema.js +12 -0
  43. package/dist/runtime/components/form/utils/ai-field-tools.d.ts +11 -0
  44. package/dist/runtime/components/form/utils/ai-field-tools.js +282 -0
  45. package/dist/runtime/components/form/utils/resolve.d.ts +15 -0
  46. package/dist/runtime/components/form/utils/resolve.js +13 -0
  47. package/dist/runtime/components/table/ai-generate.system.md +6 -0
  48. package/dist/runtime/components/table/ai-generate.vue +18 -17
  49. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
  50. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
  51. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
  52. package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
  53. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
  54. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
  55. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
  56. package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
  57. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
  58. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
  59. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
  60. package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
  61. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  62. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  63. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  64. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  65. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
  66. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
  67. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
  68. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
  69. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/config.vue +33 -0
  70. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/runtime.vue +5 -0
  71. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.d.ts +1 -0
  72. package/dist/runtime/components/table/columns/2026-06-17/com.shwfed.table.column.date-input/schema.js +6 -1
  73. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/config.vue +33 -0
  74. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/runtime.vue +5 -0
  75. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.d.ts +1 -0
  76. package/dist/runtime/components/table/columns/2026-06-22/com.shwfed.table.column.date-range-input/schema.js +6 -1
  77. package/dist/runtime/components/table/schema.d.ts +68 -68
  78. package/dist/runtime/components/table/utils/ai-tools.js +50 -1
  79. package/dist/runtime/components/table/utils/shared.d.ts +1 -0
  80. package/dist/runtime/components/table/utils/shared.js +10 -0
  81. package/dist/runtime/components/ui/alert-dialog/AlertDialogCancel.vue +1 -1
  82. package/dist/runtime/components/ui/chat/ChatPrompt.d.vue.ts +11 -1
  83. package/dist/runtime/components/ui/chat/ChatPrompt.vue +10 -0
  84. package/dist/runtime/components/ui/chat/ChatPrompt.vue.d.ts +11 -1
  85. package/dist/runtime/share/disabled-date.d.ts +34 -0
  86. package/dist/runtime/share/disabled-date.js +13 -0
  87. package/dist/runtime/utils/ai/index.js +24 -1
  88. package/dist/runtime/utils/disabled-date.d.ts +26 -0
  89. package/dist/runtime/utils/disabled-date.js +21 -0
  90. package/package.json +1 -1
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -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;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -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;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -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;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -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;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -53,9 +53,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
53
  readonly locale: "en" | "ja" | "ko";
54
54
  readonly message: string;
55
55
  }[]];
56
- readonly successMessage?: string | undefined;
57
56
  readonly accessor?: string | undefined;
58
57
  readonly sortKey?: string | undefined;
58
+ readonly successMessage?: string | undefined;
59
59
  }) => any;
60
60
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
61
61
  "onUpdate:modelValue"?: ((value: {
@@ -108,9 +108,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly locale: "en" | "ja" | "ko";
109
109
  readonly message: string;
110
110
  }[]];
111
- readonly successMessage?: string | undefined;
112
111
  readonly accessor?: string | undefined;
113
112
  readonly sortKey?: string | undefined;
113
+ readonly successMessage?: string | undefined;
114
114
  }) => any) | undefined;
115
115
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
116
116
  declare const _default: typeof __VLS_export;
@@ -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;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -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;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -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;
71
70
  readonly accessor?: string | undefined;
72
71
  readonly sortKey?: string | undefined;
72
+ readonly successMessage?: string | undefined;
73
73
  }) => any;
74
74
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
75
75
  "onUpdate:modelValue"?: ((value: {
@@ -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;
140
139
  readonly accessor?: string | undefined;
141
140
  readonly sortKey?: string | undefined;
141
+ readonly successMessage?: string | undefined;
142
142
  }) => any) | undefined;
143
143
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
144
144
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -82,9 +82,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
82
82
  };
83
83
  }[];
84
84
  };
85
- readonly successMessage?: string | undefined;
86
85
  readonly accessor?: string | undefined;
87
86
  readonly sortKey?: string | undefined;
87
+ readonly successMessage?: string | undefined;
88
88
  }) => any;
89
89
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((value: {
@@ -166,9 +166,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
166
166
  };
167
167
  }[];
168
168
  };
169
- readonly successMessage?: string | undefined;
170
169
  readonly accessor?: string | undefined;
171
170
  readonly sortKey?: string | undefined;
171
+ readonly successMessage?: string | undefined;
172
172
  }) => any) | undefined;
173
173
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
174
174
  declare const _default: typeof __VLS_export;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -90,8 +90,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
90
90
  readonly target: string;
91
91
  readonly operation: string;
92
92
  }[] | undefined;
93
- readonly successMessage?: string | undefined;
94
93
  readonly accessor: string;
94
+ readonly successMessage?: string | undefined;
95
95
  };
96
96
  }) => any;
97
97
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -182,8 +182,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
182
182
  readonly target: string;
183
183
  readonly operation: string;
184
184
  }[] | undefined;
185
- readonly successMessage?: string | undefined;
186
185
  readonly accessor: string;
186
+ readonly successMessage?: string | undefined;
187
187
  };
188
188
  }) => any) | undefined;
189
189
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -85,8 +85,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
85
  readonly target: string;
86
86
  readonly operation: string;
87
87
  }[] | undefined;
88
- readonly successMessage?: string | undefined;
89
88
  readonly accessor: string;
89
+ readonly successMessage?: string | undefined;
90
90
  };
91
91
  }) => any;
92
92
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -172,8 +172,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
172
172
  readonly target: string;
173
173
  readonly operation: string;
174
174
  }[] | undefined;
175
- readonly successMessage?: string | undefined;
176
175
  readonly accessor: string;
176
+ readonly successMessage?: string | undefined;
177
177
  };
178
178
  }) => any) | undefined;
179
179
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -85,8 +85,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
85
  readonly target: string;
86
86
  readonly operation: string;
87
87
  }[] | undefined;
88
- readonly successMessage?: string | undefined;
89
88
  readonly accessor: string;
89
+ readonly successMessage?: string | undefined;
90
90
  };
91
91
  }) => any;
92
92
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -172,8 +172,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
172
172
  readonly target: string;
173
173
  readonly operation: string;
174
174
  }[] | undefined;
175
- readonly successMessage?: string | undefined;
176
175
  readonly accessor: string;
176
+ readonly successMessage?: string | undefined;
177
177
  };
178
178
  }) => any) | undefined;
179
179
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -85,8 +85,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
85
  readonly target: string;
86
86
  readonly operation: string;
87
87
  }[] | undefined;
88
- readonly successMessage?: string | undefined;
89
88
  readonly accessor: string;
89
+ readonly successMessage?: string | undefined;
90
90
  };
91
91
  }) => any;
92
92
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -172,8 +172,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
172
172
  readonly target: string;
173
173
  readonly operation: string;
174
174
  }[] | undefined;
175
- readonly successMessage?: string | undefined;
176
175
  readonly accessor: string;
176
+ readonly successMessage?: string | undefined;
177
177
  };
178
178
  }) => any) | undefined;
179
179
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -85,8 +85,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
85
85
  readonly target: string;
86
86
  readonly operation: string;
87
87
  }[] | undefined;
88
- readonly successMessage?: string | undefined;
89
88
  readonly accessor: string;
89
+ readonly successMessage?: string | undefined;
90
90
  };
91
91
  }) => any;
92
92
  }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
@@ -172,8 +172,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
172
172
  readonly target: string;
173
173
  readonly operation: string;
174
174
  }[] | undefined;
175
- readonly successMessage?: string | undefined;
176
175
  readonly accessor: string;
176
+ readonly successMessage?: string | undefined;
177
177
  };
178
178
  }) => any) | undefined;
179
179
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -2,6 +2,7 @@
2
2
  import { computed, inject, onBeforeUnmount, ref, watch } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { format as formatDate } from "date-fns";
5
+ import { DISABLE_DATE_EDITOR_RESULT, INPUT_DATE_VARS } from "../../../../../share/disabled-date";
5
6
  import { ExpressionEditor } from "../../../../ui/expression-editor";
6
7
  import { Separator } from "../../../../ui/separator";
7
8
  import { Switch } from "../../../../ui/switch";
@@ -201,6 +202,17 @@ const readonlyModel = computed({
201
202
  }
202
203
  }
203
204
  });
205
+ const disabledDateModel = computed({
206
+ get: () => value.value.disabledDate ?? "",
207
+ set: (v) => {
208
+ if (v === "") {
209
+ const { disabledDate: _drop, ...rest } = value.value;
210
+ value.value = rest;
211
+ } else {
212
+ value.value = { ...value.value, disabledDate: v };
213
+ }
214
+ }
215
+ });
204
216
  const derivedModel = computed({
205
217
  get: () => value.value.derived,
206
218
  set: (v) => {
@@ -461,6 +473,27 @@ const derivedModel = computed({
461
473
  :extra-vars="ROW_VARS"
462
474
  />
463
475
  </Field>
476
+ <Field orientation="vertical">
477
+ <FieldLabel class="text-xs text-zinc-500">
478
+ <template
479
+ v-if="fieldDescription('disabledDate')"
480
+ #tooltip
481
+ >
482
+ <Markdown
483
+ :source="fieldDescription('disabledDate')"
484
+ block
485
+ class="prose prose-sm prose-zinc"
486
+ />
487
+ </template>
488
+ {{ fieldTitle("disabledDate") }}
489
+ </FieldLabel>
490
+ <ExpressionEditor
491
+ v-model="disabledDateModel"
492
+ placeholder="例:input.format('i') == '6' || input.format('i') == '7'"
493
+ :result-type="[...DISABLE_DATE_EDITOR_RESULT]"
494
+ :extra-vars="{ ...ROW_VARS, ...INPUT_DATE_VARS }"
495
+ />
496
+ </Field>
464
497
  <Field
465
498
  orientation="vertical"
466
499
  class="col-span-2"
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
5
5
  import { format as formatDate } from "date-fns";
6
6
  import { cel as $cel } from "../../../../../utils/cel";
7
7
  import { celScope, injectCELContext } from "../../../../../utils/cel-context";
8
+ import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
8
9
  import { useFormReadonly } from "../../../../form/utils/readonly";
9
10
  import { getLocalizedText } from "../../../../../share/locale";
10
11
  import { DATE_PICKER_DEFAULT_FORMATS, DatePicker } from "../../../../ui/date-picker";
@@ -33,6 +34,9 @@ function evalBool(expression, label) {
33
34
  }
34
35
  }
35
36
  const isDisabled = computed(() => evalBool(props.column.disabled, "disabled"));
37
+ const disabledDate = computed(
38
+ () => makeDisabledDatePredicate(props.column.disabledDate, (input) => Effect.runSync($cel(props.column.disabledDate, celScope(celContext, { input }))))
39
+ );
36
40
  const formReadonly = useFormReadonly();
37
41
  const isReadonly = computed(
38
42
  () => props.column.readonly != null ? evalBool(props.column.readonly, "readonly") : formReadonly.value
@@ -124,6 +128,7 @@ const model = computed({
124
128
  :value-format="column.valueFormat"
125
129
  :placeholder="placeholderText"
126
130
  :disabled="isDisabled"
131
+ :disabled-date="disabledDate"
127
132
  :shortcuts="shortcuts"
128
133
  >
129
134
  <!-- `mr-[-0.45rem]` mirrors the clear addon's `has-[>button]:mr-[-0.45rem]`
@@ -44,6 +44,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
44
44
  }[]], never>>;
45
45
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
46
46
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
47
+ disabledDate: Schema.optional<Schema.Schema<string, string, never>>;
47
48
  derived: Schema.optional<Schema.Struct<{
48
49
  mode: Schema.Literal<["formula", "prefill"]>;
49
50
  expression: Schema.Schema<string, string, never>;
@@ -2,7 +2,7 @@ import { Schema } from "effect";
2
2
  import { getProperty } from "dot-prop";
3
3
  import { Locale } from "../../../../../share/locale.js";
4
4
  import { ActionSchemaFields } from "../../../../actions/schema.js";
5
- import { Align, CelRowAccess, derivedRowField, editableColumnFields, editableHeader, registerRowVariablesIfAbsent } from "../../../utils/shared.js";
5
+ import { Align, CelDateDisable, CelRowAccess, derivedRowField, editableColumnFields, editableHeader, registerRowVariablesIfAbsent } from "../../../utils/shared.js";
6
6
  export const type = "com.shwfed.table.column.date-input";
7
7
  export const compatibilityDate = "2026-06-17";
8
8
  export const metadata = {
@@ -42,6 +42,7 @@ export function presetSchema(configure) {
42
42
  }
43
43
  export function schema(configure) {
44
44
  const CelBool = CelRowAccess(configure, { resultType: "bool" });
45
+ const DisabledDate = CelDateDisable(configure);
45
46
  const Preset = presetSchema(configure);
46
47
  return Schema.Struct({
47
48
  type: Schema.Literal(type),
@@ -60,6 +61,10 @@ export function schema(configure) {
60
61
  title: "\u53EA\u8BFB\u6761\u4EF6",
61
62
  description: "\u8FD4\u56DE `true` \u65F6\u4EC5\u4EE5\u7EAF\u6587\u672C\u5C55\u793A\u5F53\u524D\u503C"
62
63
  })),
64
+ disabledDate: Schema.optional(DisabledDate.annotations({
65
+ title: "\u7981\u7528\u65E5\u671F",
66
+ description: "\u9010\u4E2A\u65E5\u671F\u5224\u5B9A\u662F\u5426\u53EF\u9009\uFF1B\u53D8\u91CF `input` \u4E3A\u5019\u9009\u65E5\u671F\uFF0C\u540C\u65F6\u53EF\u8BFB\u53D6 `row`/`index`\u3002\u8FD4\u56DE `true` \u65F6\u7981\u7528\u8BE5\u65E5\u671F\uFF0C\u8FD4\u56DE `false`\u3001\u7A7A\u503C\u6216\u4E0D\u586B\u65F6\u53EF\u9009"
67
+ })),
63
68
  derived: derivedRowField(configure, "string"),
64
69
  format: Schema.optional(Schema.String.pipe(Schema.minLength(1)).annotations({
65
70
  title: "\u5C55\u793A\u683C\u5F0F",
@@ -2,6 +2,7 @@
2
2
  import { computed } from "vue";
3
3
  import { Icon } from "@iconify/vue";
4
4
  import { format as formatDate } from "date-fns";
5
+ import { DISABLE_DATE_EDITOR_RESULT, INPUT_DATE_VARS } from "../../../../../share/disabled-date";
5
6
  import { ExpressionEditor } from "../../../../ui/expression-editor";
6
7
  import { Separator } from "../../../../ui/separator";
7
8
  import { Switch } from "../../../../ui/switch";
@@ -201,6 +202,17 @@ const readonlyModel = computed({
201
202
  }
202
203
  }
203
204
  });
205
+ const disabledDateModel = computed({
206
+ get: () => value.value.disabledDate ?? "",
207
+ set: (v) => {
208
+ if (v === "") {
209
+ const { disabledDate: _drop, ...rest } = value.value;
210
+ value.value = rest;
211
+ } else {
212
+ value.value = { ...value.value, disabledDate: v };
213
+ }
214
+ }
215
+ });
204
216
  const derivedModel = computed({
205
217
  get: () => value.value.derived,
206
218
  set: (v) => {
@@ -557,6 +569,27 @@ const derivedModel = computed({
557
569
  :extra-vars="ROW_VARS"
558
570
  />
559
571
  </Field>
572
+ <Field orientation="vertical">
573
+ <FieldLabel class="text-xs text-zinc-500">
574
+ <template
575
+ v-if="fieldDescription('disabledDate')"
576
+ #tooltip
577
+ >
578
+ <Markdown
579
+ :source="fieldDescription('disabledDate')"
580
+ block
581
+ class="prose prose-sm prose-zinc"
582
+ />
583
+ </template>
584
+ {{ fieldTitle("disabledDate") }}
585
+ </FieldLabel>
586
+ <ExpressionEditor
587
+ v-model="disabledDateModel"
588
+ placeholder="例:input.format('i') == '6' || input.format('i') == '7'"
589
+ :result-type="[...DISABLE_DATE_EDITOR_RESULT]"
590
+ :extra-vars="{ ...ROW_VARS, ...INPUT_DATE_VARS }"
591
+ />
592
+ </Field>
560
593
  <Field
561
594
  orientation="vertical"
562
595
  class="col-span-2"
@@ -5,6 +5,7 @@ import { useI18n } from "vue-i18n";
5
5
  import { format as formatDate } from "date-fns";
6
6
  import { cel as $cel } from "../../../../../utils/cel";
7
7
  import { celScope, injectCELContext } from "../../../../../utils/cel-context";
8
+ import { makeDisabledDatePredicate } from "../../../../../utils/disabled-date";
8
9
  import { useFormReadonly } from "../../../../form/utils/readonly";
9
10
  import { getLocalizedText } from "../../../../../share/locale";
10
11
  import { DATE_RANGE_PICKER_DEFAULT_FORMATS, DateRangePicker } from "../../../../ui/date-range-picker";
@@ -34,6 +35,9 @@ function evalBool(expression, label) {
34
35
  }
35
36
  }
36
37
  const isDisabled = computed(() => evalBool(props.column.disabled, "disabled"));
38
+ const disabledDate = computed(
39
+ () => makeDisabledDatePredicate(props.column.disabledDate, (input) => Effect.runSync($cel(props.column.disabledDate, celScope(celContext, { input }))))
40
+ );
37
41
  const formReadonly = useFormReadonly();
38
42
  const isReadonly = computed(
39
43
  () => props.column.readonly != null ? evalBool(props.column.readonly, "readonly") : formReadonly.value
@@ -143,6 +147,7 @@ const readonlyText = computed(() => {
143
147
  :range-separator-icon="column.rangeSeparatorIcon"
144
148
  :number-of-months="column.numberOfMonths"
145
149
  :disabled="isDisabled"
150
+ :disabled-date="disabledDate"
146
151
  :shortcuts="shortcuts"
147
152
  />
148
153
  </div>
@@ -59,6 +59,7 @@ export declare function schema(configure: (env: Environment) => void): Schema.St
59
59
  }[]], never>>;
60
60
  disabled: Schema.optional<Schema.Schema<string, string, never>>;
61
61
  readonly: Schema.optional<Schema.Schema<string, string, never>>;
62
+ disabledDate: Schema.optional<Schema.Schema<string, string, never>>;
62
63
  derived: Schema.optional<Schema.Struct<{
63
64
  mode: Schema.Literal<["formula", "prefill"]>;
64
65
  expression: Schema.Schema<string, string, never>;