@shwfed/config 2.9.3 → 2.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +566 -102
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -0
- package/dist/preview/assets/FieldGroup.vue_vue_type_script_setup_true_lang-BZCeJsQD.js +1 -0
- package/dist/preview/assets/badge-muf_N5bh.js +1 -0
- package/dist/preview/assets/config-BDWlpbYr.js +1 -0
- package/dist/preview/assets/config-BbrX8RJn.js +1 -0
- package/dist/preview/assets/config-BeW9pIO6.js +1 -0
- package/dist/preview/assets/config-BmmWdZ8T.js +1 -0
- package/dist/preview/assets/config-CX1fFOhS.js +1 -0
- package/dist/preview/assets/config-CZHJLTaX.js +1 -0
- package/dist/preview/assets/config-CoEYHQXh.js +1 -0
- package/dist/preview/assets/config-DkiDpKM2.js +1 -0
- package/dist/preview/assets/config-DygE8cbP.js +1 -0
- package/dist/preview/assets/config-qlTY-CeE.js +1 -0
- package/dist/preview/assets/config-r9XM4u1X.js +1 -0
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-BFjgX5YL.js +1 -0
- package/dist/preview/assets/{index-CNgUJDgV.js → index-CHKIlDe0.js} +1 -1
- package/dist/preview/assets/{index-DZS4TKGX.js → index-CJHF5AcW.js} +217 -186
- package/dist/preview/assets/index-OJPhCe6w.js +1 -0
- package/dist/preview/assets/index-vPcvbp7e.css +1 -0
- package/dist/preview/assets/item-9Thi-zcK.js +1 -0
- package/dist/preview/assets/runtime-B2Q3DRbZ.js +1 -0
- package/dist/preview/assets/{runtime-Caf4c7Qr.js → runtime-BnExhm-v.js} +1 -1
- package/dist/preview/assets/runtime-BrCQ7TVd.js +1 -0
- package/dist/preview/assets/runtime-BstyXj1z.js +1 -0
- package/dist/preview/assets/runtime-ByhubOtA.js +1 -0
- package/dist/preview/assets/runtime-CE6eAbTE.js +1 -0
- package/dist/preview/assets/runtime-CdDJ6rEl.js +1 -0
- package/dist/preview/assets/runtime-DEHzrByN.js +1 -0
- package/dist/preview/assets/runtime-DM9caqw1.js +1 -0
- package/dist/preview/assets/{runtime-DNRZcUw_.js → runtime-DkLPBvxW.js} +1 -1
- package/dist/preview/index.html +2 -2
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.d.vue.ts +20 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/config.vue.d.ts +20 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.d.ts +22 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json/schema.js +33 -1
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.d.vue.ts +20 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/config.vue.d.ts +20 -0
- package/dist/runtime/components/actions/buttons/2026-04-18/com.shwfed.actions.button.http.request.json.confirm/schema.d.ts +10 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.d.vue.ts +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/config.vue.d.ts +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-15/com.shwfed.actions.button.event.dispatch/schema.d.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.d.vue.ts +16 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/config.vue.d.ts +16 -0
- package/dist/runtime/components/actions/buttons/2026-05-21/com.shwfed.actions.button.http.download/schema.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.d.vue.ts +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/config.vue.d.ts +4 -0
- package/dist/runtime/components/actions/buttons/2026-05-24/com.shwfed.actions.button.state.write/schema.d.ts +2 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.d.vue.ts +51 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue +201 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/config.vue.d.ts +51 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.d.vue.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.vue +37 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/runtime.vue.d.ts +8 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.d.ts +30 -0
- package/dist/runtime/components/actions/buttons/2026-06-08/com.shwfed.actions.button.http.request.json.batch/schema.js +87 -0
- package/dist/runtime/components/actions/components/triggers-field.d.vue.ts +4 -0
- package/dist/runtime/components/actions/components/triggers-field.vue +65 -7
- package/dist/runtime/components/actions/components/triggers-field.vue.d.ts +4 -0
- package/dist/runtime/components/actions/config.vue +68 -1
- package/dist/runtime/components/actions/utils/resolve.d.ts +85 -2
- package/dist/runtime/components/actions/utils/resolve.js +122 -21
- package/dist/runtime/components/app.vue +59 -4
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +2 -2
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +1 -1
- package/dist/runtime/components/config/index.vue +9 -2
- package/dist/runtime/components/config/schema.d.ts +6 -10
- package/dist/runtime/components/config/schema.js +12 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.daterange/config.vue.d.ts +4 -4
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.d.vue.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.datetimerange/config.vue.d.ts +6 -6
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-27/com.shwfed.form.field.timerange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.numberrange/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts +2 -2
- package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts +1 -1
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.d.vue.ts +4 -4
- package/dist/runtime/components/form/fields/2026-05-24/com.shwfed.form.field.monthrange/config.vue.d.ts +4 -4
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.d.vue.ts +31 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.vue +89 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.vue.d.ts +31 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/runtime.d.ts +2 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/runtime.js +14 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.d.ts +21 -0
- package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/schema.js +36 -0
- package/dist/runtime/components/operations/utils/resolve.d.ts +48 -0
- package/dist/runtime/components/operations/utils/resolve.js +73 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-13/com.shwfed.table.column.switch.remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-24/com.shwfed.table.column.combobox-single.remote.options-static/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-25/com.shwfed.table.column.combobox-multi.remote.options-static/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-multi.remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-26/com.shwfed.table.column.combobox-single.remote/schema.d.ts +2 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-multi/schema.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.d.vue.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/config.vue.d.ts +4 -0
- package/dist/runtime/components/table/columns/2026-05-28/com.shwfed.table.column.combobox-single/schema.d.ts +4 -0
- package/dist/runtime/components/table/schema.d.ts +2 -2
- package/dist/runtime/components/ui/date-picker/DatePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-picker/DatePickerTimeInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.d.vue.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerInput.vue.d.ts +1 -1
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.d.vue.ts +2 -2
- package/dist/runtime/components/ui/date-range-picker/DateRangePickerTimeInput.vue.d.ts +2 -2
- package/dist/runtime/components/ui/progress/Progress.d.vue.ts +11 -0
- package/dist/runtime/components/ui/progress/Progress.vue +32 -0
- package/dist/runtime/components/ui/progress/Progress.vue.d.ts +11 -0
- package/dist/runtime/components/ui/progress/index.d.ts +1 -0
- package/dist/runtime/components/ui/progress/index.js +1 -0
- package/dist/runtime/composables/useOverlay.d.ts +35 -0
- package/dist/runtime/composables/useOverlay.js +52 -0
- package/dist/runtime/share/event-bus.d.ts +24 -2
- package/dist/runtime/share/event-bus.js +21 -3
- package/dist/runtime/share/interpolate.d.ts +12 -0
- package/dist/runtime/share/interpolate.js +18 -0
- package/dist/runtime/share/page-target.d.ts +16 -0
- package/dist/runtime/share/page-target.js +1 -0
- package/dist/runtime/share/schema-meta.d.ts +5 -0
- package/dist/runtime/share/schema-meta.js +48 -0
- package/dist/runtime/style.css +1 -1
- package/dist/runtime/vendor/cel-js/CLAUDE.md +2 -0
- package/dist/runtime/vendor/cel-js/PROMPT.md +9 -0
- package/dist/runtime/vendor/cel-js/lib/functions.js +8 -0
- package/package.json +1 -1
- package/dist/preview/assets/badge-CY7N4tzE.js +0 -1
- package/dist/preview/assets/config-B6xtqPys.js +0 -1
- package/dist/preview/assets/config-BI9O-CMH.js +0 -1
- package/dist/preview/assets/config-C9LThFFM.js +0 -1
- package/dist/preview/assets/config-CdTo0RnO.js +0 -1
- package/dist/preview/assets/config-Ch-uzD4K.js +0 -1
- package/dist/preview/assets/config-Cou30eMf.js +0 -1
- package/dist/preview/assets/config-CqhZtEzh.js +0 -1
- package/dist/preview/assets/config-D0e-dO3Y.js +0 -1
- package/dist/preview/assets/config-D2iQ1cHu.js +0 -1
- package/dist/preview/assets/definition.vue_vue_type_script_setup_true_lang-8UNFiK_W.js +0 -1
- package/dist/preview/assets/index-BTleLwMz.js +0 -1
- package/dist/preview/assets/index-COSjWreD.css +0 -1
- package/dist/preview/assets/item-Cjwnz068.js +0 -1
- package/dist/preview/assets/runtime-BHXxRkau.js +0 -1
- package/dist/preview/assets/runtime-BhLcYJQW.js +0 -1
- package/dist/preview/assets/runtime-Bi-TAMSI.js +0 -1
- package/dist/preview/assets/runtime-Bxhg8fck.js +0 -1
- package/dist/preview/assets/runtime-CiHPMpFW.js +0 -1
- package/dist/preview/assets/runtime-DLY_TObR.js +0 -1
- package/dist/preview/assets/runtime-ncpmo94E.js +0 -1
|
@@ -3,16 +3,7 @@ import type { Environment } from '../../vendor/cel-js/lib/index.js';
|
|
|
3
3
|
import { type LocaleValue } from '../../share/locale.js';
|
|
4
4
|
export { getStructFieldDescription, getStructFieldTitle } from '../table/utils/schema-meta.js';
|
|
5
5
|
declare const KIND = "shwfed.component.page";
|
|
6
|
-
|
|
7
|
-
* Reserved sentinel instance id for the singleton page operation target. The
|
|
8
|
-
* page is the outermost `ShwfedConfig` — there is only ever one per tree, so it
|
|
9
|
-
* needs no stored, per-config id (which would force a migration of every
|
|
10
|
-
* existing page config). The nil UUID can never collide with a block id:
|
|
11
|
-
* `crypto.randomUUID()` always sets version-4 + variant bits, so it never
|
|
12
|
-
* emits all-zeros. It also passes `Schema.UUID`'s lenient hex-layout regex, so
|
|
13
|
-
* stored triggers targeting it decode cleanly.
|
|
14
|
-
*/
|
|
15
|
-
export declare const PAGE_TARGET_ID = "00000000-0000-0000-0000-000000000000";
|
|
6
|
+
export { PAGE_TARGET_ID } from '../../share/page-target.js';
|
|
16
7
|
/**
|
|
17
8
|
* Capability manifest — type-level display info plus the operations the page
|
|
18
9
|
* instance exposes to op-requests bubbled up from its descendants. Mirrors the
|
|
@@ -26,6 +17,11 @@ export declare const metadata: {
|
|
|
26
17
|
readonly id: "close";
|
|
27
18
|
readonly name: "关闭标签页";
|
|
28
19
|
readonly icon: "fluent:dismiss-20-regular";
|
|
20
|
+
}, {
|
|
21
|
+
readonly id: "com.shwfed.operation.alert";
|
|
22
|
+
readonly compatibilityDate: "2026-06-09";
|
|
23
|
+
readonly name: "确认弹窗";
|
|
24
|
+
readonly icon: "fluent:chat-warning-20-regular";
|
|
29
25
|
}];
|
|
30
26
|
};
|
|
31
27
|
export declare function PageConfig(configure: (env: Environment) => void): Schema.Struct<{
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { Expression, Slot, defaultSlot } from "../../share/layout.js";
|
|
3
3
|
import { Locale } from "../../share/locale.js";
|
|
4
|
+
import * as alertOperation from "../operations/2026-06-09/com.shwfed.operation.alert/schema.js";
|
|
4
5
|
import { blockRef } from "./utils/resolve.js";
|
|
5
6
|
export { getStructFieldDescription, getStructFieldTitle } from "../table/utils/schema-meta.js";
|
|
6
7
|
const KIND = "shwfed.component.page";
|
|
7
|
-
export
|
|
8
|
+
export { PAGE_TARGET_ID } from "../../share/page-target.js";
|
|
8
9
|
export const metadata = {
|
|
9
10
|
name: "\u9875\u9762",
|
|
10
11
|
icon: "fluent:document-20-regular",
|
|
11
12
|
operations: [
|
|
12
|
-
{ id: "close", name: "\u5173\u95ED\u6807\u7B7E\u9875", icon: "fluent:dismiss-20-regular" }
|
|
13
|
+
{ id: "close", name: "\u5173\u95ED\u6807\u7B7E\u9875", icon: "fluent:dismiss-20-regular" },
|
|
14
|
+
// Parameterized op: `compatibilityDate` marks it as carrying params, so the
|
|
15
|
+
// trigger editor seeds `defaults()` and renders the alert's `config.vue`.
|
|
16
|
+
// `id` doubles as the operation-block `type`.
|
|
17
|
+
{
|
|
18
|
+
id: alertOperation.type,
|
|
19
|
+
compatibilityDate: alertOperation.compatibilityDate,
|
|
20
|
+
name: alertOperation.metadata.name,
|
|
21
|
+
icon: alertOperation.metadata.icon
|
|
22
|
+
}
|
|
13
23
|
]
|
|
14
24
|
};
|
|
15
25
|
export function PageConfig(configure) {
|
|
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
39
|
readonly startPlaceholder?: readonly [{
|
|
39
40
|
readonly locale: "zh";
|
|
40
41
|
readonly message: string;
|
|
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
53
|
readonly validations?: readonly {
|
|
54
54
|
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
108
|
readonly format?: string | undefined;
|
|
109
|
+
readonly valueFormat?: string | undefined;
|
|
110
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
111
|
readonly startPlaceholder?: readonly [{
|
|
111
112
|
readonly locale: "zh";
|
|
112
113
|
readonly message: string;
|
|
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
122
|
readonly locale: "en" | "ja" | "ko";
|
|
122
123
|
readonly message: string;
|
|
123
124
|
}[]] | undefined;
|
|
124
|
-
readonly valueFormat?: string | undefined;
|
|
125
125
|
readonly validations?: readonly {
|
|
126
126
|
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
@@ -33,8 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly format?: string | undefined;
|
|
37
|
+
readonly valueFormat?: string | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
39
|
readonly startPlaceholder?: readonly [{
|
|
39
40
|
readonly locale: "zh";
|
|
40
41
|
readonly message: string;
|
|
@@ -49,7 +50,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
49
50
|
readonly locale: "en" | "ja" | "ko";
|
|
50
51
|
readonly message: string;
|
|
51
52
|
}[]] | undefined;
|
|
52
|
-
readonly valueFormat?: string | undefined;
|
|
53
53
|
readonly validations?: readonly {
|
|
54
54
|
readonly message: readonly [{
|
|
55
55
|
readonly locale: "zh";
|
|
@@ -105,8 +105,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
105
105
|
readonly expression: string;
|
|
106
106
|
} | undefined;
|
|
107
107
|
readonly numberOfMonths?: number | undefined;
|
|
108
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
109
108
|
readonly format?: string | undefined;
|
|
109
|
+
readonly valueFormat?: string | undefined;
|
|
110
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
110
111
|
readonly startPlaceholder?: readonly [{
|
|
111
112
|
readonly locale: "zh";
|
|
112
113
|
readonly message: string;
|
|
@@ -121,7 +122,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
121
122
|
readonly locale: "en" | "ja" | "ko";
|
|
122
123
|
readonly message: string;
|
|
123
124
|
}[]] | undefined;
|
|
124
|
-
readonly valueFormat?: string | undefined;
|
|
125
125
|
readonly validations?: readonly {
|
|
126
126
|
readonly message: readonly [{
|
|
127
127
|
readonly locale: "zh";
|
|
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
36
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
37
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
37
|
readonly format?: string | undefined;
|
|
38
|
+
readonly valueFormat?: string | undefined;
|
|
39
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
40
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
41
|
readonly startPlaceholder?: readonly [{
|
|
40
42
|
readonly locale: "zh";
|
|
41
43
|
readonly message: string;
|
|
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
52
|
readonly locale: "en" | "ja" | "ko";
|
|
51
53
|
readonly message: string;
|
|
52
54
|
}[]] | undefined;
|
|
53
|
-
readonly valueFormat?: string | undefined;
|
|
54
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
55
55
|
readonly validations?: readonly {
|
|
56
56
|
readonly message: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
readonly numberOfMonths?: number | undefined;
|
|
110
110
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
111
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
112
111
|
readonly format?: string | undefined;
|
|
112
|
+
readonly valueFormat?: string | undefined;
|
|
113
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
114
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
113
115
|
readonly startPlaceholder?: readonly [{
|
|
114
116
|
readonly locale: "zh";
|
|
115
117
|
readonly message: string;
|
|
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
126
|
readonly locale: "en" | "ja" | "ko";
|
|
125
127
|
readonly message: string;
|
|
126
128
|
}[]] | undefined;
|
|
127
|
-
readonly valueFormat?: string | undefined;
|
|
128
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
129
129
|
readonly validations?: readonly {
|
|
130
130
|
readonly message: readonly [{
|
|
131
131
|
readonly locale: "zh";
|
|
@@ -34,8 +34,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly numberOfMonths?: number | undefined;
|
|
36
36
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
37
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
38
37
|
readonly format?: string | undefined;
|
|
38
|
+
readonly valueFormat?: string | undefined;
|
|
39
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
40
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
41
|
readonly startPlaceholder?: readonly [{
|
|
40
42
|
readonly locale: "zh";
|
|
41
43
|
readonly message: string;
|
|
@@ -50,8 +52,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
50
52
|
readonly locale: "en" | "ja" | "ko";
|
|
51
53
|
readonly message: string;
|
|
52
54
|
}[]] | undefined;
|
|
53
|
-
readonly valueFormat?: string | undefined;
|
|
54
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
55
55
|
readonly validations?: readonly {
|
|
56
56
|
readonly message: readonly [{
|
|
57
57
|
readonly locale: "zh";
|
|
@@ -108,8 +108,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
108
108
|
} | undefined;
|
|
109
109
|
readonly numberOfMonths?: number | undefined;
|
|
110
110
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
111
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
112
111
|
readonly format?: string | undefined;
|
|
112
|
+
readonly valueFormat?: string | undefined;
|
|
113
|
+
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
114
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
113
115
|
readonly startPlaceholder?: readonly [{
|
|
114
116
|
readonly locale: "zh";
|
|
115
117
|
readonly message: string;
|
|
@@ -124,8 +126,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
124
126
|
readonly locale: "en" | "ja" | "ko";
|
|
125
127
|
readonly message: string;
|
|
126
128
|
}[]] | undefined;
|
|
127
|
-
readonly valueFormat?: string | undefined;
|
|
128
|
-
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
129
129
|
readonly validations?: readonly {
|
|
130
130
|
readonly message: readonly [{
|
|
131
131
|
readonly locale: "zh";
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
37
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
83
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|
|
@@ -33,9 +33,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
35
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
36
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
36
|
readonly valueFormat?: string | undefined;
|
|
38
37
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
38
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
39
39
|
readonly validations?: readonly {
|
|
40
40
|
readonly message: readonly [{
|
|
41
41
|
readonly locale: "zh";
|
|
@@ -79,9 +79,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
readonly expression: string;
|
|
80
80
|
} | undefined;
|
|
81
81
|
readonly hourCycle?: 12 | 24 | undefined;
|
|
82
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
83
82
|
readonly valueFormat?: string | undefined;
|
|
84
83
|
readonly timeGranularity?: "hour" | "minute" | "second" | undefined;
|
|
84
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
85
85
|
readonly validations?: readonly {
|
|
86
86
|
readonly message: readonly [{
|
|
87
87
|
readonly locale: "zh";
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.d.vue.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
+
readonly max?: string | undefined;
|
|
27
28
|
readonly compatibilityDate: "2026-04-28";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -34,7 +35,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
35
|
readonly message: string;
|
|
35
36
|
}[]] | undefined;
|
|
36
37
|
readonly min?: string | undefined;
|
|
37
|
-
readonly max?: string | undefined;
|
|
38
38
|
readonly step?: number | undefined;
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
40
|
readonly binding?: string | undefined;
|
|
@@ -79,6 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
}[]] | undefined;
|
|
80
80
|
readonly required?: string | undefined;
|
|
81
81
|
readonly displayName?: string | undefined;
|
|
82
|
+
readonly max?: string | undefined;
|
|
82
83
|
readonly compatibilityDate: "2026-04-28";
|
|
83
84
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
84
85
|
readonly placeholder?: readonly [{
|
|
@@ -89,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
90
|
readonly message: string;
|
|
90
91
|
}[]] | undefined;
|
|
91
92
|
readonly min?: string | undefined;
|
|
92
|
-
readonly max?: string | undefined;
|
|
93
93
|
readonly step?: number | undefined;
|
|
94
94
|
readonly readonly?: string | undefined;
|
|
95
95
|
readonly binding?: string | undefined;
|
package/dist/runtime/components/form/fields/2026-04-28/com.shwfed.form.field.number/config.vue.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
+
readonly max?: string | undefined;
|
|
27
28
|
readonly compatibilityDate: "2026-04-28";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly placeholder?: readonly [{
|
|
@@ -34,7 +35,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
34
35
|
readonly message: string;
|
|
35
36
|
}[]] | undefined;
|
|
36
37
|
readonly min?: string | undefined;
|
|
37
|
-
readonly max?: string | undefined;
|
|
38
38
|
readonly step?: number | undefined;
|
|
39
39
|
readonly readonly?: string | undefined;
|
|
40
40
|
readonly binding?: string | undefined;
|
|
@@ -79,6 +79,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
79
79
|
}[]] | undefined;
|
|
80
80
|
readonly required?: string | undefined;
|
|
81
81
|
readonly displayName?: string | undefined;
|
|
82
|
+
readonly max?: string | undefined;
|
|
82
83
|
readonly compatibilityDate: "2026-04-28";
|
|
83
84
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
84
85
|
readonly placeholder?: readonly [{
|
|
@@ -89,7 +90,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
89
90
|
readonly message: string;
|
|
90
91
|
}[]] | undefined;
|
|
91
92
|
readonly min?: string | undefined;
|
|
92
|
-
readonly max?: string | undefined;
|
|
93
93
|
readonly step?: number | undefined;
|
|
94
94
|
readonly readonly?: string | undefined;
|
|
95
95
|
readonly binding?: string | undefined;
|
|
@@ -24,10 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
+
readonly max?: string | undefined;
|
|
27
28
|
readonly compatibilityDate: "2026-04-28";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly min?: string | undefined;
|
|
30
|
-
readonly max?: string | undefined;
|
|
31
31
|
readonly step?: number | undefined;
|
|
32
32
|
readonly readonly?: string | undefined;
|
|
33
33
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
87
87
|
}[]] | undefined;
|
|
88
88
|
readonly required?: string | undefined;
|
|
89
89
|
readonly displayName?: string | undefined;
|
|
90
|
+
readonly max?: string | undefined;
|
|
90
91
|
readonly compatibilityDate: "2026-04-28";
|
|
91
92
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
92
93
|
readonly min?: string | undefined;
|
|
93
|
-
readonly max?: string | undefined;
|
|
94
94
|
readonly step?: number | undefined;
|
|
95
95
|
readonly readonly?: string | undefined;
|
|
96
96
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
@@ -24,10 +24,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
24
24
|
}[]] | undefined;
|
|
25
25
|
readonly required?: string | undefined;
|
|
26
26
|
readonly displayName?: string | undefined;
|
|
27
|
+
readonly max?: string | undefined;
|
|
27
28
|
readonly compatibilityDate: "2026-04-28";
|
|
28
29
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
29
30
|
readonly min?: string | undefined;
|
|
30
|
-
readonly max?: string | undefined;
|
|
31
31
|
readonly step?: number | undefined;
|
|
32
32
|
readonly readonly?: string | undefined;
|
|
33
33
|
readonly binding?: string | readonly [string, string] | undefined;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
87
87
|
}[]] | undefined;
|
|
88
88
|
readonly required?: string | undefined;
|
|
89
89
|
readonly displayName?: string | undefined;
|
|
90
|
+
readonly max?: string | undefined;
|
|
90
91
|
readonly compatibilityDate: "2026-04-28";
|
|
91
92
|
readonly orientation?: "vertical" | "floating" | undefined;
|
|
92
93
|
readonly min?: string | undefined;
|
|
93
|
-
readonly max?: string | undefined;
|
|
94
94
|
readonly step?: number | undefined;
|
|
95
95
|
readonly readonly?: string | undefined;
|
|
96
96
|
readonly binding?: string | readonly [string, string] | undefined;
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.d.vue.ts
CHANGED
|
@@ -31,9 +31,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
31
|
readonly message: string;
|
|
32
32
|
}[]] | undefined;
|
|
33
33
|
readonly displayName?: string | undefined;
|
|
34
|
+
readonly max?: number | undefined;
|
|
34
35
|
readonly compatibilityDate: "2026-05-13";
|
|
35
36
|
readonly min?: number | undefined;
|
|
36
|
-
readonly max?: number | undefined;
|
|
37
37
|
readonly unit: Readonly<{
|
|
38
38
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
39
39
|
layouts: readonly Readonly<{
|
|
@@ -99,9 +99,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
readonly message: string;
|
|
100
100
|
}[]] | undefined;
|
|
101
101
|
readonly displayName?: string | undefined;
|
|
102
|
+
readonly max?: number | undefined;
|
|
102
103
|
readonly compatibilityDate: "2026-05-13";
|
|
103
104
|
readonly min?: number | undefined;
|
|
104
|
-
readonly max?: number | undefined;
|
|
105
105
|
readonly unit: Readonly<{
|
|
106
106
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
107
107
|
layouts: readonly Readonly<{
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/config.vue.d.ts
CHANGED
|
@@ -31,9 +31,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
31
31
|
readonly message: string;
|
|
32
32
|
}[]] | undefined;
|
|
33
33
|
readonly displayName?: string | undefined;
|
|
34
|
+
readonly max?: number | undefined;
|
|
34
35
|
readonly compatibilityDate: "2026-05-13";
|
|
35
36
|
readonly min?: number | undefined;
|
|
36
|
-
readonly max?: number | undefined;
|
|
37
37
|
readonly unit: Readonly<{
|
|
38
38
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
39
39
|
layouts: readonly Readonly<{
|
|
@@ -99,9 +99,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
99
99
|
readonly message: string;
|
|
100
100
|
}[]] | undefined;
|
|
101
101
|
readonly displayName?: string | undefined;
|
|
102
|
+
readonly max?: number | undefined;
|
|
102
103
|
readonly compatibilityDate: "2026-05-13";
|
|
103
104
|
readonly min?: number | undefined;
|
|
104
|
-
readonly max?: number | undefined;
|
|
105
105
|
readonly unit: Readonly<{
|
|
106
106
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
107
107
|
layouts: readonly Readonly<{
|
package/dist/runtime/components/form/fields/2026-05-13/com.shwfed.form.field.list/schema.d.ts
CHANGED
|
@@ -46,9 +46,9 @@ export declare function schema(configure: (env: Environment) => void): Schema.re
|
|
|
46
46
|
readonly message: string;
|
|
47
47
|
}[]] | undefined;
|
|
48
48
|
readonly displayName?: string | undefined;
|
|
49
|
+
readonly max?: number | undefined;
|
|
49
50
|
readonly compatibilityDate: "2026-05-13";
|
|
50
51
|
readonly min?: number | undefined;
|
|
51
|
-
readonly max?: number | undefined;
|
|
52
52
|
readonly unit: Readonly<{
|
|
53
53
|
fields: ReadonlyArray<import("../../../schema.js").FieldValue>;
|
|
54
54
|
layouts: ReadonlyArray<import("../../../schema.js").LayoutSetValue>;
|
|
@@ -32,8 +32,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
32
32
|
readonly mode: "formula" | "prefill";
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
36
35
|
readonly format?: string | undefined;
|
|
36
|
+
readonly valueFormat?: string | undefined;
|
|
37
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
38
|
readonly startPlaceholder?: readonly [{
|
|
38
39
|
readonly locale: "zh";
|
|
39
40
|
readonly message: string;
|
|
@@ -48,7 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
48
49
|
readonly locale: "en" | "ja" | "ko";
|
|
49
50
|
readonly message: string;
|
|
50
51
|
}[]] | undefined;
|
|
51
|
-
readonly valueFormat?: string | undefined;
|
|
52
52
|
readonly validations?: readonly {
|
|
53
53
|
readonly message: readonly [{
|
|
54
54
|
readonly locale: "zh";
|
|
@@ -103,8 +103,9 @@ 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 rangeSeparatorIcon?: string | undefined;
|
|
107
106
|
readonly format?: string | undefined;
|
|
107
|
+
readonly valueFormat?: string | undefined;
|
|
108
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
108
109
|
readonly startPlaceholder?: readonly [{
|
|
109
110
|
readonly locale: "zh";
|
|
110
111
|
readonly message: string;
|
|
@@ -119,7 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
readonly locale: "en" | "ja" | "ko";
|
|
120
121
|
readonly message: string;
|
|
121
122
|
}[]] | undefined;
|
|
122
|
-
readonly valueFormat?: string | undefined;
|
|
123
123
|
readonly validations?: readonly {
|
|
124
124
|
readonly message: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
|
@@ -32,8 +32,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
32
32
|
readonly mode: "formula" | "prefill";
|
|
33
33
|
readonly expression: string;
|
|
34
34
|
} | undefined;
|
|
35
|
-
readonly rangeSeparatorIcon?: string | undefined;
|
|
36
35
|
readonly format?: string | undefined;
|
|
36
|
+
readonly valueFormat?: string | undefined;
|
|
37
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
37
38
|
readonly startPlaceholder?: readonly [{
|
|
38
39
|
readonly locale: "zh";
|
|
39
40
|
readonly message: string;
|
|
@@ -48,7 +49,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
48
49
|
readonly locale: "en" | "ja" | "ko";
|
|
49
50
|
readonly message: string;
|
|
50
51
|
}[]] | undefined;
|
|
51
|
-
readonly valueFormat?: string | undefined;
|
|
52
52
|
readonly validations?: readonly {
|
|
53
53
|
readonly message: readonly [{
|
|
54
54
|
readonly locale: "zh";
|
|
@@ -103,8 +103,9 @@ 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 rangeSeparatorIcon?: string | undefined;
|
|
107
106
|
readonly format?: string | undefined;
|
|
107
|
+
readonly valueFormat?: string | undefined;
|
|
108
|
+
readonly rangeSeparatorIcon?: string | undefined;
|
|
108
109
|
readonly startPlaceholder?: readonly [{
|
|
109
110
|
readonly locale: "zh";
|
|
110
111
|
readonly message: string;
|
|
@@ -119,7 +120,6 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {},
|
|
|
119
120
|
readonly locale: "en" | "ja" | "ko";
|
|
120
121
|
readonly message: string;
|
|
121
122
|
}[]] | undefined;
|
|
122
|
-
readonly valueFormat?: string | undefined;
|
|
123
123
|
readonly validations?: readonly {
|
|
124
124
|
readonly message: readonly [{
|
|
125
125
|
readonly locale: "zh";
|
package/dist/runtime/components/operations/2026-06-09/com.shwfed.operation.alert/config.d.vue.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type Value } from './schema.js';
|
|
2
|
+
type __VLS_ModelProps = {
|
|
3
|
+
modelValue: Value;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:modelValue": (value: {
|
|
7
|
+
readonly icon?: string | undefined;
|
|
8
|
+
readonly color?: string | undefined;
|
|
9
|
+
readonly message: readonly [{
|
|
10
|
+
readonly locale: "zh";
|
|
11
|
+
readonly message: string;
|
|
12
|
+
}, ...{
|
|
13
|
+
readonly locale: "en" | "ja" | "ko";
|
|
14
|
+
readonly message: string;
|
|
15
|
+
}[]];
|
|
16
|
+
}) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: {
|
|
19
|
+
readonly icon?: string | undefined;
|
|
20
|
+
readonly color?: string | undefined;
|
|
21
|
+
readonly message: readonly [{
|
|
22
|
+
readonly locale: "zh";
|
|
23
|
+
readonly message: string;
|
|
24
|
+
}, ...{
|
|
25
|
+
readonly locale: "en" | "ja" | "ko";
|
|
26
|
+
readonly message: string;
|
|
27
|
+
}[]];
|
|
28
|
+
}) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { ColorPicker } from "../../../ui/color-picker";
|
|
3
|
+
import { Field, FieldGroup, FieldLabel } from "../../../ui/field";
|
|
4
|
+
import { IconPicker } from "../../../ui/icon-picker";
|
|
5
|
+
import { Locale as LocaleField } from "../../../ui/locale";
|
|
6
|
+
import { Markdown } from "../../../ui/markdown";
|
|
7
|
+
import { getStructFieldDescription, getStructFieldTitle } from "../../../../share/schema-meta";
|
|
8
|
+
import { schema } from "./schema";
|
|
9
|
+
defineOptions({ name: "ShwfedAlertOperationConfig" });
|
|
10
|
+
const value = defineModel({ type: null, ...{ required: true } });
|
|
11
|
+
const opSchema = schema(() => {
|
|
12
|
+
});
|
|
13
|
+
const fieldTitle = (f) => getStructFieldTitle(opSchema, f) ?? f;
|
|
14
|
+
const fieldDescription = (f) => getStructFieldDescription(opSchema, f);
|
|
15
|
+
function patch(patchValue) {
|
|
16
|
+
const next = { ...value.value, ...patchValue };
|
|
17
|
+
for (const [k, v] of Object.entries(patchValue)) {
|
|
18
|
+
if (v === void 0) Reflect.deleteProperty(next, k);
|
|
19
|
+
}
|
|
20
|
+
value.value = next;
|
|
21
|
+
}
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<FieldGroup>
|
|
26
|
+
<Field orientation="vertical">
|
|
27
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
28
|
+
<template
|
|
29
|
+
v-if="fieldDescription('message')"
|
|
30
|
+
#tooltip
|
|
31
|
+
>
|
|
32
|
+
<Markdown
|
|
33
|
+
:source="fieldDescription('message')"
|
|
34
|
+
block
|
|
35
|
+
class="prose prose-sm prose-zinc"
|
|
36
|
+
/>
|
|
37
|
+
</template>
|
|
38
|
+
{{ fieldTitle("message") }}
|
|
39
|
+
</FieldLabel>
|
|
40
|
+
<LocaleField
|
|
41
|
+
markdown
|
|
42
|
+
:model-value="value.message"
|
|
43
|
+
@update:model-value="(v) => patch({ message: v })"
|
|
44
|
+
/>
|
|
45
|
+
</Field>
|
|
46
|
+
|
|
47
|
+
<div class="grid grid-cols-2 gap-4">
|
|
48
|
+
<Field orientation="vertical">
|
|
49
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
50
|
+
<template
|
|
51
|
+
v-if="fieldDescription('icon')"
|
|
52
|
+
#tooltip
|
|
53
|
+
>
|
|
54
|
+
<Markdown
|
|
55
|
+
:source="fieldDescription('icon')"
|
|
56
|
+
block
|
|
57
|
+
class="prose prose-sm prose-zinc"
|
|
58
|
+
/>
|
|
59
|
+
</template>
|
|
60
|
+
{{ fieldTitle("icon") }}
|
|
61
|
+
</FieldLabel>
|
|
62
|
+
<IconPicker
|
|
63
|
+
:model-value="value.icon ?? ''"
|
|
64
|
+
@update:model-value="(v) => patch(v.trim() === '' ? { icon: void 0 } : { icon: v })"
|
|
65
|
+
/>
|
|
66
|
+
</Field>
|
|
67
|
+
|
|
68
|
+
<Field orientation="vertical">
|
|
69
|
+
<FieldLabel class="text-xs text-zinc-500">
|
|
70
|
+
<template
|
|
71
|
+
v-if="fieldDescription('color')"
|
|
72
|
+
#tooltip
|
|
73
|
+
>
|
|
74
|
+
<Markdown
|
|
75
|
+
:source="fieldDescription('color')"
|
|
76
|
+
block
|
|
77
|
+
class="prose prose-sm prose-zinc"
|
|
78
|
+
/>
|
|
79
|
+
</template>
|
|
80
|
+
{{ fieldTitle("color") }}
|
|
81
|
+
</FieldLabel>
|
|
82
|
+
<ColorPicker
|
|
83
|
+
:model-value="value.color ?? ''"
|
|
84
|
+
@update:model-value="(v) => patch(v.trim() === '' ? { color: void 0 } : { color: v })"
|
|
85
|
+
/>
|
|
86
|
+
</Field>
|
|
87
|
+
</div>
|
|
88
|
+
</FieldGroup>
|
|
89
|
+
</template>
|