@shwfed/config 2.3.4 → 2.3.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/module.json +1 -1
- package/dist/runtime/components/actions/components/group.d.vue.ts +12 -12
- package/dist/runtime/components/actions/components/group.vue +46 -12
- package/dist/runtime/components/actions/components/group.vue.d.ts +12 -12
- package/dist/runtime/components/actions/config.d.vue.ts +13 -13
- package/dist/runtime/components/actions/config.vue +206 -16
- package/dist/runtime/components/actions/config.vue.d.ts +13 -13
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.d.vue.ts +37 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue +61 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/config.vue.d.ts +37 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.d.vue.ts +7 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue +22 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/runtime.vue.d.ts +7 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.d.ts +23 -0
- package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js +29 -0
- package/dist/runtime/components/actions/schema.d.ts +399 -196
- package/dist/runtime/components/actions/schema.js +13 -4
- package/dist/runtime/components/actions/utils/resolve.d.ts +15 -0
- package/dist/runtime/components/actions/utils/resolve.js +45 -0
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/config.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/runtime.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.actions/schema.d.ts +115 -58
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/config.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.d.vue.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/runtime.vue.d.ts +10 -10
- package/dist/runtime/components/config/blocks/2026-05-06/com.shwfed.block.table/schema.d.ts +120 -63
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.d.vue.ts +10 -10
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/config.vue.d.ts +10 -10
- package/dist/runtime/components/form/fields/2026-04-24/com.shwfed.form.field.actions/schema.d.ts +115 -58
- package/dist/runtime/components/table/columns/2026-04-14/com.shwfed.table.column.actions/schema.d.ts +115 -58
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.d.vue.ts +2 -2
- package/dist/runtime/components/table/columns/2026-05-20/com.shwfed.table.column.combobox-single/config.vue.d.ts +2 -2
- package/dist/runtime/components/table/schema.d.ts +125 -68
- package/package.json +1 -1
package/dist/runtime/components/actions/items/2026-05-21/com.shwfed.actions.item.markdown/schema.js
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
import { Locale } from "../../../../../share/locale.js";
|
|
3
|
+
export const type = "com.shwfed.actions.item.markdown";
|
|
4
|
+
export const compatibilityDate = "2026-05-21";
|
|
5
|
+
export const metadata = {
|
|
6
|
+
name: "\u5185\u8054 Markdown",
|
|
7
|
+
icon: "fluent:markdown-20-regular"
|
|
8
|
+
};
|
|
9
|
+
export function schema(_configure) {
|
|
10
|
+
return Schema.Struct({
|
|
11
|
+
id: Schema.UUID.annotations({ description: "Markdown \u9879\u552F\u4E00\u6807\u8BC6" }),
|
|
12
|
+
// Present when the item sits at group level; absent when it lives as a
|
|
13
|
+
// dropdown sub-item (the parent is the dropdown itself).
|
|
14
|
+
groupId: Schema.optional(Schema.UUID.annotations({ description: "\u6240\u5C5E\u6309\u94AE\u7EC4\u6807\u8BC6" })),
|
|
15
|
+
type: Schema.Literal(type),
|
|
16
|
+
compatibilityDate: Schema.Literal(compatibilityDate),
|
|
17
|
+
name: Schema.String.annotations({
|
|
18
|
+
title: "\u5185\u90E8\u540D\u79F0",
|
|
19
|
+
description: "\u4EC5\u7528\u4E8E\u7F16\u8F91\u5668\u5185\u8BC6\u522B\u8BE5 Markdown \u9879\uFF0C\u4E0D\u4F1A\u5C55\u793A\u7ED9\u6700\u7EC8\u7528\u6237"
|
|
20
|
+
}),
|
|
21
|
+
content: Locale.annotations({
|
|
22
|
+
title: "\u5185\u5BB9",
|
|
23
|
+
description: "\u5185\u8054 Markdown \u5185\u5BB9\uFF0C\u4E0E\u6309\u94AE\u5E76\u6392\u5C55\u793A\uFF0C\u652F\u6301\u672C\u5730\u5316"
|
|
24
|
+
})
|
|
25
|
+
}).annotations({
|
|
26
|
+
title: "MarkdownItem",
|
|
27
|
+
description: "\u6309\u94AE\u7EC4\u5185\u7684\u5185\u8054 Markdown \u8282\u70B9"
|
|
28
|
+
});
|
|
29
|
+
}
|