@shwfed/config 3.0.13 → 3.0.15

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 (122) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +20 -1
  3. package/dist/runtime/components/actions/ai-l1.md +1 -1
  4. package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/prompt.md +1 -1
  5. package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +1 -1
  6. package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.js +2 -2
  7. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/prompt.md +1 -1
  8. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/runtime.vue +1 -1
  9. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.d.ts +2 -4
  10. package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.js +1 -1
  11. package/dist/runtime/components/actions/components/trigger-row-scope.vue +6 -3
  12. package/dist/runtime/components/actions/utils/steps.d.ts +1 -1
  13. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/config.d.vue.ts +2 -0
  14. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/config.vue +10 -2
  15. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/config.vue.d.ts +2 -0
  16. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/runtime.d.vue.ts +2 -0
  17. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/runtime.vue.d.ts +2 -0
  18. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/schema.d.ts +1 -0
  19. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.digital/schema.js +5 -0
  20. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.d.vue.ts +96 -0
  21. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.vue +385 -0
  22. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/config.vue.d.ts +96 -0
  23. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/items-colgroup.d.vue.ts +3 -0
  24. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/items-colgroup.vue +20 -0
  25. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/items-colgroup.vue.d.ts +3 -0
  26. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.d.vue.ts +96 -0
  27. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.vue +177 -0
  28. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/runtime.vue.d.ts +96 -0
  29. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/schema.d.ts +102 -0
  30. package/dist/runtime/components/config/blocks/2026-07-17/com.shwfed.block.invoice.realestate.lease/schema.js +186 -0
  31. package/dist/runtime/components/config/schema.js +2 -2
  32. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
  33. package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
  34. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
  35. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
  36. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
  37. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
  38. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
  39. package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
  40. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
  41. package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
  42. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
  43. package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
  44. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
  45. package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
  46. package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/prompt.md +1 -1
  47. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.d.vue.ts +33 -0
  48. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.vue +269 -0
  49. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.vue.d.ts +33 -0
  50. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.d.vue.ts +107 -0
  51. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.vue +370 -0
  52. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.vue.d.ts +107 -0
  53. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/extensions.d.ts +27 -0
  54. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/extensions.js +83 -0
  55. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/features.d.ts +21 -0
  56. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/features.js +16 -0
  57. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/indent.d.ts +26 -0
  58. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/indent.js +64 -0
  59. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/prompt.md +33 -0
  60. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.d.vue.ts +8 -0
  61. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.vue +121 -0
  62. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.vue.d.ts +8 -0
  63. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/schema.d.ts +133 -0
  64. package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/schema.js +65 -0
  65. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.js +16 -4
  66. package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +10 -3
  67. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +2 -2
  68. package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +1 -1
  69. package/dist/runtime/components/operations/utils/resolve.d.ts +1 -1
  70. package/dist/runtime/components/operations/utils/step-vars.d.ts +16 -4
  71. package/dist/runtime/components/operations/utils/step-vars.js +14 -1
  72. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  73. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  74. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  75. package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  76. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  77. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  78. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  79. package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  80. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +2 -2
  81. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +2 -2
  82. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +2 -2
  83. package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +2 -2
  84. package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/prompt.md +1 -1
  85. package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/runtime.vue +8 -2
  86. package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +8 -4
  87. package/dist/runtime/components/ui/calendar/Calendar.vue +39 -10
  88. package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +8 -4
  89. package/dist/runtime/components/ui/date-picker/DatePicker.vue +3 -1
  90. package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +6 -0
  91. package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +6 -0
  92. package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
  93. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +7 -9
  94. package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
  95. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
  96. package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
  97. package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +10 -7
  98. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +3 -5
  99. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +28 -26
  100. package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +3 -5
  101. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
  102. package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
  103. package/dist/runtime/components/ui/expression-editor/picker-entries.js +1 -1
  104. package/dist/runtime/components/ui/expression-editor/step-chip-extension.js +1 -1
  105. package/dist/runtime/components/ui/expression-editor/step-refs.js +1 -1
  106. package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +5 -5
  107. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +22 -5
  108. package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +5 -5
  109. package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +0 -1
  110. package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +0 -1
  111. package/dist/runtime/share/event-bus.d.ts +16 -0
  112. package/dist/runtime/share/event-bus.js +18 -13
  113. package/dist/runtime/share/idempotency-key.d.ts +18 -0
  114. package/dist/runtime/share/idempotency-key.js +9 -0
  115. package/dist/runtime/share/slot-renderer.vue +83 -24
  116. package/dist/runtime/utils/cel-context.d.ts +3 -2
  117. package/dist/runtime/utils/cel-context.js +1 -0
  118. package/dist/runtime/vendor/cel-js/CLAUDE.md +3 -1
  119. package/dist/runtime/vendor/cel-js/PROMPT.md +31 -2
  120. package/dist/runtime/vendor/cel-js/lib/functions.js +28 -1
  121. package/dist/runtime/vendor/cel-js/lib/registry.js +2 -1
  122. package/package.json +8 -1
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly mode: "formula" | "prefill";
44
44
  readonly expression: string;
45
45
  } | undefined;
46
+ readonly enableSorting?: boolean | undefined;
46
47
  readonly nodeKey: string;
47
48
  readonly nodeChildren: string;
48
49
  readonly nodeLabel: readonly [{
@@ -52,7 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
52
53
  readonly locale: "en" | "ja" | "ko";
53
54
  readonly message: string;
54
55
  }[]];
55
- readonly enableSorting?: boolean | undefined;
56
56
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
@@ -106,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly mode: "formula" | "prefill";
107
107
  readonly expression: string;
108
108
  } | undefined;
109
+ readonly enableSorting?: boolean | undefined;
109
110
  readonly nodeKey: string;
110
111
  readonly nodeChildren: string;
111
112
  readonly nodeLabel: readonly [{
@@ -115,7 +116,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
115
116
  readonly locale: "en" | "ja" | "ko";
116
117
  readonly message: string;
117
118
  }[]];
118
- readonly enableSorting?: boolean | undefined;
119
119
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly mode: "formula" | "prefill";
44
44
  readonly expression: string;
45
45
  } | undefined;
46
+ readonly enableSorting?: boolean | undefined;
46
47
  readonly nodeKey: string;
47
48
  readonly nodeChildren: string;
48
49
  readonly nodeLabel: readonly [{
@@ -52,7 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
52
53
  readonly locale: "en" | "ja" | "ko";
53
54
  readonly message: string;
54
55
  }[]];
55
- readonly enableSorting?: boolean | undefined;
56
56
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
@@ -106,6 +106,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
106
106
  readonly mode: "formula" | "prefill";
107
107
  readonly expression: string;
108
108
  } | undefined;
109
+ readonly enableSorting?: boolean | undefined;
109
110
  readonly nodeKey: string;
110
111
  readonly nodeChildren: string;
111
112
  readonly nodeLabel: readonly [{
@@ -115,7 +116,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
115
116
  readonly locale: "en" | "ja" | "ko";
116
117
  readonly message: string;
117
118
  }[]];
118
- readonly enableSorting?: boolean | undefined;
119
119
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly mode: "formula" | "prefill";
44
44
  readonly expression: string;
45
45
  } | undefined;
46
+ readonly enableSorting?: boolean | undefined;
46
47
  readonly nodeKey: string;
47
48
  readonly nodeChildren: string;
48
49
  readonly nodeLabel: readonly [{
@@ -52,7 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
52
53
  readonly locale: "en" | "ja" | "ko";
53
54
  readonly message: string;
54
55
  }[]];
55
- readonly enableSorting?: boolean | undefined;
56
56
  readonly nodeTooltip?: readonly [{
57
57
  readonly locale: "zh";
58
58
  readonly message: string;
@@ -105,6 +105,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly mode: "formula" | "prefill";
106
106
  readonly expression: string;
107
107
  } | undefined;
108
+ readonly enableSorting?: boolean | undefined;
108
109
  readonly nodeKey: string;
109
110
  readonly nodeChildren: string;
110
111
  readonly nodeLabel: readonly [{
@@ -114,7 +115,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
114
115
  readonly locale: "en" | "ja" | "ko";
115
116
  readonly message: string;
116
117
  }[]];
117
- readonly enableSorting?: boolean | undefined;
118
118
  readonly nodeTooltip?: readonly [{
119
119
  readonly locale: "zh";
120
120
  readonly message: string;
@@ -43,6 +43,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
43
43
  readonly mode: "formula" | "prefill";
44
44
  readonly expression: string;
45
45
  } | undefined;
46
+ readonly enableSorting?: boolean | undefined;
46
47
  readonly nodeKey: string;
47
48
  readonly nodeChildren: string;
48
49
  readonly nodeLabel: readonly [{
@@ -52,7 +53,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
52
53
  readonly locale: "en" | "ja" | "ko";
53
54
  readonly message: string;
54
55
  }[]];
55
- readonly enableSorting?: boolean | undefined;
56
56
  readonly nodeTooltip?: readonly [{
57
57
  readonly locale: "zh";
58
58
  readonly message: string;
@@ -105,6 +105,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
105
105
  readonly mode: "formula" | "prefill";
106
106
  readonly expression: string;
107
107
  } | undefined;
108
+ readonly enableSorting?: boolean | undefined;
108
109
  readonly nodeKey: string;
109
110
  readonly nodeChildren: string;
110
111
  readonly nodeLabel: readonly [{
@@ -114,7 +115,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
114
115
  readonly locale: "en" | "ja" | "ko";
115
116
  readonly message: string;
116
117
  }[]];
117
- readonly enableSorting?: boolean | undefined;
118
118
  readonly nodeTooltip?: readonly [{
119
119
  readonly locale: "zh";
120
120
  readonly message: string;
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
44
44
  readonly mode: "formula" | "prefill";
45
45
  readonly expression: string;
46
46
  } | undefined;
47
+ readonly enableSorting?: boolean | undefined;
47
48
  readonly nodeKey: string;
48
49
  readonly nodeChildren: string;
49
50
  readonly nodeLabel: readonly [{
@@ -53,7 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
54
  readonly locale: "en" | "ja" | "ko";
54
55
  readonly message: string;
55
56
  }[]];
56
- readonly enableSorting?: boolean | undefined;
57
57
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
58
58
  readonly nodeTooltip?: readonly [{
59
59
  readonly locale: "zh";
@@ -108,6 +108,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly mode: "formula" | "prefill";
109
109
  readonly expression: string;
110
110
  } | undefined;
111
+ readonly enableSorting?: boolean | undefined;
111
112
  readonly nodeKey: string;
112
113
  readonly nodeChildren: string;
113
114
  readonly nodeLabel: readonly [{
@@ -117,7 +118,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
117
118
  readonly locale: "en" | "ja" | "ko";
118
119
  readonly message: string;
119
120
  }[]];
120
- readonly enableSorting?: boolean | undefined;
121
121
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
122
122
  readonly nodeTooltip?: readonly [{
123
123
  readonly locale: "zh";
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
44
44
  readonly mode: "formula" | "prefill";
45
45
  readonly expression: string;
46
46
  } | undefined;
47
+ readonly enableSorting?: boolean | undefined;
47
48
  readonly nodeKey: string;
48
49
  readonly nodeChildren: string;
49
50
  readonly nodeLabel: readonly [{
@@ -53,7 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
54
  readonly locale: "en" | "ja" | "ko";
54
55
  readonly message: string;
55
56
  }[]];
56
- readonly enableSorting?: boolean | undefined;
57
57
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
58
58
  readonly nodeTooltip?: readonly [{
59
59
  readonly locale: "zh";
@@ -108,6 +108,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
108
108
  readonly mode: "formula" | "prefill";
109
109
  readonly expression: string;
110
110
  } | undefined;
111
+ readonly enableSorting?: boolean | undefined;
111
112
  readonly nodeKey: string;
112
113
  readonly nodeChildren: string;
113
114
  readonly nodeLabel: readonly [{
@@ -117,7 +118,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
117
118
  readonly locale: "en" | "ja" | "ko";
118
119
  readonly message: string;
119
120
  }[]];
120
- readonly enableSorting?: boolean | undefined;
121
121
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
122
122
  readonly nodeTooltip?: readonly [{
123
123
  readonly locale: "zh";
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
44
44
  readonly mode: "formula" | "prefill";
45
45
  readonly expression: string;
46
46
  } | undefined;
47
+ readonly enableSorting?: boolean | undefined;
47
48
  readonly nodeKey: string;
48
49
  readonly nodeChildren: string;
49
50
  readonly nodeLabel: readonly [{
@@ -53,7 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
54
  readonly locale: "en" | "ja" | "ko";
54
55
  readonly message: string;
55
56
  }[]];
56
- readonly enableSorting?: boolean | undefined;
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
59
59
  readonly message: string;
@@ -107,6 +107,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
107
  readonly mode: "formula" | "prefill";
108
108
  readonly expression: string;
109
109
  } | undefined;
110
+ readonly enableSorting?: boolean | undefined;
110
111
  readonly nodeKey: string;
111
112
  readonly nodeChildren: string;
112
113
  readonly nodeLabel: readonly [{
@@ -116,7 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
117
  readonly locale: "en" | "ja" | "ko";
117
118
  readonly message: string;
118
119
  }[]];
119
- readonly enableSorting?: boolean | undefined;
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
122
122
  readonly message: string;
@@ -44,6 +44,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
44
44
  readonly mode: "formula" | "prefill";
45
45
  readonly expression: string;
46
46
  } | undefined;
47
+ readonly enableSorting?: boolean | undefined;
47
48
  readonly nodeKey: string;
48
49
  readonly nodeChildren: string;
49
50
  readonly nodeLabel: readonly [{
@@ -53,7 +54,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
53
54
  readonly locale: "en" | "ja" | "ko";
54
55
  readonly message: string;
55
56
  }[]];
56
- readonly enableSorting?: boolean | undefined;
57
57
  readonly nodeTooltip?: readonly [{
58
58
  readonly locale: "zh";
59
59
  readonly message: string;
@@ -107,6 +107,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
107
107
  readonly mode: "formula" | "prefill";
108
108
  readonly expression: string;
109
109
  } | undefined;
110
+ readonly enableSorting?: boolean | undefined;
110
111
  readonly nodeKey: string;
111
112
  readonly nodeChildren: string;
112
113
  readonly nodeLabel: readonly [{
@@ -116,7 +117,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
116
117
  readonly locale: "en" | "ja" | "ko";
117
118
  readonly message: string;
118
119
  }[]];
119
- readonly enableSorting?: boolean | undefined;
120
120
  readonly nodeTooltip?: readonly [{
121
121
  readonly locale: "zh";
122
122
  readonly message: string;
@@ -45,10 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly mode: "formula" | "prefill";
46
46
  readonly expression: string;
47
47
  } | undefined;
48
+ readonly enableSorting?: boolean | undefined;
48
49
  readonly nodeKey: string;
49
50
  readonly nodeChildren: string;
50
51
  readonly nodeLabel: string;
51
- readonly enableSorting?: boolean | undefined;
52
52
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
53
53
  readonly nodeTooltip?: readonly [{
54
54
  readonly locale: "zh";
@@ -104,10 +104,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
104
104
  readonly mode: "formula" | "prefill";
105
105
  readonly expression: string;
106
106
  } | undefined;
107
+ readonly enableSorting?: boolean | undefined;
107
108
  readonly nodeKey: string;
108
109
  readonly nodeChildren: string;
109
110
  readonly nodeLabel: string;
110
- readonly enableSorting?: boolean | undefined;
111
111
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
112
112
  readonly nodeTooltip?: readonly [{
113
113
  readonly locale: "zh";
@@ -45,10 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly mode: "formula" | "prefill";
46
46
  readonly expression: string;
47
47
  } | undefined;
48
+ readonly enableSorting?: boolean | undefined;
48
49
  readonly nodeKey: string;
49
50
  readonly nodeChildren: string;
50
51
  readonly nodeLabel: string;
51
- readonly enableSorting?: boolean | undefined;
52
52
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
53
53
  readonly nodeTooltip?: readonly [{
54
54
  readonly locale: "zh";
@@ -104,10 +104,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
104
104
  readonly mode: "formula" | "prefill";
105
105
  readonly expression: string;
106
106
  } | undefined;
107
+ readonly enableSorting?: boolean | undefined;
107
108
  readonly nodeKey: string;
108
109
  readonly nodeChildren: string;
109
110
  readonly nodeLabel: string;
110
- readonly enableSorting?: boolean | undefined;
111
111
  readonly cascade: "independent" | "cascade-down" | "cascade-both";
112
112
  readonly nodeTooltip?: readonly [{
113
113
  readonly locale: "zh";
@@ -45,10 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly mode: "formula" | "prefill";
46
46
  readonly expression: string;
47
47
  } | undefined;
48
+ readonly enableSorting?: boolean | undefined;
48
49
  readonly nodeKey: string;
49
50
  readonly nodeChildren: string;
50
51
  readonly nodeLabel: string;
51
- readonly enableSorting?: boolean | undefined;
52
52
  readonly nodeTooltip?: readonly [{
53
53
  readonly locale: "zh";
54
54
  readonly message: string;
@@ -103,10 +103,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
103
  readonly mode: "formula" | "prefill";
104
104
  readonly expression: string;
105
105
  } | undefined;
106
+ readonly enableSorting?: boolean | undefined;
106
107
  readonly nodeKey: string;
107
108
  readonly nodeChildren: string;
108
109
  readonly nodeLabel: string;
109
- readonly enableSorting?: boolean | undefined;
110
110
  readonly nodeTooltip?: readonly [{
111
111
  readonly locale: "zh";
112
112
  readonly message: string;
@@ -45,10 +45,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
45
45
  readonly mode: "formula" | "prefill";
46
46
  readonly expression: string;
47
47
  } | undefined;
48
+ readonly enableSorting?: boolean | undefined;
48
49
  readonly nodeKey: string;
49
50
  readonly nodeChildren: string;
50
51
  readonly nodeLabel: string;
51
- readonly enableSorting?: boolean | undefined;
52
52
  readonly nodeTooltip?: readonly [{
53
53
  readonly locale: "zh";
54
54
  readonly message: string;
@@ -103,10 +103,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
103
103
  readonly mode: "formula" | "prefill";
104
104
  readonly expression: string;
105
105
  } | undefined;
106
+ readonly enableSorting?: boolean | undefined;
106
107
  readonly nodeKey: string;
107
108
  readonly nodeChildren: string;
108
109
  readonly nodeLabel: string;
109
- readonly enableSorting?: boolean | undefined;
110
110
  readonly nodeTooltip?: readonly [{
111
111
  readonly locale: "zh";
112
112
  readonly message: string;
@@ -11,7 +11,7 @@
11
11
 
12
12
  `download`(文件下载)给每个**文件项**渲染一个下载按钮,点击时执行一条「触发操作」列表(复用 actions 的操作子系统),列表里的表达式可用 `file` 引用被点击的那一项。分两种情况:
13
13
 
14
- - **已上传/回填的对象项**:走操作列表,如放一个 `http.download` 操作、请求写 `http.get('/api/file').query('key', file.cacheKey)`;或两步式——先一个 `发送请求` 行取凭据、再一个 `下载文件` 行经 `steps[?"<步骤标识>"]` 引用其响应。凡下载要用到的字段,都必须已由 `upload.handle` 落进文件项。
14
+ - **已上传/回填的对象项**:走操作列表,如放一个 `http.download` 操作、请求写 `http.get('/api/file').query('key', file.cacheKey)`;或两步式——先一个 `发送请求` 行取凭据、再一个 `下载文件` 行经 `steps["<步骤标识>"]` 引用其响应。凡下载要用到的字段,都必须已由 `upload.handle` 落进文件项。
15
15
  - **尚未上传的本地文件**(延迟模式刚选中的原始 `File`):内存里没有服务端标识,故绕过列表、直接从 blob 下载。
16
16
 
17
17
  下载按钮在只读表格/表单里仍显示(查看已提交记录并下载附件是主要场景)。约束类字段(`accept` / `maxFileSize` / `maxTotalSize` / `maxFiles` / `multiple`)按需设置即可。`disabled` / `readonly` 是行作用域 CEL(返回 `bool`)。
@@ -289,9 +289,15 @@ async function onDownloadEntry(entry) {
289
289
  </script>
290
290
 
291
291
  <template>
292
- <div class="p-[0.125rem] w-full">
292
+ <!--
293
+ The cell's own content (one add button, or a short file list) is usually
294
+ shorter than the row, which is sized by its tallest neighbour — so the
295
+ wrapper fills the height and centres, rather than letting the button pin to
296
+ the top edge.
297
+ -->
298
+ <div class="p-[0.125rem] w-full h-full flex items-center">
293
299
  <div
294
- class="flex flex-col gap-1.5"
300
+ class="flex w-full flex-col gap-1.5"
295
301
  :data-disabled="isDisabled || void 0"
296
302
  :data-readonly="isReadonly || void 0"
297
303
  >
@@ -5,15 +5,19 @@ type __VLS_Props = CalendarRootProps & {
5
5
  class?: HTMLAttributes['class'];
6
6
  layout?: LayoutTypes;
7
7
  };
8
- declare var __VLS_20: {}, __VLS_28: {}, __VLS_30: {
8
+ declare var __VLS_20: {}, __VLS_33: {}, __VLS_41: {}, __VLS_49: {}, __VLS_56: {
9
9
  date: DateValue;
10
10
  };
11
11
  type __VLS_Slots = {} & {
12
- 'calendar-prev-icon'?: (props: typeof __VLS_20) => any;
12
+ 'calendar-prev-year-icon'?: (props: typeof __VLS_20) => any;
13
13
  } & {
14
- 'calendar-next-icon'?: (props: typeof __VLS_28) => any;
14
+ 'calendar-prev-icon'?: (props: typeof __VLS_33) => any;
15
15
  } & {
16
- 'calendar-heading'?: (props: typeof __VLS_30) => any;
16
+ 'calendar-next-icon'?: (props: typeof __VLS_41) => any;
17
+ } & {
18
+ 'calendar-next-year-icon'?: (props: typeof __VLS_49) => any;
19
+ } & {
20
+ 'calendar-heading'?: (props: typeof __VLS_56) => any;
17
21
  };
18
22
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
23
  "update:modelValue": (date: DateValue | undefined) => any;
@@ -1,5 +1,6 @@
1
1
  <script setup>
2
2
  import { CalendarDate, getLocalTimeZone, today } from "@internationalized/date";
3
+ import { Icon } from "@iconify/vue";
3
4
  import { reactiveOmit, useNavigatorLanguage, useVModel } from "@vueuse/core";
4
5
  import { CalendarRoot, useDateFormatter, useForwardPropsEmits } from "reka-ui";
5
6
  import { toDate } from "reka-ui/date";
@@ -63,6 +64,7 @@ const weekStartsOn = computed(() => {
63
64
  return void 0;
64
65
  });
65
66
  const yearGridStart = computed(() => Math.floor(placeholder.value.year / 12) * 12);
67
+ const showYearNav = computed(() => props.layout === void 0 || props.layout === "date");
66
68
  function isPickerDateDisabled(date) {
67
69
  const fn = props.isDateDisabled;
68
70
  if (typeof fn !== "function") return false;
@@ -83,16 +85,43 @@ function isPickerDateDisabled(date) {
83
85
  >
84
86
  <CalendarHeader :class="layout === 'year' ? 'pt-2 pb-2' : 'pt-0'">
85
87
  <nav class="w-full flex items-center gap-1 absolute top-1/2 -translate-y-1/2 transform-gpu inset-x-0 justify-between z-10">
86
- <CalendarPrevButton
87
- :prev-page="layout === 'year' ? (d) => d.subtract({ years: 12 }) : layout === 'month' ? (d) => d.subtract({ years: 1 }) : void 0"
88
- >
89
- <slot name="calendar-prev-icon" />
90
- </CalendarPrevButton>
91
- <CalendarNextButton
92
- :next-page="layout === 'year' ? (d) => d.add({ years: 12 }) : layout === 'month' ? (d) => d.add({ years: 1 }) : void 0"
93
- >
94
- <slot name="calendar-next-icon" />
95
- </CalendarNextButton>
88
+ <div class="flex items-center gap-0.5">
89
+ <!-- Year jump, only on the day grid: the month grid already steps by
90
+ a year and the year grid by a dozen, so a second pair of arrows
91
+ would be redundant there. -->
92
+ <CalendarPrevButton
93
+ v-if="showYearNav"
94
+ :prev-page="(d) => d.subtract({ years: 1 })"
95
+ class="size-6 px-0 has-[>svg]:px-0"
96
+ data-slot="calendar-prev-year-button"
97
+ >
98
+ <slot name="calendar-prev-year-icon">
99
+ <Icon icon="fluent:chevron-double-left-20-regular" />
100
+ </slot>
101
+ </CalendarPrevButton>
102
+ <CalendarPrevButton
103
+ :prev-page="layout === 'year' ? (d) => d.subtract({ years: 12 }) : layout === 'month' ? (d) => d.subtract({ years: 1 }) : void 0"
104
+ >
105
+ <slot name="calendar-prev-icon" />
106
+ </CalendarPrevButton>
107
+ </div>
108
+ <div class="flex items-center gap-0.5">
109
+ <CalendarNextButton
110
+ :next-page="layout === 'year' ? (d) => d.add({ years: 12 }) : layout === 'month' ? (d) => d.add({ years: 1 }) : void 0"
111
+ >
112
+ <slot name="calendar-next-icon" />
113
+ </CalendarNextButton>
114
+ <CalendarNextButton
115
+ v-if="showYearNav"
116
+ :next-page="(d) => d.add({ years: 1 })"
117
+ class="size-6 px-0 has-[>svg]:px-0"
118
+ data-slot="calendar-next-year-button"
119
+ >
120
+ <slot name="calendar-next-year-icon">
121
+ <Icon icon="fluent:chevron-double-right-20-regular" />
122
+ </slot>
123
+ </CalendarNextButton>
124
+ </div>
96
125
  </nav>
97
126
 
98
127
  <slot
@@ -5,15 +5,19 @@ type __VLS_Props = CalendarRootProps & {
5
5
  class?: HTMLAttributes['class'];
6
6
  layout?: LayoutTypes;
7
7
  };
8
- declare var __VLS_20: {}, __VLS_28: {}, __VLS_30: {
8
+ declare var __VLS_20: {}, __VLS_33: {}, __VLS_41: {}, __VLS_49: {}, __VLS_56: {
9
9
  date: DateValue;
10
10
  };
11
11
  type __VLS_Slots = {} & {
12
- 'calendar-prev-icon'?: (props: typeof __VLS_20) => any;
12
+ 'calendar-prev-year-icon'?: (props: typeof __VLS_20) => any;
13
13
  } & {
14
- 'calendar-next-icon'?: (props: typeof __VLS_28) => any;
14
+ 'calendar-prev-icon'?: (props: typeof __VLS_33) => any;
15
15
  } & {
16
- 'calendar-heading'?: (props: typeof __VLS_30) => any;
16
+ 'calendar-next-icon'?: (props: typeof __VLS_41) => any;
17
+ } & {
18
+ 'calendar-next-year-icon'?: (props: typeof __VLS_49) => any;
19
+ } & {
20
+ 'calendar-heading'?: (props: typeof __VLS_56) => any;
17
21
  };
18
22
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
23
  "update:modelValue": (date: DateValue | undefined) => any;
@@ -145,7 +145,9 @@ function setFromInputDate(d) {
145
145
  setPickerValue(void 0);
146
146
  return;
147
147
  }
148
- setPickerValue(nativeToPickerValue(d, props.type));
148
+ const next = nativeToPickerValue(d, props.type);
149
+ if (!(next instanceof Time) && props.disabledDate?.(next)) return;
150
+ setPickerValue(next);
149
151
  }
150
152
  function setFromInputTime(t) {
151
153
  setPickerValue(t);
@@ -27,11 +27,17 @@ function handleUpdate(value) {
27
27
  :is-date-disabled="props.isDateDisabled"
28
28
  @update:model-value="handleUpdate"
29
29
  >
30
+ <template #calendar-prev-year-icon>
31
+ <Icon icon="lucide:chevrons-left" />
32
+ </template>
30
33
  <template #calendar-prev-icon>
31
34
  <Icon icon="lucide:chevron-left" />
32
35
  </template>
33
36
  <template #calendar-next-icon>
34
37
  <Icon icon="lucide:chevron-right" />
35
38
  </template>
39
+ <template #calendar-next-year-icon>
40
+ <Icon icon="lucide:chevrons-right" />
41
+ </template>
36
42
  </Calendar>
37
43
  </template>
@@ -103,12 +103,18 @@ function setTimePart(value) {
103
103
  :is-date-disabled="props.isDateDisabled"
104
104
  @update:model-value="setDatePart"
105
105
  >
106
+ <template #calendar-prev-year-icon>
107
+ <Icon icon="lucide:chevrons-left" />
108
+ </template>
106
109
  <template #calendar-prev-icon>
107
110
  <Icon icon="lucide:chevron-left" />
108
111
  </template>
109
112
  <template #calendar-next-icon>
110
113
  <Icon icon="lucide:chevron-right" />
111
114
  </template>
115
+ <template #calendar-next-year-icon>
116
+ <Icon icon="lucide:chevrons-right" />
117
+ </template>
112
118
  </Calendar>
113
119
  <div class="border-zinc-200 flex items-center gap-2 border-t p-3">
114
120
  <Icon
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
28
28
  "onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
29
29
  }>, {
30
30
  size: "sm" | "md" | "lg";
31
- clearable: boolean;
32
31
  clearIcon: string;
32
+ clearable: boolean;
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { Icon } from "@iconify/vue";
3
3
  import { format as formatDate, isValid, parse as parseDate } from "date-fns";
4
- import { computed, ref, watch } from "vue";
4
+ import { computed, nextTick, ref, watch } from "vue";
5
5
  import { cn } from "../../../utils/cn";
6
6
  import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput } from "../input-group";
7
7
  defineOptions({ name: "UiDatePickerInput", inheritAttrs: false });
@@ -39,20 +39,18 @@ watch(
39
39
  },
40
40
  { immediate: true }
41
41
  );
42
- function commit() {
42
+ async function commit() {
43
43
  const text = draft.value.trim();
44
44
  if (!text) {
45
45
  if (props.modelValue !== void 0) {
46
46
  emits("update:modelValue", void 0);
47
47
  }
48
- return;
48
+ } else {
49
+ const parsed = parseDate(text, props.format, props.modelValue ?? /* @__PURE__ */ new Date());
50
+ if (isValid(parsed)) emits("update:modelValue", parsed);
49
51
  }
50
- const parsed = parseDate(text, props.format, props.modelValue ?? /* @__PURE__ */ new Date());
51
- if (!isValid(parsed)) {
52
- syncFromModel();
53
- return;
54
- }
55
- emits("update:modelValue", parsed);
52
+ await nextTick();
53
+ syncFromModel();
56
54
  }
57
55
  function onFocus(event) {
58
56
  focused.value = true;
@@ -28,8 +28,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
28
28
  "onUpdate:modelValue"?: ((args_0: Date | undefined) => any) | undefined;
29
29
  }>, {
30
30
  size: "sm" | "md" | "lg";
31
- clearable: boolean;
32
31
  clearIcon: string;
32
+ clearable: boolean;
33
33
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
22
22
  size: "sm" | "md" | "lg";
23
23
  granularity: "hour" | "minute" | "second";
24
24
  hourCycle: 12 | 24;
25
- clearable: boolean;
26
25
  clearIcon: string;
26
+ clearable: boolean;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;
@@ -22,8 +22,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
22
22
  size: "sm" | "md" | "lg";
23
23
  granularity: "hour" | "minute" | "second";
24
24
  hourCycle: 12 | 24;
25
- clearable: boolean;
26
25
  clearIcon: string;
26
+ clearable: boolean;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  export default _default;