@effect-app/vue-components 4.0.0-beta.74 → 4.0.0-beta.76
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.
|
@@ -243,6 +243,10 @@ var o = /* @__PURE__ */ new Set(), s = () => globalThis.process?.env?.NODE_ENV !
|
|
|
243
243
|
type: "multiple",
|
|
244
244
|
members: n.elements,
|
|
245
245
|
rest: n.rest
|
|
246
|
+
} : a.AST.isLiteral(n) ? {
|
|
247
|
+
...e,
|
|
248
|
+
type: "select",
|
|
249
|
+
members: [n.literal]
|
|
246
250
|
} : (e = {
|
|
247
251
|
...h(n),
|
|
248
252
|
...y(n),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.
|
|
1
|
+
//#region ../../node_modules/.pnpm/effect@4.0.0-beta.47/node_modules/effect/dist/Function.js
|
|
2
2
|
var e = function(e, t) {
|
|
3
3
|
if (typeof e == "function") return function() {
|
|
4
4
|
return e(arguments) ? t.apply(this, arguments) : (e) => t(e, ...arguments);
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/vue-components",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.76",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@mdi/js": "^7.4.47",
|
|
6
|
-
"effect": "^4.0.0-beta.
|
|
6
|
+
"effect": "^4.0.0-beta.47",
|
|
7
7
|
"intl-messageformat": "^11.2.0",
|
|
8
8
|
"mdi-js": "^1.0.1",
|
|
9
9
|
"primeflex": "^4.0.0",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"highlight.js": "^11.11.1",
|
|
59
59
|
"mitt": "^3.0.1",
|
|
60
60
|
"vue3-highlightjs": "^1.0.5",
|
|
61
|
-
"@effect-app/vue": "4.0.0-beta.
|
|
62
|
-
"effect-app": "4.0.0-beta.
|
|
61
|
+
"@effect-app/vue": "4.0.0-beta.76",
|
|
62
|
+
"effect-app": "4.0.0-beta.76"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"check": "vue-tsc",
|
|
@@ -814,6 +814,14 @@ export const createMeta = <T = any>(
|
|
|
814
814
|
} as FieldMeta
|
|
815
815
|
}
|
|
816
816
|
|
|
817
|
+
if (S.AST.isLiteral(property)) {
|
|
818
|
+
return {
|
|
819
|
+
...meta,
|
|
820
|
+
type: "select",
|
|
821
|
+
members: [property.literal]
|
|
822
|
+
} as FieldMeta
|
|
823
|
+
}
|
|
824
|
+
|
|
817
825
|
meta = { ...getJsonSchemaAnnotation(property), ...getFieldMetadataFromAst(property), ...meta }
|
|
818
826
|
|
|
819
827
|
return meta as FieldMeta
|