@shwfed/config 3.0.14 → 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.
- package/dist/module.json +1 -1
- package/dist/module.mjs +20 -1
- package/dist/runtime/components/actions/ai-l1.md +1 -1
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/prompt.md +1 -1
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +1 -1
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.js +2 -2
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.d.vue.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue.d.ts +2 -2
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.d.vue.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-06-25/com.shwfed.actions.button.state.write/config.vue.d.ts +8 -8
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/prompt.md +1 -1
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/runtime.vue +1 -1
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.d.ts +2 -4
- package/dist/runtime/components/actions/buttons/2026-07-13/com.shwfed.actions.button.state.write/schema.js +1 -1
- package/dist/runtime/components/actions/components/trigger-row-scope.vue +6 -3
- package/dist/runtime/components/actions/utils/steps.d.ts +1 -1
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.d.vue.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/config.vue.d.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.d.vue.ts +18 -18
- package/dist/runtime/components/config/blocks/2026-06-17/com.shwfed.block.tree.single/runtime.vue.d.ts +18 -18
- package/dist/runtime/components/config/index.d.vue.ts +2 -2
- package/dist/runtime/components/config/index.vue.d.ts +2 -2
- package/dist/runtime/components/config/schema.js +2 -2
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-22/com.shwfed.form.field.text/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.combobox.single/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +8 -8
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +22 -22
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +22 -22
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.combobox.single.remote/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-23/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.d.vue.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-25/com.shwfed.form.field.combobox.multi/config.vue.d.ts +16 -16
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-26/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.combobox.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.multi/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.d.vue.ts +26 -26
- package/dist/runtime/components/form/fields/2026-05-28/com.shwfed.form.field.tree.single/config.vue.d.ts +26 -26
- package/dist/runtime/components/form/fields/2026-06-09/com.shwfed.form.field.upload/prompt.md +1 -1
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.d.vue.ts +33 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.vue +269 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/RichTextEditor.vue.d.ts +33 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.d.vue.ts +107 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.vue +370 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/config.vue.d.ts +107 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/extensions.d.ts +27 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/extensions.js +83 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/features.d.ts +21 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/features.js +16 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/indent.d.ts +26 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/indent.js +64 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/prompt.md +33 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.vue +121 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/schema.d.ts +133 -0
- package/dist/runtime/components/form/fields/2026-07-18/com.shwfed.form.field.richtext/schema.js +65 -0
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/runtime.js +16 -4
- package/dist/runtime/components/operations/2026-06-11/com.shwfed.operation.http.request.json/schema.js +10 -3
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.http.download/schema.js +2 -2
- package/dist/runtime/components/operations/2026-06-15/com.shwfed.operation.navigation/schema.js +1 -1
- package/dist/runtime/components/operations/utils/resolve.d.ts +1 -1
- package/dist/runtime/components/operations/utils/step-vars.d.ts +16 -4
- package/dist/runtime/components/operations/utils/step-vars.js +14 -1
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-27/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-multi/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-multi/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.d.vue.ts +10 -10
- package/dist/runtime/components/table/columns/2026-06-14/com.shwfed.table.column.tree-combobox-single/config.vue.d.ts +10 -10
- package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/prompt.md +1 -1
- package/dist/runtime/components/ui/calendar/Calendar.d.vue.ts +8 -4
- package/dist/runtime/components/ui/calendar/Calendar.vue +39 -10
- package/dist/runtime/components/ui/calendar/Calendar.vue.d.ts +8 -4
- package/dist/runtime/components/ui/date-picker/DatePicker.vue +3 -1
- package/dist/runtime/components/ui/date-picker/DatePickerDatePanel.vue +6 -0
- package/dist/runtime/components/ui/date-picker/DatePickerDateTimePanel.vue +6 -0
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue +7 -9
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePicker.vue +10 -7
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +3 -5
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue +28 -26
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +3 -5
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/expression-editor/picker-entries.js +1 -1
- package/dist/runtime/components/ui/expression-editor/step-chip-extension.js +1 -1
- package/dist/runtime/components/ui/expression-editor/step-refs.js +1 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.d.vue.ts +5 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue +22 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendar.vue.d.ts +5 -5
- package/dist/runtime/components/ui/range-calendar/RangeCalendarNextButton.vue +0 -1
- package/dist/runtime/components/ui/range-calendar/RangeCalendarPrevButton.vue +0 -1
- package/dist/runtime/share/event-bus.d.ts +16 -0
- package/dist/runtime/share/event-bus.js +18 -13
- package/dist/runtime/share/idempotency-key.d.ts +18 -0
- package/dist/runtime/share/idempotency-key.js +9 -0
- package/dist/runtime/utils/cel-context.d.ts +3 -2
- package/dist/runtime/utils/cel-context.js +1 -0
- package/package.json +8 -1
|
@@ -35,15 +35,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
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";
|
|
@@ -99,15 +99,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
}[]] | undefined;
|
|
100
100
|
readonly keywords?: string | undefined;
|
|
101
101
|
readonly readonly?: string | undefined;
|
|
102
|
+
readonly dataSource: {
|
|
103
|
+
readonly data: string;
|
|
104
|
+
readonly request?: string | undefined;
|
|
105
|
+
};
|
|
102
106
|
readonly binding: string;
|
|
103
107
|
readonly derived?: {
|
|
104
108
|
readonly mode: "formula" | "prefill";
|
|
105
109
|
readonly expression: string;
|
|
106
110
|
} | undefined;
|
|
107
|
-
readonly
|
|
108
|
-
readonly data: string;
|
|
109
|
-
readonly request?: string | undefined;
|
|
110
|
-
};
|
|
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";
|
|
@@ -35,15 +35,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
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;
|
|
@@ -98,15 +98,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
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;
|
|
@@ -35,15 +35,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
35
35
|
}[]] | undefined;
|
|
36
36
|
readonly keywords?: string | undefined;
|
|
37
37
|
readonly readonly?: string | undefined;
|
|
38
|
+
readonly dataSource: {
|
|
39
|
+
readonly data: string;
|
|
40
|
+
readonly request?: string | undefined;
|
|
41
|
+
};
|
|
38
42
|
readonly binding: string;
|
|
39
43
|
readonly derived?: {
|
|
40
44
|
readonly mode: "formula" | "prefill";
|
|
41
45
|
readonly expression: string;
|
|
42
46
|
} | undefined;
|
|
43
|
-
readonly
|
|
44
|
-
readonly data: string;
|
|
45
|
-
readonly request?: string | undefined;
|
|
46
|
-
};
|
|
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;
|
|
@@ -98,15 +98,16 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
98
98
|
}[]] | undefined;
|
|
99
99
|
readonly keywords?: string | undefined;
|
|
100
100
|
readonly readonly?: string | undefined;
|
|
101
|
+
readonly dataSource: {
|
|
102
|
+
readonly data: string;
|
|
103
|
+
readonly request?: string | undefined;
|
|
104
|
+
};
|
|
101
105
|
readonly binding: string;
|
|
102
106
|
readonly derived?: {
|
|
103
107
|
readonly mode: "formula" | "prefill";
|
|
104
108
|
readonly expression: string;
|
|
105
109
|
} | undefined;
|
|
106
|
-
readonly
|
|
107
|
-
readonly data: string;
|
|
108
|
-
readonly request?: string | undefined;
|
|
109
|
-
};
|
|
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;
|
|
@@ -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>;
|
|
@@ -36,19 +36,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
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";
|
|
@@ -95,19 +95,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
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";
|
|
@@ -36,19 +36,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
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";
|
|
@@ -95,19 +95,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
95
95
|
}[]] | undefined;
|
|
96
96
|
readonly keywords?: string | undefined;
|
|
97
97
|
readonly readonly?: string | undefined;
|
|
98
|
+
readonly dataSource: {
|
|
99
|
+
readonly data: string;
|
|
100
|
+
readonly request?: string | undefined;
|
|
101
|
+
};
|
|
98
102
|
readonly binding: string;
|
|
99
103
|
readonly derived?: {
|
|
100
104
|
readonly mode: "formula" | "prefill";
|
|
101
105
|
readonly expression: string;
|
|
102
106
|
} | undefined;
|
|
103
|
-
readonly
|
|
104
|
-
readonly data: string;
|
|
105
|
-
readonly request?: string | undefined;
|
|
106
|
-
};
|
|
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";
|
|
@@ -36,19 +36,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
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;
|
|
@@ -94,19 +94,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
94
94
|
}[]] | undefined;
|
|
95
95
|
readonly keywords?: string | undefined;
|
|
96
96
|
readonly readonly?: string | undefined;
|
|
97
|
+
readonly dataSource: {
|
|
98
|
+
readonly data: string;
|
|
99
|
+
readonly request?: string | undefined;
|
|
100
|
+
};
|
|
97
101
|
readonly binding: string;
|
|
98
102
|
readonly derived?: {
|
|
99
103
|
readonly mode: "formula" | "prefill";
|
|
100
104
|
readonly expression: string;
|
|
101
105
|
} | undefined;
|
|
102
|
-
readonly
|
|
103
|
-
readonly data: string;
|
|
104
|
-
readonly request?: string | undefined;
|
|
105
|
-
};
|
|
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;
|
|
@@ -36,19 +36,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
36
36
|
}[]] | undefined;
|
|
37
37
|
readonly keywords?: string | undefined;
|
|
38
38
|
readonly readonly?: string | undefined;
|
|
39
|
+
readonly dataSource: {
|
|
40
|
+
readonly data: string;
|
|
41
|
+
readonly request?: string | undefined;
|
|
42
|
+
};
|
|
39
43
|
readonly binding: string;
|
|
40
44
|
readonly derived?: {
|
|
41
45
|
readonly mode: "formula" | "prefill";
|
|
42
46
|
readonly expression: string;
|
|
43
47
|
} | undefined;
|
|
44
|
-
readonly
|
|
45
|
-
readonly data: string;
|
|
46
|
-
readonly request?: string | undefined;
|
|
47
|
-
};
|
|
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;
|
|
@@ -94,19 +94,19 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
94
94
|
}[]] | undefined;
|
|
95
95
|
readonly keywords?: string | undefined;
|
|
96
96
|
readonly readonly?: string | undefined;
|
|
97
|
+
readonly dataSource: {
|
|
98
|
+
readonly data: string;
|
|
99
|
+
readonly request?: string | undefined;
|
|
100
|
+
};
|
|
97
101
|
readonly binding: string;
|
|
98
102
|
readonly derived?: {
|
|
99
103
|
readonly mode: "formula" | "prefill";
|
|
100
104
|
readonly expression: string;
|
|
101
105
|
} | undefined;
|
|
102
|
-
readonly
|
|
103
|
-
readonly data: string;
|
|
104
|
-
readonly request?: string | undefined;
|
|
105
|
-
};
|
|
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;
|
package/dist/runtime/components/table/columns/2026-07-16/com.shwfed.table.column.upload/prompt.md
CHANGED
|
@@ -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[
|
|
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`)。
|
|
@@ -5,15 +5,19 @@ type __VLS_Props = CalendarRootProps & {
|
|
|
5
5
|
class?: HTMLAttributes['class'];
|
|
6
6
|
layout?: LayoutTypes;
|
|
7
7
|
};
|
|
8
|
-
declare var __VLS_20: {},
|
|
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-
|
|
14
|
+
'calendar-prev-icon'?: (props: typeof __VLS_33) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'calendar-
|
|
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
|
-
<
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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: {},
|
|
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-
|
|
14
|
+
'calendar-prev-icon'?: (props: typeof __VLS_33) => any;
|
|
15
15
|
} & {
|
|
16
|
-
'calendar-
|
|
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
|
-
|
|
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;
|